.catalog-heading { padding-block: 1.05cqw 1.95cqw; }
.catalog-heading h1 { transform: skewX(-10deg) scaleX(1.11); }
.project-tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5cqw; padding: 0 1cqw 2.35cqw; }
.project-tile {
  --bevel-rim: clamp(4px, .68cqw, 10px); --bevel-corner: clamp(9px, 1.55cqw, 21px);
  display: grid; grid-template-rows: auto 1fr; min-width: 0;
  color: #f3f3f4; text-align: left;
}
.project-tile > img { display: block; width: 100%; height: auto; aspect-ratio: 1.63; object-fit: cover; background: #101316; }
.project-tile > span {
  display: flex; align-items: center; justify-content: space-between; gap: .55em; min-height: 5.65cqw;
  padding: .6cqw 1.75cqw .6cqw 2cqw;
  background: linear-gradient(#14171928, #080b0df0), url("assets/projects/tile-label.png") center / 100% 100%;
  border-top: 1px solid #b1b1b1;
  font: italic 400 clamp(1.55rem, 4.33cqw, 4rem)/.98 var(--display);
  letter-spacing: .04em; text-shadow: 1px 2px 1px #000; text-transform: uppercase;
}
.project-tile b { flex: none; color: #ff9d14; text-shadow: 0 0 10px #f8791d66; font: 750 1.1em/1 "Segoe UI", sans-serif; }
.project-tile:hover > span { color: #ffd19a; }
.project-tile small { display: block; margin-top: .23em; color: #c0c4c8; font: 600 .39em/1.1 var(--label); letter-spacing: .08em; }
.category-grid .project-tile > span { font-size: clamp(1.3rem, 3.4cqw, 2.8rem); min-height: 7.5cqw; }
.category-grid .project-tile > img { object-position: center 58%; }
.catalog-back { padding: 0 1.3cqw 1.2cqw; }
.catalog-footer { border-image: url("assets/projects/hub-footer-frame.png") 24 stretch; margin-top: 0; }
.back-plate {
  align-self: end; display: inline-flex; align-items: center; gap: .55em;
  border: 1px solid #9ca6ac; box-shadow: inset 0 0 0 2px #43464a;
  padding: .7em .95em; color: #fff; background: linear-gradient(#303638, #0b1013);
  font: 760 clamp(.75rem, 1.6cqw, 1.3rem)/1.1 var(--label);
  text-transform: uppercase; white-space: nowrap;
}
.back-plate b { font-size: 1.55em; line-height: .52; }
.back-plate:hover { color: #ffb14b; }
.build-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 3.25cqw; padding: 3.15cqw 3.9cqw 2.15cqw; }
.build-heading h1 {
  font-size: clamp(1.95rem, 6.5cqw, 5.8rem); transform: skewX(-9deg); transform-origin: left center; line-height: .95; overflow-wrap: anywhere;
}
.build-heading h1::after { display: block; content: ""; height: .65cqw; margin-top: 1.2cqw; background: url("assets/projects/amber-line.png") center / 100% 100%; }
.gallery-tabs {
  display: flex; align-items: stretch; padding: 1cqw 2cqw .65cqw;
  background: linear-gradient(#fff1, #0008), url("assets/projects/showcase-controls.png") center / 100% 100%;
  border: 1px solid #a3adb2;
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}
.gallery-tabs button {
  position: relative; flex: 1; border: 0; color: #e6e8eb; background: transparent;
  min-height: 3.8cqw; padding: .45em .25em; font: 760 clamp(.72rem, 1.75cqw, 1.4rem)/1.35 var(--label);
  text-transform: uppercase;
}
.gallery-tabs button + button { border-left: 1px solid #a2a5a6; }
.gallery-tabs button[aria-pressed="true"] { color: #fff; }
.gallery-tabs button[aria-pressed="true"]::after {
  content: ""; position: absolute; height: .45cqw; inset: auto 17% 0;
  background: url("assets/projects/amber-line.png") center / 100% 100%;
}
.build-gallery button { cursor: pointer; }
.build-gallery button:focus-visible { outline: 3px solid #ffd071; outline-offset: -4px; z-index: 2; }
.gallery-display {
  --bevel-rim: clamp(5px, 1.16cqw, 16px); --bevel-corner: clamp(11px, 2.1cqw, 28px);
}
.gallery-main { width: 100%; height: auto; aspect-ratio: 1.76; object-fit: cover; object-position: center 56%; }
.gallery-display > .gallery-main {
  clip-path: var(--aperture-shape);
}
.gallery-main.is-portrait { object-fit: contain; }
.gallery-controls { display: contents; }
.mobile-photo-status { display: none; }
.gallery-arrow, .gallery-zoom {
  position: absolute; min-width: 5.25cqw; min-height: 5.25cqw;
  color: #fff; border: 1px solid #abb0b4; border-radius: .45cqw; background: #101316df;
  font: 400 clamp(1.3rem, 4.4cqw, 3.7rem)/.85 "Segoe UI", sans-serif;
}
.gallery-arrow { top: 50%; transform: translateY(-50%); }
.gallery-arrow.prev { left: 1.55cqw; } .gallery-arrow.next { right: 1.55cqw; }
.gallery-zoom { bottom: 1.55cqw; right: 1.55cqw; font-size: clamp(1.1rem, 3cqw, 2.2rem); }
.gallery-arrow:hover, .gallery-zoom:hover { border-color: #ffc77f; color: #ffc77f; }
.gallery-display > .gallery-credit { position: absolute; left: max(1.45cqw, 7px); bottom: max(1.15cqw, 6px); padding: .25rem .5rem; color: #fff; background: #0a0b0ddd; font-size: .8rem; clip-path: none; }
.gallery-credit[hidden] { display: none; }
.gallery-tray {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5cqw;
  padding: 1.25cqw 2.5cqw; border: 1.3cqw solid transparent; border-image: url("assets/projects/showcase-tray.png") 16 stretch;
  background: linear-gradient(100deg, #191c1e, #08090b, #161a1c);
}
.gallery-tray > button { padding: .25em; border: 0; background: none; color: #fff; font: 400 clamp(1.5rem, 4.5cqw, 3.8rem)/1 Arial, sans-serif; }
.filmstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2cqw; }
.filmstrip button {
  display: block; min-width: 0; padding: 0; overflow: hidden;
  border: 2px solid #909a9e; border-radius: .8cqw; background: #0d1013;
}
.filmstrip button[hidden] { display: none; }
.filmstrip button[aria-pressed="true"] { border-color: #ff9c24; box-shadow: 0 0 0 1px #ffd17c; }
.filmstrip img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.showcase-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2cqw; padding: 2.15cqw 3.45cqw 0; }
.showcase-details .project-tile > span { font: 760 clamp(.75rem, 2.25cqw, 1.8rem)/1.1 var(--label); min-height: 4.3cqw; padding-inline: .85cqw; font-style: normal; }
.build-caption { padding: 1.5cqw 3.9cqw 2.4cqw; }
.build-caption p { max-width: 55rem; margin: .42rem 0 .75rem; color: #e3e5e6; }
.build-caption .photo-status { color: #ffca82; font: 770 1rem/1.25 var(--label); }
.photo-dialog {
  padding: .5rem; width: min(96vw, 1400px); max-width: none; max-height: 95vh;
  border: 1px solid #aeb8bf; background: #090d10; color: #fff;
}
.photo-dialog::backdrop { background: #000e; }
.photo-dialog button { display: block; margin: 0 0 .5rem auto; padding: .4rem .6rem; color: #fff; border: 1px solid #9babb5; background: #20272c; }
.photo-dialog img { width: 100%; height: min(82vh, 1100px); object-fit: contain; }
.concept-info { padding: 0 1.15rem 1.15rem; }
.concept-info .section-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start;
  margin-bottom: 1rem; padding: 1.4rem;
  background: linear-gradient(120deg, #181d22, #090d11);
  border: 1px solid #667682;
}
.concept-info .shop-section img { aspect-ratio: 1.75; object-fit: cover; }
.concept-info h2 { font-size: clamp(1.75rem, 4cqw, 3.5rem); }
.concept-info p, .concept-info address { margin-top: .6rem; }
.concept-info .eyebrow { margin: 0 0 .45rem; color: #ffd18e; font-weight: 700; text-transform: uppercase; }
.concept-info .footer-phone { display: inline-block; margin-top: .55rem; color: #8bd4ff; }
.concept-info form, .concept-info label { display: grid; gap: .5rem; }
.concept-info input, .concept-info textarea { width: 100%; color: #fff; background: #0c1115; border: 1px solid #6b7b85; padding: .5rem; font: inherit; }
.concept-info .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.concept-info button { justify-self: start; cursor: pointer; }
.concept-info .form-note, .concept-info .form-success { margin-top: 0; font-size: .9rem; }
.concept-info .form-success:not([hidden]) { color: #abf0d0; }
@media (max-width: 680px) {
  .project-tile-grid { padding: 0 8px 13px; gap: 7px; }
  .project-tile > span { padding: .42rem .46rem; font-size: clamp(1.05rem, 4.7cqw, 1.5rem); }
  .project-tile-grid.category-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .category-grid .project-tile > span { padding: .55rem .68rem; font-size: clamp(1.22rem, 6cqw, 2.05rem); }
  .project-tile small { font-size: .61em; }
  .catalog-back { padding: 0 .55rem .65rem; }
  .build-heading { grid-template-columns: minmax(0, 1fr); gap: .62rem; padding: .65rem .7rem; }
  .build-heading h1 { font-size: clamp(2rem, 8.6cqw, 3.75rem); }
  .build-heading .back-plate { justify-self: start; }
  .gallery-tabs, .showcase-details { display: none; }
  .gallery-display { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: .45rem; }
  .gallery-display > .gallery-main {
    grid-area: 1 / 1;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #101318;
  }
  .gallery-display > .gallery-main.is-portrait { aspect-ratio: 4 / 5; }
  .gallery-display > .gallery-credit {
    position: static;
    grid-area: 1 / 1;
    align-self: end;
    justify-self: start;
    margin: .45rem;
  }
  .gallery-controls {
    display: grid;
    grid-row: 2;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .35rem;
    padding: .35rem;
    background: #101318;
  }
  .gallery-controls:not(:has(.gallery-arrow)) { grid-template-columns: minmax(0, 1fr) auto; }
  .mobile-photo-status { display: block; color: #ffca82; text-align: center; font: 730 .87rem/1.2 var(--label); }
  .gallery-controls .gallery-arrow, .gallery-controls .gallery-zoom {
    position: static;
    transform: none;
    min-width: 44px;
    min-height: 44px;
    border-color: #747e86;
    border-radius: 4px;
    font-size: 1.35rem;
  }
  .gallery-tray { grid-template-columns: minmax(0, 1fr); margin-inline: .45rem; padding: .42rem; }
  .gallery-tray > button { display: none; }
  .filmstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
  .filmstrip button { border-width: 1px; }
  .filmstrip img { min-height: 44px; }
  .build-caption { padding: .75rem; }
  .build-caption .photo-status { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); }
  .concept-info { padding-inline: .6rem; }
  .concept-info .section-block { grid-template-columns: 1fr; padding: .85rem; }
}
