/* ============================================================
   OMBA Property Group, Inc. / ombapropertygroup.com
   Dark institutional theme derived from the OMBA investor
   dashboard and pitch deck brand system.
   ============================================================ */

:root {
  --bg: #0d0d0d;
  --bg-2: #111111;
  --card: #1c1c1c;
  --card-2: #161616;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-2: #cccccc;
  --muted: #9a9a9a;
  --dim: #8f8f8f;
  --accent: #e87c2d;
  --accent-dark: #d06b20;
  --accent-deep: #c96820;
  --logo-orange: #f68a3f;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Signature device: fixed orange bar on the left edge (from the investor dashboard) */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  z-index: 1000;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--logo-orange); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); color: var(--text); line-height: 1.15; }

h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }

/* Signature device: headlines end with an orange period */
.dot::after { content: "."; color: var(--accent); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
}

.lead { font-size: 1.15rem; color: var(--text-2); }

.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(13, 13, 13, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--text); }
.nav a.external::after { content: " \2197"; color: var(--muted); font-size: 0.75em; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--accent); color: #0d0d0d; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #0d0d0d; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.nav .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  top: 50%; margin-top: -1px;
  height: 2px;
  background: var(--text);
  transition: background 0.1s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 170px 0 120px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("assets/construction-bw.jpg");
  background-image: -webkit-image-set(url("assets/construction-bw.webp") type("image/webp"), url("assets/construction-bw.jpg") type("image/jpeg"));
  background-image: image-set(url("assets/construction-bw.webp") type("image/webp"), url("assets/construction-bw.jpg") type("image/jpeg"));
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.72) 46%, rgba(13,13,13,0.34) 100%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%),
    radial-gradient(ellipse 900px 600px at 82% 10%, rgba(232,124,45,0.16), transparent 60%);
}
.hero h1 { max-width: 980px; margin-bottom: 0; line-height: 1.1; }
.h1-soft { display: block; margin-top: 12px; font-size: 0.62em; font-weight: 400; color: var(--text-2); }
.h1-dot { color: var(--accent); font-style: normal; }
/* Forced breaks are a desktop nicety; narrow screens wrap on their own. */
.br-wide { display: none; }
@media (min-width: 761px) { .br-wide { display: inline; } }
.btn-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.2;
}
.btn-sub {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero .lead { max-width: 640px; margin-top: 24px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.hero-ctas .btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Stats band ---------- */

.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
/* Two figures: doors as the hero number, occupancy as a fill. A ratio reads
   faster as a fill than as a second number, and the accent lands on one number. */
.stats-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 72px;
  align-items: end;
  padding: 44px 0 36px;
}
.stat-doors { display: flex; flex-direction: column; gap: 6px; }
.stat-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-big-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.3;
  color: var(--muted);
}
.stat-occupancy {
  border-left: 1px solid var(--border);
  padding: 0 0 10px 40px;
  margin-bottom: 6px;
}
.stat-meter-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.stat-meter-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.stat-meter-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-track { position: relative; height: 2px; background: var(--border); }
.stat-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 90%; background: var(--accent); }
.stat-fill::after { content: ""; position: absolute; right: -1px; top: -5px; width: 2px; height: 12px; background: var(--accent); }
.stats-note {
  padding-bottom: 14px;
  font-size: 0.72rem;
  color: var(--dim);
}

/* ---------- The Firm ---------- */

.firm-grid {
  display: grid;
  grid-template-columns: minmax(0, 420fr) minmax(0, 636fr);
  gap: 60px;
  align-items: start;
}
.firm-copy { max-width: 720px; }
.firm-copy h2 { margin-bottom: 56px; }
.firm-copy p + p { margin-top: 20px; }
.firm-copy strong { color: var(--text); font-weight: 600; }

/* Operating philosophy, ported from the approved Elevation artboard
   (_design-explorations/about-section/Main.dc.html). The stage is a 636x560
   composition: floor pitch 84px equals step row 84px, so each principle sits
   on its floor. It scales as one unit via container units; the ink is cream. */
.philosophy-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 18px;
}
.philosophy-stage {
  position: relative;
  width: 100%;
  max-width: 636px;
  aspect-ratio: 636 / 560;
  container-type: inline-size;
}
.philosophy-building { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.pb-ink { stroke: #f0ece4; }
.pb-ground { stroke: var(--dim); }
.pb-accent { stroke: var(--accent); }
.pb-fill { fill: var(--accent); }

.philosophy-steps {
  position: absolute;
  left: 63.84%;   /* 406 / 636 */
  top: 20.8%;     /* 116.5 / 560 */
  width: 30.82%;  /* 196 / 636 */
  height: 75%;    /* 420 / 560 */
}
.philosophy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column-reverse;   /* source stays 01..05; 01 sits on the ground floor */
}
.philosophy-list li {
  height: 20%;                      /* 84 / 420, one floor */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 4px;
}
.ph-n {
  display: block;
  font-size: clamp(9.5px, 1.811cqw, 11.52px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.ph-t {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(13px, 2.893cqw, 18.4px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  text-wrap: balance;
}
.philosophy-loop { display: none; }

.group-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dim);
  padding-bottom: 13px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.philosophy-src { margin-top: 22px; font-size: 0.8rem; color: var(--dim); }

/* ---------- Strategy ---------- */

.strategy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
.strategy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 36px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.strategy-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.strategy-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(232,124,45,0.4);
  border-radius: 3px;
  padding: 5px 10px;
  margin-bottom: 22px;
}
.strategy-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.strategy-card p { color: var(--muted); font-size: 0.98rem; }
.strategy-card ul { margin-top: 16px; list-style: none; }
.strategy-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 8px;
}
.strategy-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 2px;
  background: var(--accent);
}

.cycle-head { margin-bottom: 40px; }
.cycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.cycle-step {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 22px;
  counter-increment: step;
  transition: border-color 0.25s ease;
}
.cycle-step:hover { border-color: var(--accent); }
.cycle-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.cycle-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.cycle-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.discipline {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.discipline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 34px;
}
.discipline-card h3 { margin-bottom: 12px; }
.discipline-card h3 span { color: var(--accent); }
.discipline-card p { color: var(--muted); font-size: 0.97rem; }
.discipline-card ul { margin-top: 14px; list-style: none; }
.discipline-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 8px;
}
.discipline-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Portfolio ---------- */

.buy-cta { margin-top: 36px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.property-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.property-photo {
  margin: -34px -30px 24px;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #232323 0%, #171717 100%);
  border-bottom: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.property-photo picture, .property-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-photo span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.property-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.property-card h3 { font-size: 1.2rem; }
.property-status {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  border-radius: 3px;
  white-space: nowrap;
}
.status-stabilized { color: #22c55e; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); }
.status-build { color: var(--accent); background: rgba(232,124,45,0.12); border: 1px solid rgba(232,124,45,0.35); }
.status-leaseup, .status-managed { color: #2dd4bf; background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.3); }
.property-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: none;
}
.property-own {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  background: transparent;
}
.own-omba { color: var(--accent); border: 1px solid rgba(232,124,45,0.45); }
.own-ddg { color: var(--text-2); border: 1px solid rgba(204,204,204,0.32); }
.own-founder { color: var(--muted); border: 1px solid rgba(154,154,154,0.32); }
.own-third { color: var(--dim); border: 1px solid rgba(143,143,143,0.30); }
.property-strategy {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.property-card p { font-size: 0.93rem; color: var(--muted); flex-grow: 1; }
.property-facts {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 28px;
}
.property-fact-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}
.property-fact-label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-top: 3px;
}
.ownership-key {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px 36px;
  max-width: 880px;
}
.ownership-key li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--dim);
}
.ownership-key .property-own {
  flex: none;
  min-width: 94px;
  text-align: center;
}

/* ---------- Case study & timeline ---------- */

.case-section {
  background: linear-gradient(160deg, #17120e 0%, #0f0d0c 62%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.case-body > p { color: var(--text-2); }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cm-value { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.cm-value em { font-style: normal; color: var(--accent); }
.cm-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 6px; }
.case-foot { font-size: 0.78rem; color: var(--dim); }
.timeline {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 34px 32px;
}
.timeline-title { font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 16px; }
.timeline-list { list-style: none; }
.timeline-list li { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border); }
.timeline-list li:first-child { border-top: none; }
.tl-year { flex: 0 0 92px; font-weight: 700; color: var(--accent); font-size: 0.85rem; }
.tl-text { color: var(--text-2); font-size: 0.92rem; }

#platform .section-head { text-align: center; margin-left: auto; margin-right: auto; }
#platform .section-head p { margin-left: auto; margin-right: auto; }
.entity-lockup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3.4vw, 40px);
  flex-wrap: wrap;
  margin: 0;
}
.lockup-side { display: flex; align-items: center; gap: 14px; }
.lockup-side img { display: block; height: 58px; width: auto; }
.lockup-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
}
.lockup-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.lockup-join { font-size: 2rem; color: var(--accent); line-height: 1; opacity: 0.85; }
.lockup-ddg { display: block; height: 58px; width: auto; }

@media (max-width: 560px) {
  .lockup-side img { height: 44px; }
  .lockup-word { font-size: 1.5rem; }
  .lockup-ddg { height: 44px; }
  .lockup-join { font-size: 1.5rem; }
}

/* ---------- Platform ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.platform-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 44px 40px;
  background: var(--card);
}
.platform-card.accented { border-top: 3px solid var(--accent); }
.platform-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.platform-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}
.platform-card p { color: var(--muted); font-size: 0.97rem; }
.platform-card ul { margin-top: 18px; list-style: none; }
.platform-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 8px;
}
.platform-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 2px;
  background: var(--accent);
}
.card-link { display: inline-block; margin-top: 24px; font-size: 0.9rem; font-weight: 600; }

.platform-photo {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.platform-photo img { width: 100%; height: 420px; object-fit: cover; filter: saturate(0.85); }
.platform-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 32px 20px;
  background: linear-gradient(180deg, transparent, rgba(13,13,13,0.92));
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ---------- Leadership ---------- */

.leader-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 48px;
  align-items: start;
}
.leader-aside { display: flex; flex-direction: column; align-items: flex-start; }
.leader-photo {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.leader-aside .card-link { margin-top: 18px; }
.leader-photo img { width: 100%; height: 202px; object-fit: cover; object-position: center 18%; }
.leader-name { font-size: 1.6rem; margin-bottom: 4px; }
.leader-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
}
.leader-bio p + p { margin-top: 16px; }
.leader-bio { color: var(--text-2); font-size: 1rem; }
.credentials {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  list-style: none;
}
.credentials li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.cred-main { display: block; }
.cred-sub { display: block; margin-top: 2px; font-size: 0.86em; color: var(--dim); }
.credentials li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.leader-support { margin-top: 30px; font-size: 0.9rem; color: var(--muted); }


/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy p + p { margin-top: 18px; }
.contact-copy .invite-note {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  color: var(--text-2);
}
.contact-intro { color: var(--muted); max-width: 780px; margin-bottom: 34px; }
.inquiry-list { list-style: none; margin: 0; }
.inquiry-list li { border-top: 1px solid var(--border); }
.inquiry-list li:last-child { border-bottom: 1px solid var(--border); }
.inquiry-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 2px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}
.inquiry-list a span { color: var(--accent); transition: transform 0.2s ease; }
.inquiry-list a:hover { color: var(--accent); }
.inquiry-list a:hover span { transform: translateX(4px); }
.contact-list { list-style: none; margin-top: 0; }
.contact-list li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.contact-list li:first-child { border-top: 1px solid var(--border); }
.contact-key {
  flex: 0 0 96px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.contact-val { color: var(--text); font-size: 1rem; overflow-wrap: anywhere; }
.contact-val a { color: var(--text); }
.contact-val a:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 30px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--dim);
  line-height: 1.8;
}

/* ---------- Reveal animation ---------- */

/* Reveal is a progressive enhancement: hidden only when JS confirms support,
   so the page stays fully readable if script.js fails to load. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Visible keyboard focus indicator */
a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .stats-hero { gap: 48px; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .firm-grid, .leader-grid, .contact-grid, .platform-grid, .case-grid { grid-template-columns: 1fr; gap: 44px; }
  .leader-aside { max-width: 170px; }
}

/* Collapse to the hamburger before the horizontal nav can crowd the CTA (tablet portrait) */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px 34px;
    gap: 22px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 890;
  }
  .nav-open .nav { transform: none; }
  .nav-toggle { display: block; }
  /* Legal pages keep a compact inline nav so Home stays reachable without a toggle */
  .nav-inline {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .container { padding: 0 22px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .strategy-cards, .discipline { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .stats-hero { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 30px; }
  .stat-occupancy { border-left: none; padding: 22px 0 6px; border-top: 1px solid var(--border); margin-bottom: 0; }
  .hero { padding-top: 140px; }
  .credentials { grid-template-columns: 1fr; }
  .leader-photo img { height: 202px; }
}

/* Phones: the stage cannot hold text at 390px, so the building stands alone,
   the list drops below it in normal flow, and a CSS loop replaces the SVG one. */
@media (max-width: 700px) {
  .philosophy-stage { aspect-ratio: auto; max-width: none; }
  .philosophy-building { position: static; width: 240px; height: auto; aspect-ratio: 636 / 560; }
  .pb-steps-art { display: none; }
  .philosophy-steps { position: relative; left: auto; top: auto; width: auto; height: auto; margin-top: 26px; padding-right: 30px; }
  .philosophy-list { height: auto; }
  .philosophy-list li { height: auto; padding: 12px 0 11px; border-bottom: 1px solid var(--border); gap: 3px; }
  .philosophy-list li:first-child { border-bottom: none; }
  .ph-n { font-size: 0.7rem; }
  .ph-t { font-size: 1.05rem; }
  .philosophy-loop {
    display: block; position: absolute; left: 0; right: 0; top: 34px; bottom: 0;
    border-right: 1px dashed var(--accent); border-bottom: 1px dashed var(--accent); pointer-events: none;
  }
  .philosophy-loop::before { content: ""; position: absolute; top: -1px; right: -1px; width: 52%; border-top: 1px dashed var(--accent); }
  .philosophy-loop::after { content: ""; position: absolute; left: -1px; bottom: -4px; border: 4px solid transparent; border-right-color: var(--accent); }
  .loop-dot { position: absolute; top: -3px; right: 52%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
}
