:root {
  color-scheme: light;
  --bg: #e9e9e7;
  --paper: #f6f6f4;
  --surface: #ffffff;
  --ink: #101010;
  --ink-soft: #2b2b2b;
  --muted: #686868;
  --line: #d0d0cd;
  --line-strong: #8c8c89;
  --accent: #000000;
  --moss: #5a5a58;
  --blueprint: #181818;
  --panel: #eeeeeb;
  --shadow: 0 28px 78px rgba(0, 0, 0, 0.16);
  --button-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  --focus-ring: 0 0 0 3px rgba(0, 0, 0, 0.18);
  --radius: 6px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.028) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--bg);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  color: var(--surface);
  background: var(--blueprint);
}

@media (hover: hover) and (pointer: fine) {
  * {
    scrollbar-color: rgba(20, 21, 21, 0.36) rgba(20, 21, 21, 0.05);
    scrollbar-width: thin;
  }

  *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  *::-webkit-scrollbar-track {
    background: rgba(20, 21, 21, 0.05);
  }

  *::-webkit-scrollbar-thumb {
    background: rgba(20, 21, 21, 0.38) content-box;
    border: 2px solid transparent;
    border-radius: 999px;
  }

  *::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 21, 21, 0.58) content-box;
  }

  .filter-options::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
}

.app-shell {
  min-height: 100vh;
}

.landing-page {
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.js-enabled .seo-home-summary,
.js-enabled .seo-project-summary,
.js-enabled .seo-sitemap-page {
  display: none;
}

.seo-home-summary,
.seo-project-summary,
.seo-sitemap-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px;
  color: var(--ink);
  background: var(--paper);
}

.seo-home-summary h1,
.seo-project-summary h1,
.seo-sitemap-page h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.02;
}

.seo-home-summary p,
.seo-project-summary p,
.seo-sitemap-page p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.55;
}

.seo-home-summary ul,
.seo-project-summary ul,
.seo-sitemap-page ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 18px;
  padding-left: 18px;
}

.seo-project-summary img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 24px 0;
  background: #d5d3cb;
}

.seo-home-summary,
.seo-project-summary {
  display: none !important;
}

.landing-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(270deg, rgba(12, 13, 13, 0.78), rgba(12, 13, 13, 0.38) 54%, rgba(12, 13, 13, 0.18)),
    linear-gradient(0deg, rgba(12, 13, 13, 0.74), rgba(12, 13, 13, 0) 46%),
    url("assets/urban-grid.webp") center / cover;
}

.landing-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
}

.landing-brand {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.landing-logo-mark {
  width: 96px;
  height: 76px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.landing-wordmark {
  width: 214px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.landing-links a,
.landing-primary,
.landing-secondary {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.landing-links a:hover,
.landing-primary:hover,
.landing-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.landing-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(860px, calc(100% - 60px));
  margin: 5vh 30px 4vh auto;
  text-align: right;
}

.landing-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.landing-copy h1 {
  max-width: 12ch;
  margin: 14px 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

.landing-title-logo {
  max-width: min(560px, 88vw);
}

.landing-title-logo img {
  display: block;
  width: min(520px, 88vw);
  height: auto;
  margin-left: auto;
  filter: brightness(0) invert(1);
}

.landing-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.34;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 30px;
}

.landing-primary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.landing-primary:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.landing-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, calc(100% - 60px));
  margin: 0 auto 18px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-metrics div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-metrics div:last-child {
  border-right: 0;
}

.landing-metrics strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 0.95;
}

.landing-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.28fr);
  gap: 28px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(20, 21, 21, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
}

.category-head {
  grid-column: 2;
  text-align: right;
}

.category-head .eyebrow {
  margin-left: auto;
}

.category-grid {
  grid-column: 1;
  grid-row: 1;
}

.category-head h2 {
  max-width: 9ch;
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 0.96;
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px);
  gap: 14px;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 310px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #242625;
  border: 1px solid rgba(20, 21, 21, 0.18);
  border-radius: var(--radius);
  isolation: isolate;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(12, 13, 13, 0.86), rgba(12, 13, 13, 0.2) 62%),
    linear-gradient(90deg, rgba(12, 13, 13, 0.4), rgba(12, 13, 13, 0));
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.category-card span {
  display: grid;
  align-self: end;
  gap: 8px;
  padding: 18px;
}

.category-card small {
  width: fit-content;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.category-card strong {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 0.98;
}

.category-card em {
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.category-card.is-active {
  border-color: var(--ink);
  box-shadow: 0 18px 46px rgba(20, 21, 21, 0.14);
}

.category-card.is-active small {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.category-card.is-active:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.02);
}

.category-card.is-disabled {
  cursor: default;
}

.category-card.is-disabled img {
  filter: grayscale(0.46) saturate(0.7) brightness(0.78);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 7px 30px;
  background: rgba(248, 248, 246, 0.94);
  border-bottom: 1px solid rgba(140, 140, 137, 0.58);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 98px;
  height: 80px;
  flex: 0 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-wordmark {
  width: 245px;
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.search-box {
  position: relative;
  display: grid;
  gap: 6px;
}

.search-box span,
.filter-panel label,
.filter-label,
.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-box input,
.filter-panel select {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
}

.search-box input {
  padding: 0 3px;
  font-size: 16px;
}

.filter-panel select {
  padding: 0 2px;
}

.search-box input:focus,
.filter-panel select:focus {
  border-color: var(--blueprint);
  box-shadow: inset 0 -2px 0 var(--blueprint);
}

.top-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
}

.ecosystem-button {
  display: inline-grid;
  place-items: center;
}

.mobile-filter-button,
.filter-scrim {
  display: none;
}

.ghost-button,
.solid-button,
.plain-button,
.view-toggle button,
.save-button,
.source-chip,
.lightbox-actions button,
.lightbox-actions a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.ghost-button::after,
.solid-button::after,
.plain-button::after,
.view-toggle button::after,
.save-button::after,
.source-chip::after,
.lightbox-actions button::after,
.lightbox-actions a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  z-index: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.36;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.ghost-button,
.plain-button,
.view-toggle button,
.save-button,
.source-chip,
.lightbox-actions button,
.lightbox-actions a {
  background: transparent;
  color: var(--ink);
}

.solid-button {
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.solid-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.ghost-button,
.plain-button,
.view-toggle button,
.save-button {
  padding: 0 14px;
}

.ghost-button:hover,
.plain-button:hover,
.view-toggle button:hover,
.save-button:hover,
.source-chip:hover,
.lightbox-actions button:hover,
.lightbox-actions a:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
  box-shadow: var(--button-shadow);
}

.ghost-button:hover::after,
.solid-button:hover::after,
.plain-button:hover::after,
.view-toggle button:hover::after,
.save-button:hover::after,
.source-chip:hover::after,
.lightbox-actions button:hover::after,
.lightbox-actions a:hover::after {
  transform: scaleX(1);
}

.solid-button:hover::before {
  opacity: 1;
}

.ghost-button[aria-pressed="true"],
.view-toggle button[aria-pressed="true"],
.save-button.is-saved {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.ghost-button:focus-visible,
.solid-button:focus-visible,
.plain-button:focus-visible,
.view-toggle button:focus-visible,
.save-button:focus-visible,
.source-chip:focus-visible,
.filter-choice:focus-visible,
.project-tab:focus-visible,
.hero-button:focus-visible,
.gallery-button:focus-visible,
.compare-button:focus-visible,
.project-card:focus-visible,
.lightbox-actions button:focus-visible,
.lightbox-actions a:focus-visible,
.lightbox-nav:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring), var(--button-shadow);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  scroll-margin-top: 116px;
}

.filter-panel {
  position: sticky;
  top: 96px;
  grid-column: 2;
  grid-row: 1;
  height: calc(100vh - 96px);
  padding: 32px 24px;
  overflow: auto;
  background: rgba(238, 238, 235, 0.9);
  border-left: 1px solid rgba(140, 140, 137, 0.62);
}

.main-stage {
  grid-column: 1;
  grid-row: 1;
}

.panel-block {
  display: grid;
  gap: 18px;
}

.panel-block + .panel-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(140, 140, 137, 0.62);
}

.filter-panel label {
  display: grid;
  gap: 8px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-options {
  display: flex;
  max-height: 156px;
  gap: 6px;
  flex-wrap: wrap;
  overflow: auto;
  padding: 1px 1px 3px;
}

.country-options {
  max-height: 210px;
}

.filter-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 28px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.46);
  border: 1px solid rgba(140, 140, 137, 0.72);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.filter-choice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(0.32);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.filter-choice::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.filter-choice:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.filter-choice:focus-visible {
  outline: 0;
}

.filter-choice[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.filter-choice:hover::after,
.filter-choice[aria-pressed="true"]::after {
  opacity: 0.34;
  transform: scaleX(1);
}

.filter-choice[aria-pressed="true"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.plain-button {
  justify-self: start;
}

.stats dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.stats div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.stats dt {
  color: var(--muted);
  font-size: 12px;
}

.stats dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.main-stage {
  min-width: 0;
  padding: 44px 44px 68px;
}

.project-detail {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line-strong);
  scroll-margin-top: 128px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 4.2vw, 62px);
  align-items: start;
}

.detail-media {
  min-width: 0;
}

.mobile-project-heading {
  display: none;
}

.hero-button,
.gallery-button,
.compare-button {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #d5d3cb;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
}

.hero-button::before,
.gallery-button::before,
.compare-button::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 253, 248, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hero-button::after,
.gallery-button::after,
.compare-button::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-right: 1px solid rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(255, 253, 248, 0.9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-4px, -4px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hero-button {
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(140, 140, 137, 0.42);
  box-shadow: var(--shadow);
}

.hero-button img,
.gallery-button img,
.compare-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.hero-button:hover img,
.gallery-button:hover img,
.compare-button:hover img {
  filter: saturate(0.9) contrast(1.06) brightness(0.96);
  transform: scale(1.018);
}

.hero-button:hover::before,
.gallery-button:hover::before,
.compare-button:hover::before {
  opacity: 1;
  transform: scale(1);
}

.hero-button:hover::after,
.gallery-button:hover::after,
.compare-button:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.gallery-button.is-plan img,
.compare-button.is-plan img {
  object-fit: contain;
  background: #fff;
}

.detail-meta {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 6px;
}

.number-line {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.number-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.detail-meta h1 {
  margin: 0;
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.65vw, 56px);
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

.location-line {
  margin: -8px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.detail-note {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

.detail-reading {
  display: grid;
  gap: 9px;
  padding: 16px 0 2px;
  border-top: 1px solid rgba(140, 140, 137, 0.6);
}

.detail-reading > span {
  color: var(--blueprint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
}

.fact {
  min-width: 0;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.technical-sheet {
  display: grid;
  gap: 14px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line-strong);
}

.technical-sheet-top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.technical-sheet-top > span {
  color: var(--blueprint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet-switch {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.sheet-switch button {
  min-height: 31px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.38);
  border: 0;
  border-right: 1px solid var(--line-strong);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.sheet-switch button:last-child {
  border-right: 0;
}

.sheet-switch button[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
}

.technical-sheet h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.sheet-grid {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.sheet-row {
  display: grid;
  grid-template-columns: minmax(116px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.sheet-row dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet-row dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.35;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.source-chip {
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  background: rgba(255, 253, 248, 0.42);
}

.compare-strip {
  margin-top: 26px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--blueprint);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-card {
  min-width: 0;
}

.compare-button {
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(170, 163, 151, 0.65);
}

figure {
  margin: 0;
}

figcaption,
.image-role {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-section {
  margin-top: 38px;
}

.gallery-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.gallery-head span {
  color: var(--muted);
  font-size: 12px;
}

.project-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid rgba(140, 140, 137, 0.74);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-tab {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.34);
  border: 0;
  border-right: 1px solid rgba(140, 140, 137, 0.58);
  border-radius: 0;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.project-tab::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.project-tab:last-child {
  border-right: 0;
}

.project-tab span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-tab strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: var(--muted);
  border: 1px solid rgba(140, 140, 137, 0.62);
  border-radius: 4px;
  font-size: 11px;
}

.project-tab[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.project-tab:hover:not(:disabled) {
  background: rgba(255, 253, 248, 0.62);
}

.project-tab:hover:not(:disabled)::after,
.project-tab[aria-pressed="true"]::after {
  opacity: 0.38;
  transform: scaleX(1);
}

.project-tab[aria-pressed="true"]:hover {
  background: var(--ink);
}

.project-tab[aria-pressed="true"] strong {
  color: var(--paper);
  border-color: rgba(248, 248, 246, 0.34);
}

.project-tab:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px 16px;
}

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

.gallery-button {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(140, 140, 137, 0.58);
}

.gallery-card figcaption {
  display: grid;
  gap: 5px;
  margin-top: 9px;
  text-transform: none;
}

.gallery-card figcaption strong {
  display: flex;
  gap: 7px;
  align-items: baseline;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.caption-index {
  color: var(--blueprint);
}

.gallery-card figcaption span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-card figcaption small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  padding: 38px 0 18px;
}

.collection-head h2 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.view-toggle {
  display: flex;
  gap: 7px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px 18px;
}

.project-grid.is-list {
  grid-template-columns: 1fr;
}

.project-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 253, 248, 0.48);
  border: 1px solid rgba(140, 140, 137, 0.62);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 3px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.22);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.project-card[aria-current="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 18px 46px rgba(20, 21, 21, 0.1);
}

.project-card:hover::before,
.project-card[aria-current="true"]::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-card img {
  display: block;
  width: 100%;
  height: 204px;
  object-fit: cover;
  background: #d5d3cb;
  border-radius: 0;
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.project-card:hover img {
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.012);
}

.project-card-content {
  display: grid;
  min-width: 0;
  padding: 15px 15px 17px;
}

.project-card small {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-card strong {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.project-card span + span:not(.tag-row) {
  margin-top: 4px;
}

.project-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.project-card .tag {
  display: inline-block;
  margin-top: 0;
  padding: 3px 6px;
  color: var(--blueprint);
  background: rgba(48, 79, 99, 0.08);
  border: 1px solid rgba(48, 79, 99, 0.18);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.project-grid.is-list .project-card {
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
}

.project-grid.is-list .project-card img {
  height: 100%;
  min-height: 134px;
}

.project-grid.is-list .project-card-content {
  padding: 18px;
}

.project-grid.is-list .project-card strong {
  font-size: 28px;
}

.load-more-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 12px;
}

.load-more-row[hidden] {
  display: none;
}

.load-more-button {
  min-width: 168px;
}

.load-more-row span {
  color: var(--muted);
  font-size: 13px;
}

.grid-sentinel {
  height: 1px;
}

.empty-state {
  padding: 42px 0;
  color: var(--muted);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-strong);
}

.site-footer strong {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 70ch;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 72px 72px,
    rgba(12, 13, 13, 0.97);
  color: #fff;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-bar strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lightbox-actions button,
.lightbox-actions a {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 5px;
}

.lightbox-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
}

.lightbox-canvas::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.lightbox-canvas.is-dragging {
  cursor: grabbing;
}

.lightbox-canvas img {
  max-width: 92vw;
  max-height: calc(100vh - 166px);
  user-select: none;
  transform-origin: center center;
  transition: transform 90ms ease-out;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 70px;
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  font-size: 36px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-50%) scale(1.02);
}

.lightbox-nav.prev {
  left: 16px;
}

.lightbox-nav.next {
  right: 16px;
}

.lightbox-caption {
  min-height: 56px;
  padding: 13px 20px;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

body.has-lightbox {
  overflow: hidden;
}

body.has-filter-drawer {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 1180px) {
  .landing-hero {
    min-height: 100svh;
  }

  .category-hub {
    grid-template-columns: 1fr;
  }

  .category-head,
  .category-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .category-head {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
  }

  .category-head h2 {
    max-width: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .top-actions {
    justify-content: flex-end;
  }

  .mobile-filter-button {
    display: inline-grid;
    place-items: center;
  }

  .filter-scrim {
    position: fixed;
    inset: 0;
    z-index: 34;
    display: block;
    pointer-events: none;
    background: rgba(20, 21, 21, 0);
    border: 0;
    opacity: 0;
    transition:
      opacity 180ms ease,
      background 180ms ease;
  }

  .filter-scrim.is-open {
    pointer-events: auto;
    background: rgba(20, 21, 21, 0.38);
    opacity: 1;
  }

  .workspace {
    display: flex;
    flex-direction: column;
  }

  .filter-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 35;
    width: min(86vw, 340px);
    height: 100dvh;
    padding: 24px 18px 28px;
    overflow-y: auto;
    background: rgba(248, 248, 246, 0.98);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    border-right: 0;
    border-bottom: 0;
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform 200ms ease;
    order: initial;
  }

  .filter-panel.is-open {
    transform: translateX(0);
  }

  .main-stage {
    order: 1;
  }

  .panel-block:first-child {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-meta h1 {
    max-width: none;
    font-size: clamp(40px, 5vw, 52px);
  }

  .detail-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    background: var(--bg);
  }

  .landing-hero {
    min-height: 100svh;
  }

  .landing-nav {
    align-items: flex-end;
    flex-direction: column;
    gap: 14px;
    padding: 18px 14px;
  }

  .landing-brand {
    gap: 10px;
  }

  .landing-logo-mark {
    width: 66px;
    height: 54px;
  }

  .landing-wordmark {
    width: clamp(128px, 42vw, 168px);
  }

  .landing-links {
    justify-content: flex-end;
  }

  .landing-links a {
    min-height: 34px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .landing-copy {
    width: calc(100% - 28px);
    margin: 4vh 14px 6vh;
  }

  .landing-copy h1 {
    max-width: 12ch;
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.96;
  }

  .landing-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .landing-actions {
    margin-top: 24px;
  }

  .landing-primary,
  .landing-secondary {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .landing-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 28px);
    margin: 0 14px 18px;
  }

  .landing-metrics div {
    padding: 13px 10px;
  }

  .landing-metrics strong {
    font-size: 30px;
  }

  .landing-metrics span {
    font-size: 8.5px;
    letter-spacing: 0.09em;
  }

  .category-hub {
    padding: 20px 14px 24px;
  }

  .category-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-card {
    min-height: 230px;
  }

  .category-card strong {
    max-width: 14ch;
    font-size: 30px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 14px;
    min-height: auto;
  }

  .brand {
    gap: 10px;
    grid-column: 1;
    min-width: 0;
  }

  .brand-logo {
    width: 64px;
    height: 52px;
  }

  .brand-wordmark {
    width: clamp(116px, 34vw, 150px);
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .top-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .top-actions .ghost-button,
  .top-actions .solid-button {
    padding-inline: 9px;
  }

  .mobile-filter-button {
    display: inline-grid;
    place-items: center;
  }

  .filter-scrim {
    position: fixed;
    inset: 0;
    z-index: 34;
    display: block;
    pointer-events: none;
    background: rgba(20, 21, 21, 0);
    border: 0;
    opacity: 0;
    transition:
      opacity 180ms ease,
      background 180ms ease;
  }

  .filter-scrim.is-open {
    pointer-events: auto;
    background: rgba(20, 21, 21, 0.38);
    opacity: 1;
  }

  .filter-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 35;
    width: min(86vw, 340px);
    height: 100dvh;
    padding: 24px 18px 28px;
    overflow-y: auto;
    background: rgba(248, 248, 246, 0.98);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    border-right: 0;
    border-bottom: 0;
    box-shadow: var(--shadow);
    transform: translateX(105%);
    transition: transform 200ms ease;
    order: initial;
  }

  .filter-panel.is-open {
    transform: translateX(0);
  }

  .panel-block:first-child {
    grid-template-columns: 1fr;
  }

  .main-stage {
    padding: 30px 14px 48px;
  }

  .project-detail {
    scroll-margin-top: 176px;
  }

  .mobile-project-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 2px;
  }

  .mobile-project-heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 10vw, 40px);
    font-weight: 500;
    line-height: 1;
    text-wrap: balance;
  }

  .mobile-project-heading .location-line {
    margin: 0;
  }

  .detail-meta > .number-line,
  .detail-meta > h1,
  .detail-meta > .location-line {
    display: none;
  }

  .detail-meta h1 {
    font-size: 38px;
  }

  .detail-note {
    font-size: 16px;
  }

  .technical-sheet-top {
    align-items: stretch;
    flex-direction: column;
  }

  .sheet-switch {
    width: 100%;
  }

  .sheet-switch button {
    flex: 1 1 0;
  }

  .sheet-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-tabs {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .project-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(140, 140, 137, 0.58);
  }

  .project-tab:last-child {
    border-bottom: 0;
  }

  .collection-head {
    align-items: start;
    flex-direction: column;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-grid.is-list .project-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .project-card img {
    height: 196px;
  }

  .project-grid.is-list .project-card img {
    min-height: 126px;
  }

  .project-grid.is-list .project-card strong {
    font-size: 22px;
  }

  .lightbox-bar {
    align-items: start;
    flex-direction: column;
  }

  .lightbox-nav {
    width: 38px;
    height: 58px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 58px;
    height: 48px;
  }

  .brand-wordmark {
    width: 118px;
  }
}
