:root {
  --preto-livalto: #131312;
  --marfim: #f4f1e9;
  --dourado-mineral: #b89655;
  --pedra: #d8d2c5;
  --cinza-texto: #66625b;
  --linha: rgba(19, 19, 18, 0.16);
  --linha-clara: rgba(244, 241, 233, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--preto-livalto);
  background:
    linear-gradient(90deg, rgba(184, 150, 85, 0.26) 0 1px, transparent 1px) 7vw 0 / 1px 100% no-repeat,
    var(--marfim);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body::after {
  content: "";
  position: fixed;
  right: -10vw;
  bottom: -8vw;
  z-index: -1;
  width: 52vw;
  height: 72vh;
  border: 1px solid rgba(19, 19, 18, 0.08);
  border-left-color: rgba(184, 150, 85, 0.24);
  transform: skewX(-28deg);
  pointer-events: none;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
  min-height: 88px;
  padding: 20px clamp(24px, 6vw, 82px);
  background: rgba(244, 241, 233, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 72px;
  border-bottom-color: var(--linha);
  background: rgba(244, 241, 233, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 17vw, 220px);
  min-width: 140px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  color: var(--preto-livalto);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--dourado-mineral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav > a:hover::after,
.nav-item:hover > a::after {
  transform: scaleX(1);
}

.subnav {
  position: absolute;
  top: calc(100% + 24px);
  right: 0;
  display: none;
  min-width: 180px;
  padding: 12px 14px;
  z-index: 30;
  background: var(--preto-livalto);
  border: 1px solid rgba(196, 157, 86, 0.42);
  box-shadow: 0 18px 44px rgba(19, 19, 18, 0.2);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.subnav::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.subnav a {
  display: block;
  padding: 10px 8px;
  color: var(--marfim);
  white-space: nowrap;
}

.subnav a::after {
  display: none;
}

.has-subnav:hover .subnav {
  display: block;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linha);
  background: transparent;
  color: var(--preto-livalto);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  padding: 122px clamp(24px, 6vw, 82px) clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  border-bottom: 1px solid var(--linha);
}

.hero-media {
  align-self: stretch;
  min-height: 58vh;
  overflow: hidden;
}

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

.hero-copy {
  padding-bottom: clamp(18px, 5vw, 72px);
}

.section-label,
.section-index {
  margin: 0;
  color: var(--dourado-mineral);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-label {
  display: inline-grid;
  gap: 16px;
}

.section-label::before {
  content: "";
  width: 58px;
  height: 4px;
  background: var(--dourado-mineral);
}

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

h1,
h2 {
  max-width: 980px;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  margin-top: 30px;
  font-size: clamp(3rem, 7.4vw, 7.6rem);
}

h2 {
  font-size: clamp(2.35rem, 5.8vw, 6rem);
}

h3 {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
}

p {
  color: var(--cinza-texto);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

.hero-copy > p:last-of-type {
  max-width: 520px;
  margin-top: 30px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
}

.hero-links a,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid currentColor;
  padding: 12px 18px;
  color: var(--preto-livalto);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-links a:first-child,
.button {
  color: var(--marfim);
  background: var(--preto-livalto);
  border-color: var(--preto-livalto);
}

.section {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 4.5vw, 72px);
  padding: clamp(80px, 11vw, 148px) clamp(24px, 6vw, 82px);
  border-bottom: 1px solid var(--linha);
}

.section-heading {
  display: grid;
  gap: 28px;
}

.text-column {
  display: grid;
  gap: 22px;
  align-self: end;
}

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

.principles article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  padding: clamp(28px, 5vw, 58px) clamp(24px, 4vw, 54px);
  border-right: 1px solid var(--linha);
}

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

.principles span,
.service-list span {
  color: var(--dourado-mineral);
  font-size: clamp(1.75rem, 3.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.planning-showcase {
  position: relative;
  min-height: clamp(420px, 48vw, 680px);
  overflow: hidden;
  background: var(--preto-livalto);
  border-bottom: 1px solid var(--linha);
}

.planning-showcase img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.planning-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 19, 18, 0.68), rgba(19, 19, 18, 0.08) 62%);
}

.planning-showcase div {
  position: absolute;
  right: clamp(24px, 6vw, 82px);
  bottom: clamp(28px, 6vw, 74px);
  left: clamp(24px, 6vw, 82px);
  z-index: 1;
  max-width: 560px;
}

.planning-showcase span {
  display: block;
  margin-bottom: 18px;
  color: var(--dourado-mineral);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.planning-showcase p {
  color: var(--marfim);
  font-size: clamp(1.65rem, 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
}

.service-list {
  grid-column: 2 / -1;
  display: grid;
  border-top: 1px solid var(--linha);
}

.service-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 80px);
  padding: 30px 0;
  border-bottom: 1px solid var(--linha);
}

.service-list p {
  max-width: 640px;
  margin-top: 10px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(34px, 5vw, 64px) clamp(24px, 6vw, 82px);
  color: var(--marfim);
  background: var(--preto-livalto);
}

.feature-image {
  min-height: 62vh;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  display: grid;
  gap: 28px;
}

.feature-copy p:not(.section-label) {
  color: rgba(244, 241, 233, 0.76);
}

.project-link {
  display: grid;
  margin-top: 18px;
  border: 1px solid var(--linha-clara);
  color: var(--marfim);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-link:hover {
  border-color: rgba(184, 150, 85, 0.7);
  transform: translateY(-2px);
}

.project-link-with-media {
  position: relative;
  min-height: 360px;
  isolation: isolate;
}

.project-link-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(244, 241, 233, 0.08);
}

.project-link-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 18, 0.08), rgba(19, 19, 18, 0.86));
}

.project-link-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.project-link:hover .project-link-media img {
  transform: scale(1.045);
}

.project-link-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: end;
  justify-items: start;
  min-height: 360px;
  padding: clamp(24px, 3vw, 36px);
}

.project-link .project-kicker,
.project-link small {
  color: var(--dourado-mineral);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-link strong {
  color: var(--marfim);
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  line-height: 1;
}

.one-leca-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.one-leca-logo-card {
  position: absolute;
  right: clamp(18px, 2.4vw, 30px);
  bottom: clamp(58px, 5vw, 74px);
  width: clamp(180px, 18vw, 260px);
  max-width: 48%;
  aspect-ratio: 716 / 372;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(190, 148, 82, 0.26);
  background: var(--marfim);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  filter: none;
  object-fit: contain;
}

.one-leca-logo-hero {
  margin: 26px 0 18px;
  width: min(100%, 250px);
}

.criteria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--marfim);
  background: var(--preto-livalto);
  border-top: 1px solid var(--linha-clara);
  border-bottom: 1px solid var(--linha-clara);
}

.criteria article {
  min-height: 210px;
  padding: clamp(26px, 4vw, 54px);
  border-right: 1px solid var(--linha-clara);
}

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

.criteria span {
  display: block;
  margin-bottom: 42px;
  color: var(--dourado-mineral);
  font-weight: 700;
  text-transform: uppercase;
}

.criteria p {
  color: rgba(244, 241, 233, 0.72);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.privacy-note {
  color: var(--cinza-texto);
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-note a {
  color: var(--preto-livalto);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(184, 150, 85, 0.65);
  text-underline-offset: 4px;
}

.checkbox-field {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--cinza-texto);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--preto-livalto);
}

.form-status {
  display: block;
  margin: 0;
  padding: 14px 16px;
  color: var(--preto-livalto);
  background: rgba(184, 150, 85, 0.16);
  border: 1px solid rgba(184, 150, 85, 0.45);
  font-size: 0.96rem;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  background: rgba(120, 30, 20, 0.08);
  border-color: rgba(120, 30, 20, 0.34);
}

.message-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.message-page {
  width: min(720px, 100%);
}

.message-card {
  display: grid;
  gap: 24px;
  border-top: 4px solid var(--dourado-mineral);
  padding-top: 32px;
}

.message-card.is-error {
  border-color: #8a2f22;
}

.message-card img {
  width: min(280px, 100%);
  height: auto;
}

.message-card h1 {
  max-width: 620px;
  margin: 0;
  color: var(--preto-livalto);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.96;
}

.message-card p:not(.section-label) {
  max-width: 540px;
  margin: 0;
  color: var(--grafite);
  font-size: 1.05rem;
  line-height: 1.7;
}

label {
  display: grid;
  gap: 9px;
  color: var(--preto-livalto);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--linha);
  border-radius: 0;
  background: transparent;
  color: var(--preto-livalto);
  padding: 15px 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--dourado-mineral);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 34px clamp(24px, 6vw, 82px);
  color: var(--marfim);
  background: var(--preto-livalto);
}

.footer img {
  width: 170px;
  height: auto;
}

.footer p {
  justify-self: end;
  color: rgba(244, 241, 233, 0.68);
  font-size: 0.92rem;
}

.footer-copy {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: flex-end;
}

.footer-copy p {
  justify-self: auto;
}

.footer-copy a {
  color: rgba(244, 241, 233, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-hero {
  padding: 150px clamp(24px, 6vw, 82px) clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--linha);
}

.legal-hero h1 {
  margin-top: 30px;
  max-width: 920px;
}

.legal-hero p:not(.section-label) {
  max-width: 720px;
  margin-top: 28px;
}

.legal-content {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(26px, 5vw, 84px);
  padding: clamp(62px, 8vw, 110px) clamp(24px, 6vw, 82px);
}

.legal-content aside {
  color: var(--dourado-mineral);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.legal-body {
  display: grid;
  gap: 34px;
}

.legal-body section {
  display: grid;
  gap: 12px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--linha);
}

.legal-body section:last-child {
  border-bottom: 0;
}

.legal-body h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
  line-height: 1.08;
}

.legal-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--cinza-texto);
  line-height: 1.72;
}

.legal-body li + li {
  margin-top: 8px;
}

.legal-body a {
  color: var(--preto-livalto);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(184, 150, 85, 0.65);
  text-underline-offset: 4px;
}

.project-page .site-header {
  position: sticky;
}

.project-page main {
  overflow-x: hidden;
}

.project-hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: end;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(28px, 5vw, 64px) clamp(24px, 6vw, 82px);
  border-bottom: 1px solid var(--linha);
}

.project-hero-media {
  align-self: stretch;
  min-height: 62vh;
  overflow: hidden;
}

.project-hero-media img,
.project-split-images img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-copy {
  padding-bottom: clamp(18px, 4vw, 52px);
}

.project-hero-copy > p:last-of-type {
  max-width: 560px;
  margin-top: 28px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--linha);
}

.project-facts article {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  padding: clamp(24px, 3.6vw, 46px);
  border-right: 1px solid var(--linha);
}

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

.project-facts span {
  color: var(--dourado-mineral);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-facts p {
  color: var(--preto-livalto);
  font-weight: 700;
  line-height: 1.28;
}

.project-intro,
.project-split,
.project-gallery,
.project-cta {
  padding: clamp(76px, 10vw, 132px) clamp(24px, 6vw, 82px);
  border-bottom: 1px solid var(--linha);
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
}

.project-intro h2,
.project-split h2,
.project-gallery h2,
.project-cta h2 {
  margin-top: 28px;
}

.project-intro > p {
  max-width: 650px;
}

.project-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
  color: var(--marfim);
  background: var(--preto-livalto);
}

.project-split-copy {
  align-self: center;
}

.project-split-copy p:not(.section-label) {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(244, 241, 233, 0.74);
}

.project-split-images {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
}

.project-split-images img {
  min-height: clamp(360px, 42vw, 620px);
}

.project-split-images img:last-child {
  margin-top: clamp(48px, 8vw, 104px);
}

.project-gallery-heading {
  max-width: 980px;
  margin-bottom: clamp(34px, 6vw, 74px);
}

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

.gallery-grid figure {
  position: relative;
  min-height: clamp(240px, 22vw, 390px);
  margin: 0;
  overflow: hidden;
  background: var(--pedra);
}

.gallery-grid .gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--marfim);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(19, 19, 18, 0.64), transparent);
  pointer-events: none;
}

.gallery-grid figcaption {
  z-index: 1;
}

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

.project-details article {
  min-height: 250px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--linha);
}

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

.project-details span {
  display: block;
  margin-bottom: 48px;
  color: var(--dourado-mineral);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.project-details p {
  margin-top: 14px;
}

.project-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}

.project-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.button-light {
  color: var(--preto-livalto);
  background: transparent;
  border-color: currentColor;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    background: var(--marfim);
    border: 1px solid var(--linha);
  }

  .nav-item {
    position: relative;
    display: block;
  }

  .subnav {
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    display: none;
    min-width: 160px;
    padding: 12px 14px;
    background: var(--preto-livalto);
    border: 1px solid rgba(196, 157, 86, 0.42);
    box-shadow: 0 18px 44px rgba(19, 19, 18, 0.2);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(8px);
  }

  .subnav::before {
    display: none;
  }

  .subnav a {
    padding: 10px 8px;
    color: var(--marfim);
  }

  .site-header.is-open .nav {
    display: grid;
    gap: 16px;
  }

  .hero,
  .feature,
  .project-hero,
  .project-intro,
  .project-split,
  .project-cta {
    grid-template-columns: 1fr;
  }

  .project-hero {
    min-height: auto;
    align-items: start;
  }

  .project-hero-copy {
    padding-bottom: 0;
  }

  .project-split {
    gap: 32px;
  }

  .project-split-copy p:not(.section-label) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-media,
  .feature-image,
  .project-hero-media {
    min-height: 46vh;
  }

  .planning-showcase {
    min-height: 460px;
  }

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

  .service-list {
    grid-column: auto;
  }

  .principles,
  .criteria,
  .project-facts,
  .project-details {
    grid-template-columns: 1fr;
  }

  .principles article,
  .criteria article,
  .project-facts article,
  .project-details article {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--linha);
  }

  .project-split-images,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-split-images img:last-child {
    margin-top: 0;
  }

  .gallery-grid .gallery-large {
    grid-column: auto;
    grid-row: auto;
  }

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

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

}

@media (max-width: 560px) {
  body {
    background: var(--marfim);
  }

  .site-header {
    min-height: 74px;
    padding-inline: 18px;
  }

  .brand {
    width: 152px;
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 44px;
  }

  .hero-media {
    min-height: 340px;
  }

  .planning-showcase {
    min-height: 360px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .section,
  .feature,
  .project-hero,
  .project-intro,
  .project-split,
  .project-gallery,
  .project-cta {
    padding-inline: 18px;
  }

  .project-hero {
    gap: 30px;
    padding-top: 28px;
    padding-bottom: 54px;
  }

  .project-hero-media {
    min-height: 300px;
  }

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

  .one-leca-logo-hero {
    width: min(78vw, 260px);
    margin: 8px 0 4px;
  }

  .project-hero-copy > p:last-of-type {
    max-width: 100%;
    margin-top: 0;
  }

  .project-intro,
  .project-split,
  .project-gallery,
  .project-cta {
    padding-block: 58px;
  }

  .project-split-copy p:not(.section-label) {
    margin-top: 18px;
  }

  .project-split-images {
    gap: 14px;
  }

  .project-split-images img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .gallery-grid figure,
  .gallery-grid .gallery-large {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

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

  .footer p,
  .footer-copy {
    justify-self: start;
    justify-content: flex-start;
  }
}
