:root {
  --ink: #38373d;
  --paper: #f3f2f0;
  --gold: #daac6d;
  --gold-deep: #8a6a2f;
  --muted: #6f6d73;
  --line: rgba(56, 55, 61, 0.16);
  --display: "Marcellus", Georgia, serif;
  --sans: "Archivo", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --content: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--paper);
  background: rgba(56, 55, 61, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 138px;
  height: auto;
}

.brand-wordmark {
  display: none;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.3vw, 30px);
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links .nav-contact {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(218, 172, 109, 0.58);
  color: var(--gold);
}

.nav-links .nav-contact:hover {
  background: var(--gold);
  color: var(--ink);
}

main {
  display: block;
}

section[id] {
  scroll-margin-top: 68px;
}

.hero {
  position: relative;
  min-height: min(94svh, 980px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background: linear-gradient(185deg, rgba(56, 55, 61, 0.45), rgba(56, 55, 61, 0.22) 42%, rgba(56, 55, 61, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 clamp(62px, 10vh, 112px);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 1160px;
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 138px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: #e6c99d;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 300;
  letter-spacing: clamp(0.22em, 0.55vw, 0.44em);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(243, 242, 240, 0.48);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.intro-section,
.pillars-section,
.stats-section,
.projects-section,
.team-section,
.presence-section,
.contact-section {
  padding: clamp(76px, 10vw, 140px) max(20px, calc((100vw - var(--content)) / 2));
}

.intro-section {
  background: var(--paper);
  text-align: center;
}

.intro-copy {
  max-width: 940px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(25px, 3.4vw, 44px);
  line-height: 1.32;
  text-wrap: pretty;
}

.intro-copy::before {
  content: "";
  display: block;
  width: 118px;
  height: 1px;
  margin: 0 auto 36px;
  background: var(--gold-deep);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-title {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}

.section-index {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
}

.pillar {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pillar-number {
  margin: 0 0 18px;
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 15px;
}

.pillar h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 400;
}

.pillar p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
  text-wrap: pretty;
}

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

.stats-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.stats-intro {
  margin: 18px 0 0;
  max-width: 560px;
  font-family: var(--display);
  font-size: clamp(23px, 2.8vw, 36px);
  line-height: 1.35;
  text-wrap: pretty;
}

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

.stat-number {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.9;
}

.stat-label {
  margin: 16px 0 0;
  color: rgba(243, 242, 240, 0.66);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.65;
  text-transform: uppercase;
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.project-card {
  display: block;
  color: var(--ink);
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #e9e6df;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.project-card:hover .project-media img,
.project-card:focus-visible .project-media img {
  transform: scale(1.045);
}

.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.project-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
}

.project-link {
  color: var(--gold-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.project-type {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.team-section {
  background: #ebe9e5;
}

.team-intro {
  max-width: 880px;
  margin: 0 0 clamp(44px, 6vw, 72px);
  font-family: var(--display);
  font-size: clamp(23px, 2.8vw, 36px);
  line-height: 1.38;
  text-wrap: pretty;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.person-card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.person-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #dedbd5;
}

.person-copy {
  padding: 22px 22px 26px;
}

.person-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.person-role {
  margin: 7px 0 14px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.person-bio {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
  text-wrap: pretty;
}

.presence-section {
  background: var(--paper);
}

.presence-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.presence-title {
  margin: 18px 0 22px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.15;
}

.presence-copy {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
  text-wrap: pretty;
}

.map-wrap {
  min-width: 0;
}

masiv-map {
  width: 100%;
  min-height: 320px;
}

.locations {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.locations p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.locations span:last-child {
  color: var(--gold-deep);
  text-align: right;
}

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

.contact-title {
  margin: 16px 0 22px;
  font-family: var(--display);
  font-size: clamp(54px, 10vw, 132px);
  font-weight: 400;
  line-height: 0.92;
}

.contact-lead {
  max-width: 580px;
  margin: 0 0 50px;
  color: rgba(243, 242, 240, 0.68);
  font-size: 15px;
  line-height: 1.76;
  text-wrap: pretty;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(42px, 7vw, 100px);
}

.contact-details {
  display: grid;
  gap: 28px;
  align-content: start;
}

.detail-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.detail-copy {
  margin: 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.72;
}

.detail-copy a {
  text-decoration: underline;
  text-decoration-color: rgba(218, 172, 109, 0.55);
  text-underline-offset: 4px;
}

.detail-copy a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.contact-form {
  padding: clamp(26px, 3.5vw, 48px);
  border: 1px solid rgba(243, 242, 240, 0.15);
  background: rgba(243, 242, 240, 0.04);
}

.form-title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: 24px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field span {
  color: rgba(243, 242, 240, 0.68);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(243, 242, 240, 0.3);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  padding: 11px 2px;
  font-size: 15px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(243, 242, 240, 0.36);
}

.form-button {
  min-height: 52px;
  margin-top: 30px;
  padding: 14px 26px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-button:hover {
  background: var(--paper);
}

.form-note {
  margin: 14px 0 0;
  color: rgba(243, 242, 240, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer {
  padding: 48px max(20px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid rgba(243, 242, 240, 0.12);
  background: #2e2d32;
  color: rgba(243, 242, 240, 0.66);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-main img {
  width: 150px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px 48px;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 242, 240, 0.12);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.chooser-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.chooser-link:hover {
  color: var(--paper);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.08) translate(-1%, 0.7%); }
}

/* Cinematico */
.theme-cinematico {
  background: var(--ink);
  color: var(--paper);
}

.theme-cinematico .site-nav {
  background: linear-gradient(180deg, rgba(56, 55, 61, 0.94), rgba(56, 55, 61, 0.72));
}

.theme-cinematico .hero {
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.theme-cinematico .hero-shade {
  background: radial-gradient(circle at center, rgba(56, 55, 61, 0.28), rgba(56, 55, 61, 0.9));
}

.theme-cinematico .hero-content {
  padding-bottom: 80px;
}

.theme-cinematico .hero-title {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(70px, 14vw, 210px);
}

.theme-cinematico .hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}

.theme-cinematico .hero-actions {
  justify-content: center;
}

.theme-cinematico .intro-section,
.theme-cinematico .pillars-section,
.theme-cinematico .projects-section,
.theme-cinematico .team-section,
.theme-cinematico .presence-section {
  background: var(--ink);
  color: var(--paper);
}

.theme-cinematico .intro-copy::before {
  background: var(--gold);
}

.theme-cinematico .pillars-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.theme-cinematico .pillar {
  display: grid;
  grid-template-columns: 70px minmax(240px, 1fr) minmax(260px, 420px);
  gap: clamp(18px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px) 0;
  border-top-color: rgba(243, 242, 240, 0.14);
}

.theme-cinematico .pillar:last-child {
  border-bottom: 1px solid rgba(243, 242, 240, 0.14);
}

.theme-cinematico .pillar h3 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(32px, 5.3vw, 72px);
  line-height: 1;
}

.theme-cinematico .pillar p:last-child,
.theme-cinematico .section-index,
.theme-cinematico .team-intro,
.theme-cinematico .person-bio,
.theme-cinematico .presence-copy {
  color: rgba(243, 242, 240, 0.62);
}

.theme-cinematico .pillar-number,
.theme-cinematico .person-role {
  color: var(--gold);
}

.theme-cinematico .stats-layout {
  grid-template-columns: 1fr;
  text-align: center;
}

.theme-cinematico .stats-intro {
  margin-left: auto;
  margin-right: auto;
}

.theme-cinematico .stat-number {
  font-size: clamp(82px, 12vw, 170px);
}

.theme-cinematico .projects-section {
  padding-left: 0;
  padding-right: 0;
}

.theme-cinematico .projects-section .section-head {
  width: min(var(--content), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.theme-cinematico .projects-grid {
  display: block;
}

.theme-cinematico .project-card {
  position: relative;
  min-height: min(82svh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-top: 1px solid rgba(218, 172, 109, 0.42);
  color: var(--paper);
}

.theme-cinematico .project-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.theme-cinematico .project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(56, 55, 61, 0.82), rgba(56, 55, 61, 0.2) 64%, transparent);
}

.theme-cinematico .project-meta-wrap {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: clamp(44px, 8vh, 86px);
}

.theme-cinematico .project-meta {
  justify-content: flex-start;
  gap: 26px;
}

.theme-cinematico .project-meta h3 {
  color: var(--paper);
  font-size: clamp(54px, 9vw, 126px);
  line-height: 0.94;
}

.theme-cinematico .project-link,
.theme-cinematico .project-type {
  color: var(--gold);
}

.theme-cinematico .team-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 22px;
  scrollbar-color: var(--gold) rgba(243, 242, 240, 0.12);
}

.theme-cinematico .person-card {
  flex: 0 0 min(310px, 84vw);
  scroll-snap-align: start;
  border-color: rgba(243, 242, 240, 0.12);
  background: rgba(243, 242, 240, 0.04);
}

.theme-cinematico .person-copy h3 {
  color: var(--paper);
}

.theme-cinematico .locations p {
  border-color: rgba(243, 242, 240, 0.16);
}

.theme-cinematico .locations span:last-child {
  color: var(--gold);
}

/* Vanguardia */
.theme-vanguardia .site-nav {
  color: var(--ink);
  background: rgba(243, 242, 240, 0.95);
  border-bottom: 2px solid var(--ink);
}

.theme-vanguardia .brand img {
  display: none;
}

.theme-vanguardia .brand-wordmark {
  display: inline;
}

.theme-vanguardia .nav-links .nav-contact {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.theme-vanguardia .hero {
  min-height: 96svh;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}

.theme-vanguardia .hero-media {
  inset: 15% 6% auto auto;
  width: min(50vw, 610px);
  height: auto;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  box-shadow: 14px 14px 0 var(--gold);
}

.theme-vanguardia .hero-media img {
  animation: none;
}

.theme-vanguardia .hero-shade {
  display: none;
}

.theme-vanguardia .hero-content {
  padding-top: 160px;
  padding-bottom: 140px;
}

.theme-vanguardia .hero-title {
  position: relative;
  width: 84%;
  margin-top: 14px;
  font-size: clamp(82px, 19vw, 278px);
  line-height: 0.83;
  letter-spacing: -0.02em;
}

.theme-vanguardia .hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.theme-vanguardia .hero-subtitle {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.theme-vanguardia .button-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--gold);
}

.theme-vanguardia .button-primary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(4px, 4px);
  box-shadow: 3px 3px 0 var(--gold);
}

.theme-vanguardia .button-secondary {
  border: 2px solid var(--ink);
  color: var(--ink);
}

.theme-vanguardia .intro-section,
.theme-vanguardia .pillars-section,
.theme-vanguardia .projects-section,
.theme-vanguardia .team-section {
  background: var(--paper);
}

.theme-vanguardia .section-kicker,
.theme-vanguardia .eyebrow {
  color: var(--ink);
  font-family: var(--mono);
}

.theme-vanguardia .pillars-grid {
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.theme-vanguardia .pillar {
  padding: clamp(24px, 3vw, 44px);
  border: 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.theme-vanguardia .pillar-number {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.theme-vanguardia .stats-section {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
}

.theme-vanguardia .stats-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

.theme-vanguardia .stat-number,
.theme-vanguardia .stat-label,
.theme-vanguardia .stats-section .section-kicker {
  color: var(--ink);
}

.theme-vanguardia .projects-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border: 2px solid var(--ink);
}

.theme-vanguardia .project-card {
  min-height: min(72svh, 680px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  border-bottom: 2px solid var(--ink);
}

.theme-vanguardia .project-card:last-child {
  border-bottom: 0;
}

.theme-vanguardia .project-card:nth-child(even) {
  background: var(--ink);
  color: var(--paper);
}

.theme-vanguardia .project-media {
  aspect-ratio: auto;
  min-height: 360px;
  order: 2;
  border-left: 2px solid var(--ink);
}

.theme-vanguardia .project-card:nth-child(even) .project-media {
  border-left-color: var(--gold);
}

.theme-vanguardia .project-meta-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 66px);
}

.theme-vanguardia .project-meta {
  display: block;
}

.theme-vanguardia .project-meta h3 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
}

.theme-vanguardia .project-card:nth-child(even) .project-meta h3,
.theme-vanguardia .project-card:nth-child(even) .project-type {
  color: var(--paper);
}

.theme-vanguardia .project-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.theme-vanguardia .team-intro {
  max-width: 940px;
}

.theme-vanguardia .team-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.theme-vanguardia .person-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
}

.theme-vanguardia .person-card img {
  width: 110px;
  border-right: 2px solid var(--ink);
  filter: grayscale(1);
  transition: filter 220ms ease;
}

.theme-vanguardia .person-card:hover img {
  filter: grayscale(0);
}

.theme-vanguardia .person-copy {
  padding: 18px 24px;
}

.theme-vanguardia .person-copy h3 {
  font-size: clamp(24px, 3vw, 42px);
}

.theme-vanguardia .presence-section {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
}

.theme-vanguardia .presence-copy {
  color: rgba(243, 242, 240, 0.65);
}

.theme-vanguardia .locations p {
  border-color: rgba(243, 242, 240, 0.18);
}

.theme-vanguardia .locations span:last-child {
  color: var(--gold);
}

.theme-vanguardia .contact-section {
  border-top: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.theme-vanguardia .contact-section .section-kicker,
.theme-vanguardia .contact-title,
.theme-vanguardia .detail-copy {
  color: var(--ink);
}

.theme-vanguardia .contact-lead {
  color: var(--muted);
}

.theme-vanguardia .detail-label {
  color: var(--gold-deep);
}

.theme-vanguardia .contact-form {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--gold);
}

.theme-vanguardia .field span,
.theme-vanguardia .form-note {
  color: var(--muted);
}

.theme-vanguardia .field input,
.theme-vanguardia .field textarea {
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 12px 13px;
}

.theme-vanguardia .field input::placeholder,
.theme-vanguardia .field textarea::placeholder {
  color: rgba(56, 55, 61, 0.46);
}

.theme-vanguardia .form-button {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
}

.theme-vanguardia .site-footer {
  border-top: 2px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
}

.theme-vanguardia .footer-main img {
  filter: brightness(0.22);
}

.theme-vanguardia .footer-bottom {
  border-color: var(--ink);
}

.theme-vanguardia .chooser-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .pillars-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-layout,
  .theme-vanguardia .stats-layout {
    grid-template-columns: 1fr;
  }

  .theme-vanguardia .hero-media {
    width: min(54vw, 520px);
    opacity: 0.76;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    padding: 14px 20px 24px;
    background: rgba(56, 55, 61, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 50px;
    padding: 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links .nav-contact {
    justify-content: center;
    margin-top: 8px;
    border: 1px solid var(--gold);
  }

  .theme-vanguardia .nav-links {
    background: rgba(243, 242, 240, 0.99);
    border-color: var(--ink);
  }

  .theme-vanguardia .nav-links a {
    border-color: rgba(56, 55, 61, 0.18);
  }

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

  .map-wrap {
    max-width: 720px;
  }

  .theme-cinematico .pillar {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .theme-cinematico .pillar p:last-child {
    grid-column: 2;
  }

  .theme-vanguardia .project-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .theme-vanguardia .project-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    order: 0;
    border-left: 0;
    border-bottom: 2px solid var(--ink);
  }

  .theme-vanguardia .project-card:nth-child(even) .project-media {
    border-left: 0;
    border-bottom-color: var(--gold);
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .hero-content,
  .theme-cinematico .projects-section .section-head,
  .theme-cinematico .project-meta-wrap {
    width: min(100% - 32px, var(--content));
  }

  section[id] {
    scroll-margin-top: 64px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 124px;
    padding-bottom: 58px;
  }

  .hero-title {
    font-size: clamp(50px, 17vw, 86px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-head {
    display: block;
  }

  .section-index {
    margin-top: 14px;
  }

  .pillars-grid,
  .stats-grid,
  .projects-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 42px;
  }

  .project-media {
    aspect-ratio: 4 / 3;
  }

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

  .field-full {
    grid-column: auto;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
  }

  .footer-meta {
    justify-content: flex-start;
    text-align: left;
  }

  .theme-cinematico .hero-title {
    font-size: clamp(66px, 24vw, 106px);
  }

  .theme-cinematico .pillar {
    display: block;
  }

  .theme-cinematico .pillar h3 {
    margin: 16px 0;
  }

  .theme-cinematico .project-card {
    min-height: 68svh;
  }

  .theme-cinematico .project-media::after {
    background: linear-gradient(0deg, rgba(56, 55, 61, 0.9), rgba(56, 55, 61, 0.16) 70%);
  }

  .theme-cinematico .project-meta {
    display: block;
  }

  .theme-cinematico .project-link {
    display: inline-block;
    margin-top: 18px;
  }

  .theme-vanguardia .hero {
    min-height: 92svh;
    align-items: flex-end;
  }

  .theme-vanguardia .hero-media {
    inset: 88px 16px auto;
    width: auto;
    opacity: 1;
  }

  .theme-vanguardia .hero-content {
    padding-top: 330px;
    padding-bottom: 80px;
  }

  .theme-vanguardia .hero-title {
    width: 100%;
    font-size: clamp(78px, 27vw, 126px);
  }

  .theme-vanguardia .person-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .theme-vanguardia .person-card img {
    width: 88px;
  }

  .theme-vanguardia .person-bio {
    display: none;
  }

  .locations p {
    display: grid;
  }

  .locations span:last-child {
    text-align: left;
  }
}

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

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

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