/* Neo Investment Banking — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette from Neo Group — deep midnight navy + champagne antique gold */
  --bg: #0B0B1E;          /* near-black with navy cast (hero / primary) */
  --bg-2: #151438;        /* deep navy (footer / alt sections) */
  --bg-3: #1E1D4A;        /* elevated navy surface */
  --line: #2A2955;        /* navy hairline */
  --line-strong: #3A3970;
  --gold: #BFA06A;        /* champagne / antique gold, matches Neo mandala */
  --gold-light: #D8BE8A;
  --gold-dim: #8B7446;
  --ink: #F2ECDE;         /* warm off-white */
  --ink-2: #D4CBB6;
  --muted: #8F8AA8;       /* navy-tinted muted */
  --muted-2: #5E5980;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1360px;
  --pad: clamp(24px, 5vw, 88px);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}
body { width: 100%; }

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

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

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

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,30,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}
.topbar .brand { flex: 0 0 auto; }
.topbar .nav { flex: 1 1 auto; justify-content: center; }
.topbar .cta { flex: 0 0 auto; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  position: relative;
}
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}
.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after  { top: 6px; }
@media (max-width: 1100px) {
  .topbar .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .topbar .wrap { height: 66px; gap: 16px; }
  .topbar .cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0s linear 0.3s, padding 0.3s ease;
  }
  .topbar .nav.open {
    max-height: calc(100vh - 66px);
    padding: 16px 0;
    visibility: visible;
    transition: max-height 0.3s ease, visibility 0s linear 0s, padding 0.3s ease;
  }
  .topbar .nav a {
    width: 100%;
    padding: 14px var(--pad);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .topbar .nav a:last-child { border-bottom: 0; }
  .topbar .nav a.active::after { display: none; }
  .topbar .nav .mobile-contact { color: var(--gold); }
}
@media (min-width: 901px) {
  .mobile-contact { display: none; }
}
/* --- extra mobile polish --- */
@media (max-width: 900px) {
  :root { --pad: clamp(20px, 5vw, 28px); }
  .hero h1 { max-width: none; }
  .hero .sub { max-width: none; }
  .page-title { max-width: none; }
  .section-title { max-width: none; }
  .lede { max-width: none; }
  .section { padding: 72px 0; }
  .quote-band { padding: 80px 0; }
  .page-head { padding: 80px 0 56px; }
  .hero { padding: 88px 0 96px; }
  .hero-mandala { width: 340px; height: 340px; opacity: 0.22; right: -120px; top: 40%; }
  .hero-meta { position: static; padding: 40px var(--pad) 0; flex-wrap: wrap; gap: 20px 28px; }
  .hero-actions { gap: 16px; margin-top: 40px; flex-direction: column; align-items: flex-start; }
  .hero-actions .cta, .hero-actions .btn-ghost { width: auto; }
  .kpi { padding: 28px 20px; }
  .kpi .val { font-size: 42px; }
  .kpi .lbl { font-size: 10px; margin-top: 10px; }
  .pillar { padding: 36px 28px; }
  .pillar h3 { font-size: 24px; }
  .team-card { padding: 28px 20px; }
  .team-head { grid-template-columns: 56px 1fr auto; gap: 14px; }
  .avatar { width: 56px; height: 56px; font-size: 20px; }
  .team-name { font-size: 18px; line-height: 1.15; }
  .team-role { font-size: 9.5px; letter-spacing: 0.18em; }
  .team-toggle { width: 30px; height: 30px; font-size: 14px; flex-shrink: 0; }
  .team-bio-inner { font-size: 14px; padding-top: 20px; margin-top: 20px; overflow-wrap: anywhere; }
  .svc-row { padding: 56px 0; }
  .svc-row .left { position: static; }
  .svc-row h2 { font-size: clamp(32px, 8vw, 44px); }
  .svc-row ul.caps { grid-template-columns: 1fr; gap: 12px; padding-top: 24px; margin-top: 24px; }
  .svc-card { padding: 32px 24px; min-height: 280px; }
  .svc-card h3 { font-size: 26px; }
  .tomb { padding: 32px 24px; min-height: 260px; }
  .tomb .tag { top: 24px; right: 24px; }
  .tomb .co { font-size: 22px; }
  .residency-gate { padding: 32px 24px; gap: 24px; }
  .residency-gate h3 { font-size: 22px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 12px 10px; font-size: 10px; letter-spacing: 0.14em; }
  .doc-list li { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 22px 0; }
  .doc-list li .act { grid-column: 1 / -1; justify-self: start; }
  .doc-list .title { font-size: 18px; }
  .contact-card { padding: 36px 28px; }
  .contact-card .big { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 56px 0 28px; }
  .footer-grid { gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 11px; }
  .footer .reg { grid-template-columns: 1fr; gap: 6px; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .tl-row .yr { font-size: 24px; }
  .page-title { font-size: clamp(40px, 11vw, 64px); }
  .section-title { font-size: clamp(28px, 8vw, 44px); }
  .hero h1 { font-size: clamp(44px, 13vw, 80px); }
  .hero .sub { font-size: 16px; }
  .page-sub { font-size: 15px; }
  .lede { font-size: 15.5px; }
  .quote-band .quote { font-size: clamp(22px, 6vw, 32px); }
  .svc-cards .svc-card .roman { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .nav { font-size: 11px; }
  .brand-logo { height: 34px; }
  .brand .sub { font-size: 9px; padding-left: 10px; }
  .crumbs { font-size: 9px; letter-spacing: 0.2em; gap: 8px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.22em; }
}
@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr !important; gap: 40px !important; padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
  .cta-split-right { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding-top: 40px !important; }
  .cta-split-right a[href^="mailto:"] { font-size: 28px !important; }
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand > span { white-space: nowrap; }
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.footer .brand-logo { height: 48px; }
.brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  transform: translateY(-3px);
}
.brand .sub {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  align-self: center;
}
.nav {
  display: flex;
  gap: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--gold-light); }
.nav a.active { color: var(--gold); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.cta:hover { background: var(--gold); color: var(--bg); }
.cta .arr { font-family: var(--serif); font-size: 14px; transform: translateY(-1px); }

/* ---------- page header (title band) ---------- */
.page-head {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(191,160,106,0.06), transparent 60%);
  pointer-events: none;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.crumbs > span { white-space: nowrap; }
.crumbs .gold { color: var(--gold); }
.crumbs .sep { color: var(--muted-2); }
.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 18ch;
}
.page-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.page-sub {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
  font-weight: 300;
}

/* ---------- section kit ---------- */
.section { padding: 110px 0; border-bottom: 1px solid var(--line); position: relative; }
.section.tight { padding: 80px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--gold); }
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
  font-weight: 300;
}
.lede + .lede { margin-top: 18px; }

/* two-col */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer h5 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--gold-light); }
.footer .small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer .reg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin-top: 16px;
  align-items: center;
}
.footer .reg .v { overflow-wrap: anywhere; }
.footer .reg .k { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer .reg .v { color: var(--ink-2); font-family: var(--mono); font-size: 12px; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.placeholder-chip {
  display: inline-block;
  padding: 2px 6px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

/* ---------- ornaments ---------- */
.mandala {
  width: 120px; height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(191,160,106,0.25) 31%, transparent 32%),
    radial-gradient(circle at center, transparent 44%, rgba(191,160,106,0.18) 45%, transparent 46%),
    radial-gradient(circle at center, transparent 56%, rgba(191,160,106,0.12) 57%, transparent 58%),
    conic-gradient(from 0deg, rgba(191,160,106,0.4), transparent 8%, rgba(191,160,106,0.4) 16%, transparent 24%, rgba(191,160,106,0.4) 32%, transparent 40%, rgba(191,160,106,0.4) 48%, transparent 56%, rgba(191,160,106,0.4) 64%, transparent 72%, rgba(191,160,106,0.4) 80%, transparent 88%, rgba(191,160,106,0.4) 96%, rgba(191,160,106,0.4) 100%);
  mask: radial-gradient(circle at center, black 20%, black 70%, transparent 72%);
  opacity: 0.7;
}
.goldline {
  width: 56px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.index-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ---------- buttons ---------- */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 0;
  border-bottom: 1px solid var(--gold-dim);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost .arr { font-family: var(--serif); font-size: 16px; transform: translateY(-1px); }

/* ---------- kpi strip ---------- */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.kpi:last-child { border-right: 0; }
.kpi .val {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.kpi .val sup { font-size: 22px; color: var(--gold-dim); font-weight: 400; vertical-align: top; margin-left: 2px; position: relative; top: 6px; }
.kpi .lbl {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 800px) { .kpi-strip { grid-template-columns: 1fr 1fr; } .kpi:nth-child(2) { border-right: 0; } .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- pillar/value cards ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg);
  padding: 48px 40px 44px;
  position: relative;
}
.pillar .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  line-height: 1.15;
}
.pillar p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- services editorial rows ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-row:last-child { border-bottom: 0; }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; padding: 64px 0; } }
.svc-row .left { position: sticky; top: 110px; }
.svc-row .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.svc-row h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.svc-row h2 em { font-style: italic; color: var(--gold); }
.svc-row .tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc-row p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0 0 24px;
}
.svc-row ul.caps {
  margin: 32px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.svc-row ul.caps li {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.svc-row ul.caps li::before {
  content: "";
  flex: 0 0 auto;
  width: 4px; height: 4px;
  background: var(--gold);
  margin-top: 9px;
  transform: rotate(45deg);
}

/* ---------- team cards (expandable) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
}
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--bg);
  padding: 40px;
  transition: background 0.2s;
  cursor: pointer;
}
.team-card:hover { background: var(--bg-2); }
.team-card[data-open="true"] { background: var(--bg-2); }
.team-head { display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center; }
.avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2620, #1C1914);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}
.avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(191,160,106,0.2);
  pointer-events: none;
}
.team-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0 0 6px;
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.team-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: transform 0.25s, border-color 0.2s;
}
.team-card:hover .team-toggle { border-color: var(--gold-dim); }
.team-card[data-open="true"] .team-toggle { transform: rotate(45deg); border-color: var(--gold); }
.team-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.team-bio-inner {
  padding: 28px 0 4px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  font-weight: 300;
}

/* ---------- tombstones ---------- */
.tomb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 48px;
}
@media (max-width: 900px) { .tomb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tomb-grid { grid-template-columns: 1fr; } }
.tomb {
  background: var(--bg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  transition: background 0.2s;
}
.tomb:hover { background: var(--bg-2); }
.tomb .year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 24px;
}
.tomb .co {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.tomb .desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: auto;
  font-weight: 300;
  padding-bottom: 28px;
}
.tomb .meta {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 11px;
}
.tomb .meta .k { color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 9.5px; margin-bottom: 4px; }
.tomb .meta .v { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.tomb .size { color: var(--gold); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.tomb .tag {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid var(--gold-dim);
}

/* ---------- hero ---------- */
.hero {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  right: -10%; top: 50%;
  transform: translateY(-50%);
  width: 680px; height: 680px;
  background:
    radial-gradient(circle, rgba(191,160,106,0.08) 0%, transparent 60%);
}
.hero-mandala {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-tag::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero .sub {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
  font-weight: 300;
}
.hero-actions {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  position: absolute;
  left: var(--pad);
  bottom: 40px;
  display: flex;
  gap: 48px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ---------- service preview grid on home ---------- */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 48px;
}
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--bg);
  padding: 44px 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
}
.svc-card:hover { background: var(--bg-2); }
.svc-card .roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 44px;
}
.svc-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.svc-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 auto;
  font-weight: 300;
}
.svc-card .link {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.svc-card .link .arr { font-family: var(--serif); font-size: 16px; }

/* ---------- quote band ---------- */
.quote-band {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.quote-band .quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.005em;
}
.quote-band .quote em { font-style: italic; color: var(--gold); }
.quote-band .attr {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- disclosure / docs ---------- */
.residency-gate {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 48px 44px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .residency-gate { grid-template-columns: 1fr; } }
.residency-gate h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.residency-gate p { margin: 0; color: var(--ink-2); font-size: 14px; font-weight: 300; max-width: 56ch; }
.seg {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  padding: 4px;
  border-radius: 2px;
}
.seg button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
}
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.doc-list li {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.doc-list .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
  width: 40px;
}
.doc-list .title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.doc-list .desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}
.doc-list .act {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 20px;
  border: 1px solid var(--gold-dim);
  transition: background 0.2s, color 0.2s;
}
.doc-list .act:hover { background: var(--gold); color: var(--bg); }
.doc-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--bg);
  padding: 56px 48px;
}
.contact-card .lbl {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.contact-card .big {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.contact-card p { color: var(--ink-2); font-weight: 300; margin: 0; font-size: 15px; line-height: 1.65; }
.contact-card address {
  font-style: normal;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-top: 40px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 0;
  font: inherit;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ---------- about timeline ---------- */
.timeline { margin-top: 56px; border-top: 1px solid var(--line); }
.tl-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tl-row .yr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.tl-row h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.tl-row p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; font-weight: 300; max-width: 68ch; }

/* ---------- utility ---------- */
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.page-wrap main { flex: 1; }

/* subtle grain */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}
