.portfolio-showcase__case-links {
  display: grid;
  gap: 8px;
  width: min(100%, 340px);
  margin-top: 24px;
}

.portfolio-showcase__gallery-link {
  width: min(100%, 380px);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(241, 247, 249, 0.44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(245, 248, 249, 0.86);
  transition: border-color 180ms ease, color 180ms ease;
}

.portfolio-showcase__gallery-link:hover {
  border-color: var(--orange);
  color: #fff;
}

.portfolio-showcase__gallery-link span:last-child {
  color: var(--orange);
  transition: transform 180ms var(--ease-out);
}

.portfolio-showcase__gallery-link:hover span:last-child {
  transform: translate(2px, -2px);
}

.portfolio-showcase__case-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(241, 247, 249, 0.44);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(245, 248, 249, 0.9);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.portfolio-showcase__case-link:hover {
  border-color: #f5f7f8;
  background: #f5f7f8;
  color: #111a20;
}

.project-case {
  --case-bg: #e8e6df;
  --case-ink: #111a20;
  --case-muted: rgba(17, 26, 32, 0.68);
  --case-line: rgba(17, 26, 32, 0.24);
  --case-accent: #d76928;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px max(4vw, 48px) 26px;
  scroll-margin-top: 0;
  background: var(--case-bg);
  color: var(--case-ink);
}

.project-case::before {
  content: "01";
  position: absolute;
  top: 13.5%;
  right: -0.025em;
  z-index: -1;
  font-family: var(--mono);
  font-size: clamp(180px, 22vw, 360px);
  line-height: 0.8;
  color: rgba(17, 26, 32, 0.035);
  pointer-events: none;
}

.project-case__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--case-line);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  color: var(--case-muted);
}

.project-case__hero {
  position: relative;
  isolation: isolate;
  height: min(62dvh, 620px);
  min-height: 440px;
  margin: 22px 0 0;
  overflow: hidden;
  background: #12212b;
}

.project-case__hero picture,
.project-case__hero img,
.project-case__hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-case__hero picture {
  z-index: -2;
}

.project-case__hero img {
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.025);
  transition: transform 300ms var(--ease-out), filter 300ms var(--ease-out);
}

.project-case.is-visible .project-case__hero img {
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1);
}

.project-case__hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 12, 18, 0.68) 0%, rgba(5, 12, 18, 0.16) 48%, transparent 72%),
    linear-gradient(180deg, rgba(4, 10, 15, 0.12) 0%, transparent 52%, rgba(4, 10, 15, 0.68) 100%);
  pointer-events: none;
}

.project-case__hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 3.5vw, 52px) clamp(24px, 3.5vw, 56px) 68px;
  color: #f5f7f8;
}

.project-case__hero-copy > p {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: rgba(245, 248, 249, 0.72);
}

.project-case__hero-copy h2 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.84;
  font-weight: 400;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.project-case__hero-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: rgba(245, 248, 249, 0.76);
}

.project-case__hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 14px;
  border-top: 1px solid rgba(245, 248, 249, 0.25);
  background: rgba(6, 14, 20, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: rgba(245, 248, 249, 0.76);
}

.project-case__hero figcaption a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -10px -4px -10px 24px;
  padding: 0 4px;
  color: #fff;
  transition: color 180ms ease;
}

.project-case__hero figcaption a:hover {
  color: #f08a4c;
}

.project-case__summary {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  gap: clamp(48px, 7vw, 110px);
  padding: clamp(48px, 5.5vw, 82px) 0 clamp(54px, 6vw, 90px);
}

.project-case__statement > p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: var(--case-accent);
}

.project-case__statement > p i {
  width: 6px;
  height: 6px;
  background: currentColor;
}

.project-case__statement h3 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.project-case__description > p {
  max-width: 640px;
  margin: 0;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.48;
  letter-spacing: -0.025em;
  color: var(--case-muted);
  text-wrap: pretty;
}

.project-case__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: clamp(30px, 3vw, 44px) 0 0;
}

.project-case__facts > div {
  min-height: 66px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--case-line);
}

.project-case__facts dt {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--case-muted);
}

.project-case__facts dd {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-case__fact-source {
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  border-bottom: 1px solid var(--case-line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.07em;
  color: var(--case-muted);
  transition: border-color 180ms ease, color 180ms ease;
}

.project-case__fact-source:hover {
  border-color: var(--case-accent);
  color: var(--case-ink);
}

.project-case a:focus-visible {
  outline-color: var(--case-ink);
}

.project-case__hero a:focus-visible {
  outline-color: #fff;
}

.project-case__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.1vw, 18px);
  margin-top: 0;
}

.project-case__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #111a20;
}

.project-case__photo--interior,
.project-case__photo--entrance {
  grid-column: span 5;
}

.project-case__photo--team,
.project-case__photo--facade {
  grid-column: span 7;
}

.project-case__photo--interior,
.project-case__photo--team {
  height: clamp(300px, 30vw, 440px);
}

.project-case__photo--facade,
.project-case__photo--entrance {
  height: clamp(280px, 28vw, 410px);
}

.project-case__photo picture {
  position: absolute;
  inset: 0 0 42px;
  display: block;
  width: 100%;
}

.project-case__photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.project-case__photo img {
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: filter 220ms ease, transform 220ms var(--ease-out);
}

.project-case__photo:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.012);
}

.project-case__photo--interior img { object-position: 54% 50%; }
.project-case__photo--team img { object-position: 50% 45%; }
.project-case__photo--facade img { object-position: 52% 50%; }
.project-case__photo--entrance img { object-position: 50% 48%; }

.project-case__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 13px;
  border-top: 1px solid var(--case-line);
  background: var(--case-bg);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  color: var(--case-muted);
}

.project-case__photo figcaption span:first-child {
  color: var(--case-accent);
}

.project-case__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--case-muted);
}

.project-case__footer i {
  width: min(18vw, 260px);
  height: 1px;
  margin: 0 15px;
  background: var(--case-line);
}

.js .project-case:not(.is-visible) .project-case__hero-copy,
.js .project-case:not(.is-visible) .project-case__summary {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.project-case__hero-copy,
.project-case__summary {
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.project-case.is-visible .project-case__summary {
  transition-delay: 60ms;
}

/* Compact secondary project — intentionally one screen, not a full case study. */
.compact-case {
  --compact-bg: #131c22;
  --compact-ink: #f3f5f6;
  --compact-muted: rgba(235, 241, 244, 0.7);
  --compact-line: rgba(238, 246, 249, 0.22);
  --compact-accent: #d76928;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px max(4vw, 48px) 26px;
  scroll-margin-top: 0;
  background:
    linear-gradient(rgba(243, 245, 246, 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(243, 245, 246, 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--compact-bg);
  color: var(--compact-ink);
}

.compact-case::before {
  content: "02";
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  z-index: -1;
  font-family: var(--mono);
  font-size: clamp(150px, 18vw, 290px);
  line-height: 0.8;
  color: rgba(243, 245, 246, 0.025);
  pointer-events: none;
}

.compact-case__meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--compact-line);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  color: var(--compact-muted);
}

.compact-case__meta::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: clamp(72px, 8vw, 130px);
  height: 2px;
  background: var(--compact-accent);
}

.compact-case__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 5.5vw, 92px);
  align-items: center;
  padding: clamp(44px, 5vw, 76px) 0 clamp(34px, 4vw, 58px);
}

.compact-case__copy {
  min-width: 0;
}

.compact-case__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: var(--compact-accent);
}

.compact-case__eyebrow i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: currentColor;
}

.compact-case h2 {
  margin: 0;
  font-size: clamp(44px, 4.6vw, 74px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.compact-case h2 span {
  display: block;
  width: fit-content;
}

.compact-case h2 span:nth-child(2) {
  margin-left: clamp(18px, 2.2vw, 36px);
  color: var(--compact-accent);
}

.compact-case h2 span:nth-child(3) {
  position: relative;
}

.compact-case h2 span:nth-child(3)::after {
  content: "";
  position: absolute;
  right: -31px;
  bottom: 0.13em;
  width: 21px;
  height: 1px;
  background: var(--compact-accent);
}

.compact-case__lead {
  max-width: 570px;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.52;
  letter-spacing: -0.018em;
  color: var(--compact-muted);
  text-wrap: pretty;
}

.compact-case__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 30px 0 0;
}

.compact-case__facts > div {
  min-height: 58px;
  padding: 11px 0 12px;
  border-top: 1px solid var(--compact-line);
}

.compact-case__facts dt {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--compact-muted);
}

.compact-case__facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.compact-case__source {
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  border-bottom: 1px solid var(--compact-line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.07em;
  color: var(--compact-muted);
  transition: border-color 180ms ease, color 180ms ease;
}

.compact-case__source:hover {
  border-color: var(--compact-accent);
  color: var(--compact-ink);
}

.compact-case a:focus-visible {
  outline-color: var(--compact-ink);
}

.compact-case__media {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(190px, 0.72fr);
  gap: clamp(10px, 1vw, 16px);
  align-items: end;
}

.compact-case__visual {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--compact-line);
  background: #0c1318;
  box-shadow: -16px 16px 0 rgba(215, 105, 40, 0.13);
}

.compact-case__visual picture {
  position: relative;
  overflow: hidden;
}

.compact-case__visual picture,
.compact-case__visual img {
  display: block;
  width: 100%;
}

.compact-case__visual img {
  height: auto;
  aspect-ratio: 2200 / 1498;
  object-fit: cover;
  filter: saturate(0.91) contrast(1.03);
}

.compact-case__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  bottom: 54px;
  left: 12px;
  border: 1px solid rgba(243, 245, 246, 0.18);
  pointer-events: none;
}

.compact-case__stamp {
  position: absolute;
  z-index: 3;
  top: -20px;
  left: -20px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 10px;
  min-width: 116px;
  min-height: 68px;
  padding: 11px 13px 10px;
  background: var(--compact-accent);
  color: #131c22;
}

.compact-case__stamp strong {
  font-family: var(--mono);
  font-size: 34px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.compact-case__stamp span {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.compact-case__location {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  background: rgba(12, 19, 24, 0.82);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(243, 245, 246, 0.82);
}

.compact-case__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 13px;
  border-top: 1px solid var(--compact-line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--compact-muted);
}

.compact-case__visual figcaption span:last-child {
  margin-left: 24px;
  text-align: right;
}

.compact-case__process-column {
  min-width: 0;
  display: grid;
  gap: clamp(9px, 0.8vw, 13px);
  align-self: end;
}

.compact-case__team-photo,
.compact-case__process {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--compact-line);
  background: #0c1318;
}

.compact-case__team-photo picture,
.compact-case__team-photo img,
.compact-case__process picture,
.compact-case__process img {
  display: block;
  width: 100%;
}

.compact-case__team-photo img {
  height: auto;
  aspect-ratio: 1600 / 1201;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.92) contrast(1.04);
}

.compact-case__process img {
  height: auto;
  aspect-ratio: 1849 / 851;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.compact-case__team-photo figcaption,
.compact-case__process figcaption {
  display: grid;
  gap: 4px;
  min-height: 50px;
  padding: 9px 10px;
  border-top: 1px solid var(--compact-line);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--compact-muted);
}

.compact-case__team-photo figcaption span:first-child,
.compact-case__process figcaption span:last-child {
  color: var(--compact-accent);
}

.compact-case__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--compact-muted);
}

.compact-case__footer i {
  width: min(18vw, 260px);
  height: 1px;
  margin: 0 15px;
  background: var(--compact-line);
}

.js .compact-case:not(.is-visible) .compact-case__copy,
.js .compact-case:not(.is-visible) .compact-case__visual,
.js .compact-case:not(.is-visible) .compact-case__team-photo,
.js .compact-case:not(.is-visible) .compact-case__process,
.js .compact-case:not(.is-visible) .residential-case__house {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.compact-case__copy,
.compact-case__visual,
.compact-case__team-photo,
.compact-case__process,
.residential-case__house {
  transition: opacity 340ms var(--ease-out), transform 340ms var(--ease-out);
}

.compact-case.is-visible .compact-case__visual {
  transition-delay: 70ms;
}

.compact-case.is-visible .compact-case__process {
  transition-delay: 150ms;
}

.compact-case.is-visible .compact-case__team-photo {
  transition-delay: 110ms;
}

.compact-case.is-visible .residential-case__house:first-child {
  transition-delay: 55ms;
}

.compact-case.is-visible .residential-case__house:last-child {
  transition-delay: 95ms;
}

/* High Tech Academy — a lighter technical variation of the compact case. */
.compact-case--hta {
  --compact-bg: #e8ece8;
  --compact-ink: #14211c;
  --compact-muted: rgba(20, 33, 28, 0.66);
  --compact-line: rgba(20, 33, 28, 0.22);
  --compact-accent: #14815d;
  background:
    linear-gradient(rgba(20, 33, 28, 0.045) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(20, 33, 28, 0.045) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--compact-bg);
}

.compact-case--hta::before {
  content: "03";
  color: rgba(20, 33, 28, 0.035);
}

.compact-case--hta .compact-case__layout {
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(42px, 5.5vw, 92px);
  row-gap: clamp(28px, 3vw, 46px);
  align-items: start;
}

.compact-case--hta .compact-case__source:hover {
  color: var(--compact-accent);
}

.compact-case__gallery--hta {
  display: contents;
}

.compact-case__completed {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 28, 0.34);
  background: #101713;
  box-shadow: 16px -16px 0 rgba(20, 129, 93, 0.08);
}

.compact-case__completed picture,
.compact-case__completed img {
  display: block;
  width: 100%;
}

.compact-case__completed img {
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.92) contrast(1.03);
}

.compact-case__completed figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  border-top: 1px solid rgba(241, 247, 244, 0.18);
  background: #101713;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: rgba(241, 247, 244, 0.68);
}

.compact-case__completed figcaption a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 20px;
  color: #eef6f2;
  transition: color 180ms ease;
}

.compact-case__completed figcaption a:hover {
  color: #74d2af;
}

.compact-case__media--hta {
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.7fr);
  align-items: stretch;
}

.compact-case__visual--hta {
  align-self: end;
  border-color: rgba(20, 33, 28, 0.34);
  background: #101713;
  box-shadow: -16px 16px 0 rgba(20, 129, 93, 0.14);
}

.compact-case__visual--hta img {
  aspect-ratio: 16 / 10;
  object-position: 50% 52%;
  filter: saturate(0.94) contrast(1.03);
}

.compact-case__visual--hta::after {
  border-color: rgba(255, 255, 255, 0.25);
}

.compact-case__visual--hta figcaption,
.compact-case__process--hta figcaption {
  color: rgba(241, 247, 244, 0.68);
  background: #101713;
  border-color: rgba(241, 247, 244, 0.18);
}

.compact-case__process-column--hta {
  align-self: stretch;
  grid-template-rows: auto 1fr;
}

.compact-case__process--hta {
  border-color: rgba(20, 33, 28, 0.34);
  background: #101713;
}

.compact-case__process--hta img {
  aspect-ratio: 1280 / 590;
  object-position: 50% 50%;
  filter: saturate(0.94) contrast(1.03);
}

.compact-case__process--hta figcaption span:first-child,
.compact-case__process--hta figcaption span:last-child {
  color: #dcebe5;
}

.compact-case__site-note {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid var(--compact-line);
  background: var(--compact-accent);
  color: #f3f7f5;
}

.compact-case__site-note::before {
  content: "+";
  position: absolute;
  top: -0.3em;
  right: 0.03em;
  font-family: var(--mono);
  font-size: clamp(100px, 9vw, 148px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
}

.compact-case__site-note span,
.compact-case__site-note p {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.09em;
}

.compact-case__site-note strong {
  position: relative;
  z-index: 1;
  margin: 10px 0 18px;
  font-family: var(--mono);
  font-size: clamp(32px, 3vw, 50px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.compact-case__site-note p {
  max-width: 200px;
  margin: 0;
}

.js .compact-case:not(.is-visible) .compact-case__completed,
.js .compact-case:not(.is-visible) .compact-case__site-note {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.compact-case__completed,
.compact-case__site-note {
  transition: opacity 340ms var(--ease-out), transform 340ms var(--ease-out);
}

.compact-case.is-visible .compact-case__completed {
  transition-delay: 70ms;
}

.compact-case.is-visible .compact-case__site-note {
  transition-delay: 190ms;
}

/* Khabar telecenter — broadcast-dark palette with a balanced three-photo grid. */
.compact-case--khabar {
  --compact-bg: #0a1018;
  --compact-ink: #f3f6f8;
  --compact-muted: rgba(231, 238, 244, 0.68);
  --compact-line: rgba(225, 236, 244, 0.2);
  --compact-accent: #3c78ff;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 7px
    ),
    radial-gradient(circle at 82% 20%, rgba(60, 120, 255, 0.12), transparent 34%),
    var(--compact-bg);
}

.compact-case--khabar::before {
  content: "04";
  color: rgba(243, 246, 248, 0.025);
}

.compact-case--khabar .compact-case__layout {
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(42px, 5vw, 82px);
}

.compact-case--khabar .compact-case__eyebrow {
  color: #ff7338;
}

.compact-case--khabar .compact-case__source {
  min-height: 44px;
  margin-top: 4px;
}

.compact-case--khabar .compact-case__source:hover {
  color: #7da4ff;
}

.khabar-case__gallery {
  min-width: 0;
  display: grid;
  gap: clamp(12px, 1vw, 16px);
}

.khabar-case__exterior,
.khabar-case__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 236, 244, 0.2);
  background: #060b11;
}

.khabar-case__exterior {
  box-shadow: 16px -16px 0 rgba(60, 120, 255, 0.1);
}

.khabar-case__stamp {
  background: #ff7338;
  color: #111820;
}

.khabar-case__exterior picture,
.khabar-case__exterior img,
.khabar-case__photo picture,
.khabar-case__photo img {
  display: block;
  width: 100%;
}

.khabar-case__exterior img {
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.82) contrast(1.08);
}

.khabar-case__exterior::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  bottom: 54px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.khabar-case__exterior figcaption,
.khabar-case__photo figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
  border-top: 1px solid rgba(225, 236, 244, 0.18);
  background: #060b11;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: rgba(231, 238, 244, 0.68);
}

.khabar-case__exterior figcaption a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -8px -3px -8px 20px;
  color: #eef4f8;
  transition: color 180ms ease;
}

.khabar-case__exterior figcaption a:hover {
  color: #7da4ff;
}

.khabar-case__process {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1vw, 16px);
}

.khabar-case__photo:first-child {
  box-shadow: -12px 12px 0 rgba(255, 115, 56, 0.1);
}

.khabar-case__photo img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.9) contrast(1.05);
}

.khabar-case__photo figcaption span:last-child {
  margin-left: 18px;
  text-align: right;
  color: #ff9467;
}

.js .compact-case:not(.is-visible) .khabar-case__exterior,
.js .compact-case:not(.is-visible) .khabar-case__photo {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.khabar-case__exterior,
.khabar-case__photo {
  transition: opacity 340ms var(--ease-out), transform 340ms var(--ease-out);
}

.compact-case.is-visible .khabar-case__exterior {
  transition-delay: 70ms;
}

.compact-case.is-visible .khabar-case__photo:first-child {
  transition-delay: 120ms;
}

.compact-case.is-visible .khabar-case__photo:last-child {
  transition-delay: 170ms;
}

/* Lafayette + Lancashire — one compact residential pair. */
.compact-case--residential-pair::before {
  content: "05";
}

.residential-case__houses {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
  min-width: 0;
}

.residential-case__house {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--compact-line);
  background: #0c1318;
}

.residential-case__house picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0c1318;
}

.residential-case__house img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.035);
}

.residential-case__house figcaption {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 11px;
  border-top: 1px solid var(--compact-line);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: var(--compact-muted);
}

.residential-case__house figcaption > span {
  color: var(--compact-accent);
}

.residential-case__house figcaption a {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-right: -2px;
  color: var(--compact-ink);
  transition: color 180ms ease;
}

.residential-case__house figcaption a:hover {
  color: var(--compact-accent);
}

.residential-case__house figcaption a:focus-visible {
  outline: 2px solid var(--compact-ink);
  outline-offset: -2px;
}

.compact-case--residential-pair .compact-case__visual img,
.compact-case--residential-pair .compact-case__detail-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}

.compact-case--residential-pair .compact-case__process img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Gallery proof — portfolio metrics and a direct route into the work archive. */
.gallery-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px max(4vw, 48px) 26px;
  background: #cc6a3a;
  color: #111715;
}

.gallery-proof::before {
  content: "120+";
  position: absolute;
  z-index: -2;
  right: -0.08em;
  bottom: -0.28em;
  font-family: var(--mono);
  font-size: clamp(210px, 30vw, 500px);
  line-height: 0.8;
  letter-spacing: -0.09em;
  color: rgba(17, 23, 21, 0.055);
  pointer-events: none;
}

.gallery-proof::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(17, 23, 21, 0.055) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(17, 23, 21, 0.055) 1px, transparent 1px) 0 0 / 80px 80px;
  pointer-events: none;
}

.gallery-proof__meta,
.gallery-proof__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  color: #111715;
}

.gallery-proof__meta {
  min-height: 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 23, 21, 0.32);
}

.gallery-proof__meta::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: clamp(72px, 8vw, 130px);
  height: 2px;
  background: #111715;
}

.gallery-proof__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
  padding: clamp(56px, 6.2vw, 104px) 0 clamp(48px, 5.4vw, 88px);
}

.gallery-proof__visual {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(17, 23, 21, 0.4);
  background: #111715;
}

.gallery-proof__visual > a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111715;
  cursor: pointer;
}

.gallery-proof__visual > a:focus-visible {
  outline: 3px solid #111715;
  outline-offset: 4px;
}

.gallery-proof__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 320ms var(--ease-out), filter 220ms ease;
}

.gallery-proof__visual > a:hover img {
  transform: scale(1.018);
  filter: saturate(0.92) contrast(1.03);
}

.gallery-proof__visual-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 176px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
  border: 1px solid rgba(236, 232, 223, 0.42);
  background: rgba(17, 23, 21, 0.88);
  color: #ece8df;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.gallery-proof__visual-cta i {
  font-family: var(--sans);
  font-size: 18px;
  font-style: normal;
  transition: transform 180ms var(--ease-out);
}

.gallery-proof__visual > a:hover .gallery-proof__visual-cta i {
  transform: translate(2px, -2px);
}

.gallery-proof__visual figcaption {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 13px;
  background: #111715;
  color: #ece8df;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.07em;
}

.gallery-proof__copy {
  min-width: 0;
}

.gallery-proof__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: #111715;
}

.gallery-proof__eyebrow i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: currentColor;
}

.gallery-proof h2 {
  margin: 0;
  color: #111715;
  font-weight: 400;
}

.gallery-proof h2 strong,
.gallery-proof h2 span {
  display: block;
}

.gallery-proof h2 strong {
  font-size: clamp(112px, 11vw, 184px);
  line-height: 0.7;
  font-weight: 400;
  letter-spacing: -0.09em;
}

.gallery-proof h2 span {
  margin-top: 25px;
  font-size: clamp(47px, 4.6vw, 76px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.gallery-proof__lead {
  max-width: 520px;
  margin: 31px 0 0;
  font-size: clamp(16px, 1.14vw, 19px);
  line-height: 1.52;
  color: #111715;
}

.gallery-proof__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid rgba(17, 23, 21, 0.34);
  border-bottom: 1px solid rgba(17, 23, 21, 0.34);
}

.gallery-proof__stats div {
  min-width: 0;
  padding: 14px 12px 16px 0;
}

.gallery-proof__stats div + div {
  padding-left: 13px;
  border-left: 1px solid rgba(17, 23, 21, 0.25);
}

.gallery-proof__stats dt,
.gallery-proof__stats dd {
  margin: 0;
  font-family: var(--mono);
}

.gallery-proof__stats dt {
  font-size: 8px;
  letter-spacing: 0.09em;
}

.gallery-proof__stats dd {
  margin-top: 8px;
  font-size: clamp(14px, 1.15vw, 18px);
  letter-spacing: -0.02em;
}

.gallery-proof__projects {
  width: 100%;
  margin-top: 30px;
}

.gallery-proof__projects summary {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  padding: 0 17px;
  border: 1px solid #111715;
  background: #111715;
  box-shadow: 0 8px 0 rgba(17, 23, 21, 0.13);
  color: #ece8df;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.gallery-proof__projects summary::-webkit-details-marker {
  display: none;
}

.gallery-proof__projects summary:hover {
  background: #1c2523;
  box-shadow: 0 11px 0 rgba(17, 23, 21, 0.16);
  transform: translateY(-2px);
}

.gallery-proof__projects[open] summary {
  background: #ece8df;
  box-shadow: none;
  color: #111715;
  transform: none;
}

.gallery-proof__projects summary:focus-visible {
  outline: 3px solid #ece8df;
  outline-offset: -5px;
  box-shadow: 0 0 0 3px #111715;
}

.gallery-proof__projects summary span,
.gallery-proof__projects summary small {
  font-family: var(--mono);
  line-height: 1;
}

.gallery-proof__projects summary span {
  font-size: 12px;
  letter-spacing: 0.045em;
}

.gallery-proof__projects summary small {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #cc6a3a;
  background: #cc6a3a;
  color: #111715;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.gallery-proof__projects[open] summary small {
  border-color: #111715;
}

.gallery-proof__projects summary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.gallery-proof__projects[open] summary svg path:first-child {
  display: none;
}

.gallery-proof__projects-panel {
  max-height: 540px;
  overflow-y: auto;
  padding: 22px 24px 12px;
  border: 1px solid rgba(17, 23, 21, 0.28);
  border-top: 0;
  background: rgba(236, 232, 223, 0.3);
  overscroll-behavior: contain;
}

.gallery-proof__projects ol {
  columns: 2 250px;
  column-gap: 42px;
  margin: 0;
  padding-left: 25px;
}

.gallery-proof__projects li {
  break-inside: avoid;
  margin: 0 0 12px;
  padding-left: 5px;
  font-size: 13px;
  line-height: 1.42;
}

.gallery-proof__projects li::marker {
  font-family: var(--mono);
  font-size: 9px;
}

.gallery-proof__projects li.is-missing {
  opacity: 0.56;
  font-style: italic;
}

.gallery-proof__link {
  width: min(100%, 360px);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 0 17px;
  background: #111715;
  color: #ece8df;
  font-size: 12px;
  letter-spacing: 0.035em;
  transition: background-color 180ms ease, color 180ms ease;
}

.gallery-proof__link:hover {
  background: #ece8df;
  color: #111715;
}

.gallery-proof__link:focus-visible {
  outline-color: #111715;
}

.gallery-proof__link svg {
  width: 23px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  transition: transform 180ms var(--ease-out);
}

.gallery-proof__link:hover svg {
  transform: translateX(3px);
}

.gallery-proof__footer {
  min-height: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 23, 21, 0.32);
}

.gallery-proof__footer i {
  flex: 1;
  height: 1px;
  margin: 0 14px;
  background: rgba(17, 23, 21, 0.34);
}

@media (max-width: 960px) {
  .project-case {
    padding: 16px 22px 24px;
  }

  .project-case__meta {
    padding-bottom: 17px;
    font-size: 9px;
  }

  .project-case__hero {
    height: 54dvh;
    min-height: 400px;
    margin-top: 18px;
  }

  .project-case__hero img {
    object-position: 57% 50%;
  }

  .project-case__hero-copy {
    padding: 24px 22px 64px;
  }

  .project-case__hero-copy h2 {
    font-size: clamp(48px, 11vw, 76px);
    line-height: 0.86;
  }

  .project-case__summary {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 56px;
  }

  .project-case__description > p {
    max-width: 680px;
  }

  .project-case__photo--interior,
  .project-case__photo--entrance {
    grid-column: span 6;
  }

  .project-case__photo--team,
  .project-case__photo--facade {
    grid-column: span 6;
  }

  .project-case__photo--interior,
  .project-case__photo--team,
  .project-case__photo--facade,
  .project-case__photo--entrance {
    height: clamp(280px, 44vw, 390px);
  }

  .compact-case {
    padding: 16px 22px 24px;
  }

  .compact-case__meta {
    padding-bottom: 17px;
    font-size: 9px;
  }

  .compact-case__layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 46px 0 34px;
  }

  .compact-case--hta .compact-case__layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .compact-case--khabar .compact-case__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .compact-case__copy {
    max-width: 720px;
  }

  .compact-case__media {
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, 0.7fr);
  }

  .compact-case__media--hta {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: minmax(0, 1.45fr) minmax(210px, 0.72fr);
  }

  .compact-case__completed {
    grid-column: 1;
    grid-row: auto;
  }

  .compact-case__completed img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .khabar-case__exterior img {
    aspect-ratio: 16 / 9;
  }

  .compact-case h2 {
    font-size: clamp(46px, 10vw, 72px);
  }

  .gallery-proof {
    padding: 18px 22px 24px;
  }

  .gallery-proof__layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 52px 0 46px;
  }

  .gallery-proof__copy {
    grid-row: 1;
    max-width: 720px;
  }

  .gallery-proof__visual {
    grid-row: 2;
  }

  .gallery-proof h2 strong {
    font-size: clamp(112px, 20vw, 174px);
  }

  .gallery-proof h2 span {
    font-size: clamp(52px, 9vw, 76px);
  }

  .gallery-proof__lead {
    font-size: 17px;
  }
}

@media (max-width: 620px) {
  .portfolio-showcase__case-links {
    width: 100%;
    margin-top: 22px;
  }

  .gallery-proof {
    padding: 16px 14px 20px;
  }

  .gallery-proof__meta {
    min-height: 38px;
    font-size: 8px;
  }

  .gallery-proof__meta span:last-child {
    text-align: right;
  }

  .gallery-proof__layout {
    gap: 34px;
    padding: 44px 0 36px;
  }

  .gallery-proof h2 strong {
    font-size: clamp(102px, 31vw, 142px);
  }

  .gallery-proof h2 span {
    margin-top: 21px;
    font-size: clamp(43px, 13.3vw, 62px);
  }

  .gallery-proof__lead {
    margin-top: 25px;
    font-size: 16px;
  }

  .gallery-proof__stats {
    margin-top: 28px;
  }

  .gallery-proof__stats div {
    padding-right: 7px;
  }

  .gallery-proof__stats div + div {
    padding-left: 8px;
  }

  .gallery-proof__stats dt {
    font-size: 7px;
  }

  .gallery-proof__stats dd {
    font-size: 13px;
  }

  .gallery-proof__projects {
    margin-top: 24px;
  }

  .gallery-proof__projects summary {
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) auto 18px;
    gap: 10px;
    padding: 0 13px;
  }

  .gallery-proof__projects summary span {
    font-size: 11px;
  }

  .gallery-proof__projects summary small {
    min-height: 28px;
    padding: 0 7px;
  }

  .gallery-proof__projects-panel {
    max-height: none;
    overflow: visible;
    padding: 18px 16px 8px;
  }

  .gallery-proof__projects ol {
    columns: 1;
    padding-left: 22px;
  }

  .gallery-proof__projects li {
    margin-bottom: 11px;
    padding-left: 3px;
    font-size: 13px;
  }

  .gallery-proof__link {
    width: 100%;
    min-height: 54px;
    margin-top: 28px;
    font-size: 11px;
  }

  .gallery-proof__visual > a {
    aspect-ratio: 4 / 3;
  }

  .gallery-proof__visual-cta {
    right: 10px;
    bottom: 10px;
    min-width: 160px;
    min-height: 44px;
  }

  .gallery-proof__visual figcaption {
    min-height: 42px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 8px;
  }

  .gallery-proof__visual figcaption span:last-child {
    display: none;
  }

  .gallery-proof__footer {
    min-height: 38px;
    padding-top: 14px;
    font-size: 8px;
  }

  .project-case::before {
    top: 10%;
    font-size: 220px;
  }

  .project-case__meta span:last-child {
    text-align: right;
  }

  .project-case__hero {
    height: 52dvh;
    min-height: 390px;
  }

  .project-case__hero img {
    object-position: 61% 50%;
  }

  .project-case__hero-copy > p {
    font-size: 9px;
  }

  .project-case__hero-copy h2 {
    font-size: clamp(40px, 13vw, 60px);
    letter-spacing: -0.06em;
  }

  .project-case__hero-copy > div {
    align-items: flex-start;
    gap: 20px;
    margin-top: 18px;
    font-size: 9px;
  }

  .project-case__hero-copy > div span:last-child {
    max-width: 120px;
    text-align: right;
  }

  .project-case__hero figcaption > span:first-child {
    display: none;
  }

  .project-case__hero figcaption {
    justify-content: flex-end;
  }

  .project-case__hero figcaption a {
    margin-left: 0;
  }

  .project-case__statement h3 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .project-case__description > p {
    font-size: 17px;
  }

  .project-case__facts {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .project-case__facts > div {
    min-height: 60px;
  }

  .project-case__gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
  }

  .project-case__photo--interior,
  .project-case__photo--team,
  .project-case__photo--facade,
  .project-case__photo--entrance {
    grid-column: 1;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .project-case__photo--team {
    aspect-ratio: 16 / 10;
  }

  .project-case__footer {
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
  }

  .project-case__footer i {
    flex: 1;
    width: auto;
    margin: 0;
  }

  .project-case__footer span {
    max-width: 112px;
  }

  .project-case__footer span:last-child {
    text-align: right;
  }

  .compact-case::before {
    font-size: 190px;
  }

  .compact-case__meta span:last-child {
    text-align: right;
  }

  .compact-case__layout {
    gap: 32px;
    padding-top: 40px;
  }

  .compact-case h2 {
    font-size: clamp(39px, 12.7vw, 58px);
  }

  .compact-case__lead {
    font-size: 16px;
  }

  .compact-case__facts {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .compact-case__visual {
    margin-right: -22px;
    margin-left: -22px;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .compact-case--hta .compact-case__visual {
    margin-right: 0;
    margin-left: 0;
    border-right: 1px solid rgba(20, 33, 28, 0.34);
    border-left: 1px solid rgba(20, 33, 28, 0.34);
  }

  .compact-case__visual--hta img {
    aspect-ratio: 4 / 3;
    object-position: 50% 50%;
  }

  .compact-case__completed {
    box-shadow: 10px -10px 0 rgba(20, 129, 93, 0.08);
  }

  .compact-case__completed figcaption {
    align-items: flex-start;
    gap: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .compact-case__completed figcaption a {
    flex: 0 0 auto;
    margin: -7px -4px -7px 0;
  }

  .khabar-case__process {
    grid-template-columns: 1fr;
  }

  .khabar-case__exterior {
    box-shadow: 10px -10px 0 rgba(60, 120, 255, 0.1);
  }

  .khabar-case__photo:first-child {
    box-shadow: -10px 10px 0 rgba(255, 115, 56, 0.1);
  }

  .khabar-case__exterior figcaption {
    align-items: flex-start;
    gap: 12px;
  }

  .khabar-case__exterior figcaption a {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .compact-case__media {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .residential-case__houses {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: -22px;
    margin-left: -22px;
    padding: 0 22px 14px;
    scroll-padding-left: 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .residential-case__houses::-webkit-scrollbar {
    display: none;
  }

  .residential-case__house {
    flex: 0 0 min(84vw, 430px);
    scroll-snap-align: start;
  }

  .compact-case__process-column {
    width: calc(100% - 28px);
    margin: -20px 14px 0 auto;
    box-shadow: -10px 10px 0 rgba(215, 105, 40, 0.12);
  }

  .compact-case__process-column--hta {
    width: calc(100% - 28px);
    grid-template-rows: auto auto;
    margin-top: -14px;
    box-shadow: -10px 10px 0 rgba(20, 129, 93, 0.12);
  }

  .compact-case__process {
    box-shadow: none;
  }

  .compact-case__stamp {
    top: -14px;
    left: 14px;
    min-width: 104px;
    min-height: 60px;
  }

  .compact-case__site-note {
    min-height: 180px;
  }

  .compact-case__location {
    right: 10px;
    top: 10px;
  }

  .compact-case h2 span:nth-child(2) {
    margin-left: 12px;
  }

  .compact-case__visual figcaption {
    align-items: flex-start;
    gap: 16px;
  }

  .compact-case__visual figcaption span {
    max-width: 170px;
  }

  .compact-case__footer {
    justify-content: space-between;
  }

  .compact-case__footer i {
    flex: 1;
    width: auto;
    margin: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-showcase__case-link,
  .project-case__hero img,
  .project-case__hero figcaption a,
  .project-case__fact-source,
  .project-case__photo img,
  .project-case__hero-copy,
  .project-case__summary,
  .compact-case__source,
  .compact-case__copy,
  .compact-case__visual,
  .compact-case__team-photo,
  .compact-case__process,
  .residential-case__house,
  .residential-case__house figcaption a {
    transition: none;
  }
}
