:root {
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6d6a63;
  --line: #d7d2c8;
  --soft: #f1f1ef;
  --accent: #8b5e34;
  --white: #ffffff;
  --header-height: 58px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-height);
  padding: 10px clamp(20px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(112px, 10vw, 160px);
  min-width: 112px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: #2c2b29;
  font-size: 13px;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 7px 0;
}

.nav a::after,
.text-link::after,
.footer a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.text-link:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: #050505;
}

.social-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-nav svg rect,
.social-nav svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-nav .facebook-link {
  width: 20px;
  height: 20px;
  overflow: hidden;
  background: #050505;
  border-radius: 4px;
  color: #ffffff;
}

.social-nav .facebook-link .facebook-icon {
  width: 19px;
  height: 19px;
}

.social-nav .facebook-link .facebook-icon path {
  fill: currentColor;
  stroke: none;
}

.social-nav .whatsapp-icon {
  fill: none;
}

.social-nav .whatsapp-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social-nav .whatsapp-icon .phone-fill {
  fill: currentColor;
  stroke: none;
}

.social-nav a:hover {
  color: var(--accent);
}

.social-nav .facebook-link:hover {
  background: var(--accent);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 0 clamp(20px, 4vw, 58px) 34px;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0 clamp(20px, 4vw, 58px) 34px clamp(20px, 4vw, 58px);
  overflow: hidden;
  background: var(--soft);
}

.hero-media img {
  object-position: center 92%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.52));
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 0 0 70px clamp(0px, 4vw, 64px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: currentColor;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
}

.text-link {
  position: relative;
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: clamp(36px, 7vw, 108px);
  bottom: 64px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: var(--white);
  font-size: 13px;
}

.hero-index span {
  color: rgba(255, 255, 255, 0.68);
}

.hero-index p {
  margin: 0;
}

.intro,
.projects,
.method,
.blog,
.contact {
  padding: 110px clamp(20px, 4vw, 58px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(40px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  color: var(--muted);
}

.intro h2,
.section-heading h2,
.method h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 5.3vw, 78px);
  font-weight: 400;
  line-height: 1;
}

.intro-text {
  max-width: 650px;
  color: #3a3834;
  font-size: clamp(17px, 1.7vw, 22px);
}

.intro-text p {
  margin: 0 0 24px;
}

.architect-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 5.5vw, 76px);
  align-items: start;
  padding: 86px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
}

.architect-image {
  overflow: hidden;
  background: #e7e5df;
}

.architect-image img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  object-position: 50% 18%;
}

.architect-copy {
  max-width: 820px;
  padding-top: clamp(2px, 1vw, 14px);
}

.architect-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.architect-role {
  margin: 20px 0 34px;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
}

.architect-copy p:not(.section-kicker):not(.architect-role) {
  margin: 0 0 22px;
  color: #2f2d29;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stats div {
  min-height: 200px;
  padding: 42px clamp(20px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

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

.stats strong {
  display: block;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 1;
}

.stats span {
  display: block;
  max-width: 160px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-bar button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

.filter-bar button.active,
.filter-bar button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

.project-card {
  min-height: 420px;
  background: var(--soft);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

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

.project-card.wide {
  grid-column: span 2;
}

.project-card a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}

.project-card img {
  transition: transform 500ms ease;
}

.project-card a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62));
  content: "";
}

.project-card div {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: var(--white);
}

.project-card h3 {
  margin: 0 0 7px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.05;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
}

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

.method {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  background: #1d1c1a;
  color: var(--white);
}

.method-image {
  min-height: 640px;
  background: #292724;
}

.method .section-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.method ol {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.method li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.method li span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.method li p {
  max-width: 520px;
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.25;
}

.blog {
  border-bottom: 1px solid var(--line);
}

.blog .section-heading {
  align-items: start;
}

.blog .section-heading h2 {
  max-width: 860px;
}

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

.blog-grid article {
  min-height: 280px;
  border-right: 1px solid var(--line);
}

.blog-grid article:last-child {
  border-right: 0;
}

.blog-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 28px;
  transition: background 180ms ease, color 180ms ease;
}

.blog-grid span,
.blog-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.blog-grid h3 {
  max-width: 360px;
  margin: 44px 0;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.12;
}

.blog-grid a:hover {
  background: var(--ink);
  color: var(--white);
}

.blog-grid a:hover span,
.blog-grid a:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.contact {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact h2 {
  max-width: 920px;
}

.contact-page {
  justify-content: flex-start;
  padding-top: calc(var(--header-height) + 96px);
}

.contact-page h1 {
  max-width: 920px;
}

.contact-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  width: min(760px, 100%);
  margin-top: 54px;
}

.form-grid {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #4b4b4b;
  font-size: clamp(17px, 1.7vw, 20px);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: #fbfbfb;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.contact-form input,
.contact-form select {
  min-height: 34px;
  padding: 5px 9px;
}

.contact-form select {
  max-width: 285px;
}

.contact-form textarea {
  min-height: 210px;
  resize: vertical;
  padding: 9px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 0;
}

.form-message {
  margin-top: 2px;
}

.form-submit {
  min-height: 46px;
  margin-top: 26px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

.form-submit:hover {
  background: transparent;
  color: var(--ink);
}

.contact-response {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px clamp(20px, 6vw, 96px);
  background: var(--paper);
}

.contact-response > div {
  width: min(720px, 100%);
}

.contact-response h1 {
  margin-bottom: 18px;
}

.contact-response p:not(.section-kicker) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-response .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.footer a {
  position: relative;
  padding-bottom: 4px;
}

.project-page {
  background: #e8e8e6;
}

.back-link {
  display: inline-block;
  margin: 34px clamp(20px, 4vw, 58px) 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--ink);
}

.project-detail-intro {
  display: grid;
  gap: 72px;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 20px 86px;
}

.project-detail-copy {
  max-width: 640px;
  margin: 0 auto;
}

.project-detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.project-detail-copy .section-kicker {
  text-align: center;
}

.project-detail-copy p {
  margin: 0 0 18px;
  color: #161616;
  font-size: 16px;
  line-height: 1.55;
}

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

.project-meta div {
  min-width: 0;
}

.project-meta dt {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
}

.project-meta dd {
  margin: 0;
  font-size: 15px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 110px;
}

.project-gallery figure {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.project-gallery-main,
.project-gallery-wide {
  grid-column: 1 / -1;
  min-height: 760px;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.project-gallery figure > a,
.project-gallery-technical figure > a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.project-gallery figure > a img,
.project-gallery-technical figure > a img {
  transition: transform 320ms ease;
}

.project-gallery figure > a:hover img,
.project-gallery-technical figure > a:hover img {
  transform: scale(1.018);
}

.project-gallery-editorial {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
}

.project-gallery-editorial figure {
  position: relative;
}

.project-gallery-pool {
  grid-column: 1 / -1;
  min-height: 820px;
}

.project-gallery-pool img {
  object-position: center center;
}

.project-gallery-pool figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
}

.project-gallery-pool::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.56));
  content: "";
  pointer-events: none;
}

.project-gallery-pool figcaption {
  z-index: 1;
}

.project-gallery-pool span,
.project-gallery-technical figcaption {
  font-size: 12px;
  text-transform: uppercase;
}

.project-gallery-pool strong {
  max-width: 540px;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
}

.project-gallery-editorial .project-gallery-main {
  grid-column: 1 / span 7;
  grid-row: span 2;
  min-height: 860px;
}

.project-gallery-editorial > figure:not(.project-gallery-pool):not(.project-gallery-main) {
  grid-column: span 5;
  min-height: 418px;
}

.project-gallery-technical {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px;
  background: #f4f3ef;
}

.project-gallery-technical figure {
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  min-height: 0;
  background: var(--white);
}

.project-gallery-technical img {
  object-fit: contain;
  padding: 18px;
}

.project-gallery-technical figcaption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
  background: rgba(7, 7, 7, 0.94);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  touch-action: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  min-height: 0;
  margin: 0;
  touch-action: pan-y;
}

.lightbox-frame img {
  align-self: center;
  justify-self: center;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}

.lightbox-frame figcaption {
  align-self: end;
  justify-self: center;
  max-width: 780px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

.lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

.lightbox button:hover {
  background: var(--white);
  color: var(--ink);
}

.lightbox-close {
  grid-column: 3;
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
}

.lightbox-nav {
  align-self: center;
  min-height: 52px;
  padding: 0 16px;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.lightbox-count {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

@media (max-width: 980px) {
  .intro,
  .method {
    grid-template-columns: 1fr;
  }

  .architect-profile {
    grid-template-columns: 1fr;
  }

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

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

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

  .project-gallery,
  .project-gallery-main,
  .project-gallery-wide {
    grid-template-columns: 1fr;
  }

  .project-gallery-editorial,
  .project-gallery-technical {
    grid-template-columns: 1fr;
  }

  .project-gallery-pool,
  .project-gallery-editorial .project-gallery-main,
  .project-gallery-editorial > figure:not(.project-gallery-pool):not(.project-gallery-main),
  .project-gallery-technical {
    grid-column: 1 / -1;
  }

  .project-gallery-pool,
  .project-gallery-editorial .project-gallery-main {
    min-height: 680px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 56px;
  }

  .site-header {
    padding: 10px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .header-actions {
    display: flex;
    gap: 14px;
  }

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

  .nav a {
    padding: 14px 0;
  }

  .social-nav {
    gap: 10px;
    margin-right: 6px;
  }

  .social-nav a {
    width: 21px;
    height: 21px;
  }

  .social-nav .facebook-link {
    width: 19px;
    height: 19px;
  }

  .social-nav svg {
    width: 20px;
    height: 20px;
  }

  .social-nav .facebook-link .facebook-icon {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 92vh;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-media {
    inset: 0 14px 28px;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero-copy {
    padding: 0 10px 70px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-index {
    right: 24px;
    bottom: 46px;
    left: 24px;
    justify-content: space-between;
  }

  .intro,
  .architect-profile,
  .projects,
  .method,
  .blog,
  .contact {
    padding: 76px 20px;
  }

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

  .stats div {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .project-card,
  .project-card.large,
  .project-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 420px;
  }

  .method-image {
    min-height: 420px;
  }

  .method li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

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

  .blog-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-detail-intro {
    gap: 48px;
    padding: 28px 20px 64px;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-gallery {
    gap: 16px;
    width: calc(100% - 28px);
    padding-bottom: 76px;
  }

  .project-gallery figure,
  .project-gallery-main,
  .project-gallery-wide {
    min-height: 460px;
  }

  .project-gallery-pool figcaption {
    display: grid;
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .project-gallery-pool,
  .project-gallery-editorial .project-gallery-main {
    min-height: 540px;
  }

  .project-gallery-technical {
    padding: 14px;
  }

  .project-gallery-technical figure {
    grid-template-rows: minmax(330px, 1fr) auto;
  }

  .lightbox {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .lightbox-close {
    grid-column: 1 / -1;
    grid-row: 1;
    position: relative;
    z-index: 2;
  }

  .lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox-frame img {
    max-height: calc(100vh - 132px);
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    min-height: 58px;
    padding: 0;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.52);
    color: transparent;
    transform: translateY(-50%);
  }

  .lightbox-prev::before,
  .lightbox-next::before {
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
  }

  .lightbox-prev::before {
    content: "<";
  }

  .lightbox-next::before {
    content: ">";
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .lightbox-count {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 96px;
    min-width: 96px;
  }

  .social-nav {
    gap: 8px;
  }
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
