:root {
  --ink: #121417;
  --muted: #69717d;
  --paper: #f6f1e9;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(18, 20, 23, 0.12);
  --accent: #b75d38;
  --accent-dark: #6d351f;
  --sage: #7c8c78;
  --charcoal: #25282c;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(28, 31, 35, 0.14);
  --font-architectural: "Avenir Next", "Montserrat", "Gill Sans", "Trebuchet MS", Arial, sans-serif;
  --font-companion: "Optima", "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(183, 93, 56, 0.12), transparent 34%),
    linear-gradient(220deg, rgba(124, 140, 120, 0.16), transparent 40%),
    var(--paper);
  font-family: var(--font-companion);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(18, 20, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 23, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(246, 241, 233, 0.76);
  box-shadow: 0 16px 46px rgba(28, 31, 35, 0.1);
  backdrop-filter: blur(22px) saturate(1.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-family: var(--font-architectural);
  font-size: clamp(0.86rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-family: var(--font-architectural);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a,
.primary-action,
.secondary-action,
.filter-button,
.contact-card a,
footer a {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  color: #3f444b;
  background: rgba(255, 255, 255, 0.46);
}

nav a.nav-active {
  color: #fff;
  background: var(--accent-dark);
}

.nav-cta,
.primary-action {
  color: #fff;
  border-color: rgba(109, 53, 31, 0.1);
  background: var(--ink);
}

main {
  display: grid;
  gap: 28px;
  width: min(1420px, calc(100% - 28px));
  margin: 0 auto 28px;
}

.hero-section,
.section-block,
.feature-band,
.about-section,
.contact-section,
.stats-strip {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.35));
  box-shadow: var(--shadow);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(560px, 1.36fr);
  gap: 28px;
  min-height: min(740px, calc(100vh - 120px));
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
}

.hero-copy {
  display: grid;
  align-self: center;
  gap: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 890px;
  font-family: var(--font-architectural);
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-title {
  max-width: 720px;
  font-family: var(--font-architectural);
  font-size: clamp(3.1rem, 5.8vw, 6.2rem);
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.02;
  text-transform: uppercase;
}

h2 {
  max-width: 860px;
  font-family: var(--font-architectural);
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-architectural);
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-text,
.about-copy p,
.contact-section p,
.process-grid p,
.project-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.6vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 600px;
}

.render-frame,
.project-card,
.overview-card,
.process-grid article,
.contact-card,
.portrait-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 50px rgba(28, 31, 35, 0.14);
  overflow: hidden;
}

.render-frame-large {
  width: 88%;
  min-height: 340px;
  justify-self: start;
  z-index: 2;
}

.render-frame-small {
  width: 82%;
  min-height: 300px;
  margin-top: -54px;
  margin-bottom: 0;
  justify-self: end;
  z-index: 1;
}

.home-feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.scene,
.project-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #ded8cb;
}

.render-frame-large .scene {
  min-height: 440px;
}

.render-frame-small .scene {
  min-height: 280px;
}

.scene-villa {
  background:
    linear-gradient(to top, rgba(43, 49, 45, 0.42), transparent 42%),
    linear-gradient(145deg, #f5c79a 0%, #d9aa79 38%, #8aa6a3 100%);
}

.sun {
  position: absolute;
  top: 44px;
  right: 54px;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 239, 195, 0.86);
  box-shadow: 0 0 70px rgba(255, 239, 195, 0.88);
}

.villa-block {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(54, 43, 35, 0.28);
}

.villa-block.one {
  right: 11%;
  bottom: 25%;
  width: 55%;
  height: 27%;
}

.villa-block.two {
  right: 26%;
  bottom: 43%;
  width: 40%;
  height: 16%;
  background: rgba(34, 39, 42, 0.78);
}

.villa-water {
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(90deg, rgba(225, 238, 236, 0.5), rgba(54, 94, 100, 0.66));
}

.scene-interior {
  background:
    linear-gradient(90deg, rgba(58, 48, 38, 0.22), transparent 42%),
    linear-gradient(150deg, #dac8ad, #f0e8db 58%, #b8a28b);
}

.wall-art {
  position: absolute;
  top: 42px;
  left: 42px;
  width: 112px;
  height: 148px;
  border: 10px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, #2e3a3f, #b75d38);
}

.sofa {
  position: absolute;
  right: 32px;
  bottom: 62px;
  width: 72%;
  height: 94px;
  border-radius: 22px 22px 8px 8px;
  background: #6f786d;
  box-shadow: 0 24px 42px rgba(40, 33, 28, 0.22);
}

.lamp {
  position: absolute;
  right: 70px;
  bottom: 150px;
  width: 48px;
  height: 90px;
  border-radius: 40px 40px 8px 8px;
  background: rgba(255, 246, 220, 0.92);
}

.frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.frame-caption span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.frame-caption strong {
  font-family: var(--font-architectural);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 0;
}

.stats-strip div {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.35);
}

.stats-strip strong {
  color: var(--accent);
  font-family: var(--font-architectural);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.stats-strip span {
  color: #3c4249;
  font-family: var(--font-architectural);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-block,
.feature-band,
.about-section,
.contact-section {
  padding: clamp(22px, 4vw, 46px);
}

.section-heading,
.feature-band {
  display: grid;
  gap: 16px;
}

.page-hero {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 58px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.35));
  box-shadow: var(--shadow);
}

.page-hero h1,
.about-copy h1,
.contact-section h1 {
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
}

.portfolio-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.45rem, 4.65vw, 5.35rem);
  line-height: 0.98;
}

.process-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.7rem, 5.8vw, 6.3rem);
  line-height: 0.98;
}

.process-intro {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.process-intro p,
.process-closing p,
.process-grid-detailed h4 {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.filter-button {
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.filter-button.active {
  color: #fff;
  background: var(--accent-dark);
}

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

.portfolio-disclaimer {
  max-width: 980px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.portfolio-disclaimer h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-architectural);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-disclaimer p {
  margin: 0 0 6px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.overview-card {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.overview-card .project-art {
  min-height: 220px;
}

.overview-card .project-image {
  min-height: 220px;
}

.project-card {
  display: grid;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(31, 34, 38, 0.18);
}

.project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-card.is-hidden {
  display: none;
}

.project-art {
  min-height: 280px;
}

.project-image {
  display: block;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
}

.art-house {
  background: linear-gradient(145deg, #d59c76, #edddc4 48%, #829894);
}

.art-house::before {
  right: 10%;
  bottom: 22%;
  width: 70%;
  height: 34%;
  background: rgba(255, 255, 255, 0.8);
}

.art-house::after {
  right: 20%;
  bottom: 55%;
  width: 44%;
  height: 13%;
  background: rgba(37, 40, 44, 0.82);
}

.art-lounge {
  background: linear-gradient(135deg, #a98767, #efe5d7 55%, #575c53);
}

.art-lounge::before {
  left: 12%;
  bottom: 19%;
  width: 76%;
  height: 84px;
  border-radius: 48px 48px 12px 12px;
  background: #7b715f;
}

.art-lounge::after {
  top: 18%;
  left: 14%;
  width: 88px;
  height: 120px;
  background: #2b3436;
  box-shadow: 132px 52px 0 #c56b45;
}

.art-gallery {
  background: linear-gradient(160deg, #ded7ca, #9eaba4);
}

.art-gallery::before {
  left: 12%;
  bottom: 18%;
  width: 76%;
  height: 48%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 35%, rgba(28, 31, 35, 0.82) 35% 48%, rgba(255, 255, 255, 0.68) 48%);
}

.art-gallery::after {
  left: 8%;
  bottom: 12%;
  width: 84%;
  height: 8px;
  background: rgba(84, 75, 65, 0.38);
}

.art-object {
  background: radial-gradient(circle at 52% 42%, #e8e0d1, #9b8c7b 64%, #3e4144);
}

.art-object::before {
  left: 50%;
  top: 48%;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6f1e9, #a86d4d);
  box-shadow: -32px 38px 80px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.art-object::after {
  left: 50%;
  top: 62%;
  width: 220px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.2);
  transform: translateX(-50%);
}

.art-board {
  background: #ede4d7;
}

.art-board::before {
  inset: 28px;
  background:
    linear-gradient(90deg, #b75d38 0 28%, transparent 28%),
    linear-gradient(90deg, transparent 34%, #2d3434 34% 60%, transparent 60%),
    linear-gradient(90deg, transparent 66%, #8a967e 66%);
}

.art-board::after {
  left: 34px;
  right: 34px;
  bottom: 34px;
  height: 54px;
  background: repeating-linear-gradient(90deg, rgba(18, 20, 23, 0.18) 0 26px, transparent 26px 42px);
}

.art-kitchen {
  background: linear-gradient(135deg, #f2eadc, #cdbda9);
}

.art-kitchen::before {
  inset: 14% 12% 22%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0 32%, rgba(57, 62, 62, 0.84) 32% 38%, rgba(255, 255, 255, 0.78) 38% 72%, rgba(183, 93, 56, 0.78) 72%);
}

.art-kitchen::after {
  left: 10%;
  right: 10%;
  bottom: 20%;
  height: 28px;
  background: #5f5549;
}

.project-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.project-copy span {
  color: var(--accent-dark);
  font-family: var(--font-architectural);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.long-title-hero {
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
}

.project-detail-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
}

.back-link {
  color: var(--accent-dark);
  font-family: var(--font-architectural);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-detail-copy h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.92;
}

.long-title-hero .project-detail-copy h1 {
  font-size: clamp(3rem, 4.25vw, 4.9rem);
  max-width: 9.8em;
}

.long-title-hero .hero-text {
  max-width: 31rem;
}

.long-title-hero .project-meta {
  max-width: 31rem;
}

.long-title-hero .project-meta span {
  padding-inline: 10px;
  font-size: 0.72rem;
}

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

.project-meta-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 210px;
}

.project-meta span,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.project-meta span {
  padding: 14px;
  color: var(--muted);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-detail-hero .project-art {
  min-height: 520px;
}

.project-detail-hero .project-image {
  min-width: 0;
  min-height: 520px;
  height: 100%;
  border-radius: 18px;
}

.project-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.detail-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.detail-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(31, 34, 38, 0.12);
  padding-bottom: 10px;
}

.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list strong {
  font-family: var(--font-architectural);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.photo-gallery .project-art {
  min-height: 260px;
}

.photo-gallery img {
  display: block;
  width: 100%;
  min-height: 260px;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.photo-gallery .project-art:first-child,
.photo-gallery img:first-child,
.photo-gallery .gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item {
  display: grid;
  gap: 10px;
  margin: 0;
}

.gallery-item img {
  height: auto;
}

.gallery-item figcaption {
  color: var(--muted);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-photo-gallery.captioned-gallery {
  display: block;
  column-count: 2;
  column-gap: 18px;
}

.project-photo-gallery.captioned-gallery .gallery-item {
  break-inside: avoid;
  margin: 0 0 20px;
}

.project-photo-gallery.captioned-gallery .gallery-item:first-child {
  grid-row: auto;
}

.project-photo-gallery.captioned-gallery img {
  min-height: 0;
  height: auto;
}

.project-photo-gallery.captioned-gallery.comparison-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
  column-count: auto;
}

.project-photo-gallery.captioned-gallery.comparison-gallery .gallery-item {
  margin: 0;
}

.project-photo-gallery.captioned-gallery.comparison-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bates-pair-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 18px;
}

.bates-pair-gallery .gallery-item:first-child {
  grid-row: auto;
}

.bates-pair-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  object-fit: cover;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid-detailed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.process-grid-detailed article {
  align-content: start;
  padding: clamp(18px, 2.6vw, 28px);
}

.process-grid strong {
  color: var(--accent);
  font-family: var(--font-architectural);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.process-grid-detailed h4 {
  margin: 2px 0 4px;
  color: var(--ink);
  font-family: var(--font-architectural);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-closing {
  display: grid;
  gap: 14px;
}

.process-closing h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.about-section {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.portrait-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32));
}

.portrait-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy .about-lede {
  max-width: 920px;
  font-size: clamp(2.05rem, 3.6vw, 4.05rem);
  line-height: 1.04;
}

.about-subheading {
  margin-top: 8px;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.about-signoff {
  color: var(--ink);
  font-family: var(--font-architectural);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: center;
}

.contact-section h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.page-contact {
  min-height: 520px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
}

.contact-card span {
  color: var(--muted);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: min(1420px, calc(100% - 28px));
  margin: 0 auto 28px;
  color: var(--muted);
  font-family: var(--font-architectural);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer a {
  min-height: auto;
  padding: 0;
  border: 0;
}

@media (max-width: 1050px) {
  .hero-section,
  .about-section,
  .contact-section,
  .project-detail-hero,
  .project-details-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

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

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

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

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

  .about-section {
    align-items: stretch;
  }

  .portrait-card {
    max-width: 360px;
  }

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

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.9rem;
  }

  main,
  footer {
    width: min(100% - 20px, 1420px);
  }

  .hero-section,
  .section-block,
  .feature-band,
  .about-section,
  .contact-section,
  .project-detail-copy {
    border-radius: 16px;
    padding: 20px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

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

  .render-frame-small {
    margin-bottom: 0;
  }

  .render-frame-large,
  .render-frame-small {
    min-height: auto;
  }

  .project-grid,
  .overview-grid,
  .process-grid,
  .stats-strip,
  .project-meta,
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .project-art,
  .project-image,
  .scene {
    min-height: 235px;
  }

  .project-detail-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .long-title-hero .project-detail-copy h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .project-detail-hero .project-art,
  .project-detail-hero .project-image,
  .photo-gallery .project-art {
    min-height: 240px;
  }

  .photo-gallery .project-art:first-child,
  .photo-gallery img:first-child,
  .photo-gallery .gallery-item:first-child {
    grid-row: auto;
  }

  .project-photo-gallery.captioned-gallery {
    column-count: 1;
  }

  .project-photo-gallery.captioned-gallery.comparison-gallery {
    grid-template-columns: 1fr;
  }

  .render-frame-large .scene,
  .render-frame-small .scene {
    min-height: 260px;
  }

  .frame-caption,
  footer {
    display: grid;
  }
}
