:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.68);
  --accent: #c83b39;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(243, 201, 105, 0.1), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(67, 84, 131, 0.12), transparent 22%),
    linear-gradient(180deg, #090909 0%, #101010 48%, #060606 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body.page-projects,
body.page-services,
body.page-about,
body.page-contact,
body.page-project-detail {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 29, 0.08), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(92, 104, 132, 0.08), transparent 20%),
    linear-gradient(180deg, #f5efe4 0%, #f2eadf 100%);
  color: #151515;
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 6px 6px, 6px 6px;
}

.page-projects .page-noise,
.page-services .page-noise,
.page-about .page-noise,
.page-contact .page-noise,
.page-project-detail .page-noise {
  opacity: 0.015;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer,
.hero,
.page-hero,
.section-block,
.projects-section,
.services-section,
.contact-section {
  width: min(1180px, calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header-center-nav {
  justify-content: center;
  padding: 2.2rem 0 0.8rem;
}

.brand img {
  width: 82px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav-center-nav {
  gap: 1.2rem;
  justify-content: center;
}

.site-nav-roll {
  display: inline-grid;
  grid-auto-rows: 1.15rem;
  overflow: hidden;
  height: 1.15rem;
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-roll > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.15rem;
}

.site-nav a,
.contact-link,
.button-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a {
  overflow: hidden;
}

.site-nav-center-nav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.86);
}

.site-nav-standard a {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  height: 1.3rem;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.86);
  overflow: hidden;
  box-shadow: none !important;
  line-height: 1;
  transform: none !important;
}

.site-nav-standard .site-nav-roll {
  grid-auto-rows: 1.3rem;
  height: 1.3rem;
  overflow: visible;
}

.site-nav-standard .site-nav-roll > span {
  align-items: center;
  justify-content: center;
  height: 1.3rem;
}

.page-projects .site-nav-center-nav a,
.page-project-detail .site-nav-center-nav a,
.page-projects .site-nav-standard a,
.page-services .site-nav-standard a,
.page-about .site-nav-standard a,
.page-project-detail .site-nav-standard a,
.page-contact .site-nav-standard a {
  color: rgba(21, 21, 21, 0.84);
}

.page-projects .site-nav a,
.page-services .site-nav a,
.page-projects .button-pill,
.page-services .button-pill {
  border-color: rgba(21, 21, 21, 0.12);
  background: rgba(21, 21, 21, 0.03);
}

.site-nav-center-nav a:hover,
.site-nav-center-nav a.active {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-nav-standard a:hover,
.site-nav-standard a.active {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-nav a:hover,
.contact-link:hover,
.button-pill:hover,
.site-nav a.active {
  transform: translateY(-2px);
  border-color: rgba(243, 201, 105, 0.45);
  background: rgba(243, 201, 105, 0.1);
}

.site-nav a:hover .site-nav-roll,
.site-nav a:focus-visible .site-nav-roll {
  transform: translateY(-1.15rem);
}

.site-nav-standard a:hover .site-nav-roll,
.site-nav-standard a:focus-visible .site-nav-roll {
  transform: translateY(-1.3rem);
}

.page-projects .site-nav a:hover,
.page-projects .button-pill:hover,
.page-projects .site-nav a.active {
  border-color: rgba(21, 21, 21, 0.28);
  background: rgba(21, 21, 21, 0.08);
}

.page-projects .site-nav-center-nav a:hover,
.page-projects .site-nav-center-nav a.active,
.page-project-detail .site-nav-center-nav a:hover,
.page-project-detail .site-nav-center-nav a.active,
.page-projects .site-nav-standard a:hover,
.page-projects .site-nav-standard a.active,
.page-services .site-nav-standard a:hover,
.page-services .site-nav-standard a.active,
.page-about .site-nav-standard a:hover,
.page-about .site-nav-standard a.active,
.page-project-detail .site-nav-standard a:hover,
.page-project-detail .site-nav-standard a.active,
.page-contact .site-nav-standard a:hover,
.page-contact .site-nav-standard a.active {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none;
}

.button-pill-ghost {
  background: transparent;
}

.hero,
.page-hero {
  padding: 5.2rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.hero-wide h1,
.page-hero h1,
.contact-panel-hero h1 {
  max-width: 11ch;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 0.96;
}

.interactive-headline {
  cursor: default;
}

.interactive-headline-line {
  display: block;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.interactive-headline-line:hover {
  transform: translateX(8px);
}

.hero-text,
.page-hero-copy,
.section-intro p,
.project-content p,
.service-card p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.page-projects .page-hero-copy,
.page-projects .site-footer p {
  color: rgba(21, 21, 21, 0.62);
}

.page-projects .eyebrow {
  color: #c83b39;
  font-weight: 600;
}

.page-services .eyebrow,
.page-about .eyebrow,
.page-contact .eyebrow,
.page-project-detail .eyebrow {
  color: #c83b39;
  font-weight: 600;
}

.page-services .service-card span,
.page-contact .service-card span {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-text,
.page-hero-copy {
  max-width: 58ch;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: grid;
  gap: 1rem;
}

.meta-card-feature {
  padding: 0;
  overflow: hidden;
  display: grid;
  text-decoration: none;
}

.meta-card-feature-copy {
  padding: 1.25rem 1.25rem 1rem;
}

.meta-card-feature-copy p {
  margin: 0.65rem 0 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.meta-card-feature-copy strong {
  font-size: 0.95rem;
  color: var(--text);
}

.meta-card-feature-media {
  padding: 0 1.25rem 1.25rem;
}

.meta-card-feature img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  transition: transform 280ms ease;
  border-radius: 18px;
}

.meta-card-feature:hover img {
  transform: scale(1.04);
}

.meta-card-feature.is-transitioning img,
.meta-card-feature.is-transitioning [data-home-feature-title],
.meta-card-feature.is-transitioning [data-home-feature-summary] {
  opacity: 0.72;
}

.meta-card-feature img,
.meta-card-feature [data-home-feature-title],
.meta-card-feature [data-home-feature-summary] {
  transition: opacity 220ms ease, transform 280ms ease;
}


.meta-card,
.service-card,
.contact-panel,
.archive-note,
.project-card,
.project-preview-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.page-projects .service-card,
.page-projects .contact-panel {
  background: #fff;
}

.page-services .service-card,
.page-services .contact-panel {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(21, 21, 21, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.page-contact .service-card,
.page-contact .contact-panel {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(21, 21, 21, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.meta-card {
  padding: 1.4rem;
}

.meta-card span,
.service-card span,
.project-index,
.project-preview-copy span {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-card strong {
  display: block;
  font-size: 1.05rem;
}

.signal-strip {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card {
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
}

.signal-card span,
.manifesto-proof span {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-card strong {
  font-size: 1rem;
  font-weight: 600;
}

.home-emphasis {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto 3.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.manifesto-proof {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.manifesto-proof strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
}

.section-block,
.projects-section,
.services-section,
.contact-section {
  padding: 2.2rem 0 1rem;
}

.section-intro {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-intro-wide h2 {
  max-width: 10ch;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-preview-card {
  overflow: hidden;
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-preview-card img {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
}

.project-preview-copy {
  padding: 1rem 1rem 1.2rem;
}

.project-preview-copy p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.projects-shell,
.projects-hero,
.projects-gallery,
.archive-strip {
  width: min(1380px, calc(100vw - 2rem));
  margin-inline: auto;
}

.page-projects .site-header,
.page-projects .site-footer {
  width: min(1380px, calc(100vw - 2rem));
}

.page-contact .site-header,
.page-contact .services-section,
.page-contact .contact-section,
.page-contact .site-footnote {
  width: min(1380px, calc(100vw - 2rem));
}

.page-services .site-header,
.page-services .services-shell,
.page-services .site-footnote {
  width: min(1380px, calc(100vw - 2rem));
}

.page-about .site-header,
.page-about .about-shell,
.page-about .site-footnote {
  width: min(1380px, calc(100vw - 2rem));
}

.page-services .services-hero,
.page-services .services-section,
.page-services .services-summary,
.page-services .services-cta {
  width: min(1380px, calc(100vw - 2rem));
  margin-inline: auto;
}

.page-about .about-hero,
.page-about .about-section,
.page-about .about-summary,
.page-about .about-cta {
  width: min(1380px, calc(100vw - 2rem));
  margin-inline: auto;
}

.projects-hero {
  display: block;
  padding: 2.8rem 0 1rem;
}

.projects-title h1 {
  max-width: none;
  font-size: clamp(2.2rem, 3.2vw, 3.5rem);
  line-height: 0.96;
  margin-bottom: 1.6rem;
}

.filter-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  align-items: baseline;
}

.filter-button {
  width: fit-content;
  padding: 0.32rem 0.55rem;
  border: 0;
  border-radius: 4px;
  background: rgba(21, 21, 21, 0.06);
  font: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover {
  transform: translateY(-1px);
  background: rgba(21, 21, 21, 0.12);
}

.projects-summary-row {
  width: min(1380px, calc(100vw - 2rem));
  margin: 0 auto 2.4rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.8rem;
}

.projects-filter-inline {
  display: block;
  max-width: none;
}

.projects-filter-stack {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.projects-filter-intro {
  margin: 0;
  color: rgba(21, 21, 21, 0.68);
  font-size: 0.98rem;
  line-height: 1.35;
  white-space: nowrap;
  flex: 0 1 auto;
}

.projects-filter-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.6);
}

.filter-pills span {
  width: fit-content;
  padding: 0.32rem 0.55rem;
  border-radius: 4px;
  background: rgba(21, 21, 21, 0.06);
  font-size: 0.76rem;
}

.filter-pills .is-active {
  background: #151515;
  color: #f5efe4;
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem 1rem;
  padding-top: 0.6rem;
  padding-bottom: 1.8rem;
  align-items: start;
}

.gallery-card {
  grid-column: span 3;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
  align-self: stretch;
  align-content: start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card-wide {
  grid-column: span 6;
}

.gallery-media {
  --gallery-frame-padding: 1rem;
  --gallery-controls-height: 2.35rem;
  height: 320px;
  background: rgba(21, 21, 21, 0.08);
  border-radius: 20px;
  overflow: hidden;
  padding: var(--gallery-frame-padding);
}

.gallery-card-wide .gallery-media {
  height: 470px;
}

.gallery-image-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--gallery-controls-height);
  gap: 0.7rem;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.gallery-card:not(.gallery-card-wide) .gallery-image-stage {
  position: relative;
  display: block;
  padding: 0.5rem;
}

.gallery-card-wide .gallery-image-stage {
  position: relative;
  display: block;
  height: 100%;
  padding: 1rem;
}

.gallery-image-viewport {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.gallery-card:not(.gallery-card-wide) .gallery-image-viewport {
  padding: 0.15rem;
}

.gallery-image-viewport img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
  transform-origin: center center;
}

.gallery-card-wide .gallery-image-viewport img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: var(--gallery-object-position, center center);
}

.gallery-card:hover .gallery-image-viewport img,
.gallery-card:focus-within .gallery-image-viewport img {
  transform: scale(1.04);
  filter: saturate(1.03) contrast(1.02);
}

.gallery-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.2rem;
  width: 100%;
}

.gallery-card-wide .gallery-switcher {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 2rem);
  z-index: 2;
}

.gallery-card:not(.gallery-card-wide) .gallery-switcher {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 1rem);
  z-index: 2;
  gap: 0.18rem;
  flex-wrap: nowrap;
}

.gallery-card:not(.gallery-card-wide) .gallery-switch {
  min-width: 1.7rem;
  padding: 0.22rem 0.42rem;
  font-size: 0.68rem;
}

.gallery-switch {
  min-width: 2.2rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 999px;
  background: rgba(245, 239, 228, 0.92);
  color: rgba(21, 21, 21, 0.8);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 21, 21, 0.3);
  background: rgba(255, 255, 255, 0.98);
  color: #151515;
}

.gallery-switch.is-active {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.9);
  color: #f5efe4;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.82);
}

.gallery-copy {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: flex-start;
  align-self: start;
  min-height: 215px;
}

.gallery-copy > div {
  display: grid;
  align-content: start;
  row-gap: 0.25rem;
  min-width: 0;
}

.gallery-copy h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.gallery-copy p {
  margin: 0.25rem 0 0;
  color: rgba(21, 21, 21, 0.68);
  line-height: 1.6;
}

.gallery-card-wide .gallery-copy {
  min-height: auto;
}

.gallery-card .project-index {
  min-width: 1.8rem;
  margin: 0;
  line-height: 1;
  color: rgba(21, 21, 21, 0.72);
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0.85rem 0 0;
  list-style: none;
}

.gallery-tags li {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.06);
  color: rgba(21, 21, 21, 0.62);
  font-size: 0.78rem;
}

.page-project-detail .site-header,
.page-project-detail .site-footer,
.page-project-detail main {
  width: min(1180px, calc(100vw - 2rem));
}

.page-project-detail main {
  margin-inline: auto;
}

.project-detail-shell {
  padding: 3rem 0 1rem;
}

.project-detail-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-detail-intro h1 {
  max-width: 9ch;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.project-detail-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 1.4rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.project-detail-media img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.project-detail-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.project-detail-switch {
  min-width: 2.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(21, 21, 21, 0.14);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.03);
  color: rgba(21, 21, 21, 0.78);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-detail-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 21, 21, 0.24);
  background: rgba(21, 21, 21, 0.07);
  color: #151515;
}

.project-detail-switch.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  background: #151515;
  color: #f5efe4;
  box-shadow: 0 0 0 1px rgba(21, 21, 21, 0.82);
}

.project-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.project-detail-copy {
  max-width: 62ch;
}

.project-detail-summary {
  margin: 0 0 1rem;
  color: rgba(245, 240, 232, 0.9);
  font-size: 1.12rem;
  line-height: 1.6;
}

.project-detail-copy p {
  margin: 0 0 1rem;
}

.project-detail-meta {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.project-tags-detail {
  margin-top: 0.75rem;
}

.archive-strip {
  padding: 0 0 3rem;
}

.archive-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.archive-line span {
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  background: rgba(21, 21, 21, 0.06);
  color: rgba(21, 21, 21, 0.62);
  font-size: 0.82rem;
}

.project-card {
  grid-column: span 4;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
  content-visibility: auto;
}

.project-card:hover,
.project-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 201, 105, 0.42);
}

.project-card-large {
  grid-column: span 8;
}

.project-image-wrap {
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background: #151515;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 280ms ease, filter 280ms ease;
  filter: saturate(0.96) contrast(1.02);
}

.project-card:hover .project-image-wrap img,
.project-preview-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.05);
}

.project-content {
  padding: 1.25rem 1.25rem 1.4rem;
}

.project-content p {
  margin: 0.6rem 0 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.project-tags li {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
}

.page-project-detail .project-tags li {
  border-color: rgba(21, 21, 21, 0.1);
  background: rgba(21, 21, 21, 0.05);
  color: rgba(21, 21, 21, 0.68);
}

.archive-note {
  margin-top: 1.2rem;
  padding: 1rem 1rem 1.2rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.archive-grid span {
  padding: 0.85rem 0.5rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(245, 240, 232, 0.55);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 240px;
  padding: 1.55rem;
}

.service-card h3 {
  margin-bottom: 0.7rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  padding: 1.85rem;
}

.page-contact .services-section {
  padding-top: 4.2rem;
}

.page-contact .contact-section {
  padding-top: 4.2rem;
}

.page-contact .contact-panel {
  min-height: 0;
}

.services-shell {
  display: grid;
  gap: 1rem;
  margin-inline: auto;
}

.services-hero {
  display: block;
  padding: 2rem 0 0.95rem;
}

.services-hero-layout {
  display: grid;
  grid-template-columns: minmax(560px, 700px) minmax(280px, 360px);
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(2rem, 4vw, 4.4rem);
  width: min(1180px, 100%);
  margin-inline: auto;
}

.services-hero-mark {
  display: grid;
  justify-items: center;
  justify-self: center;
  align-self: center;
  order: 2;
  padding-left: 0;
}

.services-hero-mark img {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.08));
}

.services-hero-copy {
  display: grid;
  gap: 0.7rem;
  max-width: none;
  order: 1;
}

.services-hero-copy .eyebrow,
.services-hero-copy h1,
.services-hero-copy p {
  margin: 0;
}

.services-hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.7rem, 3.95vw, 4.5rem);
  line-height: 0.94;
}

.services-hero-copy p,
.services-cta-copy p {
  color: rgba(21, 21, 21, 0.82);
  line-height: 1.7;
}

.services-hero-copy > p:last-of-type,
.services-cta-copy p {
  max-width: 42rem;
}

.services-hero-link {
  justify-self: start;
  margin-top: 0.45rem;
}

.page-services .services-section {
  padding-top: 0.4rem;
}

.services-summary {
  padding: 1rem 0;
}

.services-summary-panel,
.services-cta-panel {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.services-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.5rem 1.95rem;
  width: 100%;
  max-width: none;
}

.services-summary-copy p {
  margin: 0;
  max-width: 42rem;
  color: rgba(21, 21, 21, 0.82);
  line-height: 1.7;
}

.services-summary-lead {
  font-size: 1rem;
}

.services-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  max-width: 36rem;
}

.services-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.03);
  color: rgba(21, 21, 21, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.services-cta {
  padding: 1rem 0;
}

.services-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  padding: 1.55rem 1.75rem;
  width: 100%;
}

.services-cta-copy h2 {
  margin-bottom: 0.65rem;
  max-width: 17ch;
}

.services-cta-actions {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.about-shell {
  display: grid;
  gap: 1rem;
  margin-inline: auto;
}

.about-hero {
  padding: 2.6rem 0 0.9rem;
}

.about-hero-panel,
.about-summary-panel,
.about-cta-panel {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.about-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.88fr);
  gap: 1.2rem 1.55rem;
  padding: 1.9rem;
}

.about-hero-copy {
  display: grid;
  gap: 0.8rem;
  max-width: none;
}

.about-hero-copy .eyebrow,
.about-hero-copy h1 {
  margin: 0;
}

.about-hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.95rem, 4.35vw, 5rem);
}

.about-hero-copy p,
.about-hero-body p,
.about-card p,
.about-summary-lead,
.about-fact-card p,
.about-cta-copy p {
  color: rgba(21, 21, 21, 0.82);
  line-height: 1.75;
}

.about-hero-body {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.9rem;
  padding-top: 0.35rem;
  max-width: 66rem;
}

.about-hero-body p {
  margin: 0;
}

.about-facts {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.about-fact-card,
.about-card {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(21, 21, 21, 0.09);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.about-fact-card {
  padding: 1.35rem;
}

.about-fact-card span,
.about-card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #c83b39;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-fact-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.about-fact-card p {
  margin: 0;
}

.about-section,
.about-summary,
.about-cta {
  padding: 1rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-card {
  min-height: 240px;
  padding: 1.55rem;
}

.about-card h3 {
  margin-bottom: 0.7rem;
}

.about-summary-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
}

.about-summary-copy {
  display: grid;
  gap: 0.55rem;
}

.about-summary-copy p {
  margin: 0;
}

.about-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: center;
  align-items: center;
}

.about-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.03);
  color: rgba(21, 21, 21, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.about-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  padding: 1.55rem 1.75rem;
}

.about-cta-copy h2 {
  margin-bottom: 0.65rem;
  max-width: 16ch;
}

.about-cta-actions {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.contact-copy {
  max-width: 40rem;
}

.contact-note {
  margin-top: 1rem;
  color: rgba(245, 240, 232, 0.86);
  font-weight: 600;
}

.page-contact .contact-copy p,
.page-contact .contact-note,
.page-services .service-card p,
.page-services .service-card h3,
.page-contact .service-card p,
.page-contact .service-card h3,
.page-project-detail .project-detail-summary,
.page-project-detail .project-detail-copy p,
.page-project-detail .project-detail-intro h1 {
  color: rgba(21, 21, 21, 0.82);
}

.page-contact .contact-copy h1 {
  color: #151515;
}

.page-contact .contact-copy .eyebrow {
  color: #c83b39;
  font-weight: 600;
}

.page-contact .contact-note {
  color: rgba(21, 21, 21, 0.82);
}

.page-services .contact-link,
.page-about .contact-link,
.page-contact .contact-link,
.page-project-detail .button-pill {
  border-color: rgba(21, 21, 21, 0.12);
  background: rgba(21, 21, 21, 0.03);
}

.page-services .contact-link:hover,
.page-about .contact-link:hover,
.page-contact .contact-link:hover,
.page-project-detail .button-pill:hover {
  border-color: rgba(21, 21, 21, 0.24);
  background: rgba(21, 21, 21, 0.07);
}

.contact-panel-hero {
  min-height: 68vh;
  align-items: start;
}

.contact-actions {
  display: grid;
  justify-items: center;
  justify-self: center;
  align-self: center;
  align-content: start;
  gap: 1rem;
  width: 100%;
}

.contact-link-stack {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 520px);
}

.contact-mark {
  display: grid;
  justify-items: center;
  padding-top: 0.1rem;
}

.contact-mark img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.09));
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
}

.site-footnote {
  width: min(1180px, calc(100vw - 2rem));
  margin-inline: auto;
  padding: 0 0 1.6rem;
  text-align: center;
}

.site-footnote p {
  margin: 0;
  color: rgba(21, 21, 21, 0.58);
  font-size: 0.78rem;
  line-height: 1.6;
}

.page-projects .site-footer {
  width: min(1380px, calc(100vw - 2rem));
}

.page-projects .site-footnote {
  width: min(1380px, calc(100vw - 2rem));
}

.page-contact .site-footnote p {
  color: rgba(21, 21, 21, 0.58);
}

.page-services .site-footnote p {
  color: rgba(21, 21, 21, 0.58);
}

.page-about .site-footnote p {
  color: rgba(21, 21, 21, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .contact-panel,
  .about-hero-panel,
  .about-summary-panel,
  .about-cta-panel,
  .services-summary-panel,
  .services-cta-panel,
  .projects-hero,
  .manifesto-grid,
  .home-emphasis {
    grid-template-columns: 1fr;
  }

  .projects-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
  }

  .project-detail-intro,
  .project-detail-body {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.2rem;
  }

  .project-detail-actions {
    justify-content: flex-start;
  }

  .projects-filter-intro {
    white-space: normal;
    max-width: 48rem;
  }

  .projects-filter-stack {
    justify-items: start;
  }

  .filter-pills {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

  .projects-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }

  .services-grid,
  .project-preview-grid,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-body {
    gap: 0.8rem;
  }

  .project-card,
  .project-card-large {
    grid-column: span 6;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: auto;
  }

  .gallery-card-wide .gallery-media {
    height: 390px;
  }

  .gallery-copy {
    min-height: auto;
  }

  .project-detail-shell {
    padding-top: 2.2rem;
  }

  .project-detail-media {
    min-height: 420px;
  }

  .project-detail-media img {
    max-height: 62vh;
  }

  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-hero-layout {
    grid-template-columns: 1fr;
  }

  .services-hero-mark {
    justify-items: start;
    order: 1;
  }

  .services-hero-copy {
    order: 2;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    gap: 0.85rem;
    padding: 0.95rem 0 0.55rem;
  }

  .brand img {
    width: 72px;
  }

  .site-nav {
    gap: 0.8rem 1rem;
  }

  .site-nav-standard a {
    height: 1.15rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .site-nav-standard .site-nav-roll,
  .site-nav-standard .site-nav-roll > span {
    height: 1.15rem;
    grid-auto-rows: 1.15rem;
  }

  .site-nav-standard a:hover .site-nav-roll,
  .site-nav-standard a:focus-visible .site-nav-roll {
    transform: translateY(-1.15rem);
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }

  .projects-grid,
  .services-grid,
  .about-grid,
  .project-preview-grid,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .projects-gallery {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-large {
    grid-column: auto;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: 1 / -1;
  }

  .projects-hero {
    padding: 1.8rem 0 0.7rem;
  }

  .projects-title h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 0.98;
    margin-bottom: 1rem;
  }

  .projects-summary-row {
    margin-bottom: 1.3rem;
    gap: 0.8rem;
  }

  .projects-filter {
    width: 100%;
  }

  .projects-filter-stack {
    width: 100%;
    justify-items: start;
  }

  .filter-pills {
    width: 100%;
    gap: 0.45rem;
  }

  .filter-button {
    font-size: 0.74rem;
  }

  .projects-gallery {
    gap: 1.2rem;
    padding-top: 0.2rem;
  }

  .gallery-media {
    height: 262px;
    padding: 0.8rem;
  }

  .gallery-card-wide .gallery-media {
    height: 286px;
  }

  .gallery-card-wide .gallery-image-stage {
    padding: 0.8rem;
  }

  .gallery-card:not(.gallery-card-wide) .gallery-image-stage {
    padding: 0.35rem;
  }

  .gallery-card-wide .gallery-switcher {
    bottom: 1rem;
    max-width: calc(100% - 1.2rem);
  }

  .gallery-card:not(.gallery-card-wide) .gallery-switcher {
    bottom: 0.7rem;
    max-width: calc(100% - 0.7rem);
  }

  .gallery-copy {
    grid-template-columns: 1.55rem minmax(0, 1fr);
    column-gap: 0.7rem;
  }

  .gallery-copy h3 {
    font-size: clamp(1.28rem, 5.8vw, 1.8rem);
  }

  .gallery-copy p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .gallery-tags {
    margin-top: 0.75rem;
    gap: 0.4rem;
  }

  .gallery-tags li {
    font-size: 0.74rem;
    padding: 0.34rem 0.56rem;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-summary-row,
  .project-detail-intro {
    align-items: flex-start;
  }

  .project-detail-media {
    min-height: 300px;
    padding: 0.8rem;
    margin-bottom: 1.35rem;
  }

  .project-detail-shell {
    padding-top: 1.6rem;
  }

  .project-detail-intro {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .project-detail-intro h1 {
    max-width: 10ch;
  }

  .project-detail-actions {
    width: 100%;
    gap: 0.65rem;
  }

  .project-detail-actions .button-pill {
    padding: 0.72rem 0.95rem;
  }

  .project-detail-media img {
    max-height: 54vh;
  }

  .project-detail-switcher {
    justify-content: flex-start;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .project-detail-switch {
    min-width: 2rem;
    padding: 0.32rem 0.58rem;
    font-size: 0.72rem;
  }

  .project-detail-body {
    gap: 1rem;
  }

  .project-detail-copy {
    max-width: none;
  }

  .project-detail-summary {
    font-size: 1rem;
    line-height: 1.55;
  }

  .project-detail-meta {
    padding: 1rem;
    border-radius: 20px;
  }

  h1 {
    max-width: 8.5ch;
  }
}

@media (max-width: 560px) {
  .site-header,
  .page-projects .site-header,
  .page-project-detail .site-header {
    width: calc(100vw - 1.1rem);
  }

  .projects-shell,
  .about-shell,
  .projects-hero,
  .projects-gallery,
  .projects-summary-row,
  .page-project-detail main,
  .site-footnote,
  .page-projects .site-footnote {
    width: calc(100vw - 1.1rem);
  }

  .brand img {
    width: 66px;
  }

  .site-nav {
    gap: 0.7rem 0.9rem;
  }

  .site-nav-standard a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .projects-title h1 {
    font-size: clamp(1.82rem, 10.5vw, 2.4rem);
  }

  .projects-filter-intro {
    font-size: 0.92rem;
  }

  .projects-filter-label {
    font-size: 0.74rem;
  }

  .filter-button {
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
  }

  .gallery-media,
  .gallery-card-wide .gallery-media {
    height: 238px;
  }

  .gallery-copy {
    grid-template-columns: 1.35rem minmax(0, 1fr);
    column-gap: 0.55rem;
  }

  .gallery-card .project-index {
    min-width: 1.2rem;
    font-size: 0.72rem;
  }

  .gallery-copy h3 {
    font-size: clamp(1.18rem, 6.4vw, 1.55rem);
  }

  .gallery-copy p {
    font-size: 0.9rem;
  }

  .gallery-switch {
    min-width: 1.9rem;
    padding: 0.24rem 0.48rem;
    font-size: 0.66rem;
  }

  .gallery-card:not(.gallery-card-wide) .gallery-switch {
    min-width: 1.55rem;
    padding: 0.18rem 0.34rem;
    font-size: 0.62rem;
  }

  .project-detail-shell {
    padding-top: 1.25rem;
  }

  .project-detail-intro h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .project-detail-actions .button-pill {
    width: 100%;
    justify-content: center;
  }

  .project-detail-media {
    min-height: 260px;
    padding: 0.65rem;
  }

  .project-detail-media img {
    max-height: 48vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-image-wrap img,
  .project-preview-card img,
  .meta-card-feature img,
  .reveal,
  .project-card,
  .project-preview-card,
  .site-nav a,
  .contact-link,
  .button-pill {
    animation: none;
    transition: none;
  }

  .site-nav-roll {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
