@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --sidebar-w: 220px;
  --picker-h: 0px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-sans: "DM Sans", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: var(--font-sans); transition: background .3s, color .3s; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--accent, #a84b26); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 120; top: 10px; left: 10px; padding: 12px 16px; border-radius: 10px; background: #fffaf0; color: #173b23; font-weight: 700; transform: translateY(-150%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }

.theme-picker {
  position: sticky; top: 0; z-index: 50; height: var(--picker-h); display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px; background: #0d1510; color: #eff3e7; border-bottom: 1px solid rgba(255,255,255,.1);
}
.picker-label { margin-right: 10px; font: 500 10px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; opacity: .55; }
.theme-picker button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: inherit; background: transparent; cursor: pointer; font-size: 12px; transition: .2s ease; }
.theme-picker button:hover, .theme-picker button.selected { background: #f1eee4; color: #17331f; border-color: #f1eee4; }

.site-shell { min-height: calc(100vh - var(--picker-h)); display: grid; grid-template-columns: var(--sidebar-w) minmax(0,1fr); }
.sidebar { position: sticky; top: var(--picker-h); height: calc(100vh - var(--picker-h)); padding: 30px 18px 22px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--line); background: var(--sidebar); color: var(--sidebar-text); }
.brand { min-height: 58px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 8px 9px; border: 1px solid transparent; border-radius: var(--radius-sm); }
.brand-logo-draw { position: relative; display: block; width: 100%; max-width: 168px; overflow: hidden; }
.brand-logo { display: block; width: 100%; height: auto; opacity: .08; clip-path: inset(0 100% 0 0); animation: logo-draw 1.25s cubic-bezier(.22,.74,.24,1) .18s forwards; }
.brand-logo-draw::after { content: ""; position: absolute; z-index: 2; top: -8%; bottom: -8%; left: -7px; width: 2px; background: #75a878; box-shadow: 0 0 9px rgba(27,94,32,.55); opacity: 0; animation: logo-pencil 1.25s cubic-bezier(.22,.74,.24,1) .18s forwards; }
.brand-subtitle { padding-left: 1px; color: #1b5e20; font: 500 8px/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: logo-subtitle .45s ease 1.05s forwards; }
body[data-theme="nocturne"] .brand, body[data-theme="clair"] .brand { padding: 11px; background: #f5f1e7; border-color: rgba(255,255,255,.16); }
.side-nav { margin-top: 42px; display: grid; gap: 26px; }
.side-nav section > p { margin: 0 10px 9px; font: 500 10px/1 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; opacity: .56; }
.side-nav a { min-height: 48px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; margin: 2px 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 14px; color: var(--sidebar-text); font-size: 13px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nav-icon-frame { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 10px; color: var(--accent); background: var(--soft); pointer-events: none; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.nav-svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; pointer-events: none; }
.nav-label { min-width: 0; line-height: 1.25; }
.side-nav a:hover, .side-nav a.active, .side-nav a[aria-current="page"] { background: var(--nav-active); border-color: var(--line); }
.side-nav a:hover .nav-icon-frame { border-color: var(--line); color: var(--accent); transform: translateY(-1px); }
.side-nav a.active .nav-icon-frame, .side-nav a[aria-current="page"] .nav-icon-frame { border-color: transparent; background: var(--button); color: var(--button-text); box-shadow: 0 6px 16px rgba(19,49,28,.18), inset 0 0 0 1px rgba(255,255,255,.1); }
.side-footer { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); }
.side-footer > span:last-child { display: flex; flex-direction: column; font-size: 12px; }
.side-footer small { margin-top: 2px; opacity: .55; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

.workspace { min-width: 0; background: var(--page); color: var(--text); }
.topbar { height: 76px; padding: 0 clamp(20px,3vw,42px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--topbar); }
.topbar > p { margin: 0; display: flex; align-items: center; gap: 12px; font: 500 10px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.top-symbol { width: 17px; height: 20px; object-fit: contain; }
.mobile-brand { display: none; width: 30px; height: 34px; align-items: center; justify-content: center; }
.mobile-brand img { display: block; width: 24px; height: 28px; object-fit: contain; }
.top-actions { display: flex; align-items: center; gap: 23px; font-size: 12px; }
.top-actions > a:first-child { color: var(--muted); }
.top-cta { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; padding: 0 15px; border-radius: var(--radius-sm); background: var(--button); color: var(--button-text); font-weight: 600; }
.menu-button { display: none; border: 0; color: inherit; background: transparent; font-size: 20px; }
.mobile-dock { display: none; }
.site-footer { margin: 0 clamp(18px,2.3vw,34px) 28px; padding: 20px 4px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 18px; }
.site-footer-links a { min-height: 30px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; color: var(--text); }
.site-footer-links a:hover { border-bottom-color: currentColor; }
.site-footer p { margin: 7px 0 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; text-align: right; }

.dashboard { padding: clamp(18px,2.3vw,34px); display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 14px; }
.hero-card, .project-panel, .feature-card, .small-card, .process-card, .work-card, .contact-card, .services-summary, .contact-strip { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.hero-card { position: relative; min-height: 390px; padding: clamp(30px,4vw,58px); display: flex; align-items: center; isolation: isolate; background: var(--hero); color: var(--hero-text); }
.hero-copy { position: relative; z-index: 2; width: min(620px, 70%); }
.home-title > span { display: block; }
.kicker, .mini-label, .card-topline { font: 500 10px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .11em; }
.kicker { margin: 0 0 20px; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(45px,5.2vw,78px); line-height: .95; letter-spacing: -.055em; font-weight: 600; }
h1 em { font-family: var(--font-serif); font-weight: 500; }
.hero-text { max-width: 520px; margin: 0; font-size: 14px; line-height: 1.62; color: var(--hero-muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.primary-button { min-height: 47px; padding: 0 18px; display: inline-flex; align-items: center; gap: 25px; border-radius: var(--radius-sm); background: var(--hero-button); color: var(--hero-button-text); font-size: 13px; font-weight: 700; }
.quiet-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; color: var(--hero-muted); }
.hero-art { position: absolute; z-index: 1; inset: 0 0 0 55%; overflow: hidden; }
.energy-ring { position: absolute; display: block; border: 1px solid var(--art-line); border-radius: 50%; }
.ring-one { width: 330px; height: 330px; right: -28px; top: 28px; box-shadow: inset 0 0 90px var(--art-glow); }
.ring-two { width: 170px; height: 170px; right: 82px; top: 108px; border-width: 28px; opacity: .7; }
.energy-line { position: absolute; display: block; height: 1px; background: var(--art-line); transform-origin: right; }
.line-one { width: 270px; right: 75px; top: 115px; transform: rotate(-31deg); }
.line-two { width: 230px; right: 86px; top: 265px; transform: rotate(27deg); }
.spark-core { position: absolute; right: 139px; top: 166px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--core-text); font-size: 25px; box-shadow: 0 0 60px var(--art-glow); }
.room-scene { display: none; }
.room-scene canvas { width: 100%; height: 100%; display: block; }
.room-scene iframe { width: 100%; height: 100%; display: block; border: 0; background: #e8e2d5; }
.room-open { position: absolute; z-index: 4; left: 18px; bottom: 18px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(32,68,42,.18); border-radius: 12px; background: rgba(246,241,230,.9); color: #21462b; box-shadow: 0 8px 25px rgba(16,38,23,.12); backdrop-filter: blur(10px); font-size: 10px; font-weight: 700; text-decoration: none; }
.room-open:hover { background: #21462b; color: #f6f1e6; }
.room-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(241,237,227,.98) 0%, rgba(241,237,227,.7) 14%, transparent 34%), linear-gradient(0deg, rgba(28,53,34,.2), transparent 35%); }
.room-status { position: absolute; z-index: 3; top: 20px; right: 20px; min-height: 30px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(32,68,42,.18); border-radius: 999px; background: rgba(246,241,230,.82); backdrop-filter: blur(8px); color: #21462b; font: 500 9px/1 var(--font-mono); letter-spacing: .04em; }
.room-status span { width: 7px; height: 7px; border-radius: 50%; background: #758276; box-shadow: 0 0 0 4px rgba(117,130,118,.12); transition: .35s ease; }
.room-scene[data-ambiance="day"] .room-status span { background: #e9b95c; box-shadow: 0 0 0 4px rgba(233,185,92,.17), 0 0 14px rgba(233,185,92,.68); }
.room-scene[data-ambiance="evening"] .room-status span { background: #e58439; box-shadow: 0 0 0 4px rgba(229,132,57,.17), 0 0 16px rgba(229,132,57,.8); }
.room-scene[data-ambiance="night"] .room-status span { background: #6f9f78; box-shadow: 0 0 0 4px rgba(111,159,120,.18), 0 0 16px rgba(111,159,120,.72); }
.room-scene[data-ambiance="off"] .room-status span { background: #758276; box-shadow: 0 0 0 4px rgba(117,130,118,.12); }
.room-controls { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: flex; gap: 4px; padding: 3px; border: 1px solid rgba(32,68,42,.16); border-radius: 999px; background: rgba(246,241,230,.72); backdrop-filter: blur(10px); }
.room-controls button { min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: #21462b; cursor: pointer; font-size: 10px; font-weight: 700; }
.room-controls .room-power { width: 44px; padding: 0; font-size: 16px; }
.room-controls button:hover, .room-controls button.selected { background: #21462b; color: #f6f1e6; }
.room-fallback { display: none; position: absolute; inset: 0; place-items: center; margin: 0; color: #526456; font-size: 12px; }
.room-scene.failed .room-fallback { display: grid; }
.room-scene.failed canvas, .room-scene.failed .room-controls, .room-scene.failed .room-status { display: none; }

.project-panel { padding: 27px; display: flex; flex-direction: column; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-heading .kicker { margin: 0; }
.panel-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.36); }
.panel-icon img { display: block; width: 17px; height: 20px; object-fit: contain; }
.project-panel h2 { margin: 32px 0 10px; font-family: var(--font-serif); font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.panel-intro { margin: 0 0 24px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.project-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.project-steps li { min-height: 58px; display: grid; grid-template-columns: 36px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.project-steps li > span { font: 500 9px/1 var(--font-mono); color: var(--accent); }
.project-steps li div { display: flex; flex-direction: column; font-size: 12px; }
.project-steps small { margin-top: 3px; color: var(--muted); }
.audience-row { margin-top: auto; padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.audience-row span { padding: 10px 5px; border: 1px solid var(--line); border-radius: 9px; text-align: center; font-size: 10px; color: var(--muted); }
.panel-link, .card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; }
.panel-link { margin-top: auto; padding-top: 18px; color: var(--text); }
.feature-card .mini-label { color: #efae77; }
.feature-card .card-link { color: var(--feature-text); }

.services-layout { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px, .95fr); gap: 14px; }
.feature-card { position: relative; min-height: 338px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--feature-text); background: var(--feature); }
.card-topline { display: flex; justify-content: space-between; color: var(--feature-muted); }
.feature-card > div:last-child { max-width: 520px; position: relative; z-index: 2; }
.mini-label { margin: 0 0 11px; color: var(--accent); }
.feature-card h2 { margin: 0 0 10px; font-size: clamp(27px,3vw,42px); line-height: 1.02; letter-spacing: -.045em; }
.feature-card p:last-child { margin: 0; font-size: 12px; color: var(--feature-muted); }
.feature-visual { position: absolute; right: -20px; bottom: -35px; width: 270px; height: 270px; border: 1px solid var(--feature-line); border-radius: 50%; }
.feature-visual span { position: absolute; display: block; border-radius: 50%; border: 1px solid var(--feature-line); }
.feature-visual span:nth-child(1) { width: 190px; height: 190px; inset: 39px; }
.feature-visual span:nth-child(2) { width: 88px; height: 88px; inset: 90px; background: var(--accent); }
.feature-visual span:nth-child(3) { width: 18px; height: 18px; left: 20px; top: 78px; background: var(--feature-text); }
.service-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.small-card { min-height: 162px; padding: 23px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.small-card h3, .bottom-grid h3 { margin: 0 0 7px; font-size: 21px; line-height: 1.05; letter-spacing: -.035em; }
.small-card p:last-child { margin: 0; max-width: 350px; font-size: 11px; line-height: 1.45; color: var(--muted); }
.card-symbol { position: relative; width: 78px; height: 78px; flex: 0 0 78px; border-radius: 50%; border: 1px solid var(--line-strong); }
.card-symbol i { position: absolute; left: 18px; width: 42px; height: 5px; border-radius: 4px; background: var(--accent); }
.card-symbol i:nth-child(1) { top: 22px; }
.card-symbol i:nth-child(2) { top: 35px; width: 30px; }
.card-symbol i:nth-child(3) { top: 48px; width: 19px; }
.light-orb { width: 86px; height: 86px; flex: 0 0 86px; border-radius: 50%; background: var(--orb); box-shadow: 0 0 42px var(--orb-glow); }

.services-summary { position: relative; grid-column: 1/-1; min-height: 315px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(34px, 6vw, 88px); isolation: isolate; background: var(--feature); color: var(--feature-text); }
.services-summary::before { content: ""; position: absolute; z-index: -1; left: -110px; bottom: -160px; width: 360px; height: 360px; border: 1px solid var(--feature-line); border-radius: 50%; }
.services-summary::after { content: ""; position: absolute; z-index: -1; left: 28px; bottom: -24px; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 38px rgba(215,109,55,.22); }
.services-summary-copy { max-width: 510px; }
.services-summary .mini-label { color: #efae77; }
.services-summary h2 { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.services-summary-copy > p:not(.mini-label) { max-width: 440px; margin: 0; color: var(--feature-muted); font-size: 13px; line-height: 1.6; }
.services-summary .card-link { margin-top: 24px; color: var(--feature-text); }
.services-summary-list { border-bottom: 1px solid var(--feature-line); }
.service-summary-item { min-height: 82px; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; border-top: 1px solid var(--feature-line); }
.service-summary-item > span { color: #efae77; font: 500 10px/1 var(--font-mono); }
.service-summary-item h3 { margin: 0 0 5px; font-size: clamp(18px, 2vw, 23px); line-height: 1.05; letter-spacing: -.035em; }
.service-summary-item p { margin: 0; color: var(--feature-muted); font-size: 11px; line-height: 1.4; }

.bottom-grid { grid-column: 1/-1; display: grid; grid-template-columns: 1.1fr .8fr .9fr; gap: 14px; }
.process-card, .work-card, .contact-card { min-height: 205px; padding: 24px; }
.process-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--process); color: var(--process-text); }
.process-card a, .contact-card a { align-self: flex-start; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; }
.work-card { min-height: 310px; display: flex; flex-direction: column; gap: 18px; }
.work-card p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.work-card-wide { grid-column: 1/-1; min-height: 330px; padding: clamp(26px, 3.5vw, 42px); display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); align-items: stretch; gap: clamp(28px, 5vw, 72px); }
.work-card-wide .work-copy { display: flex; flex-direction: column; justify-content: center; }
.work-card-wide h3 { margin: 0 0 11px; font-size: clamp(27px, 3vw, 40px); line-height: 1.02; letter-spacing: -.04em; }
.work-card-wide .work-copy > p:not(.mini-label) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.work-card-wide .card-link { margin-top: 24px; }
.work-card-wide .before-after { height: 245px; margin: 0; align-self: center; }
.work-card-wide .before-after-photo { width: min(100%, 600px); height: auto; aspect-ratio: 4 / 3; justify-self: end; }
.before-after { --split: 52%; position: relative; height: 145px; margin-top: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #cfc5b3; isolation: isolate; }
.ba-photo { position: absolute; inset: 0; overflow: hidden; }
.ba-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ba-photo-after { z-index: 2; clip-path: inset(0 0 0 var(--split)); }
.before-after-photo { background: #d7d0c4; }
.before-after-photo .ba-photo-before img { object-position: 50% 48%; }
.before-after-photo .ba-photo-after img { object-position: 50% 45%; }
.ba-layer { position: absolute; inset: 0; overflow: hidden; }
.ba-before { background: linear-gradient(155deg,#b8ad9d,#d7cdbd 62%,#c4b5a2); }
.ba-before::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(91deg,transparent 0 28px,rgba(83,67,52,.08) 29px 30px); opacity: .7; }
.ba-after { z-index: 2; clip-path: inset(0 0 0 var(--split)); background: linear-gradient(145deg,#e8e4d9,#d9e1d2 62%,#cad7c5); }
.ba-panel { position: absolute; left: 50%; top: 50%; width: 70px; height: 94px; padding: 9px; display: grid; gap: 5px; transform: translate(-50%,-50%); border: 2px solid #74685c; border-radius: 5px; background: #999087; box-shadow: 7px 8px 14px rgba(58,48,39,.2); }
.ba-panel i { display: block; border-radius: 2px; background: #5e5750; }
.ba-before .ba-panel { transform: translate(-50%,-50%) rotate(-2deg); }
.ba-before .ba-panel i:nth-child(2) { width: 76%; }
.ba-before .ba-panel i:nth-child(3) { width: 88%; margin-left: auto; }
.ba-after .ba-panel { grid-template-columns: repeat(2,1fr); gap: 6px; border-color: #31583b; background: #f1efe8; box-shadow: 6px 8px 14px rgba(41,70,47,.16); }
.ba-after .ba-panel i { border: 1px solid #9fa99f; background: linear-gradient(90deg,#31583b 0 34%,#d8ddd7 34%); }
.ba-wire, .ba-conduit { position: absolute; display: block; transform-origin: left center; }
.ba-wire { z-index: 1; width: 112px; height: 28px; border-top: 3px solid #8e563f; border-radius: 50%; }
.wire-one { left: 8px; top: 30px; transform: rotate(18deg); }
.wire-two { right: -13px; bottom: 25px; transform: rotate(191deg); border-color: #454e55; }
.ba-conduit { width: 120px; height: 4px; border-radius: 999px; background: #f2f0e9; box-shadow: 0 0 0 1px rgba(49,88,59,.16); }
.conduit-one { left: 0; top: 30px; transform: rotate(8deg); }
.conduit-two { right: -8px; bottom: 28px; transform: rotate(-12deg); }
.ba-caption { position: absolute; z-index: 4; top: 9px; padding: 5px 7px; border-radius: 999px; background: rgba(247,244,236,.82); color: #31523a; font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(5px); }
.ba-caption-before { left: 9px; }
.ba-caption-after { right: 9px; }
.before-after input { position: absolute; z-index: 6; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-divider { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--split); width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(31,62,38,.16), 0 0 12px rgba(31,62,38,.22); pointer-events: none; }
.ba-divider i { position: absolute; left: 50%; top: 50%; width: 31px; height: 31px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(31,62,38,.28); border-radius: 50%; background: #f5f1e7; color: #21462b; font-style: normal; font-size: 13px; box-shadow: 0 4px 10px rgba(31,62,38,.15); }
.before-after input:focus-visible ~ .ba-divider i { outline: 3px solid rgba(215,109,55,.45); outline-offset: 2px; }
.contact-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--contact); color: var(--contact-text); }
.contact-card .mini-label { color: var(--contact-accent); }
.contact-strip { grid-column: 1/-1; min-height: 158px; padding: clamp(25px, 3.4vw, 42px); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--contact); color: var(--contact-text); }
.contact-strip > div { max-width: 760px; }
.contact-strip .mini-label { color: var(--contact-accent); }
.contact-strip h2 { margin: 0; font-size: clamp(27px, 3.2vw, 44px); line-height: 1; letter-spacing: -.04em; }
.contact-strip .primary-button { flex: 0 0 auto; background: #f2eee5; color: #21462b; }

/* Pages internes : même coque, seul le contenu principal change. */
.page-dashboard { grid-template-columns: repeat(12, minmax(0, 1fr)); align-content: start; }
.page-dashboard > * { min-width: 0; grid-column: 1 / -1; }
.page-rail-layout { min-width: 0; display: grid; grid-template-columns: clamp(230px, 22vw, 275px) minmax(0, 1fr); align-items: start; gap: 14px; }
.page-rail-content { min-width: 0; display: grid; gap: 14px; }
.page-rail-content > * { min-width: 0; }
.page-rail-content .service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-hero, .page-title-card, .content-card, .wide-cta, .comparison-showcase, .timeline-card, .zone-map-card, .zone-info-card, .contact-direct-card, .contact-prep-card, .realisation-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden;
}
.page-hero { position: relative; min-height: 370px; padding: clamp(34px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: center; gap: 32px; isolation: isolate; background: var(--hero); color: var(--hero-text); }
.page-hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 720px; }
.page-hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(46px, 5.4vw, 78px); overflow-wrap: break-word; }
.page-hero-symbol { position: relative; min-height: 245px; display: grid; place-items: center; }
.page-hero-symbol::before, .page-hero-symbol::after, .page-hero-symbol i { content: ""; position: absolute; border: 1px solid var(--art-line); border-radius: 50%; }
.page-hero-symbol::before { width: 230px; height: 230px; box-shadow: inset 0 0 70px var(--art-glow); }
.page-hero-symbol::after { width: 154px; height: 154px; }
.page-hero-symbol i:first-of-type { width: 286px; height: 92px; border-radius: 50%; transform: rotate(30deg); }
.page-hero-symbol i:last-of-type { width: 286px; height: 92px; border-radius: 50%; transform: rotate(-30deg); }
.page-hero-symbol > span { position: relative; z-index: 2; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff7ed; font-size: 28px; box-shadow: 0 0 50px var(--art-glow); }
.page-title-card {
  width: 100%; min-height: 350px; padding: clamp(28px, 3vw, 38px);
  display: flex; align-items: flex-end; background: var(--feature); color: var(--feature-text);
}
.page-title-card h1 { max-width: 100%; margin: 0; font-size: clamp(38px, 3.4vw, 50px); line-height: .94; overflow-wrap: break-word; }
body[data-page="zone"] .page-title-card h1 { font-size: clamp(34px, 2.8vw, 40px); line-height: .98; overflow-wrap: normal; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.content-card { position: relative; min-height: 300px; padding: clamp(24px, 3vw, 36px); }
.content-card h2, .wide-cta h2, .comparison-showcase h2, .timeline-card h2, .zone-info-card h2, .contact-layout h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.02; letter-spacing: -.04em; }
.content-card > p:last-child, .content-card > p:not(.mini-label), .comparison-copy > p:not(.mini-label), .timeline-card > div > p:not(.mini-label), .zone-info-card > p:not(.mini-label), .contact-layout p { color: var(--muted); font-size: 13px; line-height: 1.62; }
.service-detail-card { min-height: 430px; display: flex; flex-direction: column; }
.service-detail-card h2 { max-width: 94%; font-size: clamp(25px, 2.25vw, 32px); }
.service-detail-card > p:not(.mini-label) { margin-bottom: 0; }
.service-detail-card .clean-list { margin-top: 22px; }
.service-detail-card .card-link { min-height: 44px; margin-top: auto; padding-top: 24px; }
.service-photo {
  position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; margin-top: 20px;
  overflow: hidden; pointer-events: none; isolation: isolate;
  border: 1px solid var(--line); border-radius: 17px; background: var(--soft);
}
.service-photo::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(18,38,24,.12));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.service-photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--service-photo-position, 50% 50%);
  transform: scale(1.01); transition: transform .5s cubic-bezier(.22,.74,.24,1);
}
.service-detail-card:hover .service-photo img { transform: scale(1.055); }
.accent-card .service-photo { border-color: var(--feature-line); }
.card-number { position: absolute; top: 26px; right: 28px; color: var(--accent); font: 500 11px/1 var(--font-mono); }
.clean-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.clean-list li { min-height: 44px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.clean-list li::before { content: "✦"; color: var(--accent); font-size: 9px; }
.accent-card { background: var(--feature); color: var(--feature-text); }
.accent-card .mini-label, .accent-card .card-number { color: #efae77; }
.accent-card p, .accent-card .clean-list { color: var(--feature-muted); border-color: var(--feature-line); }
.accent-card > p:not(.mini-label) { color: var(--feature-muted); }
.accent-card .clean-list li { border-color: var(--feature-line); }
.wide-cta { min-height: 190px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--process); color: var(--process-text); }
.wide-cta > div { max-width: 750px; }
.wide-cta h2 { margin-bottom: 0; }
.wide-cta .primary-button { flex: 0 0 auto; white-space: nowrap; }
.comparison-showcase { min-height: 430px; padding: clamp(22px, 3vw, 38px); display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.comparison-copy { max-width: 430px; }
.comparison-copy .external-card-link { margin-top: 22px; }
.demo-badge { display: inline-flex; min-height: 32px; align-items: center; margin-top: 10px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 500 10px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.before-after-large { width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; }
.before-after-large .ba-panel { width: 110px; height: 145px; padding: 14px; gap: 8px; }
.before-after-large .ba-wire { width: 190px; }
.before-after-large .ba-conduit { width: 205px; }
.realisation-gallery { display: grid; gap: 18px; }
.gallery-heading { padding: 14px 4px 4px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.gallery-heading h2 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1; letter-spacing: -.045em; }
.instagram-link { min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 16px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 700; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.instagram-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.realisation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.realisation-card { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.realisation-media { height: 430px; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; overflow: hidden; background: #d8d0c2; }
.realisation-media img { width: 100%; height: 100%; min-width: 0; min-height: 0; display: block; object-fit: cover; }
.realisation-card-portrait .realisation-media img { object-position: center 42%; }
.realisation-media-stacked { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.realisation-copy { padding: clamp(25px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.realisation-copy h2 { margin: 0 0 13px; font-size: clamp(25px, 2.7vw, 37px); line-height: 1.02; letter-spacing: -.04em; }
.realisation-copy > p:not(.mini-label) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.62; }
.realisation-copy .card-link { margin-top: 24px; }
.external-card-link:focus-visible, .instagram-link:focus-visible { outline: 3px solid rgba(215,109,55,.45); outline-offset: 3px; }
.project-format-card { padding-top: 92px; }
.format-orb { position: absolute; top: 28px; left: 30px; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 32px rgba(31,62,38,.14); }
.format-green { background: #21462b; }
.format-orange { background: #d76d37; }
.format-cream { background: #ded3bd; border: 1px solid var(--line); }
.process-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.timeline-card { min-height: 235px; padding: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
.timeline-card > div { min-width: 0; }
.timeline-card > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font: 500 11px/1 var(--font-mono); }
.timeline-photo {
  position: relative; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; pointer-events: none; isolation: isolate;
  border: 1px solid var(--line); border-radius: 17px; background: var(--soft);
}
.timeline-photo::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(18,38,24,.13));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.timeline-photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--timeline-photo-position, 50% 50%);
  transform: scale(1.01); transition: transform .5s cubic-bezier(.22,.74,.24,1);
}
.timeline-card:hover .timeline-photo img { transform: scale(1.055); }
.timeline-photo-exchange { --timeline-photo-position: 50% 58%; }
.timeline-photo-visit { --timeline-photo-position: 58% 32%; }
.timeline-photo-proposal { --timeline-photo-position: 54% 52%; }
.timeline-photo-work { --timeline-photo-position: 42% 42%; }
.timeline-card-accent { background: var(--feature); color: var(--feature-text); }
.timeline-card-accent > span { border-color: var(--feature-line); color: #efae77; }
.timeline-card-accent .mini-label { color: #efae77; }
.timeline-card-accent > div > p:not(.mini-label) { color: var(--feature-muted); }
.timeline-card-accent .timeline-photo { border-color: var(--feature-line); }
.value-grid { grid-template-columns: 1fr 1fr; }
.value-grid .content-card { min-height: 210px; }
.zone-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 14px; }
.zone-map-card { position: relative; min-height: 520px; isolation: isolate; background: #d7ddc5; }
.zone-map-canvas { position: absolute; z-index: 1; inset: 0; min-width: 0; min-height: 100%; background: #d7ddc5; }
.zone-map-canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: -5px; }
.zone-map-card .leaflet-container { font-family: var(--font-sans); color: var(--text); background: #d7ddc5; }
.zone-map-card .leaflet-tile-pane { filter: saturate(.72) sepia(.06) contrast(.92) brightness(1.04); }
.zone-map-card .leaflet-control-zoom { overflow: hidden; border: 1px solid rgba(31,62,38,.28); border-radius: 12px; box-shadow: 0 7px 22px rgba(31,62,38,.14); }
.zone-map-card .leaflet-control-zoom a { width: 44px; height: 44px; border-color: rgba(31,62,38,.18); background: rgba(247,244,236,.96); color: #21462b; font: 600 21px/44px var(--font-sans); }
.zone-map-card .leaflet-control-zoom a:hover, .zone-map-card .leaflet-control-zoom a:focus { background: #fffdf8; color: #a84b26; }
.zone-map-card .leaflet-control-zoom a:focus-visible { position: relative; z-index: 2; outline: 3px solid #a84b26; outline-offset: -4px; }
.zone-map-card .leaflet-control-attribution { padding: 3px 6px; background: rgba(247,244,236,.9); color: #536057; font-size: 9px; }
.zone-map-card .leaflet-control-attribution a { color: #21462b; text-decoration: underline; }
.leaflet-tooltip.zone-city-label { margin: 0; padding: 5px 8px; border: 1px solid rgba(31,62,38,.28); border-radius: 999px; background: rgba(247,244,236,.96); color: #1d3825; box-shadow: 0 5px 18px rgba(31,62,38,.13); font-size: 10px; font-weight: 750; line-height: 1; white-space: nowrap; }
.leaflet-tooltip.zone-city-label::before { display: none; }
.leaflet-tooltip.zone-city-label-primary { border-color: rgba(33,70,43,.48); }
.leaflet-tooltip.zone-city-label-project { border-color: rgba(168,75,38,.58); color: #7d351a; }
.zone-map-legend { position: absolute; z-index: 700; top: 14px; right: 14px; display: grid; gap: 7px; padding: 10px 12px; border: 1px solid rgba(31,62,38,.24); border-radius: 12px; background: rgba(247,244,236,.94); color: #1d3825; box-shadow: 0 7px 22px rgba(31,62,38,.12); backdrop-filter: blur(8px); }
.zone-map-legend span { display: flex; align-items: center; gap: 7px; font: 650 9px/1.2 var(--font-sans); }
.zone-legend-dot { width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid #f7f4ec; border-radius: 50%; box-shadow: 0 0 0 1px rgba(31,62,38,.32); }
.zone-legend-primary { background: #21462b; }
.zone-legend-project { background: #a84b26; }
.zone-map-fallback { position: absolute; z-index: 800; inset: 0; margin: 0; padding: 32px; display: grid; place-content: center; gap: 8px; background: repeating-linear-gradient(0deg, rgba(32,68,42,.045) 0, rgba(32,68,42,.045) 1px, transparent 1px, transparent 28px), repeating-linear-gradient(90deg, rgba(32,68,42,.045) 0, rgba(32,68,42,.045) 1px, transparent 1px, transparent 28px), #d7ddc5; color: #1d3825; text-align: center; }
.zone-map-fallback strong { font-size: 18px; }
.zone-map-fallback span { max-width: 290px; color: #536057; font-size: 11px; line-height: 1.5; }
.zone-map-card.is-ready .zone-map-fallback { display: none; }
.zone-info-card, .contact-direct-card, .contact-prep-card { min-height: 520px; padding: clamp(28px, 4vw, 46px); }
.zone-info-card { display: flex; flex-direction: column; }
.zone-list { margin: 28px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.zone-list li { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.zone-list span { color: var(--muted); font-size: 11px; }
.zone-info-card .primary-button { align-self: flex-start; margin-top: auto; }
.contact-direct-card { display: flex; flex-direction: column; background: var(--contact); color: var(--contact-text); }
.contact-direct-card .mini-label { color: var(--contact-accent); }
.contact-direct-card h2 { overflow-wrap: anywhere; }
.contact-direct-card p { color: rgba(242,238,229,.72); }
.contact-direct-card .primary-button { align-self: flex-start; margin-top: 24px; background: #f2eee5; color: #21462b; }
.contact-direct-card small { margin-top: auto; padding-top: 32px; color: rgba(242,238,229,.65); font-size: 11px; line-height: 1.5; }
.prep-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prep-list li { min-height: 86px; display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.prep-list li > span { color: var(--accent); font: 500 10px/1 var(--font-mono); }
.prep-list li div { display: flex; flex-direction: column; gap: 4px; }
.prep-list small { color: var(--muted); font-size: 11px; }

/* Contact : un parcours guidé remplace le héros et les deux anciennes tuiles. */
.contact-form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.contact-form-head {
  padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); align-items: center; gap: clamp(28px, 4vw, 56px);
  background: var(--contact); color: var(--contact-text);
}
.contact-form-copy { max-width: 690px; }
.contact-form-head .mini-label { color: var(--contact-accent); }
.contact-form-head h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(46px, 5.2vw, 74px); }
.contact-form-head p:not(.mini-label) { max-width: 590px; margin: 0; color: var(--contact-muted); font-size: 14px; line-height: 1.65; }
.contact-person-card { min-width: 0; margin: 0; padding: 10px; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 15px; border: 1px solid var(--contact-line); border-radius: 18px; background: var(--contact-soft); }
.contact-person-photo { width: 92px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--contact-soft); }
.contact-person-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 28%; }
.contact-person-card figcaption { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.contact-person-card figcaption span { margin-bottom: 15px; color: var(--contact-accent); font: 500 8px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .09em; }
.contact-person-card figcaption strong { margin-bottom: 5px; font-size: 21px; line-height: 1; letter-spacing: -.025em; }
.contact-person-card figcaption small { color: var(--contact-muted); font-size: 10px; line-height: 1.4; }
.form-progress { grid-column: 1 / -1; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; list-style: none; }
.form-progress li { min-width: 0; min-height: 72px; padding: 12px 9px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 1px solid var(--contact-line); border-radius: 12px; color: var(--contact-muted); }
.form-progress li span { font: 500 9px/1 var(--font-mono); }
.form-progress li strong { overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.form-progress li[aria-current="step"] { border-color: var(--contact-accent); background: var(--contact-soft); color: var(--contact-text); }
.form-progress li.is-complete { border-color: rgba(239,174,119,.45); color: var(--contact-accent); }
.guided-contact-form { padding: clamp(28px, 5vw, 62px); }
.guided-contact-form:not(.is-enhanced) > :not(noscript) { display: none; }
.guided-contact-form.is-enhanced .form-step:not(.is-active) { display: none; }
.form-error-summary { margin: 0 0 26px; padding: 13px 15px; border: 1px solid rgba(168,75,38,.4); border-radius: 10px; background: rgba(168,75,38,.08); color: #873c23; font-size: 13px; line-height: 1.5; }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step legend { width: 100%; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 18px; }
.form-step legend:focus-visible { outline: 3px solid var(--accent); outline-offset: 7px; border-radius: 7px; }
.form-step-number { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font: 500 10px/1 var(--font-mono); }
.form-step-title { display: flex; flex-direction: column; gap: 7px; }
.form-step-title strong { max-width: 760px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -.045em; }
.form-step-title small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.project-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.project-choice { position: relative; min-width: 0; cursor: pointer; }
.project-choice input, .compact-choice-group label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.project-choice-content { position: relative; min-height: 146px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.project-choice-content i { width: 36px; height: 36px; margin-bottom: 19px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-style: normal; font-size: 15px; }
.project-choice-content strong { padding-right: 22px; font-size: 14px; line-height: 1.15; }
.project-choice-content small { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.42; }
.project-choice input:focus-visible + .project-choice-content { outline: 3px solid var(--accent); outline-offset: 3px; }
.project-choice input:checked + .project-choice-content { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.project-choice input:checked + .project-choice-content::after { content: "✓"; position: absolute; top: 16px; right: 16px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff8ef; font-size: 12px; font-weight: 700; }
.form-choice-group[aria-invalid="true"] .project-choice-content { border-color: rgba(168,75,38,.55); }
.form-field-error { min-height: 20px; margin: 9px 0 0; color: #873c23; font-size: 12px; }
.form-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 12px; font-weight: 600; }
.form-field > span b, .compact-choice-group > p b { color: var(--accent); }
.form-field > small { margin-top: -2px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.form-field-wide { grid-column: 1 / -1; }
.form-field :where(input, select, textarea) { width: 100%; min-width: 0; min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.22); color: var(--text); font: 400 16px/1.35 var(--font-sans); }
.form-field textarea { min-height: 168px; padding-block: 14px; resize: vertical; }
.form-field :where(input, textarea)::placeholder { color: var(--muted); opacity: .62; }
.form-field :where(input, select, textarea):hover { border-color: var(--line-strong); }
.form-field :where(input, select, textarea):invalid:not(:placeholder-shown) { border-color: rgba(168,75,38,.48); }
.form-context-tip { min-height: 52px; padding: 11px 14px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.form-context-tip > span { color: var(--accent); }
.form-context-tip p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.compact-choice-group { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.compact-choice-group > p { grid-column: 1 / -1; margin: 0 0 3px; font-size: 12px; font-weight: 600; }
.compact-choice-group label { position: relative; min-width: 0; cursor: pointer; }
.compact-choice-group label span { min-height: 52px; padding: 10px 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); color: var(--muted); text-align: center; font-size: 12px; line-height: 1.3; transition: .2s ease; }
.compact-choice-group label input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.compact-choice-group label input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); font-weight: 700; }
.contact-preference { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-summary { margin-top: 34px; padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); align-items: end; gap: 30px; border-radius: 17px; background: var(--feature); color: var(--feature-text); }
.contact-summary .mini-label { color: #efae77; }
.contact-summary h2 { margin: 0; font-size: clamp(26px, 3vw, 39px); line-height: 1; letter-spacing: -.04em; }
.contact-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.contact-summary dl div { min-width: 0; padding: 13px; border: 1px solid var(--feature-line); border-radius: 11px; }
.contact-summary dt { margin-bottom: 7px; color: #efae77; font: 500 9px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.contact-summary dd { margin: 0; color: var(--feature-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.form-privacy { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-nav { margin-top: 32px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.form-nav-end { justify-content: flex-end; }
.form-back, .form-copy, .form-next { min-height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; font-size: 12px; font-weight: 700; }
.form-back, .form-copy { background: transparent; color: var(--text); }
.form-back:hover, .form-copy:hover { border-color: var(--line-strong); background: var(--soft); }
.form-next { display: inline-flex; align-items: center; gap: 30px; border-color: var(--button); background: var(--button); color: var(--button-text); }
.form-final-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.form-submit { justify-content: space-between; border: 0; cursor: pointer; }
.form-mail-note { max-width: 680px; margin: 13px 0 0 auto; color: var(--muted); text-align: right; font-size: 11px; line-height: 1.5; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--accent); text-align: right; font-size: 12px; font-weight: 600; }
.form-noscript { margin: 20px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; }
.form-noscript a { color: var(--text); text-decoration: underline; }
.contact-form-footer { min-height: 82px; padding: 19px clamp(28px, 5vw, 62px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 12px; }
.contact-form-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; color: var(--text); font-weight: 700; }

body[data-theme="nocturne"] {
  --page: #08100d; --sidebar: #080d0b; --sidebar-text: #ecf0e8; --topbar: #0b120f; --surface: #0d1612; --soft: #0c1511;
  --text: #eef2ea; --muted: #8f9b92; --line: rgba(224,239,226,.1); --line-strong: rgba(224,239,226,.22); --nav-active: #111e18;
  --accent: #d9ff76; --accent-soft: rgba(217,255,118,.1); --button: #d9ff76; --button-text: #112015;
  --hero: linear-gradient(120deg,#10261b 0%,#0d1a14 55%,#111712 100%); --hero-text: #f5f7ef; --hero-muted: #aab8ac; --hero-button: #d9ff76; --hero-button-text: #112015;
  --art-line: rgba(217,255,118,.28); --art-glow: rgba(217,255,118,.22); --core-text: #102015;
  --feature: #151b17; --feature-text: #f0f2e8; --feature-muted: #99a49a; --feature-line: rgba(217,255,118,.22);
  --orb: #e7a45a; --orb-glow: rgba(231,164,90,.35); --process: #d9ff76; --process-text: #142017; --contact: #243628; --contact-text: #eef4e9; --contact-accent: #d9ff76; --contact-muted: rgba(238,244,233,.72); --contact-line: rgba(238,244,233,.18); --contact-soft: rgba(238,244,233,.07);
  --radius-lg: 22px; --radius-md: 17px; --radius-sm: 11px;
}

body[data-theme="clair"] {
  --page: #eeeae0; --sidebar: #123a22; --sidebar-text: #f1f0e8; --topbar: #f7f4ec; --surface: #f7f4ec; --soft: rgba(255,255,255,.08);
  --text: #17311f; --muted: #667168; --line: rgba(22,50,31,.13); --line-strong: rgba(22,50,31,.25); --nav-active: rgba(255,255,255,.09);
  --accent: #e6954e; --accent-soft: rgba(230,149,78,.15); --button: #173b23; --button-text: #fffdf7;
  --hero: linear-gradient(115deg,#f7f3e8 0%,#f0e6ce 58%,#d7e0c9 100%); --hero-text: #17311f; --hero-muted: #526456; --hero-button: #173b23; --hero-button-text: #fffdf7;
  --art-line: rgba(22,63,35,.25); --art-glow: rgba(230,149,78,.27); --core-text: #17311f;
  --feature: #143d24; --feature-text: #f3f0e6; --feature-muted: #b7c8b3; --feature-line: rgba(231,171,93,.28);
  --orb: #e9a05d; --orb-glow: rgba(233,160,93,.34); --process: #d8e4b1; --process-text: #17311f; --contact: #dfcfb1; --contact-text: #17311f; --contact-accent: #a4512c; --contact-muted: rgba(23,49,31,.72); --contact-line: rgba(23,49,31,.18); --contact-soft: rgba(255,255,255,.25);
  --radius-lg: 22px; --radius-md: 17px; --radius-sm: 10px;
}

body[data-theme="atelier"] {
  --page: #e9e4d8; --sidebar: #e4ded1; --sidebar-text: #223c2a; --topbar: #f0ece3; --surface: #f2eee5; --soft: rgba(30,65,39,.04);
  --text: #1d3825; --muted: #566158; --line: rgba(31,62,38,.22); --line-strong: rgba(31,62,38,.4); --nav-active: rgba(31,62,38,.07);
  --accent: #a84b26; --accent-soft: rgba(168,75,38,.13); --button: #21462b; --button-text: #f5f1e8;
  --hero: repeating-linear-gradient(0deg,rgba(32,68,42,.045) 0,rgba(32,68,42,.045) 1px,transparent 1px,transparent 26px), repeating-linear-gradient(90deg,rgba(32,68,42,.045) 0,rgba(32,68,42,.045) 1px,transparent 1px,transparent 26px),#f1ede3;
  --hero-text: #1d3825; --hero-muted: #536057; --hero-button: #21462b; --hero-button-text: #f5f1e8;
  --art-line: rgba(32,68,42,.32); --art-glow: rgba(215,109,55,.18); --core-text: #f8efe4;
  --feature: repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 8px,transparent 8px,transparent 16px),#20432b; --feature-text: #f2eee5; --feature-muted: #b9c6bb; --feature-line: rgba(242,238,229,.28);
  --orb: #d76d37; --orb-glow: rgba(215,109,55,.25); --process: #d3dbb8; --process-text: #1b3723; --contact: #21462b; --contact-text: #f2eee5; --contact-accent: #efae77; --contact-muted: rgba(242,238,229,.74); --contact-line: rgba(242,238,229,.18); --contact-soft: rgba(242,238,229,.08);
  --radius-lg: 22px; --radius-md: 17px; --radius-sm: 10px;
}

body[data-theme="atelier"] .sidebar, body[data-theme="atelier"] .topbar, body[data-theme="atelier"] .dashboard {
  background-image: linear-gradient(rgba(30,62,37,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(30,62,37,.035) 1px,transparent 1px);
  background-size: 26px 26px;
}
body[data-theme="atelier"] h1, body[data-theme="atelier"] .project-panel h2 { font-family: var(--font-serif); }
body[data-theme="atelier"] .feature-card, body[data-theme="atelier"] .small-card, body[data-theme="atelier"] .project-panel, body[data-theme="atelier"] .bottom-grid article, body[data-theme="atelier"] .services-summary, body[data-theme="atelier"] .work-card-wide, body[data-theme="atelier"] .contact-strip, body[data-theme="atelier"] .realisation-card, body[data-theme="atelier"] .contact-form-card, body[data-theme="atelier"] .page-title-card { box-shadow: 4px 4px 0 rgba(31,62,38,.09); }
body[data-theme="atelier"] .hero-art { display: none; }
body[data-theme="atelier"][data-page="home"] .hero-card { min-height: 470px; padding: 0; display: grid; grid-template-columns: minmax(0,.98fr) minmax(290px,1.02fr); gap: 14px; align-items: stretch; overflow: visible; border: 0; border-radius: 0; background: transparent; isolation: auto; }
body[data-theme="atelier"][data-page="home"] .hero-copy { width: auto; max-width: none; min-width: 0; padding: clamp(30px,4vw,50px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--hero); box-shadow: 4px 4px 0 rgba(31,62,38,.09); }
body[data-theme="atelier"] .hero-copy h1 { font-size: clamp(43px,4.1vw,64px); }
body[data-theme="atelier"] .home-title { font-size: clamp(42px,3.6vw,58px); line-height: .94; }
body[data-theme="atelier"][data-page="home"] .room-scene { display: block; position: relative; z-index: 1; inset: auto; min-width: 0; min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #e8e2d5; box-shadow: 4px 4px 0 rgba(31,62,38,.09); }

@keyframes logo-draw {
  0% { opacity: .08; clip-path: inset(0 100% 0 0); }
  48% { opacity: .72; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes logo-pencil {
  0% { left: -7px; opacity: 0; }
  8%, 84% { opacity: 1; }
  100% { left: calc(100% + 7px); opacity: 0; }
}
@keyframes logo-subtitle { to { opacity: .68; } }

@media (max-width: 1280px) {
  .zone-layout { grid-template-columns: minmax(0, 1fr); }
  .zone-map-card { min-height: 450px; }
  .zone-info-card { min-height: 390px; }
}

@media (max-width: 1120px) {
  :root { --sidebar-w: 190px; }
  .dashboard { grid-template-columns: minmax(0,1fr) 270px; }
  .hero-copy { width: 78%; }
  .hero-art { left: 60%; opacity: .7; }
  .page-rail-layout { grid-template-columns: minmax(0, 1fr); }
  .page-title-card { min-height: 160px; padding: 28px; }
  .page-title-card h1 { font-size: clamp(38px, 5vw, 46px); }
}

@media (min-width: 921px) and (max-width: 1020px) {
  body[data-page="home"] .dashboard { grid-template-columns: minmax(0,1fr); }
  body[data-page="home"] .hero-card,
  body[data-page="home"] .project-panel { grid-column: 1; }
}

@media (max-width: 920px) {
  .site-shell { grid-template-columns: minmax(0,1fr); }
  .sidebar { display: none; }
  .mobile-brand { display: inline-flex; }
  .topbar > p .top-symbol { display: none; }
  .topbar { position: sticky; top: 0; z-index: 30; }
  .dashboard { grid-template-columns: minmax(0,1fr); padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .project-panel, .services-layout, .bottom-grid, .services-summary, .work-card-wide, .contact-strip { grid-column: 1; }
  .project-panel { min-height: 335px; }
  .services-layout { grid-template-columns: minmax(0,1fr); }
  .bottom-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-column: 1/-1; }
  .page-hero { grid-template-columns: minmax(0, 1fr) 230px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .realisation-media { height: 390px; }
  .project-format-grid .content-card:last-child { grid-column: 1 / -1; }
  .zone-layout, .contact-layout { grid-template-columns: 1fr; }
  .zone-info-card { min-height: 390px; }
  .contact-direct-card, .contact-prep-card { min-height: 430px; }
  .contact-form-head { grid-template-columns: minmax(0, 1fr) minmax(230px, 280px); align-items: center; }
  .form-progress { grid-column: 1 / -1; }
  .project-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-summary { grid-template-columns: 1fr; align-items: start; }
  .mobile-dock {
    position: fixed; z-index: 80; left: 8px; right: 8px; bottom: max(6px, env(safe-area-inset-bottom));
    height: 60px; display: grid; grid-template-columns: 44px repeat(5,minmax(44px,1fr)); align-items: stretch;
    padding: 4px; border: 1px solid rgba(27,94,32,.18); border-radius: 17px;
    background: rgba(247,244,236,.94); color: #31523a; box-shadow: 0 10px 35px rgba(15,38,23,.18);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: visible;
  }
  .mobile-dock > a, .dock-more > summary {
    position: relative; min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
  }
  .dock-more > summary::-webkit-details-marker { display: none; }
  .mobile-dock > a:focus-visible, .dock-more > summary:focus-visible { outline: 2px solid #1b5e20; outline-offset: -2px; }
  .mobile-dock .dock-brand { border-right: 1px solid rgba(27,94,32,.14); border-radius: 12px 7px 7px 12px; }
  .dock-brand img { display: block; width: 22px; height: 26px; object-fit: contain; opacity: .08; clip-path: inset(0 100% 0 0); animation: logo-draw .9s cubic-bezier(.22,.74,.24,1) .18s forwards; }
  .dock-icon { width: 24px; height: 20px; display: grid; place-items: center; color: rgba(49,82,58,.7); transition: color .2s ease, transform .2s ease; }
  .dock-icon .nav-svg { width: 16px; height: 16px; }
  .dock-label { max-width: 100%; overflow: hidden; font: 500 9px/1 var(--font-mono); letter-spacing: -.02em; text-overflow: clip; white-space: nowrap; }
  .mobile-dock > a[aria-current="page"], .dock-more.is-current > summary { background: rgba(27,94,32,.1); color: #1b5e20; }
  .mobile-dock > a[aria-current="page"] .dock-icon, .dock-more.is-current > summary .dock-icon { color: #1b5e20; transform: translateY(-1px); }
  .mobile-dock > a[aria-current="page"]::after, .dock-more.is-current > summary::after { content: ""; position: absolute; bottom: 2px; width: 14px; height: 2px; border-radius: 999px; background: #1b5e20; }
  .dock-more { position: relative; min-width: 0; }
  .dock-more-panel { position: absolute; right: -52px; bottom: 66px; width: 176px; padding: 6px; display: grid; gap: 4px; border: 1px solid rgba(27,94,32,.18); border-radius: 15px; background: rgba(247,244,236,.98); box-shadow: 0 14px 36px rgba(15,38,23,.2); }
  .dock-more-panel a { min-height: 48px; display: grid; grid-template-columns: 28px 1fr; align-items: center; padding: 0 12px; border-radius: 10px; font-size: 11px; }
  .dock-more-panel a[aria-current="page"] { background: rgba(27,94,32,.1); color: #1b5e20; }
  .dock-more-panel .dock-label { text-align: left; }
  .site-footer { margin-bottom: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --picker-h: 0px; }
  html, body, .site-shell, .workspace, .dashboard { width: 100%; max-width: 100%; overflow-x: hidden; }
  .topbar { position: relative; top: auto; width: 100%; max-width: 100vw; height: 65px; justify-content: flex-end; padding-inline: 18px; }
  .mobile-brand { display: none; }
  .topbar > p, .top-actions > a:first-child { display: none; }
  .top-actions { min-width: 0; flex: 0 0 auto; margin-left: auto; }
  .top-cta { min-width: 0; gap: 10px; padding-inline: 13px; white-space: nowrap; }
  .dashboard { padding: 12px 12px calc(82px + env(safe-area-inset-bottom)); gap: 10px; }
  .site-footer { margin: -54px 16px calc(80px + env(safe-area-inset-bottom)); padding-top: 18px; flex-direction: column; gap: 10px; }
  .site-footer-links { gap: 5px 14px; }
  .site-footer p { margin: 0; justify-content: flex-start; text-align: left; }
  .dashboard > *, .services-layout, .service-stack, .bottom-grid, .services-summary, .work-card-wide, .contact-strip { min-width: 0; max-width: 100%; }
  .hero-card { width: 100%; max-width: calc(100vw - 24px); min-height: 510px; padding: 28px 24px; align-items: flex-start; }
  .hero-copy { width: 100%; min-width: 0; }
  h1 { max-width: 100%; font-size: clamp(38px,10.4vw,44px); overflow-wrap: anywhere; }
  .hero-text { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .hero-art { inset: auto -70px -55px 15%; height: 300px; opacity: .7; }
  .hero-actions { display: grid; grid-template-columns: 1fr; justify-items: start; }
  .quiet-link { color: var(--hero-text); }
  .project-panel { min-height: 390px; }
  .feature-card { min-height: 390px; }
  .feature-visual { opacity: .58; }
  .small-card { min-height: 190px; }
  .card-symbol, .light-orb { width: 64px; height: 64px; flex-basis: 64px; }
  .services-summary { min-height: 0; padding: 30px 25px; grid-template-columns: 1fr; gap: 34px; }
  .services-summary::before { left: -185px; bottom: -205px; }
  .services-summary::after { left: auto; right: 24px; bottom: auto; top: 26px; width: 48px; height: 48px; }
  .services-summary-copy { padding-right: 38px; }
  .service-summary-item { min-height: 88px; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .bottom-grid { grid-template-columns: 1fr; }
  .contact-card { grid-column: 1; }
  .work-card { min-height: 350px; }
  .work-card-wide { min-height: 0; padding: 28px 24px; grid-template-columns: 1fr; gap: 26px; }
  .work-card-wide .before-after { height: 220px; }
  .work-card-wide .before-after-photo { width: 100%; height: auto; justify-self: stretch; }
  .contact-strip { min-height: 0; padding: 29px 25px; align-items: flex-start; flex-direction: column; gap: 25px; }
  .before-after { height: 165px; }
  body[data-theme="atelier"][data-page="home"] .hero-card { min-height: 0; padding: 0; grid-template-columns: minmax(0,1fr); gap: 10px; }
  body[data-theme="atelier"][data-page="home"] .hero-copy { width: 100%; max-width: 100%; padding: 28px 24px; }
  body[data-theme="atelier"] .hero-copy h1 { font-size: clamp(38px,10.4vw,44px); }
  body[data-theme="atelier"] .home-title { font-size: clamp(36px,10.4vw,42px); overflow-wrap: normal; }
  .home-title > span { white-space: nowrap; }
  body[data-theme="atelier"][data-page="home"] .room-scene { inset: auto; min-height: 0; height: 310px; border: 1px solid var(--line); }
  .room-open { left: 13px; bottom: 13px; }
  .room-vignette { background: linear-gradient(0deg, rgba(28,53,34,.16), transparent 52%); }
  .room-status { top: 13px; right: 13px; }
  .room-controls { right: 13px; bottom: 13px; }
  .page-hero { min-height: 520px; padding: 34px 25px; grid-template-columns: 1fr; align-items: start; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .page-hero-symbol { min-height: 180px; opacity: .78; }
  .page-hero-symbol::before { width: 170px; height: 170px; }
  .page-hero-symbol::after { width: 110px; height: 110px; }
  .page-hero-symbol i:first-of-type, .page-hero-symbol i:last-of-type { width: 210px; height: 68px; }
  .page-title-card { width: 100%; min-height: 124px; padding: 22px; }
  .page-title-card h1 { font-size: clamp(34px, 10vw, 42px); }
  .page-rail-content .service-detail-grid { grid-template-columns: 1fr; }
  .content-grid, .process-timeline, .value-grid { grid-template-columns: 1fr; }
  .project-format-grid .content-card:last-child { grid-column: auto; }
  .content-card { min-height: 270px; }
  .service-detail-card { min-height: 0; }
  .service-photo { margin-top: 17px; }
  .wide-cta { align-items: flex-start; flex-direction: column; }
  .comparison-showcase { grid-template-columns: 1fr; }
  .before-after-large { height: auto; }
  .gallery-heading { padding-inline: 3px; align-items: flex-start; flex-direction: column; }
  .realisation-grid { grid-template-columns: 1fr; }
  .realisation-media { height: 410px; }
  .realisation-media-stacked { height: 430px; }
  .timeline-card { grid-template-columns: 52px 1fr; }
  .zone-map-card { min-height: 400px; }
  .zone-map-canvas { bottom: 68px; min-height: 0; }
  .zone-map-legend { top: auto; right: 0; bottom: 0; left: 0; min-height: 68px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; border: 0; border-top: 1px solid rgba(31,62,38,.2); border-radius: 0; background: rgba(247,244,236,.98); box-shadow: none; backdrop-filter: none; }
  .zone-map-fallback { bottom: 68px; }
  .leaflet-tooltip.zone-city-label { padding: 4px 6px; font-size: 10px; }
  .zone-info-card, .contact-direct-card, .contact-prep-card { min-height: 410px; }
  .contact-form-head { padding: 30px 24px; grid-template-columns: 1fr; gap: 27px; }
  .contact-form-head h1 { font-size: clamp(38px, 11vw, 48px); }
  .contact-form-head p:not(.mini-label) { font-size: 13px; }
  .contact-person-card { width: 100%; grid-template-columns: 82px minmax(0, 1fr); }
  .contact-person-photo { width: 82px; }
  .form-progress { gap: 5px; }
  .form-progress li { min-height: 61px; padding: 9px 6px; gap: 7px; border-radius: 9px; }
  .form-progress li strong { font-size: 8px; }
  .guided-contact-form { padding: 27px 24px 31px; }
  .form-step { scroll-margin-bottom: 100px; }
  .form-step legend { grid-template-columns: 45px minmax(0, 1fr); gap: 13px; margin-bottom: 24px; }
  .form-step-number { width: 42px; height: 42px; }
  .form-step-title strong { font-size: clamp(26px, 8.6vw, 34px); }
  .project-choice-grid, .form-fields-grid { grid-template-columns: 1fr; }
  .project-choice-content { min-height: 122px; }
  .form-field-wide { grid-column: auto; }
  .compact-choice-group, .contact-preference { grid-template-columns: 1fr; }
  .contact-summary { margin-top: 27px; padding: 24px; gap: 22px; }
  .contact-summary dl { grid-template-columns: 1fr; }
  .form-nav, .form-nav-final { align-items: stretch; flex-direction: column-reverse; }
  .form-nav-end { flex-direction: column; }
  .form-back, .form-next { width: 100%; justify-content: space-between; }
  .form-final-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .form-copy, .form-submit { width: 100%; }
  .form-mail-note, .form-status { text-align: left; }
  .contact-form-footer { padding: 20px 24px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-form-footer a { min-height: 44px; }
  .guided-contact-form :where(input, select, textarea, button) { scroll-margin-bottom: 100px; }
  .dock-more-panel { right: -42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .brand-logo { opacity: 1; clip-path: none; }
  .dock-brand img { opacity: 1; clip-path: none; }
  .brand-logo-draw::after { display: none; }
  .brand-subtitle { opacity: .68; }
}
