:root {
  --ink: #20231f;
  --muted: #686c65;
  --paper: #f3f0e9;
  --paper-light: #faf8f3;
  --sage: #76806b;
  --line: rgba(32, 35, 31, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #8aa16e; outline-offset: 4px; }
.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; top: .5rem; left: .5rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; min-height: 7.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); border-bottom: 1px solid var(--line); background: rgba(243,240,233,.97); }
.brand { text-decoration: none; display: grid; gap: .1rem; }
.brand-name { font: 500 clamp(1.6rem, 2vw, 1.85rem)/1 var(--serif); }
.brand-role { color: var(--muted); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; }
.nav-toggle, .nav-close { min-height: 2.75rem; border: 0; padding: .65rem 0; color: inherit; background: transparent; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.nav-toggle { display: none; align-items: center; gap: .8rem; }
.js .nav-toggle { display: inline-flex; }
.nav-toggle::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; transition: transform .25s ease; }
.nav-toggle:hover::after { transform: scaleX(.72); transform-origin: right; }
.nav-panel { min-width: min(56rem, 80vw); padding: 2rem; color: var(--ink); background: var(--paper-light); }
.nav-panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav-close { display: none; }
.nav-panel ul { counter-reset: navigation; display: grid; align-content: center; gap: 0; width: min(100%, 72rem); min-height: 0; margin: auto; padding: clamp(2rem, 5vh, 4rem) 0; list-style: none; }
.nav-panel li { counter-increment: navigation; display: grid; grid-template-columns: 4rem 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.nav-panel li::before { content: "0" counter(navigation); color: var(--sage); font-size: .66rem; font-weight: 600; letter-spacing: .12em; }
.nav-panel a { display: block; padding: clamp(.65rem, 1.6vh, 1rem) 0; text-decoration: none; font: 500 clamp(2rem, 4vw, 4.4rem)/1.02 var(--serif); letter-spacing: -.035em; transition: color .2s ease, transform .2s ease; }
.nav-panel a:hover, .nav-panel a:focus-visible { color: var(--sage); transform: translateX(.25rem); }
.nav-panel a[aria-current="page"] { color: var(--sage); }
.nav-panel-note { width: min(100%, 72rem); margin: 0 auto; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.js .nav-panel { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; height: 100dvh; overflow-y: auto; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 7vw, 7rem); visibility: hidden; opacity: 0; background: #f5f2eb; transform: translateY(-1.25rem); transition: opacity .28s ease, transform .28s ease, visibility .28s; }
.js .nav-panel[data-open="true"] { visibility: visible; opacity: 1; transform: translateY(0); }
.js .nav-panel .nav-close { display: inline-flex; }
.js .nav-panel li { opacity: 0; transform: translateY(1rem); transition: opacity .25s ease, transform .25s ease; }
.js .nav-panel[data-open="true"] li { opacity: 1; transform: translateY(0); }
.js .nav-panel[data-open="true"] li:nth-child(2) { transition-delay: .04s; }
.js .nav-panel[data-open="true"] li:nth-child(3) { transition-delay: .08s; }
.js .nav-panel[data-open="true"] li:nth-child(4) { transition-delay: .12s; }
body.menu-open, body.lightbox-open { overflow: hidden; }

.page-intro { min-height: 76vh; display: grid; align-content: center; padding: 7rem clamp(1.25rem, 9vw, 10rem) 5rem; background: linear-gradient(110deg, rgba(255,255,255,.45), transparent 48%); }
.eyebrow, .project-number { margin: 0 0 1.4rem; color: var(--sage); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0; font: 500 clamp(4rem, 9vw, 8.2rem)/.83 var(--serif); letter-spacing: -.045em; }
h1 em { color: var(--sage); font-weight: 500; }
.intro-copy { max-width: 34rem; margin: 3rem 0 0 26%; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.7; }
.scroll-cue { width: fit-content; margin-top: 3rem; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { margin-left: .6rem; }

.project { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: var(--paper-light); border-top: 1px solid var(--line); }
.project-heading { max-width: 1120px; margin: 0 auto 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.project-number { margin-bottom: .65rem; }
h2 { margin: 0; font: 500 clamp(3rem, 6vw, 5rem)/.95 var(--serif); }
.project-summary { max-width: 30rem; margin: 0 0 .4rem auto; color: var(--muted); line-height: 1.75; }

.comparison { max-width: 1120px; margin: 0 auto; }
.comparison-stage { position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--comparison-ratio, 4 / 3); background: #d8d4cb; cursor: ew-resize; touch-action: pan-y; box-shadow: 0 24px 70px rgba(32,35,31,.12); -webkit-user-select: none; user-select: none; }
.comparison-stage img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.comparison-after { position: absolute; inset: 0; object-position: var(--after-position, center); }
.comparison-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.comparison-before img { object-position: var(--before-position, center); }
.comparison-portrait { --comparison-ratio: 1024 / 784; --after-position: center 74%; }
.divider { position: absolute; top: 0; bottom: 0; left: var(--position); width: 2px; background: rgba(255,255,255,.92); transform: translateX(-1px); pointer-events: none; }
.handle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: var(--ink); background: rgba(250,248,243,.94); box-shadow: 0 8px 24px rgba(0,0,0,.18); font: 500 1.15rem/1 var(--sans); transform: translate(-50%,-50%); }
.comparison-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison-range:focus-visible + * { outline: none; }
.comparison-stage:has(.comparison-range:focus-visible) .handle { outline: 3px solid white; outline-offset: 3px; }
.image-label { position: absolute; top: 1.25rem; z-index: 2; padding: .48rem .75rem; color: white; background: rgba(20,22,19,.58); font-size: .65rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; pointer-events: none; }
.image-label-before { left: 1.25rem; }
.image-label-after { right: 1.25rem; }
figcaption { margin-top: 1rem; color: var(--muted); font-size: .76rem; text-align: center; }
.comparison figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; }
.comparison figcaption.comparison-actions { justify-content: flex-end; }
.project-tint { background: #ebe7de; }
h2 em { font-weight: 500; }
.attribution { margin: .8rem 0 0; color: var(--muted); font: 500 1.15rem/1.4 var(--serif); font-style: italic; }
.text-button { border: 0; border-bottom: 1px solid currentColor; padding: .3rem 0; color: var(--ink); background: transparent; font: 600 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.lightbox-actions { display: flex; gap: 1rem; align-items: center; }

.step-viewer { max-width: 1120px; margin: 0 auto; }
.step-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d4cb; box-shadow: 0 24px 70px rgba(32,35,31,.12); }
.step-stage img { width: 100%; height: 100%; object-fit: cover; }
.zoom-button { position: absolute; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; color: var(--ink); background: rgba(250,248,243,.94); font-size: 1.1rem; cursor: pointer; }
.step-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .8rem; }
.step-button { border: 0; border-bottom: 1px solid transparent; padding: .45rem .15rem; color: var(--muted); background: transparent; font: 600 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.step-button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }

.detail-gallery { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.detail-gallery button { position: relative; overflow: hidden; border: 0; padding: 0; background: #d8d4cb; cursor: zoom-in; }
.detail-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.detail-gallery--three { grid-template-columns: repeat(3, 1fr); }
.detail-gallery button:hover img { transform: scale(1.015); }
.detail-gallery span { position: absolute; z-index: 1; top: 1rem; left: 1rem; padding: .5rem .7rem; color: white; background: rgba(20,22,19,.62); font: 600 .64rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; padding: 4.5rem 1.5rem 2rem; color: white; background: rgba(16,18,16,.96); overscroll-behavior: contain; touch-action: pan-y; }
.lightbox::backdrop { background: rgba(16,18,16,.96); }
.lightbox[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; }
.lightbox img { max-width: min(92vw, 1500px); max-height: calc(100dvh - 8rem); object-fit: contain; }
.lightbox-close { position: fixed; top: 1.25rem; right: 1.5rem; border: 0; padding: .7rem; color: white; background: transparent; font: 500 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.lightbox-caption { margin: 1rem 0 0; color: #d4d4ce; font-size: .8rem; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem clamp(1.25rem, 5vw, 5rem); color: var(--muted); background: var(--ink); font-size: .72rem; }

@media (max-width: 720px) {
  .site-header { min-height: 6rem; }
  .nav-panel ul { min-height: 0; align-content: center; padding-block: 1rem; }
  .nav-panel li { grid-template-columns: 2.5rem 1fr; }
  .nav-panel a { padding: .85rem 0; font-size: clamp(2.1rem, 12vw, 3.6rem); }
  .nav-panel-note { line-height: 1.6; }
  .page-intro { min-height: 72vh; padding-top: 5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); line-height: .9; }
  .intro-copy { margin-left: 0; }
  .project-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-summary { margin-left: 0; }
  .comparison { margin-inline: calc(clamp(1.25rem, 7vw, 8rem) * -1); }
  figcaption { padding-inline: 1.25rem; }
  .handle { width: 3.75rem; height: 3.75rem; }
  .comparison figcaption { align-items: flex-start; padding-inline: 1.25rem; flex-direction: column; }
  .comparison figcaption.comparison-actions { align-items: flex-end; }
  .step-viewer { margin-inline: calc(clamp(1.25rem, 7vw, 8rem) * -1); }
  .step-controls { padding-inline: 1rem; }
  .detail-gallery, .detail-gallery--three { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}

@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; }
}

/* Shared editorial pages */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; width: fit-content; min-height: 2.75rem; border: 1px solid currentColor; padding: 1rem 1.25rem; text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; transition: color .2s ease, background .2s ease; }
.button:hover { color: var(--paper-light); background: var(--ink); }
.button-light { color: white; }
.button-light:hover { color: var(--ink); background: white; }
.text-link { display: inline-flex; gap: 1.25rem; margin-top: 1.5rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.site-header-overlay { position: fixed; z-index: 50; top: 0; left: 0; right: 0; color: white; border-color: rgba(255,255,255,.32); background: rgba(32,35,31,.72); }
.home-hero { min-height: 100svh; display: grid; grid-template-columns: minmax(25rem, .8fr) minmax(0, 1.2fr); grid-template-areas: "copy image"; overflow: hidden; padding-top: 7.5rem; color: white; background: #30342e; }
.home-hero > img { grid-area: image; align-self: center; width: 100%; height: calc(100svh - 7.5rem); object-fit: contain; filter: saturate(.82); background: #b8a77d; }
.home-hero-shade { display: none; }
.home-hero-copy { grid-area: copy; align-self: center; max-width: 54rem; padding: 4rem clamp(2.5rem, 6vw, 7rem); }
.home-hero-copy .eyebrow { color: #d6dbc9; }
.home-hero-copy h1 { max-width: 720px; font-size: clamp(3.7rem, 6.3vw, 7rem); }
.home-hero-copy > p:not(.eyebrow) { max-width: 34rem; margin: 2rem 0; color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.75; }

.editorial-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); max-width: 1600px; margin-inline: auto; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.editorial-grid h2 { max-width: 12ch; }
.prose { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.editorial-grid .prose { max-width: 35rem; }
.prose p:first-child { margin-top: 0; }
.home-services { display: grid; grid-template-columns: repeat(3,1fr); padding: 0 clamp(1.25rem, 8vw, 9rem) clamp(6rem, 12vw, 11rem); }
.home-services article { min-height: 17rem; padding: 2.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-services article + article { border-left: 1px solid var(--line); }
.home-services span { color: var(--sage); font-size: .7rem; }
.home-services h3 { margin: 3.5rem 0 1rem; font: 500 2.2rem var(--serif); }
.home-services p { max-width: 18rem; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.home-portfolio-callout { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 42rem; color: #f4f1e9; background: var(--ink); }
.callout-image { min-height: 35rem; overflow: hidden; }
.callout-image img { width: 100%; height: 100%; object-fit: cover; }
.callout-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.callout-copy h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.callout-copy > p:not(.eyebrow) { max-width: 28rem; margin: 2rem 0; color: #bfc2bc; line-height: 1.75; }
.callout-copy .button:hover { color: var(--ink); background: white; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem clamp(1.25rem, 8vw, 9rem); background: #aab39c; }
.contact-strip p { margin: 0; font: 500 clamp(1.6rem, 3vw, 2.7rem) var(--serif); }
.contact-strip a { border-bottom: 1px solid currentColor; padding-bottom: .25rem; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: inherit; }

@media (max-width: 720px) {
  .home-hero { min-height: 0; grid-template-columns: 1fr; grid-template-areas: "copy" "image"; padding-top: 6rem; }
  .home-hero-copy { padding: 4rem 1.25rem 3rem; }
  .home-hero > img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .editorial-grid, .home-portfolio-callout { grid-template-columns: 1fr; }
  .prose p:first-child { margin-top: 0; }
  .home-services { grid-template-columns: 1fr; }
  .home-services article + article { border-left: 0; border-top: 0; }
  .home-portfolio-callout { min-height: 0; }
  .callout-image { min-height: 25rem; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}

.inner-hero { min-height: 68vh; display: grid; align-content: end; padding: clamp(7rem, 13vw, 12rem) clamp(1.25rem, 8vw, 9rem) clamp(5rem, 9vw, 8rem); border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(255,255,255,.5), transparent 50%); }
.inner-hero h1 { max-width: 1100px; }
.inner-hero > p:last-child { max-width: 36rem; margin: 2.5rem 0 0 36%; color: var(--muted); line-height: 1.75; }
.competence-intro { padding-bottom: 6rem; }
.wide-image { max-width: calc(100% - 2 * clamp(1.25rem, 8vw, 9rem)); margin: 0 auto clamp(6rem, 12vw, 11rem); }
.wide-image img { width: 100%; height: auto; max-height: 38rem; object-fit: contain; }
.wide-image figcaption { margin-top: .8rem; text-align: left; }
.treatments { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); background: #ebe7de; }
.section-lead h2 { max-width: 30rem; position: sticky; top: 2rem; }
.treatment-list { margin: 0; padding: 0; list-style: none; }
.treatment-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.treatment-list li:last-child { border-bottom: 1px solid var(--line); }
.treatment-list span, .reference-index { color: var(--sage); font-size: .66rem; font-weight: 600; letter-spacing: .1em; }
.treatment-list h3 { margin: 0 0 .55rem; font: 500 1.65rem var(--serif); }
.treatment-list p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.principles { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 9vw, 9rem); padding: clamp(6rem, 11vw, 10rem) clamp(1.25rem, 8vw, 9rem); color: #f4f1e9; background: var(--ink); }
.principles h2 { max-width: 700px; }
.principles .prose { color: #bfc2bc; }
.principles .button { margin-top: 1.5rem; color: white; }
.principles .button:hover { color: var(--ink); background: white; }

.references-hero { background: linear-gradient(120deg, #eeebe3, #f7f4ee 55%, #e5e1d7); }
.reference-groups { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.reference-groups article { display: grid; grid-template-columns: 4rem .65fr 1.35fr; gap: clamp(1rem, 4vw, 4rem); padding: 3rem 0; border-top: 1px solid var(--line); }
.reference-groups article:last-child { border-bottom: 1px solid var(--line); }
.reference-groups h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.reference-groups ul { columns: 2; column-gap: 3rem; margin: 0; padding: 0; list-style: none; }
.reference-groups li { break-inside: avoid; margin: 0 0 1rem; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.private-clients { display: grid; grid-template-columns: .5fr 1fr auto; gap: 3rem; align-items: center; padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 9rem); color: #f4f1e9; background: var(--ink); }
.private-clients .eyebrow { margin: 0; }
.private-clients h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.private-clients .button { color: white; white-space: nowrap; }
.private-clients .button:hover { color: var(--ink); background: white; }

.portfolio-social { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 8vw, 9rem); border-block: 1px solid var(--line); background: #e9e5dc; }
.portfolio-social .eyebrow { margin-bottom: .9rem; }
.portfolio-social h2 { max-width: 34ch; font-size: clamp(1.9rem, 3.1vw, 3.1rem); line-height: 1.05; }
.portfolio-social .button { white-space: nowrap; }

.contact-hero { min-height: 61vh; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 50rem; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: #e9e5dc; }
.contact-card > img { width: 100%; height: 100%; max-height: 58rem; object-fit: cover; }
.contact-details { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 4rem); }
.contact-details address { margin: 0 0 2rem; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.2 var(--serif); }
.contact-details a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.contact-reveal { display: grid; justify-items: start; gap: .7rem; margin-bottom: 1.5rem; }
.contact-reveal button { border: 0; border-bottom: 1px solid currentColor; padding: .25rem 0; color: var(--ink); background: transparent; font-size: .78rem; cursor: pointer; }
.contact-reveal a { font-size: .86rem; }
.small-note, .required-note { color: var(--muted); font-size: .72rem; }
.form-panel { padding: clamp(4rem, 8vw, 8rem); background: var(--paper-light); }
.form-panel h2 { margin-bottom: 2.5rem; }
.contact-form { display: grid; gap: 1.5rem; }
.field, .field-pair { display: grid; gap: .55rem; }
.field-pair { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .85rem .1rem; color: var(--ink); background: transparent; font: 400 1rem var(--sans); }
.field input[type="file"] { padding: .75rem 0; font-size: .82rem; }
.field input[type="file"]::file-selector-button { margin-right: 1rem; border: 1px solid var(--line); padding: .65rem .8rem; color: var(--ink); background: transparent; font: 600 .68rem var(--sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.field-note { margin: .15rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.field textarea { border: 1px solid var(--line); padding: 1rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage); outline: 0; box-shadow: 0 2px 0 var(--sage); }
.checkbox { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.checkbox input { margin-top: .25rem; accent-color: var(--sage); }
.honeypot { position: absolute; left: -9999px; }
.submit-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 3rem; border: 0; padding: 1.1rem 1.25rem; color: white; background: var(--ink); font: 600 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.submit-button:hover { background: var(--sage); }
.form-status { margin: 0 0 1.5rem; border-left: 3px solid var(--sage); padding: 1rem; background: #ebe7de; line-height: 1.6; }

@media (max-width: 1100px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .treatments, .principles { grid-template-columns: 1fr; }
  .private-clients { grid-template-columns: 1fr; }
  .portfolio-social { grid-template-columns: 1fr; align-items: start; }
  .reference-groups article { grid-template-columns: 3rem 1fr; }
  .reference-groups ul { grid-column: 2; columns: 1; }
  .section-lead h2 { position: static; }
}

@media (max-width: 720px) {
  .inner-hero > p:last-child { margin-left: 0; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > img { max-height: 34rem; }
  .field-pair { grid-template-columns: 1fr; }
  .form-panel { padding: 3.5rem 1.25rem; }
  .field input, .field select { min-height: 2.75rem; }
  .reference-groups article { grid-template-columns: 1fr; }
  .reference-groups ul { grid-column: auto; }
}

.error-page { min-height: 100svh; display: grid; place-content: center; justify-items: start; padding: clamp(2rem, 9vw, 9rem); background: linear-gradient(120deg, #f3f0e9, #e7e3d9); }
.error-page h1 { margin-bottom: 2rem; }
.error-page > p:not(.eyebrow) { max-width: 30rem; margin: 0 0 2rem; color: var(--muted); line-height: 1.7; }

/* V8 — accueil plus photographique */
.home-hero { grid-template-columns: minmax(21rem, .48fr) minmax(0, 1.52fr); }
.home-hero-copy { position: relative; z-index: 1; max-width: 38rem; padding: clamp(3rem, 7vh, 5rem) clamp(2rem, 4vw, 4.5rem); }
.home-hero-copy h1 { max-width: 9.5ch; font-size: clamp(3.35rem, 4.65vw, 6.1rem); line-height: .9; }
.home-hero-copy > p:not(.eyebrow) { max-width: 29rem; }
.home-hero > img { position: relative; z-index: 0; width: calc(100% + 1.5rem); margin-left: -1.5rem; filter: saturate(.9) contrast(1.02); }

.home-services { gap: clamp(.75rem, 1.5vw, 1.5rem); }
.home-services article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #eeebe3;
}
.home-services article + article { border: 0; }
.service-image { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #d8d4cb; }
.service-image img { width: 100%; height: 100%; object-fit: contain; }
.home-services .service-copy { padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.home-services h3 { margin: 2.5rem 0 1rem; }

.home-portfolio-callout { grid-template-columns: minmax(0, 1.35fr) minmax(21rem, .65fr); }
.callout-visual { align-self: center; min-width: 0; padding: clamp(2rem, 5vw, 5rem) 0 clamp(2rem, 5vw, 5rem) clamp(1.25rem, 6vw, 7rem); }
.home-comparison { max-width: none; }
.home-comparison .comparison-stage { box-shadow: none; }
.home-comparison figcaption { color: #bfc2bc; }
.work-selector { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.work-selector button {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: #d7d8d3;
  background: transparent;
  font: 600 .65rem var(--sans);
  letter-spacing: .07em;
  cursor: pointer;
}
.work-selector button:hover,
.work-selector button[aria-pressed="true"] { color: var(--ink); background: #f4f1e9; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: minmax(19rem, .7fr) minmax(0, 1.3fr); }
  .home-hero-copy h1 { font-size: clamp(3rem, 5.8vw, 4.7rem); }
  .home-portfolio-callout { grid-template-columns: 1fr; }
  .callout-visual { padding-right: clamp(1.25rem, 6vw, 7rem); padding-bottom: 0; }
}

@media (max-width: 720px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: none; padding-block: 3.5rem 2.75rem; }
  .home-hero-copy h1 { max-width: 10ch; font-size: clamp(3rem, 13.5vw, 4.5rem); line-height: .92; }
  .home-hero > img { width: 100%; margin-left: 0; }
  h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .home-services { gap: 1.25rem; }
  .home-services article { grid-template-rows: auto auto; }
  .home-services article + article { border: 0; }
  .callout-visual { padding: 1.25rem 0 0; }
  .home-comparison { margin-inline: 0; }
  .home-comparison figcaption { padding-inline: 1.25rem; }
  .work-selector { padding-inline: 1.25rem; }
}

/* V8 — galerie et visionneuse */
.detail-gallery button { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.detail-gallery img { height: 100%; object-fit: contain; background: #d8d4cb; }
.step-stage img { object-fit: contain; }
.lightbox[open] {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: .75rem;
}
.lightbox > img { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
.lightbox-caption { grid-column: 2; grid-row: 2; text-align: center; }
.lightbox-nav {
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.06);
  font: 400 1.25rem var(--sans);
  cursor: pointer;
}
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-nav:hover { color: var(--ink); background: white; }

@media (max-width: 600px) {
  .lightbox { padding-inline: .75rem; }
  .lightbox-nav { position: fixed; top: 50%; width: 2.75rem; height: 2.75rem; background: rgba(16,18,16,.7); }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox > img { max-width: 100%; }
}

/* V8 — références et pied de page */
.reference-groups { max-width: 1600px; margin-inline: auto; }
.reference-groups article { padding-block: clamp(3.5rem, 6vw, 6rem); }
.reference-index { margin: .45rem 0 0; color: var(--sage); font-size: .68rem; letter-spacing: .12em; }
.reference-groups h2 { max-width: 14ch; line-height: 1.05; }
.reference-groups li { position: relative; padding-left: 1.15rem; }
.reference-groups li::before { content: ''; position: absolute; top: .72em; left: 0; width: .35rem; height: 1px; background: var(--sage); }

.site-footer {
  display: block;
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem) 1.5rem;
}
.site-footer p { margin: 0; }
.footer-signature { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; }
.footer-intro { display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem clamp(1.5rem, 3vw, 3.5rem); }
.footer-intro > p:not(.footer-name), .footer-address { color: #bfc2bc; line-height: 1.5; }
.footer-address { font-style: normal; }
.footer-name { color: #f4f1e9; font: 500 clamp(1.7rem, 2.5vw, 2.35rem)/1 var(--serif); }
.footer-actions { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); white-space: nowrap; }
.footer-actions a { color: #e4e2dc; text-decoration: none; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-actions a:last-child { color: #9fa29b; }
.footer-actions a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.25rem; color: #858982; font-size: .64rem; letter-spacing: .06em; }
.footer-bottom a { text-decoration-color: rgba(255,255,255,.28); text-underline-offset: .3em; }
.footer-bottom a:hover { color: #fff; text-decoration-color: currentColor; }

.legal-content { max-width: 1600px; margin-inline: auto; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem); }
.legal-content article { display: grid; grid-template-columns: minmax(13rem, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 7vw, 8rem); padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.legal-content article:last-child { border-bottom: 1px solid var(--line); }
.legal-content h2 { max-width: 12ch; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
.legal-copy { max-width: 48rem; color: var(--muted); line-height: 1.8; }
.legal-copy p { margin-top: 0; }
.legal-copy p + p { margin-top: 1.25rem; }
.legal-copy address { margin: 1.25rem 0; color: var(--ink); font-style: normal; }
.legal-copy a { color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: .3em; }

@media (max-width: 900px) {
  .footer-signature { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .legal-content article { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .footer-intro { display: grid; gap: .65rem; }
  .footer-actions { justify-content: space-between; width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
}
