.ed-dossier {
  --ed-line: #d7d2c9;
  --ed-muted: #615c55;
  --ed-orange: #bf4321;
  color: #292722;
  background: #fbfaf7;
  padding-block: clamp(52px, 5.7vw, 100px);
}
.ed-dossier :is(#service, #design, #construction, #eng-craft) { scroll-margin-top: 12px; }
.ed-dossier :is(figure, figcaption, p, dl, dd, h2, h3, h4, ul) { margin: 0; }
.ed-dossier .eyeline { margin-bottom: 10px; }
.ed-head, .ed-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.ed-head h2 { font-size: clamp(29px, 3.2vw, 56px); }
.ed-head > p, .ed-subhead > p { color: var(--ed-muted); flex: 0 1 36em; line-height: 1.82; font-size: 16px; }
.ed-index { display: flex; flex-wrap: wrap; gap: 3px 24px; margin-block: 20px 22px; border-block: 1px solid var(--ed-line); }
.ed-index a { min-height: 44px; display: inline-flex; align-items: center; color: #64594e; font-size: 14px; font-weight: 600; }
.ed-index a:hover { color: var(--ed-orange); text-decoration: underline; text-underline-offset: 4px; }
.ed-scope { display: grid; grid-template-columns: 1.12fr 1fr; background: #f0ede6; border-radius: 6px; overflow: hidden; }
.ed-scope-copy { padding: clamp(22px, 2.6vw, 46px); align-self: center; }
.ed-scope-copy h3 { font-size: clamp(23px, 2vw, 35px); letter-spacing: -.045em; line-height: 1.28; }
.ed-scope .ed-defs { margin-top: 14px; }
.ed-defs > div { display: grid; grid-template-columns: minmax(6.5em, .37fr) minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--ed-line); }
.ed-defs dt { color: #312f2b; font-weight: 650; font-size: 16px; line-height: 1.55; }
.ed-defs dd { color: var(--ed-muted); font-size: 15px; line-height: 1.72; }
.ed-photo { min-width: 0; }
.ed-photo .ed-open { position: relative; display: block; overflow: hidden; background: #e8e4dc; border-radius: 4px; }
.ed-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-open:focus-visible { outline-offset: -4px; }
.ed-loupe { pointer-events: none; display: grid; place-items: center; position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; background: #26231ed9; color: white; border-radius: 50%; }
.ed-loupe::before,.ed-loupe::after { position: absolute; height: 1px; width: 12px; background: currentColor; content: ''; }
.ed-loupe::after { transform: rotate(90deg); }
.ed-open:hover .ed-loupe,.ed-open:focus-visible .ed-loupe { background: var(--ed-orange); }
.ed-photo figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; color: #504b44; font-size: 14px; font-weight: 550; line-height: 1.55; margin-top: 7px; }
.ed-scope-picture { position: relative; display: flex; min-height: clamp(315px, 25vw, 425px); }
.ed-scope-picture .ed-open { width: 100%; border-radius: 0; }
.ed-scope-picture img { position: absolute; inset: 0; transform: scale(1.3); }
.ed-scope-picture figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 9px; color: white; background: #2a2722ba; border-radius: 2px; pointer-events: none; }
.ed-chapter { margin-top: clamp(34px, 4.5vw, 75px); }
.ed-subhead { margin-bottom: clamp(16px, 1.7vw, 29px); }
.ed-rubric { color: var(--ed-orange); text-transform: uppercase; font: 650 12px/1.5 var(--rh-sans, sans-serif); letter-spacing: .09em; }
.ed-subhead h3 { margin-top: 5px; color: #2c2925; font-size: clamp(25px, 2.4vw, 42px); line-height: 1.23; font-weight: 640; letter-spacing: -.045em; }
.ed-subhead > a { flex: none; }
.ed-columns { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(18px, 3.3vw, 60px); align-items: start; }
.ed-bim-main .ed-open { height: clamp(185px, 17vw, 320px); background: #e6e9e7; }
.ed-bim-main img { object-fit: contain; }
.ed-clean-link { display: inline-block; color: #a83d20; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; font-weight: 600; }
.ed-images-three,.ed-images-two,.ed-craft-grid { display: grid; align-items: start; gap: clamp(8px, 1vw, 18px); }
.ed-images-three { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 13px; }
.ed-images-two { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 13px; }
.ed-images-three .ed-open { aspect-ratio: 1.85; }
.ed-images-two .ed-open { aspect-ratio: 2.45; }
.ed-images-three .ed-photo:last-child img,.ed-craft-grid .ed-photo:last-child img { object-fit: contain; background: #f0efe9; }
.ed-images-three .ed-loupe,.ed-images-two .ed-loupe { width: 23px; height: 23px; right: 5px; bottom: 5px; }
.ed-images-three .ed-loupe::before,.ed-images-three .ed-loupe::after,.ed-images-two .ed-loupe::before,.ed-images-two .ed-loupe::after { width: 9px; }
.ed-deliverables h4,.ed-checks h4 { margin-bottom: 11px; color: #2e2b27; font-size: clamp(18px, 1.5vw, 25px); line-height: 1.4; font-weight: 650; }
.ed-principles { border-bottom: 1px solid var(--ed-line); }
.ed-principles details { border-top: 1px solid var(--ed-line); }
.ed-principles summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; min-height: 48px; padding: 9px 3px 9px 0; font-size: 16px; font-weight: 650; cursor: pointer; }
.ed-principles summary::-webkit-details-marker { display: none; }
.ed-principles summary > span { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 11px; }
.ed-principles summary small { color: var(--ed-muted); font-size: 13px; font-weight: 450; }
.ed-principles summary::after { content: ''; flex: 0 0 7px; height: 7px; margin: 0 4px 4px; border: solid #9e4728; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ed-principles details[open] summary::after { margin-bottom: 0; transform: rotate(225deg); }
.ed-principles details p { padding: 0 20px 12px 0; color: var(--ed-muted); font-size: 15px; line-height: 1.67; }
.ed-dossier summary:focus-visible { outline: 2px solid var(--ed-orange); outline-offset: 2px; }
.ed-apps { margin-top: 14px; display: flex; gap: 8px 13px; align-items: baseline; flex-wrap: wrap; }
.ed-apps strong { font-size: 14px; }
.ed-apps ul { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; }
.ed-apps li { padding: 2px 7px; color: #664c3d; background: #f1e9de; font-size: 13px; }
.ed-quality-lead .ed-open { height: clamp(175px,15.5vw,285px); }
.ed-quality-lead img { object-position: center 41%; }
.ed-check-list > div { grid-template-columns: minmax(8.2em,.45fr) minmax(0,1fr); }
.ed-craft-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ed-craft-grid .ed-open { aspect-ratio: 2.02; }
.ed-viewer { border: 0; background: #23221f; color: white; padding: 12px; border-radius: 6px; width: min(1020px,94vw); max-width: 94vw; max-height: 93vh; max-height: 93dvh; }
.ed-viewer::backdrop { background: #100e0bea; }
.ed-view-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px 8px; }
.ed-view-bar strong { font-size: 16px; font-weight: 550; }
.ed-viewer button,.ed-original { min-height: 40px; font: 550 14px/1.4 var(--rh-sans,sans-serif); padding: 7px 12px; color: white; border: 1px solid #786e62; border-radius: 3px; background: transparent; cursor: pointer; }
.ed-view-stage { background: #111; display: grid; place-items: center; }
.ed-view-stage img { display: block; width: 100%; max-height: 69vh; max-height: 69dvh; object-fit: contain; }
.ed-detail-zoom {margin:8px 8px 0 0}
.ed-detail-zoom[hidden] {display:none}
.ed-view-stage.is-expanded {display:block;max-height:69vh;max-height:69dvh;overflow:auto;overscroll-behavior:contain}
.ed-view-stage.is-expanded img {width:auto;max-width:none;max-height:none}
.ed-original { display: inline-flex; align-items: center; margin-top: 8px; }
@media (max-width: 900px) {
  .ed-head > p,.ed-subhead > p { flex: 1 1 270px; }
  .ed-scope { grid-template-columns: 1fr 1fr; }
  .ed-defs > div { display: block; padding: 8px 0; }
  .ed-defs dd { margin-top: 2px; }
  .ed-scope-copy { padding: 20px; }
  .ed-columns { gap: 22px; }
  .ed-images-three .ed-photo figcaption { font-size: 13px; }
  .ed-bim-main .ed-open { height: auto; aspect-ratio: 1.7; }
}
@media (max-width: 690px) {
  .ed-dossier { padding-block: 44px; }
  .ed-head,.ed-subhead { display: grid; gap: 9px; }
  .ed-head > p,.ed-subhead > p { font-size: 15px; }
  .ed-index { margin-block: 14px; gap: 0 16px; }
  .ed-index a { font-size: 13px; }
  .ed-scope,.ed-columns { grid-template-columns: minmax(0,1fr); }
  .ed-scope-picture { min-height: 0; aspect-ratio: 1.74; }
  .ed-scope-copy { padding: 18px; }
  .ed-scope-copy h3 { font-size: 21px; }
  .ed-scope .ed-defs { margin-top: 9px; }
  .ed-defs > div { display: grid; grid-template-columns: minmax(5.1em,.35fr) minmax(0,1fr); gap: 8px; }
  .ed-defs dt { font-size: 15px; }
  .ed-check-list > div { grid-template-columns: minmax(7.4em,.4fr) minmax(0,1fr); }
  .ed-defs dd { margin: 0; font-size: 14px; }
  .ed-columns { gap: 19px; }
  .ed-photo figcaption { font-size: 13px; }
  .ed-clean-link { min-height: 29px; padding-top: 3px; }
  .ed-images-three { margin-top: 5px; }
  .ed-images-three .ed-open { aspect-ratio: 1.42; }
  .ed-quality-lead .ed-open { height: auto; aspect-ratio: 2.1; }
  .ed-images-two .ed-open { aspect-ratio: 1.9; }
  .ed-craft .ed-subhead { grid-template-columns: 1fr; justify-items: start; }
  .ed-craft-grid { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ed-craft-grid .ed-photo:first-child { grid-column: 1/-1; }
  .ed-craft-grid .ed-open { aspect-ratio: 1.52; }
  .ed-craft-grid .ed-photo:first-child .ed-open { aspect-ratio: 2.3; }
}
@media (max-width: 360px) {
  .ed-index { gap: 0 11px; }
  .ed-scope-copy { padding: 14px; }
  .ed-principles summary >span { display: block; }
  .ed-principles summary small { display: block; }
}
