.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.selected-work { background: #171220; }
.selected-work h2 { max-width: 22ch; }
.selected-work .button { margin-block-start: 28px; }
.references { display: grid; gap: clamp(14px, 2vw, 28px); }
.featured-references { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.portfolio-references { grid-template-columns: repeat(2,minmax(0,1fr)); }
.reference-card {
  min-inline-size: 0;
  color: #fff;
  background: #231a2e;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid #74618177;
  border-radius: 5px;
  overflow: hidden;
}
.reference-card[hidden] { display: none; }
.portfolio-references .reference-card:first-child:nth-last-child(3):not([hidden]) { grid-column: 1/-1; }
.reference-image { display: block; overflow: hidden; background: #16131d; }
.reference-image img { width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; transition: transform 480ms ease; }
.portfolio-references .reference-card:first-child:nth-last-child(3) .reference-image img { aspect-ratio: 4.15; }
.reference-copy { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 32px); }
.reference-copy h2 { font-size: clamp(1.5rem,2.8vw,2.5rem); }
.reference-copy h3 { font-size: clamp(1.22rem,1.7vw,1.65rem); }
.reference-copy h2 a, .reference-copy h3 a { text-decoration: none; }
.reference-copy > p { color: #e9deed; }
.reference-copy .reference-meta { color: #f5c1f2; font-size: .9rem; }
.reference-link { align-self: start; margin-block-start: auto; color: #f8cbf7; text-underline-offset: 4px; }
.reference-card:is(:hover,:focus-within) .reference-image img { transform: scale(1.035); }
.project-hero { min-height: clamp(425px,44vw,615px); }
.project-hero h1 { max-width: 22ch; font-size: clamp(2.15rem,5.5vw,5.3rem); }
[dir="rtl"] .project-hero h1 { max-width: 23ch; font-size: clamp(2.05rem,4.9vw,4.8rem); }
.project-hero .internal-art { inset-inline-start: 10%; }
.project-hero .internal-art img { object-position: 60% center; }
.case-infrastructure { --shade: #20182b; }
.case-utilities { --shade: #151930; }
.case-water { --shade: #142425; }
.case-overview { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(24px,5vw,72px); align-items: start; }
.case-overview p { max-width: 65ch; }
.case-overview h2:not(:first-child) { margin-block-start: 28px; }
.case-facts { margin: 0; border-block-start: 2px solid var(--purple); }
.case-facts > div { padding-block: 13px; border-block-end: 1px solid #ded1e3; }
.case-facts dt { color: #70276d; font-weight: 700; }
.case-facts dd { margin-inline: 0; }
.case-scope { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 34px; margin-block: 25px 35px; }
.case-scope article { border-block-start: 1px solid #d8c5db; padding-block-start: 12px; }
.case-delivery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 25px; padding-inline-start: 20px; }
.related-references ul { padding-inline-start: 18px; }
.related-references li + li { margin-block-start: 10px; }
.case-architecture { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(18px,4vw,48px); align-items: start; }
.architecture-figure { margin: 0; background: #222033; border: 1px solid #655176; border-radius: 5px; overflow: hidden; }
.architecture-figure figcaption { font-weight: 700; padding: 14px 16px; border-block-end: 1px solid #655176; }
.architecture-figure svg { display: block; width: 100%; height: auto; background: radial-gradient(ellipse at 50% 50%,#3a2752,#19182a 72%); }
.architecture-figure p { color: #e3d3eb; padding: 12px 16px; margin: 0; font-size: .9rem; }
.architecture-path, .architecture-return, .architecture-hub-mark { stroke: #8f7eae; stroke-width: 2.5; fill: none; }
.architecture-return { stroke: #80b8b7; stroke-dasharray: 7 4; }
.architecture-envelope { fill: none; stroke: #cf9bdd; stroke-width: 2; stroke-dasharray: 6 5; }
.architecture-hub, .architecture-point circle { fill: #38294b; stroke: #b1a0cf; stroke-width: 2.5; }
.architecture-point text { fill: #fff; text-anchor: middle; font: 700 16px Arial,sans-serif; }
.architecture-stages details { border-block-end: 1px solid #675572; }
.architecture-stages summary { cursor: pointer; padding: 9px 5px; font-weight: 700; }
.architecture-stages summary span { color: #f8b6f3; padding-inline: .6em; }
.architecture-stages summary:focus-visible { outline: 3px solid #e0a6ea; outline-offset: 3px; }
.architecture-stages p { padding-inline-start: 26px; color: #e3d3eb; }
.case-architecture[data-active="0"] .architecture-path[data-signal="0"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="0"] .architecture-point[data-signal="0"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="1"] .architecture-path[data-signal="1"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="1"] .architecture-point[data-signal="1"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="2"] .architecture-path[data-signal="2"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="2"] .architecture-point[data-signal="2"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="3"] .architecture-path[data-signal="3"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="3"] .architecture-point[data-signal="3"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="4"] .architecture-path[data-signal="4"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="4"] .architecture-point[data-signal="4"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="5"] .architecture-path[data-signal="5"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="5"] .architecture-point[data-signal="5"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="6"] .architecture-path[data-signal="6"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="6"] .architecture-point[data-signal="6"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="7"] .architecture-path[data-signal="7"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="7"] .architecture-point[data-signal="7"] circle { fill: #81237b; stroke: #ffd9ff; }
.case-architecture[data-active="8"] .architecture-path[data-signal="8"] { stroke: #f1b2ec; stroke-width: 4; stroke-dasharray: 10 6; animation: case-signal .75s linear 4; }
.case-architecture[data-active="8"] .architecture-point[data-signal="8"] circle { fill: #81237b; stroke: #ffd9ff; }
@keyframes case-signal { to { stroke-dashoffset: -32; } }
@media(max-width: 900px) {
  .featured-references { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .case-scope { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 700px) {
  .case-architecture, .case-overview { grid-template-columns: 1fr; }
  .project-hero .internal-art { inset-inline-start: 0; }
  .project-hero { min-height: 420px; }
}
@media(max-width: 540px) {
  .featured-references,.portfolio-references,.case-scope,.case-delivery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-card:is(:hover,:focus-within) .reference-image img { transform: none; }
}
.reference-media-note { color: #d8c5df; font-size: .9rem; }
.architecture-direction { fill: none; stroke: #e8d7f6; stroke-width: 2; stroke-linecap: round; }
.return-direction { stroke: #80b8b7; }

.office-addresses { display: grid; gap: 18px; }
.office-addresses address { margin-block-start: 4px; font-style: normal; line-height: 1.55; }
.office-section .office-addresses { grid-template-columns: repeat(2,minmax(0,1fr)); }
.office-section .office-addresses > div { border-block-start: 2px solid var(--purple); padding-block-start: 14px; }
.office-email { display: inline-block; margin-block-start: 16px; overflow-wrap: anywhere; }
.footer .office-addresses { font-size: .92rem; }
@media(max-width: 540px) {
  .office-section .office-addresses { grid-template-columns: 1fr; }
}
