:root {
  --ebony: #3d3533;
  --ebony-deep: #2d2826;
  --ivory: #f1e8d5;
  --ivory-light: #f8f4ea;
  --gold: #cc9955;
  --gold-light: #ddb77e;
  --gold-vivid: #e0a44f;
  --terra: #82613f;
  --graphite: #353535;
  --white: #ffffff;
  --surface-deep: #241f1e;
  --surface-low: #2d2826;
  --surface-mid: #352e2c;
  --surface-high: #3d3533;
  --text-main: #f4ecde;
  --text-muted: rgba(241, 232, 213, 0.7);
  --line-light: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 70px rgba(11, 8, 7, 0.28);
  --page: min(1180px, calc(100vw - 64px));
  --header-height: 94px;
  --header-scrolled-height: 72px;
  --anchor-offset: 72px;
  --section-title-size: clamp(34px, 3.7vw, 50px);
  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--anchor-offset);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--surface-deep);
  color: var(--text-muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(92px, 10vw, 156px) 0;
  isolation: isolate;
}

.section > .page-shell {
  position: relative;
  z-index: 1;
}

.section-ivory {
  background: var(--surface-low);
  color: var(--text-muted);
}

.section-white {
  background: var(--surface-low);
  color: var(--text-muted);
}

.section-ebony {
  background: var(--surface-low);
  color: var(--white);
}

/* Variações sutis de fundo por seção.
   Mantém a base institucional escura, mas evita que todas as abas pareçam o
   mesmo bloco cinza/preto. */
#quem-somos {
  background:
    radial-gradient(circle at 16% 34%, rgba(204, 153, 85, 0.08), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(204, 153, 85, 0.11), transparent 30%),
    linear-gradient(135deg, #332d2b 0%, #2b2624 48%, #221e1d 100%);
}

#historia {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(130, 97, 63, 0.2), transparent 28%),
    linear-gradient(135deg, #2a2524 0%, #342d2a 52%, #241f1e 100%);
}

#historia::before {
  position: absolute;
  inset: -8% -6% -8% 38%;
  z-index: 0;
  background: url("assets/portfolio/invest-nova-construcao.png") center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.96) brightness(0.7);
  opacity: 0.2;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse at 62% 50%,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse at 62% 50%,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 80%
  );
  pointer-events: none;
}

#tese {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(224, 164, 79, 0.11), transparent 30%),
    linear-gradient(180deg, #3d3533 0%, #342d2b 42%, #2a2524 100%);
}

#tese::before {
  position: absolute;
  inset: -10% -10% -10% 34%;
  z-index: 0;
  background: url("assets/portfolio/lisboa-frente-novo.png") center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.95) brightness(0.7);
  opacity: 0.23;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse at 62% 48%,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.46) 48%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse at 62% 48%,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.46) 48%,
    transparent 78%
  );
  pointer-events: none;
}

#como-investimos {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(224, 164, 79, 0.14), transparent 30%),
    radial-gradient(circle at 82% 70%, rgba(130, 97, 63, 0.18), transparent 34%),
    linear-gradient(135deg, #302925 0%, #241f1e 50%, #342d2a 100%);
}

#como-investimos::before {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: url("assets/images/curva-madeira.jpg") center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(1.02) brightness(0.72);
  opacity: 0.3;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 55% 48%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 48%, transparent 82%);
  mask-image: radial-gradient(ellipse at 55% 48%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 48%, transparent 82%);
  pointer-events: none;
}

#como-investimos::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(36, 31, 30, 0.88) 0%, rgba(36, 31, 30, 0.28) 48%, rgba(36, 31, 30, 0.78) 100%),
    linear-gradient(180deg, rgba(224, 164, 79, 0.04), transparent 52%);
  content: "";
  opacity: 0.82;
  pointer-events: none;
}

#projetos {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(130, 97, 63, 0.22), transparent 30%),
    linear-gradient(135deg, #292321 0%, #241f1e 42%, #302926 100%);
}

#projetos::before {
  position: absolute;
  inset: -12% -8%;
  z-index: 0;
  background: url("assets/portfolio/arizona.png") center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.9) brightness(0.58);
  opacity: 0.11;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse at 22% 42%,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.34) 44%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse at 22% 42%,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.34) 44%,
    transparent 76%
  );
  pointer-events: none;
}

#projetos::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(36, 31, 30, 0) 0%, rgba(36, 31, 30, 0.26) 100%),
    radial-gradient(circle at 78% 18%, rgba(224, 164, 79, 0.06), transparent 28%);
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

#lideranca {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(204, 153, 85, 0.14), transparent 30%),
    linear-gradient(135deg, #2f2927 0%, #241f1e 45%, #352e2b 100%);
}

#lideranca::before {
  position: absolute;
  inset: -8% -6%;
  z-index: 0;
  background: url("assets/images/curva-madeira.jpg") center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.95) brightness(0.62);
  opacity: 0.12;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse at 56% 45%,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 42%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse at 56% 45%,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 42%,
    transparent 76%
  );
  pointer-events: none;
}

#lideranca::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 164, 79, 0.08), transparent 28%),
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 34px,
      rgba(255, 255, 255, 0.024) 34px,
      rgba(255, 255, 255, 0.024) 35px
    );
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-gold {
  color: var(--gold);
}

.section-heading {
  position: relative;
}

.section-heading::before {
  position: absolute;
  top: 3px;
  left: -24px;
  width: 2px;
  height: 68px;
  background: var(--gold);
  content: "";
}

.section-heading h2 {
  margin: 0;
  color: var(--text-main);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading h2 span {
  color: var(--gold-vivid);
}

.section-heading-wide {
  max-width: 850px;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    transform 220ms var(--ease),
    background-color 220ms var(--ease),
    color 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--ebony-deep);
}

.button-gold:hover {
  background: var(--gold-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
}

.text-link .ui-arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--gold);
  transition: transform 220ms var(--ease);
}

.text-link:hover .ui-arrow {
  transform: translate(3px, -3px);
}

.text-link-light {
  color: var(--white);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition:
    background-color 300ms var(--ease),
    height 300ms var(--ease),
    width 300ms var(--ease),
    top 300ms var(--ease),
    left 300ms var(--ease),
    padding 300ms var(--ease),
    border-color 300ms var(--ease),
    border-radius 300ms var(--ease),
    box-shadow 300ms var(--ease),
    transform 300ms var(--ease);
}

.site-header.is-scrolled {
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-scrolled-height);
  border: 0;
  border-bottom: 1px solid rgba(224, 164, 79, 0.34);
  border-radius: 0;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(36, 31, 30, 0.98), rgba(28, 24, 23, 0.98)),
    var(--surface-deep);
  box-shadow: 0 12px 38px rgba(12, 9, 8, 0.22);
  color: var(--ivory-light);
  transform: none;
  backdrop-filter: blur(18px) saturate(125%);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  width: 155px;
  align-items: center;
  transition:
    opacity 250ms var(--ease),
    visibility 250ms var(--ease);
}

.site-header:not(.is-scrolled) .brand {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.brand-logo {
  width: 100%;
  max-height: 44px;
  transition: opacity 250ms var(--ease);
}

.brand-logo-scrolled {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-default {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-scrolled {
  opacity: 1;
}

body.menu-open .site-header {
  border-color: transparent;
  background: transparent;
  color: var(--white);
  backdrop-filter: none;
}

body.menu-open .site-header .brand img {
  filter: none;
}

body.menu-open .site-header .brand {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.035em;
  transition: color 200ms var(--ease);
}

.site-header.is-scrolled .main-nav a:not(.nav-contact):hover {
  color: var(--gold-light);
}

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

.main-nav a:not(.nav-contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 9px 18px;
}

.site-header.is-scrolled .nav-contact {
  border-color: rgba(204, 153, 85, 0.72);
  background: rgba(204, 153, 85, 0.08);
  color: var(--ivory-light);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.lang-switch::after {
  display: none;
}

.lang-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url("assets/images/hero-madeira-clean.jpg") center right / cover no-repeat,
    var(--ebony);
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(32, 28, 27, 0.92) 0%,
      rgba(38, 31, 29, 0.73) 43%,
      rgba(38, 31, 29, 0.1) 78%
    ),
    linear-gradient(0deg, rgba(30, 26, 24, 0.4), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 54px;
}

.hero-logo {
  width: clamp(190px, 16vw, 250px);
  margin-bottom: clamp(38px, 4vw, 58px);
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--gold-vivid);
  font-size: clamp(48px, 4.6vw, 68px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 span {
  color: inherit;
}

.hero-intro {
  max-width: 800px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  text-align: left;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.page-explore {
  position: fixed;
  z-index: 40;
  right: 44px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    color 180ms var(--ease),
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.page-explore:hover {
  color: var(--gold-vivid);
  transform: translateY(-2px);
}

.page-explore i {
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.page-explore i::after {
  display: block;
  width: 100%;
  height: 50%;
  background: var(--gold);
  content: "";
  animation: scroll-line 2.2s infinite var(--ease);
}

@keyframes scroll-line {
  0% {
    transform: translateY(-110%);
  }
  100% {
    transform: translateY(210%);
  }
}

/* Quem somos */

.who-section {
  position: relative;
  min-height: calc(100svh - var(--header-scrolled-height));
  display: flex;
  align-items: center;
  padding: clamp(70px, 8vh, 104px) 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(61, 53, 51, 0.98), rgba(45, 40, 38, 0.96) 46%, rgba(36, 31, 30, 0.98)),
    var(--surface-low);
}

.who-section::before {
  content: "";
  position: absolute;
  inset: -8% -6% -8% 18%;
  z-index: 0;
  background: url("assets/portfolio/california-render.png") center / cover no-repeat;
  filter: grayscale(1) contrast(0.92) brightness(0.62);
  opacity: 0.12;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse at 68% 52%,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.36) 42%,
    transparent 74%
  );
  mask-image: radial-gradient(
    ellipse at 68% 52%,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.36) 42%,
    transparent 74%
  );
  pointer-events: none;
}

.who-section::after {
  display: none;
}

.who-section .page-shell {
  position: relative;
  z-index: 1;
}

.who-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: clamp(34px, 4vw, 52px);
}

.who-title {
  margin: 0;
  color: var(--gold-vivid);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.who-intro {
  display: grid;
  gap: 0;
}

.who-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1180px;
}

.who-copy p {
  margin: 0;
  color: var(--white);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
  text-align: left;
}

.who-copy strong {
  color: var(--gold-vivid);
  font-weight: 400;
}

.who-copy .who-highlight {
  max-width: none;
  color: var(--white);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}

.who-practice {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(224, 164, 79, 0.3);
  background: linear-gradient(135deg, rgba(31, 27, 26, 0.98), rgba(24, 21, 20, 0.98));
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.who-practice span {
  color: var(--gold-vivid);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.who-practice p {
  max-width: 880px;
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 300;
  line-height: 1.45;
}

.who-audience-label {
  margin-top: clamp(34px, 4vw, 52px);
  color: var(--gold-vivid);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.who-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  align-items: start;
  margin-top: 18px;
  border: 0;
}

.who-card {
  position: relative;
  align-self: start;
  min-height: 112px;
  border: 1px solid rgba(224, 164, 79, 0.28);
  padding: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 153, 85, 0.09), transparent 38%),
    linear-gradient(135deg, rgba(31, 27, 26, 0.98), rgba(24, 21, 20, 0.98));
  transition:
    border-color 220ms var(--ease),
    background-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.who-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  height: 112px;
  padding: clamp(28px, 3vw, 42px);
  cursor: pointer;
  list-style: none;
}

.who-card summary::-webkit-details-marker {
  display: none;
}

.who-card summary i {
  width: 24px;
  color: rgba(241, 232, 213, 0.58);
  font-size: 0;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  transition: color 180ms var(--ease);
}

.who-card summary i::before {
  content: "+";
  font-size: clamp(21px, 2vw, 28px);
}

.who-card[open] summary i {
  color: rgba(241, 232, 213, 0.62);
}

.who-card[open] summary i::before {
  content: "−";
}

.who-card:last-child {
  border-right: 1px solid rgba(224, 164, 79, 0.28);
}

.who-card:hover {
  border-color: rgba(224, 164, 79, 0.46);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
  transform: translateY(-3px);
}

.who-card h3 {
  min-height: 0;
  margin: 0;
  color: var(--gold-vivid);
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 300;
  line-height: 1.2;
}

.who-card h3 small {
  display: block;
  margin-top: 8px;
  color: rgba(241, 232, 213, 0.82);
  font-size: clamp(11px, 0.78vw, 13px);
  line-height: 1.35;
  white-space: nowrap;
}

.who-card p {
  max-width: 520px;
  margin: 0;
  padding: 0 clamp(28px, 3vw, 42px) clamp(28px, 3vw, 42px);
  color: var(--white);
  font-size: 14.5px;
  line-height: 1.7;
  text-align: left;
}

.who-card[open] {
  height: 230px;
  min-height: 230px;
}

.who-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  grid-auto-rows: 1fr;
  border: 1px solid rgba(224, 164, 79, 0.34);
  background: rgba(36, 31, 30, 0.58);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.16);
}

.who-principles .who-card {
  display: grid;
  height: 100%;
  min-height: 232px;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: clamp(24px, 2.6vw, 32px);
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}

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

.who-principles .who-card:hover {
  border-color: var(--line-dark);
  background: rgba(224, 164, 79, 0.08);
  box-shadow: none;
  transform: none;
}

.who-principles .who-card h3 {
  position: relative;
  color: var(--gold-vivid);
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.18;
}

.who-principles .who-card h3::before {
  display: none;
}

.who-principles .who-card p {
  max-width: none;
  margin-top: clamp(22px, 2.2vw, 30px);
  padding: 0;
  color: var(--white);
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.72;
  text-align: left;
}

/* Nossa história */

.history-section {
  display: flex;
  min-height: calc(100svh - var(--header-scrolled-height));
  align-items: center;
  padding: clamp(36px, 4.5vh, 58px) 0;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(54px, 6.5vw, 96px);
}

.history-portrait {
  position: relative;
  margin: 0;
}

.history-portrait::after {
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: 58px;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(204, 153, 85, 0.5);
  content: "";
}

.history-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.history-portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px 0;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-portrait figcaption strong {
  color: var(--white);
  font-weight: 400;
}

.history-copy {
  max-width: 860px;
}

.history-mobile-title {
  display: none;
}

.history-copy h2 {
  margin: 0 0 clamp(24px, 3vw, 34px);
  color: var(--gold-vivid);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.history-text {
  columns: 2;
  column-gap: clamp(34px, 4vw, 54px);
  column-rule: 1px solid var(--line-light);
}

.history-text p {
  margin: 0 0 15px;
  color: var(--white);
  font-size: clamp(13.2px, 0.92vw, 14.2px);
  line-height: 1.62;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}


/* Tese */

.thesis-section {
  padding-top: clamp(82px, 8vw, 118px);
  overflow: clip;
  background: var(--surface-low);
}

.thesis-intro {
  padding-bottom: clamp(76px, 9vw, 126px);
}

.thesis-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 46px);
}

.thesis-intro h2 {
  max-width: 1000px;
  margin: 0;
  color: var(--gold-vivid);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.thesis-intro-grid > div {
  display: grid;
  gap: 18px;
  max-width: 1140px;
  padding-bottom: 0;
}

.thesis-intro-grid > div p {
  margin: 0;
  color: var(--white);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
  text-align: left;
}

.thesis-highlight {
  color: var(--gold-vivid);
  font-weight: 500;
}

.thesis-index-label {
  margin: clamp(34px, 4vw, 52px) 0 14px;
  color: var(--gold-vivid);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.thesis-index-label .ui-arrow-right {
  display: inline-block;
  width: 18px;
  height: 10px;
  margin-left: 8px;
  transition: transform 180ms var(--ease);
}

.thesis-index-label:hover .ui-arrow-right {
  transform: translateX(4px);
}

.thesis-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  border: 1px solid rgba(224, 164, 79, 0.34);
  background: rgba(36, 31, 30, 0.58);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.16);
}

.thesis-index a {
  position: relative;
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 0;
  border-right: 1px solid var(--line-dark);
  padding: 20px 42px 20px 16px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.42;
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease);
}

.thesis-index a::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 13px;
  height: 13px;
  border-top: 1px solid var(--gold-vivid);
  border-right: 1px solid var(--gold-vivid);
  background: linear-gradient(135deg, transparent 46%, var(--gold-vivid) 47%, var(--gold-vivid) 53%, transparent 54%);
  content: "";
  transition: transform 220ms var(--ease);
}

.thesis-index a:hover::after {
  transform: translate(3px, -3px);
}

.thesis-index a em {
  min-width: 0;
  font-style: normal;
}

.thesis-index a:last-child {
  border-right: 0;
}

.thesis-index a:hover {
  background: rgba(224, 164, 79, 0.08);
  color: var(--white);
}

.thesis-index span {
  color: var(--gold-vivid);
  font-size: clamp(13px, 1vw, 14.5px);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.thesis-template {
  display: none;
}

.thesis-chapter {
  scroll-margin-top: var(--anchor-offset);
  border-top: 1px solid var(--line-dark);
  padding: clamp(40px, 4vw, 56px) 0 clamp(68px, 7vw, 96px);
}

.thesis-chapter-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.2fr) minmax(270px, 0.65fr);
  align-items: start;
  gap: clamp(24px, 4vw, 58px);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.thesis-chapter-heading > span {
  padding-top: 8px;
  color: var(--gold-vivid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.thesis-chapter-heading .eyebrow {
  margin-bottom: 16px;
}

.thesis-chapter-heading h3 {
  max-width: 700px;
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 300;
  letter-spacing: -0.047em;
  line-height: 1.07;
}

.thesis-chapter-heading > p {
  margin: 43px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.72;
}

.thesis-chapter-heading-simple {
  grid-template-columns: 1fr;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.thesis-chapter-heading-simple > div {
  max-width: 850px;
}

.thesis-chapter-heading-simple h3 {
  color: var(--gold-vivid);
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.12;
}

.thesis-chapter-heading-simple p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.thesis-chapter-heading-numbered {
  grid-template-columns: minmax(0, 1fr);
}

.thesis-chapter-heading-numbered > div {
  max-width: none;
}

.thesis-chapter-heading-numbered h3 {
  max-width: none;
  color: var(--gold-vivid);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.12;
  white-space: normal;
}

.thesis-chapter-heading-numbered > div p {
  max-width: none;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.68;
  text-align: justify;
  text-justify: inter-word;
}

.thesis-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  align-items: stretch;
  gap: 24px;
}

.thesis-purchasing-power-grid {
  display: block;
}

.thesis-graph-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(34px, 5vw, 58px);
  min-width: 0;
}

.thesis-graph-stack .thesis-figure {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.thesis-graph-stack .thesis-figure-heading {
  min-height: 198px;
}

.thesis-graph-stack .thesis-figure-heading h4 {
  font-size: clamp(17px, 1.4vw, 21px);
}

.graph-image-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
}

.graph-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 2.18 / 1;
  object-fit: contain;
}

.graph-image-button span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(35, 30, 29, 0.82);
  color: var(--ivory-light);
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.graph-image-button:hover span,
.graph-image-button:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.thesis-graph-stack .thesis-source-caption {
  margin-top: auto;
}

.thesis-figure-beige {
  background: var(--white);
}

.thesis-figure-heading {
  border-bottom: 1px solid rgba(224, 164, 79, 0.28);
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--surface-deep);
}

.thesis-figure-heading h4 {
  max-width: 980px;
  margin: 0;
  color: var(--gold-vivid);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.thesis-figure-heading p {
  max-width: 820px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.thesis-figure-beige > img {
  mix-blend-mode: multiply;
}

.thesis-figure-beige figcaption a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(221, 183, 126, 0.42);
  text-underline-offset: 3px;
}

.thesis-source-caption {
  padding-block: 16px !important;
}

.thesis-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.thesis-figure img {
  width: 100%;
  height: auto;
}

.thesis-figure-dark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #060606;
}

.thesis-figure-light {
  background: #f7f5ef;
}

.thesis-figure figcaption {
  border-top: 1px solid var(--line-light);
  padding: 22px 26px 24px;
  background: var(--surface-deep);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.thesis-figure figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.thesis-figure figcaption small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
}

.property-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.property-evidence-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--surface-deep);
  transition:
    border-color 240ms var(--ease),
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.property-evidence-card:hover {
  border-color: rgba(204, 153, 85, 0.55);
  box-shadow: 0 24px 64px rgba(12, 9, 8, 0.24);
  transform: translateY(-4px);
}

.property-card-head {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.property-card-head > span {
  color: var(--gold-vivid);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-change {
  color: var(--gold-vivid);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1;
}

.property-change-negative {
  color: rgba(255, 255, 255, 0.72);
}

.property-evidence-card img {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
  object-position: center;
}

.property-evidence-card p {
  margin: 0;
  padding: 17px 22px 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.thesis-source-note {
  max-width: 880px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  line-height: 1.55;
}

.multifamily-cycle {
  margin-top: 24px;
  border: 1px solid var(--line-light);
  padding: clamp(30px, 4vw, 48px);
  background: var(--surface-deep);
}

.multifamily-cycle ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.multifamily-cycle ol::before {
  position: absolute;
  top: 17px;
  right: 17px;
  left: 17px;
  height: 1px;
  background: rgba(224, 164, 79, 0.52);
  content: "";
}

.multifamily-cycle li {
  position: relative;
  min-height: 92px;
  padding: 0 22px 0 0;
}

.multifamily-cycle li::after {
  display: none;
}

.multifamily-cycle li span {
  position: relative;
  z-index: 1;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--gold-vivid);
  border-radius: 50%;
  background: var(--surface-deep);
  color: var(--gold-vivid);
  font-size: 10px;
}

.multifamily-cycle li strong {
  display: block;
  max-width: 190px;
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.country-premium {
  margin-top: 0;
}

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

.country-premium-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(224, 164, 79, 0.32);
  padding: clamp(26px, 3vw, 40px);
  background:
    radial-gradient(circle at 100% 0, rgba(224, 164, 79, 0.13), transparent 37%),
    var(--surface-deep);
  transition:
    border-color 240ms var(--ease),
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.country-premium-card:hover {
  border-color: rgba(204, 153, 85, 0.55);
  box-shadow: 0 24px 64px rgba(12, 9, 8, 0.24);
  transform: translateY(-4px);
}

.country-premium-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  margin-bottom: 22px;
}

.country-premium-card-head span {
  color: var(--gold-vivid);
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 300;
  line-height: 1.12;
}

.country-premium-card-head small {
  flex: 0 0 auto;
  margin-top: 4px;
  border: 1px solid rgba(224, 164, 79, 0.34);
  border-radius: 999px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.country-premium-card > strong {
  display: flex;
  min-height: 82px;
  align-items: flex-end;
  color: var(--white);
  font-size: clamp(52px, 5.8vw, 78px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.country-premium-card > p {
  margin: 10px 0 28px;
  color: var(--gold-vivid);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.country-premium-card dl {
  margin: auto 0 0;
}

.country-premium-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line-light);
  padding: 12px 0;
}

.country-premium-card dt,
.country-premium-card dd {
  margin: 0;
  font-size: 11px;
}

.country-premium-card dt {
  color: rgba(255, 255, 255, 0.48);
}

.country-premium-card dd {
  color: var(--white);
  text-align: right;
}

.country-premium-note {
  max-width: 900px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  line-height: 1.55;
}

.country-premium-note span {
  display: block;
  margin-top: 4px;
}

/* Estratégias */

.strategies-section {
  padding-top: clamp(28px, 3vw, 48px);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.strategies-section .section-heading::before {
  display: none;
}

.strategies-section .section-heading-wide {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.strategies-section-intro {
  margin: 16px 0 0;
  color: var(--gold-vivid);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.strategies-section .section-heading h2 span {
  color: var(--gold-vivid);
}

.strategies-section .section-heading h2 {
  font-size: var(--section-title-size);
}

.strategy-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--surface-deep);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.22);
  transition:
    border-color 240ms var(--ease),
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.strategy-card:hover {
  border-color: rgba(224, 164, 79, 0.58);
  box-shadow: 0 24px 64px rgba(12, 9, 8, 0.28);
  transform: translateY(-4px);
}

.strategy-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-deep);
}

.strategy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.strategy-card:hover .strategy-image img {
  transform: scale(1.045);
}

.strategy-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 21, 20, 0.1), transparent 45%);
  content: "";
}

.strategy-content {
  min-height: 172px;
  padding: 22px 28px 28px;
}

.strategy-content > span {
  color: var(--gold-vivid);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strategy-content h3 {
  margin: 0 0 12px;
  color: var(--gold-vivid);
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.strategy-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.process-block {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.process-intro h3 {
  max-width: 410px;
  margin: 0;
  color: var(--gold-vivid);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.process-list details {
  border-bottom: 1px solid var(--line-light);
}

.process-list summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.process-list summary::-webkit-details-marker {
  display: none;
}

.process-list summary b {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
}

.process-list summary span {
  color: var(--text-main);
  font-size: 20px;
}

.process-list summary i {
  font-size: 24px;
  font-style: normal;
  transition: transform 220ms var(--ease);
}

.process-list details[open] summary i {
  transform: rotate(45deg);
}

.process-list details p {
  max-width: 620px;
  margin: -5px 0 30px 58px;
  color: var(--text-muted);
}

/* Track record */

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 9vw, 120px);
  border: 1px solid rgba(224, 164, 79, 0.34);
  background: rgba(36, 31, 30, 0.58);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.16);
}

.track-grid article {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
  padding: 20px 24px;
}

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

.track-grid strong {
  color: var(--gold-vivid);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.track-grid strong small {
  font-size: 0.34em;
  letter-spacing: 0.04em;
}

.track-grid strong.metric-word {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.035em;
}

.track-grid span {
  max-width: 300px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.5;
}

/* Portfolio */

.portfolio-unified {
  padding-top: clamp(24px, 3vw, 40px);
}

.portfolio-main-title {
  margin: 0;
  color: var(--gold-vivid);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.portfolio-track {
  margin-top: clamp(10px, 1.4vw, 16px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-unified .portfolio-grid {
  margin-top: clamp(12px, 1.6vw, 20px);
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--surface-deep);
  cursor: pointer;
  transition:
    border-color 240ms var(--ease),
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.project-card:hover {
  border-color: rgba(204, 153, 85, 0.55);
  box-shadow: 0 24px 64px rgba(12, 9, 8, 0.24);
  transform: translateY(-4px);
}

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

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--surface-deep);
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 900ms var(--ease);
}

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

.project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 21, 20, 0.18), transparent 40%);
  content: "";
}

.project-status {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(35, 30, 29, 0.76);
  color: var(--ivory-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px 26px 16px;
}

.project-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 10px 0 2px;
  color: var(--text-main);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.project-body > p {
  margin: 0;
  font-size: 12px;
}

.project-modal-metrics span,
.project-facts span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.project-facts span,
.project-modal-metrics span {
  color: var(--gold-vivid);
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 500;
}

.project-link b {
  display: inline-block;
  width: 14px;
  height: 14px;
  color: var(--gold);
  font-size: 0;
  font-weight: 300;
  transition: transform 220ms var(--ease);
}

.project-link b::before,
.ui-arrow::before {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: linear-gradient(135deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%);
  content: "";
}

.ui-arrow-right::before {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(var(--gold-vivid), var(--gold-vivid)) left center / 100% 1px no-repeat,
    linear-gradient(45deg, transparent 46%, var(--gold-vivid) 47%, var(--gold-vivid) 53%, transparent 54%) right top / 8px 6px no-repeat,
    linear-gradient(135deg, transparent 46%, var(--gold-vivid) 47%, var(--gold-vivid) 53%, transparent 54%) right bottom / 8px 6px no-repeat;
  content: "";
}

.leader-linkedin .ui-arrow {
  display: inline-flex;
  margin-left: 2px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.project-card:hover .project-link b {
  transform: translate(3px, -3px);
}

.portfolio-disclaimer {
  max-width: 920px;
  margin: 32px 0 0;
  color: rgba(241, 232, 213, 0.48);
  font-size: 10px;
  line-height: 1.6;
}

/* Liderança */

.leadership-section {
  padding-top: clamp(50px, 4vw, 70px);
}

.leadership-title {
  margin: 0 0 clamp(28px, 3vw, 38px);
  color: var(--gold-vivid);
  font-size: var(--section-title-size);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.leader-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(224, 164, 79, 0.32);
  background:
    radial-gradient(circle at 100% 0, rgba(224, 164, 79, 0.13), transparent 37%),
    var(--surface-deep);
  box-shadow: 0 18px 50px rgba(11, 8, 7, 0.22);
  transition:
    border-color 240ms var(--ease),
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease);
}

.leader-card:hover {
  border-color: rgba(204, 153, 85, 0.55);
  box-shadow: 0 24px 64px rgba(12, 9, 8, 0.24);
  transform: translateY(-4px);
}

.leader-photo {
  height: 315px;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transition: transform 900ms var(--ease);
}

.leader-card:first-child .leader-photo img {
  object-position: center 8%;
}

.leader-card:hover .leader-photo img {
  transform: scale(1.045);
}

.leader-card:nth-child(2) .leader-photo img {
  object-position: center 24%;
}

.leader-card:nth-child(3) .leader-photo img {
  object-position: center 22%;
}

.leader-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.leader-info > span {
  color: var(--gold-vivid);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.leader-info h3 {
  margin: 8px 0 14px;
  color: var(--text-main);
  font-size: 23px;
  font-weight: 300;
  line-height: 1.2;
}

.leader-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12.2px;
  font-weight: 300;
  line-height: 1.58;
  text-align: left;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.leader-linkedin {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.leader-linkedin span {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #0a66c2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.leader-linkedin:hover {
  color: var(--gold-vivid);
  transform: translateX(2px);
}

/* Contato */

.contact-section {
  position: relative;
  padding: clamp(56px, 6vw, 90px) 0;
  overflow: hidden;
  background:
    url("assets/images/curva-madeira.jpg") center / cover no-repeat,
    var(--ebony-deep);
  color: var(--white);
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(36, 30, 28, 0.95),
    rgba(36, 30, 28, 0.75) 54%,
    rgba(36, 30, 28, 0.52)
  );
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.contact-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--gold-vivid);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}

.contact-links a {
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  color: var(--gold-light);
}

.contact-offices {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.contact-form {
  padding: 38px;
  border: 1px solid var(--line-light);
  background: rgba(45, 40, 38, 0.94);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: block;
  margin-bottom: 24px;
}

.form-hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  padding: 8px 2px 11px;
  background: transparent;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 300;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23cc9955' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 14px;
  cursor: pointer;
}

.contact-form option {
  color: var(--ebony-deep);
  font-family: "Poppins", Arial, sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .consent {
  display: flex;
  align-items: start;
  gap: 10px;
}

.contact-form .consent input {
  width: 15px;
  flex: 0 0 auto;
  margin-top: 4px;
}

.contact-form .consent span {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--gold-light);
  font-size: 12px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(224, 164, 79, 0.34);
  padding: 64px 0 26px;
  background:
    linear-gradient(135deg, rgba(36, 31, 30, 0.98), rgba(28, 24, 23, 0.98)),
    var(--surface-deep);
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(160px, 0.65fr) minmax(160px, 0.65fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.footer-grid img {
  width: 185px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.footer-grid a:hover {
  color: var(--gold-vivid);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 58px;
  border-top: 1px solid rgba(224, 164, 79, 0.22);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

/* Modais */

.site-modal {
  width: min(620px, calc(100vw - 36px));
  padding: clamp(36px, 5vw, 66px);
  border: 1px solid var(--line-light);
  background: var(--surface-mid);
  color: var(--text-main);
  box-shadow: var(--shadow);
}

.site-modal::backdrop {
  background: rgba(32, 28, 27, 0.78);
  backdrop-filter: blur(5px);
}

.site-modal h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.site-modal p:last-child {
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--gold);
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  font-weight: 300;
  line-height: 1;
}

.modal-close::before {
  display: block;
  content: "\00d7";
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.project-modal {
  width: min(920px, calc(100vw - 36px));
  max-height: min(94vh, 900px);
  overflow: auto;
  padding: 0;
}

.project-modal .modal-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory-light);
  backdrop-filter: blur(8px);
}

.thesis-modal {
  width: min(1160px, calc(100vw - 36px));
  max-height: 92vh;
  overflow: auto;
  padding: clamp(34px, 4vw, 58px);
  border-color: rgba(224, 164, 79, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 164, 79, 0.11), transparent 32%),
    var(--surface-low);
  color: var(--white);
}

.thesis-modal .modal-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory-light);
  backdrop-filter: blur(8px);
}

.thesis-modal .thesis-chapter-heading {
  margin-bottom: clamp(28px, 3vw, 42px);
}

.thesis-modal .thesis-chapter-heading h3 {
  color: var(--gold-vivid);
}

.thesis-modal .thesis-chapter-heading p,
.thesis-modal .thesis-source-note,
.thesis-modal .country-premium-note {
  color: rgba(255, 255, 255, 0.74);
}

.thesis-modal .thesis-graph-stack,
.thesis-modal .property-evidence-grid,
.thesis-modal .country-premium-grid {
  margin-top: 0;
}

.thesis-modal .multifamily-cycle {
  margin-top: clamp(24px, 3vw, 38px);
}

.graph-modal {
  width: min(94vw, 1440px);
  max-width: none;
  max-height: 94vh;
  overflow: hidden;
  padding: 0;
  background: var(--ivory);
}

.graph-modal img {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
}

.graph-modal .modal-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory-light);
  backdrop-filter: blur(8px);
}

.image-modal {
  width: min(94vw, 1280px);
  max-width: none;
  max-height: 94vh;
  overflow: hidden;
  padding: 0;
  border-color: rgba(224, 164, 79, 0.24);
  background: rgba(18, 15, 14, 0.96);
}

.image-modal img {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
}

.image-modal .modal-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory-light);
  backdrop-filter: blur(8px);
}

.project-modal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 34px 22px;
}

.project-modal-header .eyebrow {
  margin-bottom: 6px;
  color: var(--gold-vivid);
}

.project-modal-header h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
}

.project-modal-header > span {
  padding-bottom: 7px;
  color: var(--gold-vivid);
  max-width: 320px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, 155px);
  gap: 4px;
  overflow: hidden;
  background: var(--surface-deep);
}

.project-modal-gallery img {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  object-fit: cover;
  transition:
    filter 220ms var(--ease),
    transform 220ms var(--ease);
}

.project-modal-gallery img:hover {
  filter: brightness(1.07);
  transform: scale(1.012);
}

.project-modal-gallery .gallery-main {
  grid-row: 1 / 3;
}

.project-modal-content {
  padding: 26px 34px 30px;
}

.project-summary {
  max-width: 780px;
  margin: 0;
  color: var(--text-main);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.42;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border: 1px solid rgba(224, 164, 79, 0.34);
  background: rgba(36, 31, 30, 0.58);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.16);
}

.project-facts > div {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 24px;
}

.project-facts > div + div {
  border-left: 1px solid var(--line-light);
}

.project-facts strong {
  color: var(--text-main);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 300;
  line-height: 1.45;
}

.project-modal-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.project-modal-metrics > div {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 24px;
  border: 1px solid rgba(224, 164, 79, 0.34);
  background: rgba(36, 31, 30, 0.58);
  box-shadow: 0 18px 54px rgba(12, 9, 8, 0.16);
}

.project-modal-metrics > div + div {
  border-left: 1px solid rgba(224, 164, 79, 0.34);
}

.project-modal-metrics strong {
  color: var(--white);
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 300;
  line-height: 1.1;
}

.project-modal-note {
  margin-top: 14px;
  color: rgba(241, 232, 213, 0.48);
  font-size: 10px;
  line-height: 1.6;
}

/* Entrada suave */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease);
}

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

/* Tablet */

@media (max-width: 980px) {
  :root {
    --page: min(100% - 44px, 820px);
    --header-height: 76px;
    --header-scrolled-height: 68px;
    --anchor-offset: 68px;
  }

  .site-header {
    height: 76px;
    padding: 0 22px;
  }

  .site-header.is-scrolled {
    width: 100%;
    padding: 0 22px;
    border-radius: 0;
  }

  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    border-radius: 0;
    padding: 0 22px;
    transform: none;
  }

  .brand {
    width: 140px;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 90px 30px 40px;
    background: var(--ebony-deep);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 250ms var(--ease),
      transform 250ms var(--ease);
  }

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

  .main-nav a {
    font-size: 25px;
    font-weight: 300;
  }

  .nav-contact {
    margin-top: 10px;
    padding: 8px 22px;
  }

  .process-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .who-section {
    min-height: 0;
  }

  .who-header {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .who-copy {
    grid-template-columns: 1fr;
  }

  .who-cards {
    grid-template-columns: 1fr;
  }

  .who-card {
    min-height: auto;
    border-right: 1px solid rgba(224, 164, 79, 0.28);
    border-bottom: 1px solid rgba(224, 164, 79, 0.28);
  }

  .who-card:last-child {
    border-bottom: 1px solid rgba(224, 164, 79, 0.28);
  }

  .who-principles .who-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .who-principles .who-card:last-child {
    border-bottom: 0;
  }

  .who-card h3 {
    min-height: 0;
    margin-top: 0;
  }

  .who-card h3 small {
    white-space: normal;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .history-mobile-title {
    display: block;
    margin: 0 0 -20px;
    color: var(--gold-vivid);
    font-size: clamp(34px, 10vw, 46px);
    font-weight: 300;
    letter-spacing: -0.045em;
    line-height: 1.05;
  }

  .history-section {
    display: block;
    min-height: 0;
    padding: 82px 0;
  }

  .history-portrait {
    position: relative;
    top: auto;
    width: min(100%, 520px);
  }

  .history-copy {
    max-width: none;
  }

  .history-copy h2 {
    display: none;
  }

  .history-text {
    columns: 1;
    column-rule: 0;
  }

  .history-text p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.72;
  }

  .process-block,
  .contact-grid {
    gap: 42px;
  }

  .track-grid article {
    padding-inline: 24px;
  }

  .portfolio-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-track article {
    min-width: 0;
    padding: 20px 18px;
  }

  .portfolio-track strong {
    font-size: clamp(26px, 4.5vw, 38px);
  }

  .portfolio-track strong.metric-word {
    font-size: clamp(20px, 3vw, 27px);
  }

  .portfolio-track span {
    font-size: 12px;
  }

  .process-block {
    margin-top: 100px;
  }

  .leadership-grid {
    gap: 16px;
  }

  .leader-photo {
    height: 300px;
  }
}

/* Mobile */

@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 36px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 84px 0;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .section-heading::before {
    left: -14px;
    height: 50px;
  }

  .hero {
    min-height: 100svh;
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(29, 25, 23, 0.86), rgba(34, 28, 26, 0.42)),
      linear-gradient(90deg, rgba(32, 28, 27, 0.82), transparent);
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-logo {
    width: 180px;
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-intro {
    margin-top: 26px;
    font-size: 16px;
    text-align: left;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 32px;
  }

  .page-explore {
    display: none;
  }

  .strategy-grid,
  .track-grid,
  .who-cards,
  .portfolio-grid,
  .leadership-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .track-grid {
    border-bottom: 1px solid rgba(224, 164, 79, 0.34);
  }

  .track-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 26px 22px;
  }

  .track-grid article:last-child {
    border-bottom: 0;
  }

  .strategy-grid {
    gap: 20px;
  }

  .strategy-content {
    padding: 30px 26px 34px;
  }

  .process-list summary {
    grid-template-columns: 45px 1fr 24px;
  }

  .process-list details p {
    margin-left: 45px;
  }

  .track-grid article {
    min-height: 118px;
  }

  .portfolio-track {
    grid-template-columns: 1fr;
  }

  .portfolio-track article {
    min-height: 118px;
    padding: 22px 20px;
  }

  .portfolio-track strong,
  .portfolio-track strong.metric-word {
    font-size: clamp(26px, 8vw, 34px);
  }

  .portfolio-track span {
    max-width: none;
    font-size: 12.5px;
  }

  .portfolio-grid {
    gap: 18px;
  }

  .portfolio-unified .portfolio-grid {
    margin-top: 18px;
  }

  .project-card:hover {
    box-shadow: 0 18px 54px rgba(12, 9, 8, 0.22);
    transform: none;
  }

  .project-image {
    aspect-ratio: 16 / 10;
  }

  .project-body {
    min-height: 0;
    padding: 22px 20px 20px;
  }

  .project-body h3 {
    margin-top: 14px;
    font-size: clamp(23px, 7vw, 28px);
  }

  .project-modal {
    width: calc(100vw - 18px);
    max-height: 96vh;
  }

  .project-modal-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 34px 72px 22px 24px;
  }

  .project-modal-header > span {
    padding-bottom: 0;
  }

  .project-modal-gallery {
    grid-template-columns: repeat(3, 82vw);
    grid-template-rows: 230px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-modal-gallery img,
  .project-modal-gallery .gallery-main {
    grid-row: auto;
    scroll-snap-align: start;
  }

  .project-modal-content {
    padding: 28px 24px 32px;
  }

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

  .project-facts > div {
    min-height: 96px;
    padding: 18px 20px;
  }

  .project-facts > div + div {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .project-modal-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-modal-metrics > div {
    min-height: 96px;
    padding: 18px 20px;
  }

  .project-modal-metrics > div + div {
    border-top: 1px solid rgba(224, 164, 79, 0.34);
    border-left: 1px solid rgba(224, 164, 79, 0.34);
  }

  .project-modal-metrics strong {
    font-size: 26px;
  }

  .leader-card {
    display: flex;
    flex-direction: column;
  }

  .leader-photo {
    height: 320px;
  }

  .leader-info {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
  }

  .contact-form {
    padding: 30px 24px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (min-width: 981px) and (max-height: 900px) {
  .who-section {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .who-header {
    gap: 22px;
    padding-bottom: 26px;
  }

  .who-audience-label {
    margin-top: 24px;
  }

  .who-principles .who-card {
    min-height: 200px;
    padding: 24px 26px;
  }

  .who-principles .who-card p {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.58;
  }

  .history-section {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .history-grid {
    grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1.46fr);
    gap: clamp(42px, 5vw, 72px);
  }

  .history-copy h2 {
    margin-bottom: 22px;
  }

  .history-text p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.54;
  }

  .strategies-section,
  .leadership-section {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .portfolio-unified {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .portfolio-unified .page-shell {
    width: min(1120px, calc(100vw - 64px));
  }

  .portfolio-main-title {
    font-size: clamp(36px, 3.4vw, 48px);
  }

  .portfolio-track {
    min-height: 0;
  }

  .portfolio-track article {
    min-height: 92px;
    padding-block: 16px;
  }

  .portfolio-grid {
    gap: 18px;
  }

  .project-body {
    padding: 18px 22px 20px;
  }

  .contact-section {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .contact-form {
    padding: 28px 32px;
  }

  .thesis-modal {
    padding: 34px 44px;
  }

  .thesis-modal .country-premium-card {
    min-height: 330px;
    padding: 24px 28px;
  }

  .thesis-modal .country-premium-card > strong {
    min-height: 66px;
    font-size: clamp(48px, 5vw, 66px);
  }

  .strategies-section .section-heading-wide {
    margin-bottom: 24px;
  }

  .strategies-section .section-heading h2,
  .leadership-title {
    font-size: clamp(34px, 3.2vw, 44px);
  }

  .strategy-content {
    min-height: 150px;
    padding: 20px 24px 24px;
  }

  .strategy-content h3 {
    font-size: clamp(22px, 2vw, 28px);
  }

  .strategy-content p {
    font-size: 13px;
    line-height: 1.52;
  }

  .leadership-title {
    margin-bottom: 24px;
  }

  .leader-photo {
    height: 285px;
  }

  .leader-info {
    padding: 20px 22px 22px;
  }

  .leader-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .leader-info p {
    font-size: 11.8px;
    line-height: 1.52;
  }
}

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

  .thesis-intro-grid {
    gap: 34px;
  }

  .thesis-intro-grid > div {
    max-width: 680px;
  }

  .thesis-graph-stack {
    grid-template-columns: 1fr;
  }

  .thesis-graph-stack .thesis-figure-heading {
    min-height: 0;
  }

  .thesis-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .thesis-index a:nth-child(2) {
    border-right: 0;
  }

  .thesis-index a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .thesis-index a:last-child {
    border-right: 0;
  }

  .thesis-chapter-heading {
    gap: 14px;
  }

  .thesis-chapter-heading > span {
    padding: 0;
  }

  .thesis-chapter-heading > p {
    max-width: 700px;
    margin-top: 18px;
  }

  .thesis-chapter-heading-numbered {
    grid-template-columns: minmax(0, 1fr);
  }

  .property-evidence-grid {
    grid-template-columns: 1fr;
  }

  .country-premium-grid {
    grid-template-columns: 1fr;
  }

  .property-evidence-card img {
    aspect-ratio: auto;
  }

  .multifamily-cycle ol {
    grid-template-columns: 1fr;
  }

  .multifamily-cycle ol::before {
    top: 17px;
    right: auto;
    bottom: 17px;
    left: 17px;
    width: 1px;
    height: auto;
  }

  .multifamily-cycle li {
    min-height: 0;
    border: 0;
    padding: 0 0 32px;
  }

  .multifamily-cycle li::after {
    display: none;
  }

  .multifamily-cycle li span {
    margin-bottom: 10px;
  }

  .multifamily-cycle li strong {
    max-width: none;
    margin: -40px 0 0 52px;
    padding-bottom: 14px;
  }

  .multifamily-cycle li:last-child {
    padding-bottom: 0;
  }

}

@media (max-width: 720px) {
  .thesis-section {
    padding-top: 68px;
  }

  .thesis-intro h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .thesis-index {
    grid-template-columns: 1fr;
  }

  .thesis-index a,
  .thesis-index a:nth-child(2) {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding: 16px 18px;
  }

  .thesis-index a:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .thesis-chapter {
    padding: 78px 0;
  }

  .thesis-chapter-heading {
    margin-bottom: 44px;
  }

  .thesis-chapter-heading-numbered {
    grid-template-columns: 1fr;
  }

  .thesis-chapter-heading h3 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .thesis-chapter-heading-numbered h3 {
    font-size: clamp(31px, 9vw, 43px);
    white-space: normal;
  }

  .thesis-figure figcaption {
    padding: 18px 20px 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
