.stage-main {padding-top:clamp(28px,3.8vw,60px);padding-bottom:clamp(30px,4.3vw,70px)}
.stage-lead {display:grid;grid-template-columns:1.18fr .82fr;align-items:end;gap:clamp(20px,5vw,78px);margin:0 0 clamp(22px,2.7vw,42px)}
.stage-lead h1 {max-width:21ch;margin:9px 0 0;color:#173f30;font:400 clamp(39px,4.4vw,70px)/1.025 Georgia,'Times New Roman',serif;letter-spacing:-.052em}
.stage-lead>p {max-width:55ch;margin:0 0 2px;color:#4d6054;font-size:clamp(15px,1.2vw,18px);line-height:1.62}
.stage-gallery,.stage-estimation,.stage-info {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.2vw,34px)}
.stage-gallery.single {grid-template-columns:1fr}
.stage-figure {margin:0;min-width:0}
.stage-picture {display:block;position:relative;overflow:hidden;border:1px solid #bcc9bb;border-radius:12px;background:#ecede3;aspect-ratio:3/2}
.stage-picture>img {display:block;width:100%;height:100%;object-fit:cover}
.stage-figure.drawing .stage-picture>img {object-fit:contain;background:#fbfaf3}
.stage-gallery.single .stage-picture {aspect-ratio:2.65}
.stage-gallery.single .stage-picture>img {object-position:center 49%}
.stage-expand {display:grid;place-items:center;position:absolute;right:11px;bottom:11px;width:32px;height:32px;border-radius:50%;background:#fafbf0ed;color:#234738;box-shadow:0 1px 5px #19392a3b;font:18px/1 Arial,sans-serif}
.stage-picture:hover {border-color:var(--green)}
.stage-picture:hover .stage-expand {background:white}
.stage-figure figcaption {padding:12px 1px 0}
.stage-figure figcaption strong {display:block;font:400 clamp(20px,1.65vw,26px)/1.2 Georgia,serif;letter-spacing:-.018em}
.stage-figure figcaption>span {display:block;margin-top:4px;font-size:13px;line-height:1.5;color:var(--muted)}
.stage-info {margin-top:clamp(22px,3.2vw,51px);border-top:1px solid var(--line);padding-top:clamp(19px,2.25vw,35px);align-items:start}
.stage-card,.stage-notes,.stage-estimation>* {min-width:0}
.stage-card h2,.stage-notes h2 {margin:0 0 9px;font:400 clamp(24px,2vw,34px)/1.15 Georgia,serif;letter-spacing:-.034em;color:var(--ink)}
.stage-card p,.stage-notes p,.stage-notes li {color:#455b4f;font-size:14px;line-height:1.58}
.stage-card p,.stage-notes p {margin:0 0 12px}
.stage-card dl {margin:12px 0 0}
.stage-card dl>div {display:grid;grid-template-columns:minmax(100px,.86fr) 1.4fr;gap:12px;border-top:1px solid var(--line);padding:8px 0}
.stage-card dl>div:last-child {border-bottom:1px solid var(--line)}
.stage-card dt,.stage-card dd {margin:0;font-size:13px;line-height:1.45}
.stage-card dt {color:var(--muted)}
.stage-card dd {font-weight:600;color:#244a39}
.stage-notes ul {list-style:disc;margin:8px 0 0;padding-left:18px}
.stage-notes li {margin:6px 0;padding-left:2px}
.stage-notes li::marker {color:#6e8d70}
.stage-notes .yek-inline-link,.stage-card .yek-inline-link {margin-top:9px}
.stage-output {margin-top:clamp(20px,2.2vw,34px);padding:14px 20px;background:#e9efe1;border-left:3px solid #789476;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 20px}
.stage-output strong {font-size:13px;font-weight:700;color:#31583f}
.stage-output p {font-size:14px;margin:0;color:#31493a}
.stage-pager {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:clamp(26px,3.5vw,52px);padding-top:18px;border-top:1px solid var(--line)}
.stage-pager a {max-width:100%;justify-self:start;color:var(--green)}
.stage-pager a:last-child {justify-self:end;text-align:right}
.stage-pager small {display:block;color:var(--muted);font-size:11px}
.stage-pager span {display:block;font:400 clamp(17px,1.55vw,25px)/1.18 Georgia,serif;margin-top:3px}
.stage-pager a:hover span {text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.stage-estimation .stage-card {padding:clamp(17px,2.1vw,34px);border:1px solid var(--line);border-radius:11px;background:#fdfdf7}
.sample-tiers {display:flex;gap:5px;flex-wrap:wrap;margin:16px 0}
.sample-tiers button {min-height:34px;padding:5px 14px;border:1px solid #adbfab;border-radius:24px;background:transparent;color:var(--green);font:600 12px/1.3 Arial}
.sample-tiers button[aria-pressed="true"] {background:var(--green);border-color:var(--green);color:white}
.sample-tiers button:hover:not([aria-pressed="true"]) {background:#e9efe3}
.estimate-scroll {overflow-x:auto}
.stage-main .estimate-table,.stage-main .work-schedule {width:100%;min-width:0;margin:0;border-spacing:0;border-collapse:collapse;font:13px/1.35 Arial,sans-serif;color:var(--ink);font-variant-numeric:tabular-nums}
.stage-main :is(.estimate-table,.work-schedule) :is(th,td) {height:auto;white-space:normal;border:0;border-bottom:1px solid var(--line);padding:9px 6px;background:transparent}
.stage-main .estimate-table thead th,.stage-main .work-schedule thead th {background:#eef2e7;font-size:11px;color:#45634d;font-weight:600}
.stage-main .estimate-table :is(th,td) {text-align:right}
.stage-main .estimate-table th:first-child,.stage-main .work-schedule th:first-child {text-align:left}
.stage-main .estimate-table tbody th,.stage-main .work-schedule tbody th {font-weight:500}
.stage-main .estimate-table tfoot :is(th,td) {color:var(--green);font-weight:700;background:#e8efdf}
.stage-main .estimate-table :is(tfoot,tbody) td {white-space:nowrap}
.stage-main .work-schedule {margin:20px 0;table-layout:fixed}
.work-schedule caption {text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:0 0 7px}
.stage-main .work-schedule th:first-child {width:39%}
.stage-main .work-schedule :is(th,td):not(:first-child) {text-align:center}
.stage-main .work-schedule td {padding:3px;border-left:1px solid #e3e9df}
.work-schedule .week-on i {display:block;border-radius:3px;height:12px;background:#759174}
.stage-main .stage-small {margin:10px 0 0;font-size:12px;line-height:1.5;color:#526657}
.accessible-only {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.stage-viewer {width:fit-content;max-width:96vw;max-height:94vh;max-height:94dvh;padding:0;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid #bbc8b9;border-radius:12px}
.stage-viewer::backdrop {background:#10271ee6}
.viewer-head,.viewer-foot {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 16px}
.viewer-head h2 {margin:0;font:400 clamp(17px,1.8vw,22px)/1.12 Georgia,serif}
.viewer-head button {border:1px solid var(--line);color:var(--green);background:white;border-radius:50%;width:35px;height:35px;font:23px/1 Arial}
.stage-viewer>img {display:block;width:100%;height:auto;max-height:calc(91vh - 96px);object-fit:contain;background:#eef1e9}
.viewer-foot {justify-content:flex-end}
.viewer-foot a {font-size:12px;color:var(--green);text-decoration:underline;text-underline-offset:3px}
@media (max-width:760px) {
  .stage-main {padding-top:25px}
  .stage-lead {grid-template-columns:1fr;gap:10px}
  .stage-lead h1 {max-width:none}
  .stage-estimation {grid-template-columns:1fr}
  .stage-gallery.single .stage-picture {aspect-ratio:1.95}
}
@media (max-width:580px) {
  .stage-lead {margin-bottom:19px}
  .stage-lead h1 {font-size:clamp(35px,8.4vw,46px)}
  .stage-lead>p {font-size:14px;line-height:1.55}
  .stage-gallery,.stage-info {grid-template-columns:1fr;gap:22px}
  .stage-gallery.single .stage-picture {aspect-ratio:1.5}
  .stage-figure figcaption {padding-top:8px}
  .stage-picture {border-radius:8px}
  .stage-card dl>div {grid-template-columns:minmax(95px,.85fr) 1.3fr}
  .stage-output {display:block;padding:12px 15px}
  .stage-output p {margin-top:3px}
  .stage-main .estimate-table,.stage-main .work-schedule {font-size:11px}
  .stage-main .estimate-table :is(th,td) {padding:7px 3px}
  .stage-main .estimate-table thead th,.stage-main .work-schedule thead th {font-size:10px}
}
@media print {
  .stage-main {padding:0}
  .stage-lead h1 {font-size:32px}
  .stage-viewer,.stage-expand,.stage-pager,.sample-tiers {display:none!important}
  .stage-gallery,.stage-card,.stage-notes {break-inside:avoid}
}
.sector-main .stage-lead {grid-template-columns:.88fr 1.12fr;align-items:center}
.sector-intro p {margin:0;max-width:63ch;color:var(--muted);font-size:clamp(14px,1.15vw,18px);line-height:1.55}
.sector-intro .yek-hero-cta {margin-top:13px;padding:8px 16px;min-height:37px}
.sector-gallery {grid-template-columns:1.23fr 1fr}
.sector-gallery .stage-picture {height:clamp(205px,27vw,415px);aspect-ratio:auto}
@media(max-width:760px) {
  .sector-main .stage-lead {grid-template-columns:1fr}
}
@media(max-width:580px) {
  .sector-gallery {grid-template-columns:1fr}
  .sector-gallery .stage-picture {aspect-ratio:3/2;height:auto}
}
.stage-expand::before,.stage-expand::after {content:"";position:absolute;display:block}
.stage-expand::before {right:10px;top:10px;width:9px;height:9px;border-top:1.6px solid currentColor;border-right:1.6px solid currentColor}
.stage-expand::after {left:10px;top:16px;width:13px;height:1.6px;background:currentColor;transform:rotate(-45deg)}
