/* Alpha Legacy Capital — v5. Centered quiet luxury.
   Near-black, metallic gold as the sole accent, hairline rules instead
   of boxes, generous black space, one narrow centred column. */
:root {
  --black: #060606;
  --panel: #0a0a0a;
  --gold: #c9a86a;
  --gold-2: #e6c887;
  --gold-deep: #9c7f45;
  --ink: #f2ede3;
  --muted: #a89e8a;
  --faint: #7d7462;
  --line: rgba(201, 168, 106, 0.28);
  --line-soft: rgba(201, 168, 106, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.7rem, 6vw, 4.2rem); margin: 24px 0 22px; color: #fff; text-align: center; }
h1 .h1-gold { background: linear-gradient(120deg, #e6c887, #c9a86a 55%, #9c7f45); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .h1-italic { font-style: italic; font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 12px 0 16px; color: #fff; text-align: center; }
h3 { font-size: 1.9rem; margin: 0 0 10px; color: #fff; }
p { margin: 0 0 16px; }
a { color: inherit; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.7rem; font-weight: 600; color: var(--gold); margin: 0; text-align: center; }
.eyebrow-left { text-align: left; }
.rule { width: 64px; height: 1px; background: var(--gold); margin: 28px auto; border: 0; }
.rule-left { margin-left: 0; }

/* Header — minimal, slim */
.site-header { border-bottom: 1px solid var(--line-soft); background: rgba(6,6,6,0.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; object-fit: cover; }
.brand-main { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.site-nav { display: flex; gap: 34px; }
.site-nav a { color: #c9c0ab; text-decoration: none; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; padding: 6px 0; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-2); }

/* Hero — centred, logo first, one idea at a time */
.hero { padding: 96px 0 72px; text-align: center; }
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-logo { display: block; width: 280px; max-width: 72vw; height: auto; margin: 0 auto 8px; filter: drop-shadow(0 0 44px rgba(201,168,106,0.32)); }
.lede { font-size: 1.13rem; max-width: 620px; margin: 0 auto 14px; color: #d7d0bf; }
.lede-2 { color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.btn-gold { background: linear-gradient(120deg, #e6c887, #c9a86a); color: #0a0a0a; box-shadow: 0 0 32px rgba(201,168,106,0.3); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--gold-2); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }

/* Portfolio numerals — hairline dividers, no boxes */
.numerals { display: flex; justify-content: center; gap: 0; margin: 56px auto 0; max-width: 780px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 28px 0; }
.numeral { flex: 1; padding: 0 18px; }
.numeral + .numeral { border-left: 1px solid var(--line-soft); }
.numeral-num { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2.3rem; color: var(--gold-2); line-height: 1.1; }
.numeral-label { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Sections */
.section { padding: 96px 0; border-top: 1px solid var(--line-soft); text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* Company tiles — uniform squares, logos shown whole */
.companies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; text-align: center; }
.company-card { display: block; background: var(--panel); border: 1px solid var(--line); text-decoration: none; padding-bottom: 30px; transition: border-color 0.2s ease, transform 0.2s ease; }
.company-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.company-logo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; background: #000; border-bottom: 1px solid var(--line-soft); padding: 26px; overflow: hidden; }
.company-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tile-badge { display: inline-block; border: 1px solid var(--line); color: var(--gold-2); padding: 5px 12px; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 26px 0 16px; }
.tile-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; color: #fff; margin: 0 16px; }
.tile-tag { color: var(--muted); font-size: 0.84rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 10px 16px 0; }
.tile-link { display: block; margin-top: 18px; font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); }

.empty-state { border: 1px solid var(--line); background: var(--panel); padding: 48px 28px; margin-top: 36px; }
.empty-state p { color: var(--muted); margin: 0; }

/* Founder teaser — centred portrait */
.founder-teaser-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.founder-thumb { width: 210px; height: 262px; object-fit: cover; border: 1px solid var(--line); margin: 0 auto 28px; display: block; }
.teaser-text { color: #d7d0bf; font-size: 1.06rem; max-width: 560px; margin: 0 auto 26px; }

.focus-list { color: #d7d0bf; font-size: 1.12rem; max-width: 640px; margin: 26px auto 0; }
.quote { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin: 52px 0 10px; font-style: italic; }
.quote-sub { color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.84rem; margin: 0; }

/* Company detail pages — centred, hairline fact rows */
.page-hero { padding: 80px 0 72px; text-align: center; }
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.company-hero-logo { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto 32px; border: 1px solid var(--line-soft); background: #000; }
.company-hero-logo-contain { object-fit: contain; padding: 28px; max-height: 340px; width: auto; max-width: 100%; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.facts { max-width: 560px; margin: 44px auto 0; text-align: left; border-top: 1px solid var(--line-soft); }
.fact { display: flex; justify-content: space-between; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); }
.fact-label { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); padding-top: 3px; white-space: nowrap; }
.fact-value { color: #fff; font-size: 1rem; text-align: right; }
.fact-value a { color: var(--gold-2); text-decoration: none; }
.page-body { padding: 72px 0; border-top: 1px solid var(--line-soft); }
.page-body-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.page-body p { color: #d7d0bf; font-size: 1.08rem; }
.back-link { display: inline-block; margin-top: 28px; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; }

/* Founder page — centred */
.founder-page { padding: 80px 0; text-align: center; }
.founder-page-inner { max-width: 680px; margin: 0 auto; }
.founder-photo { width: 300px; max-width: 72vw; height: auto; border: 1px solid var(--line); margin: 0 auto 32px; display: block; }
.founder-name { font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 10px 0 8px; }
.founder-title { letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold); margin: 0 0 36px; }
.founder-bio { text-align: left; }
.founder-bio p { color: #d7d0bf; font-size: 1.08rem; }
.founder-quote { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; color: #fff; font-style: italic; text-align: center; margin: 40px 0; }
.signature { display: block; width: 100%; max-width: 400px; height: auto; margin: 40px auto 6px; }
.signature-caption { letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.74rem; color: var(--muted); margin: 0; text-align: center; }
.signature-caption strong { color: #fff; font-weight: 600; }
.founder-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.site-footer { border-top: 1px solid var(--line-soft); padding: 60px 0; text-align: center; }
.footer-brand { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; letter-spacing: 0.14em; color: #fff; margin: 0 0 12px; }
.footer-links a { color: var(--gold-2); text-decoration: none; font-size: 0.84rem; letter-spacing: 0.2em; text-transform: uppercase; }
.disclaimer { font-size: 0.84rem; max-width: 680px; margin: 26px auto 12px; color: var(--faint); }
.copyright { font-size: 0.84rem; color: var(--faint); margin: 0; }

@media (max-width: 860px) {
  .companies-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .numerals { flex-direction: column; gap: 22px; padding: 28px 0; }
  .numeral + .numeral { border-left: 0; border-top: 1px solid var(--line-soft); padding-top: 22px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 72px 0; }
  .fact { flex-direction: column; gap: 4px; }
  .fact-value { text-align: left; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
}

/* Guards: images never overflow the viewport, and anchored sections
   never hide under the sticky header. */
img { max-width: 100%; height: auto; }
section, .page-hero, .founder-page { scroll-margin-top: 76px; }
