/* ===== Imobiliaria Capital — PE landing page ===== */
:root {
  --ink: #0A1620;          /* deep navy / midnight */
  --ink-2: #0F1F2E;
  --ink-3: #16293B;
  --ivory: #F4EEE2;        /* cream */
  --ivory-2: #EDE5D3;
  --paper: #FBF8F1;
  --gold: #B8945C;         /* warm gold */
  --gold-2: #C9A66B;
  --gold-soft: #8E7445;
  --rule: rgba(255,255,255,0.12);
  --rule-dark: rgba(10,22,32,0.14);
  --muted: rgba(244,238,226,0.6);
  --muted-dark: rgba(10,22,32,0.58);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.01em; }
.mono  { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ----- Generic ----- */
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; display: inline-block;
}
.eyebrow.no-rule::before { display:none; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 900px) { .container { padding: 0 24px; } }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 2px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: all .25s ease;
  border: 1px solid currentColor; background: transparent; color: inherit;
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost-light { color: var(--ivory); border-color: rgba(244,238,226,0.35); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-ghost-dark { color: var(--ink); border-color: rgba(10,22,32,0.3); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ----- Navigation ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s ease;
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(10,22,32,0.92);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ivory); text-decoration: none;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
  opacity: 0.85; transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
@media (max-width: 1100px) { .nav-links { display: none; } }
@media (max-width: 760px) { .nav .btn { display: none; } }

/* Logo */
.logo {
  display: flex; align-items: center; gap: 14px; color: var(--ivory);
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  position: relative;
}
.logo-mark::before {
  content: ""; position: absolute; inset: 3px; border: 1px solid rgba(184,148,92,0.4);
}
.logo-mark span {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  color: var(--gold); font-size: 18px; line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-text .word {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ivory);
}
.logo-text .sub {
  font-size: 9px; letter-spacing: 0.32em; color: var(--gold); margin-top: 4px;
  text-transform: uppercase; font-weight: 600;
}

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 100vh;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,32,0.5) 0%, rgba(10,22,32,0.85) 60%, var(--ink) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2400&q=85') center/cover;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(184,148,92,0.12) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 140px; padding-bottom: 80px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.95; letter-spacing: -0.025em;
  margin: 28px 0 0; max-width: 14ch;
}
.hero h1 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.hero-sub {
  margin-top: 36px; max-width: 540px;
  font-size: 17px; line-height: 1.6; color: rgba(244,238,226,0.78);
}
.hero-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  position: relative; z-index: 2;
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
@media (max-width: 900px) { .hero-meta { grid-template-columns: repeat(2,1fr); gap: 28px; } }
.hero-meta .cell .l {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 600;
}
.hero-meta .cell .v {
  font-family: 'Cormorant Garamond', serif; font-size: 32px; line-height: 1;
}
.hero-meta .cell .v small {
  font-size: 14px; color: var(--muted); margin-left: 4px;
}

.hero-side {
  position: absolute; right: 56px; top: 50%; transform: translateY(-50%);
  z-index: 2; writing-mode: vertical-rl; transform-origin: center;
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 1100px) { .hero-side { display: none; } }

.scroll-cue {
  position: absolute; bottom: 24px; right: 56px;
  z-index: 2; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
@media (max-height: 760px) { .scroll-cue { display: none; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ====== Marquee ===== */
.marquee {
  background: var(--ink); color: var(--ivory);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 64px; align-items: center;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  letter-spacing: 0.04em; color: var(--ivory); opacity: 0.7;
}
.marquee-item.dot { color: var(--gold); font-size: 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== About / Thesis ===== */
.section { padding: 140px 0; position: relative; }
.section-light { background: var(--paper); color: var(--ink); }
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-dark { background: var(--ink); color: var(--ivory); }

.thesis-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: start;
}
@media (max-width: 1000px) { .thesis-grid { grid-template-columns: 1fr; gap: 48px; } }
.thesis-grid h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px); font-weight: 400;
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 24px 0 0;
}
.thesis-grid h2 em { font-style: italic; color: var(--gold-soft); }
.thesis-body p {
  font-size: 18px; line-height: 1.7; margin: 0 0 24px;
  color: var(--muted-dark);
}
.thesis-body p:first-child::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 76px; line-height: 0.85; float: left;
  color: var(--ink); padding: 6px 14px 0 0;
  font-weight: 500;
}
.thesis-pillars {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  margin-top: 40px; border-top: 1px solid var(--rule-dark);
}
.thesis-pillars .p {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--rule-dark);
}
.thesis-pillars .p:last-child { border-right: none; padding-right: 0; }
.thesis-pillars .num {
  font-family: 'Cormorant Garamond', serif; color: var(--gold);
  font-size: 14px; letter-spacing: 0.2em; margin-bottom: 14px;
}
.thesis-pillars .t {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.2;
  margin-bottom: 10px;
}
.thesis-pillars .d {
  font-size: 13px; line-height: 1.6; color: var(--muted-dark);
}

/* ====== Stats banner ===== */
.stats {
  background: var(--ink); color: var(--ivory);
  padding: 100px 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.stats-inner { position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stats-grid .cell {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.stats-grid .cell:last-child { border-right: none; }
@media (max-width: 900px) {
  .stats-grid .cell:nth-child(2) { border-right: none; }
}
.stats-grid .v {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5.5vw, 88px); line-height: 0.95;
  letter-spacing: -0.03em;
}
.stats-grid .v .unit { color: var(--gold); margin-left: 4px; }
.stats-grid .l {
  margin-top: 14px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* ====== Strategy sectors ===== */
.sectors-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 1000px) { .sectors-head { grid-template-columns: 1fr; gap: 32px; } }
.sectors-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 20px 0 0;
  letter-spacing: -0.02em;
}
.sectors-head h2 em { font-style: italic; color: var(--gold-soft); }
.sectors-head .lede {
  font-size: 16px; line-height: 1.7; color: var(--muted-dark); max-width: 38ch;
}

.sectors {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } }
.sector {
  background: var(--paper); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px; position: relative;
  transition: background .3s ease, color .3s ease;
  cursor: default;
}
.sector:hover { background: var(--ink); color: var(--ivory); }
.sector:hover .sector-num { color: var(--gold); }
.sector:hover .sector-meta { color: var(--muted); border-color: var(--rule); }
.sector-num {
  font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.2em;
  color: var(--gold); transition: color .3s ease;
}
.sector-title {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.1;
  font-weight: 500;
}
.sector-desc {
  font-size: 14px; line-height: 1.6; opacity: 0.75;
}
.sector-meta {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule-dark);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; justify-content: space-between; color: var(--muted-dark);
  transition: color .3s ease, border-color .3s ease;
}

/* ====== Portfolio ===== */
.portfolio-head {
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.portfolio-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 20px 0 0;
  letter-spacing: -0.02em;
}
.portfolio-head h2 em { font-style: italic; color: var(--gold); }
.portfolio-tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--rule);
}
.portfolio-tabs button {
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  padding: 12px 18px;
  font-family: inherit; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .2s ease;
}
.portfolio-tabs button:hover { color: var(--ivory); }
.portfolio-tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.pcard {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.pcard:hover { transform: translateY(-6px); }
.pcard .img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.pcard:hover .img { transform: scale(1.06); }
.pcard .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,32,0.92) 100%);
}
.pcard .content {
  position: absolute; inset: 0; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--ivory);
}
.pcard .badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(10,22,32,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--rule); color: var(--gold);
  padding: 6px 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600;
}
.pcard .top-meta {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; letter-spacing: 0.2em; color: var(--ivory);
  text-transform: uppercase;
}
.pcard .name {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; line-height: 1.1;
  font-weight: 500; margin: 0 0 6px;
}
.pcard .meta {
  display: flex; gap: 18px; font-size: 11px; letter-spacing: 0.15em;
  color: var(--muted); text-transform: uppercase;
}
.pcard .v {
  font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 24px;
  margin-top: 14px;
}

/* Sizes for masonry-like layout */
.pcard-lg { grid-column: span 7; aspect-ratio: 16/10; }
.pcard-md { grid-column: span 5; aspect-ratio: 4/5; }
.pcard-sm { grid-column: span 4; aspect-ratio: 4/3; }
.pcard-wide { grid-column: span 8; aspect-ratio: 16/8; }
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .pcard-lg, .pcard-md, .pcard-sm, .pcard-wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ====== Footprint ===== */
.footprint-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center;
}
@media (max-width: 1000px) { .footprint-grid { grid-template-columns: 1fr; gap: 48px; } }
.footprint-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 20px 0 28px;
  letter-spacing: -0.02em; color: var(--ivory);
}
.footprint-head h2 em { font-style: italic; color: var(--gold); }
.footprint-head p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 44ch; }

.offices {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: var(--rule);
}
.office {
  background: var(--ink); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.office .city {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--ivory);
}
.office .region {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}

.map-wrap {
  position: relative; aspect-ratio: 16/12;
  border: 1px solid var(--rule); padding: 24px;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(184,148,92,0.06) 0%, transparent 65%),
    linear-gradient(180deg, rgba(10,22,32,0.4) 0%, rgba(10,22,32,0) 100%);
}
.map-wrap::before, .map-wrap::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--gold);
}
.map-wrap::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.map-wrap::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.map-meta {
  position: absolute; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); pointer-events: none;
}
.map-meta-top { top: 14px; }
.map-meta-bottom { bottom: 14px; }
.dot-live {
  display: inline-block; width: 6px; height: 6px;
  background: #4ade80; border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px #4ade80;
  animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ====== Leadership ===== */
.leaders-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 20px 0 0;
  letter-spacing: -0.02em;
}
.leaders-head h2 em { font-style: italic; color: var(--gold-soft); }
.leaders-grid {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
@media (max-width: 900px) { .leaders-grid { grid-template-columns: 1fr; gap: 48px; } }

.leader {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start;
}
@media (max-width: 600px) { .leader { grid-template-columns: 1fr; gap: 20px; } }

.leader-photo {
  aspect-ratio: 3/4; background-size: cover; background-position: center 22%;
  background-color: var(--ink-3);
  position: relative;
  filter: grayscale(1) contrast(1.08);
}
.leader-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,22,32,0.4) 100%);
}
.leader-role {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.leader-name {
  font-family: 'Cormorant Garamond', serif; font-size: 38px;
  line-height: 1; margin: 12px 0 6px; font-weight: 500;
  letter-spacing: -0.01em;
}
.leader-title {
  font-size: 13px; letter-spacing: 0.04em; color: var(--muted-dark);
  margin-bottom: 22px;
}
.leader-bio {
  font-size: 15px; line-height: 1.7; color: var(--muted-dark);
  padding-top: 22px; border-top: 1px solid var(--rule-dark);
}
.leader-credentials {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.leader-credentials span {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--rule-dark); color: var(--muted-dark);
}

/* ====== Approach / Process ===== */
.approach {
  background: var(--ink); color: var(--ivory); padding: 140px 0;
}
.approach-head { max-width: 720px; margin-bottom: 80px; }
.approach-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 20px 0 0;
  letter-spacing: -0.02em;
}
.approach-head h2 em { font-style: italic; color: var(--gold); }

.process {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2,1fr); } }
.step {
  background: var(--ink); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  position: relative; overflow: hidden;
}
.step .n {
  font-family: 'Cormorant Garamond', serif; font-size: 80px;
  color: var(--gold); opacity: 0.18; line-height: 0.8;
  position: absolute; top: 18px; right: 22px;
}
.step .label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.step .title {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.1;
  font-weight: 500;
}
.step .desc {
  font-size: 13px; line-height: 1.6; color: var(--muted);
}

/* ====== CTA ===== */
.cta {
  background: var(--ivory); color: var(--ink); padding: 160px 0;
  position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.cta h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(48px, 7vw, 104px); line-height: 1; margin: 28px 0 0;
  letter-spacing: -0.025em;
}
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta-sub {
  margin-top: 32px; font-size: 18px; line-height: 1.6; color: var(--muted-dark);
  max-width: 56ch; margin-left: auto; margin-right: auto;
}
.cta-actions { margin-top: 44px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-decor {
  position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px),
                    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ====== Footer ===== */
.footer {
  background: var(--ink); color: var(--ivory); padding: 80px 0 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; font-weight: 600;
}
.footer p, .footer a {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  text-decoration: none; display: block;
}
.footer a:hover { color: var(--ivory); }
.footer-brand .tag {
  margin-top: 16px; max-width: 36ch;
}
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}

/* ====== Section number labels (left rail) ===== */
.section-label {
  display: flex; align-items: baseline; gap: 18px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.section-label .num {
  font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--gold);
}
.section-label .rule {
  flex: 1; height: 1px; background: var(--rule-dark); max-width: 60px;
}
.section-dark .section-label .rule { background: var(--rule); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
