:root {
  --charcoal: #0f0f0f;
  --charcoal-soft: #151515;
  --ink: #1d1d1d;
  --paper: #f5f3ee;
  --paper-soft: #ebe8df;
  --muted: #a9a6a0;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(15, 15, 15, 0.14);
  --gold: #c9a96e;
  --gold-soft: #d4b88c;
  --max: 1180px;
  --side: 28px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--charcoal);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Satoshi", "Neue Montreal", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--paper);
  background: var(--charcoal);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open,
body.intro-running {
  overflow: hidden;
}

body.page-leaving main,
body.page-leaving .site-header,
body.page-leaving .site-footer {
  opacity: 0.72;
  transform: translateY(-10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--charcoal);
  background: var(--gold-soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--side);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 320ms ease, border-color 320ms ease, height 320ms ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  height: 72px;
  background: rgba(15, 15, 15, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 138px;
  min-width: 138px;
  height: 54px;
  line-height: 1;
  color: var(--paper);
}

.brand-logo {
  width: auto;
  max-width: 138px;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: rgba(245, 243, 238, 0.82);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  transition: color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 86px;
  height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
}

.language-switch button {
  width: 38px;
  height: 28px;
  border: 0;
  color: rgba(245, 243, 238, 0.72);
  background: transparent;
  font-size: 0.76rem;
}

.language-switch button.is-active {
  color: var(--charcoal);
  background: var(--gold-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(15, 15, 15, 0.22);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--paper);
  transition: transform 220ms ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.hero::after,
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.84) 0%, rgba(15, 15, 15, 0.48) 42%, rgba(15, 15, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(15, 15, 15, 0.72) 0%, rgba(15, 15, 15, 0) 34%);
}

.hero-content,
.project-hero-content {
  width: min(var(--max), calc(100% - var(--side) * 2));
  margin: 0 auto;
  padding-top: 88px;
}

.hero-content {
  max-width: 980px;
}

.hero-logo {
  width: min(360px, 72vw);
  height: auto;
  margin: 0 0 28px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 6.25rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(245, 243, 238, 0.86);
  font-size: 1.12rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 22px;
  border: 1px solid rgba(212, 184, 140, 0.72);
  color: var(--paper);
  background: rgba(15, 15, 15, 0.34);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  color: var(--charcoal);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(245, 243, 238, 0.42);
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: var(--gold-soft);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(14px);
    opacity: 1;
  }
}

.section {
  padding: 118px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - var(--side) * 2));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.about-section {
  background: var(--charcoal);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.42fr;
  gap: 56px;
}

.section-kicker {
  color: var(--gold-soft);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.92rem;
}

.about-copy h2,
.section-head h2,
.contact-copy h2,
.project-story h2,
.privacy-page h1 {
  margin-bottom: 24px;
  font-size: 3.25rem;
}

.about-copy p,
.project-story p,
.privacy-page p {
  max-width: 760px;
  color: rgba(245, 243, 238, 0.72);
}

.founder-portrait {
  position: relative;
  min-height: 520px;
  margin: 12px 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 184, 140, 0.42);
  background: #0b0b0b;
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 52% 42%;
  filter: saturate(0.92) contrast(1.02);
}

.founder-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.72), rgba(7, 7, 7, 0.04) 48%);
}

.founder-portrait figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.founder-portrait strong {
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.52rem;
  line-height: 1.08;
}

.founder-portrait span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat-row div {
  min-height: 126px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--paper);
}

.stat-row span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.light-section {
  color: var(--ink);
  background: var(--paper);
}

.light-section .eyebrow,
.light-section .service-card span {
  color: #9b7a43;
}

.section-head {
  max-width: 790px;
  margin-bottom: 54px;
}

.section-head h2 {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service-card {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.26);
}

.service-card span {
  display: block;
  margin-bottom: 54px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card h3 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.projects-section {
  background: var(--charcoal-soft);
}

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

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #090909;
}

.project-card.large {
  grid-row: span 2;
  min-height: 760px;
}

.project-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform 700ms ease, filter 700ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.42) 38%, rgba(5, 5, 5, 0.08) 100%);
}

.project-card-info {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.project-card-info span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.project-card-info h3 {
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.project-card-info p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(245, 243, 238, 0.74);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(0.92);
}

.contact-section {
  padding-bottom: 0;
  color: var(--ink);
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 70px;
  align-items: start;
  padding-bottom: 90px;
}

.contact-copy .eyebrow {
  color: #9b7a43;
}

.contact-copy h2 {
  margin-bottom: 32px;
}

.contact-list {
  display: grid;
  gap: 12px;
  color: rgba(29, 29, 29, 0.72);
}

.contact-list a:hover,
.social-links a:hover {
  color: #806135;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  transition: color 220ms ease, border-color 220ms ease;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.28);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(29, 29, 29, 0.72);
  font-size: 0.84rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(15, 15, 15, 0.26);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  padding: 10px 0 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9b7a43;
}

.form-button {
  margin-top: 4px;
  color: var(--charcoal);
  background: transparent;
  border-color: rgba(15, 15, 15, 0.34);
}

.form-button:hover,
.form-button:focus-visible {
  color: var(--charcoal);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.map-wrap {
  width: 100%;
  height: 420px;
  border-top: 1px solid var(--line-dark);
  background: #ded8cd;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.88);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  padding: 34px var(--side);
  color: rgba(245, 243, 238, 0.68);
  background: #090909;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-social {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: rgba(245, 243, 238, 0.76);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--charcoal);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: var(--side);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.welcome-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.welcome-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 48px;
  color: var(--paper);
  background: rgba(17, 17, 17, 0.94);
  border: 1px solid rgba(212, 184, 140, 0.34);
}

.welcome-panel h2 {
  margin-bottom: 18px;
  font-size: 3rem;
}

.welcome-panel p:not(.eyebrow) {
  color: rgba(245, 243, 238, 0.72);
}

.modal-logo {
  width: min(240px, 70vw);
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

.modal-close span {
  position: absolute;
  left: 12px;
  top: 20px;
  width: 16px;
  height: 1px;
  background: var(--paper);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-action {
  margin-top: 14px;
}

.project-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.project-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.project-hero-content {
  padding-bottom: 74px;
}

.project-hero h1 {
  max-width: 960px;
  margin-bottom: 0;
  font-size: 5.1rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.back-link::before {
  content: "";
  width: 28px;
  height: 1px;
  margin: 13px 12px 0 0;
  background: currentColor;
}

.project-detail-section {
  background: var(--charcoal);
}

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

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

.project-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.project-facts dd {
  margin: 0;
  color: var(--paper);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 84px;
}

.project-gallery figure {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #0b0b0b;
}

.project-gallery figure.wide {
  grid-column: 1 / -1;
  min-height: 620px;
}

.project-gallery img {
  width: 100%;
  height: 100%;
}

.privacy-page {
  padding-top: var(--header-height);
  min-height: 78svh;
  background: var(--charcoal);
}

.privacy-page h1 {
  margin-bottom: 28px;
}

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

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

.intro-loader,
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.intro-loader {
  display: grid;
  place-items: center;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(11, 11, 11, 0.96)),
    var(--charcoal);
  opacity: 1;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.intro-loader.is-exiting {
  opacity: 0;
  visibility: hidden;
}

.intro-loader::before,
.intro-loader::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 74px;
  background: linear-gradient(180deg, transparent, rgba(212, 184, 140, 0.72), transparent);
  transform: scaleY(0);
  animation: introLine 980ms ease forwards;
}

.intro-loader::before {
  top: 12%;
  transform-origin: top;
}

.intro-loader::after {
  bottom: 12%;
  transform-origin: bottom;
}

.intro-inner {
  display: grid;
  place-items: center;
  width: min(480px, calc(100% - 46px));
  transform: translateY(8px);
  animation: introLift 1200ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.intro-logo {
  width: min(390px, 82vw);
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94);
  filter: blur(6px) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  animation: introLogo 1050ms cubic-bezier(0.19, 1, 0.22, 1) 140ms forwards;
}

.intro-rule {
  width: 0;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  animation: introRule 880ms ease 440ms forwards;
}

.page-transition {
  z-index: 79;
  display: grid;
  place-items: center;
  background: var(--charcoal);
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition::before {
  content: "";
  width: min(240px, 58vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  transform: scaleX(0);
  transition: transform 420ms ease 160ms;
}

.page-transition.is-active {
  transform: translateY(0);
}

.page-transition.is-active::before {
  transform: scaleX(1);
}

@keyframes introLogo {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  }
}

@keyframes introRule {
  to {
    width: min(220px, 48vw);
  }
}

@keyframes introLine {
  to {
    transform: scaleY(1);
  }
}

@keyframes introLift {
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .intro-loader {
    display: none;
  }
}

@media (max-width: 1060px) {
  :root {
    --side: 22px;
  }

  .hero h1 {
    font-size: 4.65rem;
  }

  .about-grid,
  .contact-grid,
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .founder-portrait {
    min-height: 620px;
    max-width: 520px;
  }

  .stat-row {
    grid-column: auto;
  }

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

  .project-card.large {
    grid-row: auto;
    min-height: 560px;
  }

  .project-hero h1 {
    font-size: 4.1rem;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
    --side: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 20px var(--side) 26px;
    background: rgba(12, 12, 12, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 260ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .language-switch {
    margin-top: 18px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero::after,
  .project-hero::after {
    background:
      linear-gradient(90deg, rgba(15, 15, 15, 0.82), rgba(15, 15, 15, 0.34)),
      linear-gradient(0deg, rgba(15, 15, 15, 0.78), rgba(15, 15, 15, 0.02) 56%);
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 82px 0;
  }

  .about-copy h2,
  .section-head h2,
  .contact-copy h2,
  .project-story h2,
  .privacy-page h1 {
    font-size: 2.25rem;
  }

  .stat-row,
  .service-grid,
  .project-grid,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    min-height: 520px;
    max-width: none;
  }

  .stat-row {
    border-left: 0;
  }

  .stat-row div {
    border-left: 1px solid var(--line);
  }

  .project-card,
  .project-card.large {
    min-height: 500px;
  }

  .project-card-info {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .project-card-info h3 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .project-hero {
    min-height: 72svh;
  }

  .project-hero h1 {
    font-size: 3rem;
  }

  .project-gallery figure,
  .project-gallery figure.wide {
    grid-column: auto;
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 112px;
    min-width: 112px;
    height: 46px;
  }

  .brand-logo {
    max-width: 112px;
  }

  .hero-logo {
    width: min(286px, 78vw);
  }

  .hero-content,
  .project-hero-content {
    padding-top: 78px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .project-hero h1 {
    font-size: 2.45rem;
  }

  .primary-link {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .welcome-panel {
    padding: 38px 24px 28px;
  }

  .welcome-panel h2 {
    font-size: 2.2rem;
  }

  .project-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .founder-portrait {
    min-height: 430px;
  }

  .map-wrap {
    height: 340px;
  }
}
