/* Global Harris — site styles. No framework; tokens on :root. */
:root {
  --bg: #f5f1e9;
  --bg-2: #ece6da;
  --surface: #fbf9f4;
  --ink: #12151c;
  --ink-2: #3a3f4a;
  --muted: #5b606b;
  --line: rgba(18, 21, 28, 0.12);
  --line-strong: rgba(18, 21, 28, 0.22);
  --brass: #7a5c2a;
  --brass-strong: #644a20;
  --brass-soft: rgba(122, 92, 42, 0.12);
  --on-brass: #fbf9f4;
  --shadow: 0 1px 2px rgba(18, 21, 28, 0.04), 0 12px 32px -18px rgba(18, 21, 28, 0.22);
  --confirm: #8f3f0b;
  --confirm-bg: rgba(245, 158, 11, 0.12);
  --focus: #2f5bd3;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1016;
    --bg-2: #131720;
    --surface: #151a23;
    --ink: #ede7db;
    --ink-2: #c9c3b7;
    --muted: #9a9ca3;
    --line: rgba(237, 231, 219, 0.10);
    --line-strong: rgba(237, 231, 219, 0.2);
    --brass: #cfac6e;
    --brass-strong: #e0c189;
    --brass-soft: rgba(207, 172, 110, 0.12);
    --on-brass: #0d1016;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);
    --confirm: #fbbf24;
    --confirm-bg: rgba(251, 191, 36, 0.10);
    --focus: #8fb0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1016;
  --bg-2: #131720;
  --surface: #151a23;
  --ink: #ede7db;
  --ink-2: #c9c3b7;
  --muted: #9a9ca3;
  --line: rgba(237, 231, 219, 0.10);
  --line-strong: rgba(237, 231, 219, 0.2);
  --brass: #cfac6e;
  --brass-strong: #e0c189;
  --brass-soft: rgba(207, 172, 110, 0.12);
  --on-brass: #0d1016;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);
  --confirm: #fbbf24;
  --confirm-bg: rgba(251, 191, 36, 0.10);
  --focus: #8fb0ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass); color: var(--on-brass); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 0; color: var(--ink); }
h1 { font-size: clamp(48px, 9vw, 112px); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; letter-spacing: 0.01em; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--brass); background: var(--brass-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-btn { display: none; }

@media (max-width: 880px) {
  .menu-btn { display: inline-grid; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); display: block; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--brass); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius);
  font: 600 14.5px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--bg); background: var(--brass-strong); border-color: var(--brass-strong); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { color: var(--ink); border-color: var(--brass); background: var(--brass-soft); }
.btn.sm { padding: 10px 16px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow:hover { color: var(--brass-strong); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-2); max-width: 46ch; margin: 0; justify-self: end; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 20px; } .section-head p { justify-self: start; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .amp { color: var(--brass); font-style: italic; }
.hero .lede { margin-bottom: 40px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: end; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art .orbit { transform-origin: 50% 50%; animation: spin 120s linear infinite; }
.hero-art .orbit.rev { animation-direction: reverse; animation-duration: 180s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; justify-self: start; order: -1; margin-bottom: 8px; }
}
@media (max-width: 480px) { .hero-art { max-width: 200px; } }

.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(44px, 7vw, 88px); margin-bottom: 24px; max-width: 14ch; }
.page-hero .lede { max-width: 52ch; }
.page-hero .bg-mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(520px, 60vw); opacity: .06; pointer-events: none; color: var(--ink); }
@media (max-width: 600px) { .page-hero .bg-mark { display: none; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.pillar { padding: 36px 26px 40px; background: var(--bg); position: relative; display: flex; flex-direction: column; }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--brass); letter-spacing: 0.1em; margin-bottom: 36px; display: block; }
.pillar h3 { margin-bottom: 14px; font-size: clamp(24px, 2.2vw, 28px); }
.pillar p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 20px; }
.pillar .link-arrow { margin-top: auto; }
.pillar .glyph { width: 40px; height: 40px; color: var(--brass); margin-bottom: 22px; }
@media (max-width: 1140px) {
  .pillars { grid-template-columns: repeat(6, 1fr); }
  .pillar { grid-column: span 2; }
  .pillar:nth-child(4), .pillar:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar, .pillar:nth-child(4) { grid-column: span 1; }
  .pillar:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(5) { grid-column: auto; padding: 28px 0 32px; }
  .pillar .num { margin-bottom: 20px; }
}

/* ---------- Track record ---------- */
.track { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.track-item { flex: 1 1 300px; padding: 34px 28px; background: var(--surface); }
.track-item .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; display: block; }
.track-item .v { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 29px); line-height: 1.2; color: var(--ink); }
.track-item p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Sectors (investments) ---------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sector { border: 1px solid var(--line); background: var(--surface); padding: 30px 26px; transition: border-color .25s, transform .3s var(--ease); }
.sector:hover { border-color: var(--brass); transform: translateY(-2px); }
.sector svg { width: 44px; height: 44px; color: var(--brass); margin-bottom: 26px; }
.sector h3 { font-size: 25px; margin-bottom: 10px; }
.sector p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Statement / quote band ---------- */
.statement { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.15; max-width: 22ch; letter-spacing: -0.01em; margin: 0; }
.statement em { color: var(--brass); }

.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cta-tile { background: var(--surface); padding: clamp(32px, 5vw, 56px); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: background-color .3s var(--ease); position: relative; }
.cta-tile:hover { background: var(--bg-2); color: var(--ink); }
.cta-tile h3 { font-size: clamp(30px, 3.4vw, 42px); }
.cta-tile p { color: var(--ink-2); margin: 0; max-width: 40ch; }
.cta-tile .link-arrow { margin-top: auto; }
.cta-tile:hover .link-arrow span { transform: translateX(4px); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } .cta-tile { min-height: 0; } }

/* ---------- Company cards ---------- */
.co-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.co {
  display: grid; grid-template-columns: 220px 1fr 220px; gap: clamp(20px, 4vw, 56px); padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line); align-items: start;
}
.co-mark { width: 72px; height: 72px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--brass); background: var(--surface); }
.co-mark svg { width: 36px; height: 36px; }
.co-meta { display: flex; flex-direction: column; gap: 18px; }
.co-sector { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.co h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.co-body p { color: var(--ink-2); max-width: 56ch; }
.co-facts { display: grid; gap: 14px; margin: 0; font-size: 14.5px; }
.co-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.co-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.co-facts dd { margin: 0; color: var(--ink); }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; gap: 20px; }
  .co-meta { flex-direction: row; align-items: center; }
  .co-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .co-facts { grid-template-columns: 1fr; } }

.history { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.history-card { border: 1px solid var(--line); padding: 32px; background: var(--surface); }
.history-card .yr { font-family: var(--mono); font-size: 12px; color: var(--brass); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 18px; }
.history-card h3 { margin-bottom: 12px; }
.history-card p { color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .history { grid-template-columns: 1fr; } }

/* ---------- Company sub-section ---------- */
.co-sub { margin: 26px 0 22px; padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 60ch; }
.co-sub h4 { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.co-sub p { font-size: 15.5px; }
.co-sub .mini-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.co-sub .mini-links a { color: var(--ink-2); }

/* ---------- CONFIRM placeholders ---------- */
.confirm {
  outline: 2px dashed var(--confirm); outline-offset: 2px; background: var(--confirm-bg); color: var(--confirm);
  font-family: var(--mono); font-size: 0.82em; font-weight: 600; padding: 1px 6px; border-radius: 2px; letter-spacing: 0;
  font-style: normal; white-space: normal;
}
div.confirm, figure.confirm { display: block; padding: 0; }

/* ---------- Studio ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; position: relative; list-style: none; margin: 0; padding: 0; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-strong); }
.step { position: relative; padding: 0 18px 0 0; }
.step .dot {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg);
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--brass); position: relative; margin-bottom: 24px;
}
.step:last-child .dot { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 22px; padding: 0 0 32px; }
  .step .dot { margin: 0; grid-row: span 2; }
  .step:last-child { padding-bottom: 0; }
}

.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lab {
  border: 1px solid var(--line); background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--ink); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; min-height: 280px;
}
.lab:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.lab-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass); border: 1px solid currentColor; padding: 5px 10px; border-radius: 99px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.lab .url { font-family: var(--mono); font-size: 12.5px; color: var(--muted); word-break: break-all; }
.lab h3 { font-size: 32px; }
.lab p { color: var(--ink-2); margin: 0; }
.lab .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .lab-grid { grid-template-columns: 1fr; } .lab { min-height: 0; } }

/* ---------- Domains ---------- */
.dm-hero-stats { display: flex; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; margin-top: 40px; }
.dm-hero-stats div { border-left: 1px solid var(--brass); padding-left: 16px; }
.dm-hero-stats .n { font-family: var(--serif); font-size: 40px; line-height: 1; display: block; }
.dm-hero-stats .l { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.dm-controls { position: sticky; top: 76px; z-index: 20; background: var(--bg); padding: 20px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.dm-search { position: relative; max-width: 520px; margin-bottom: 16px; }
.dm-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.dm-search input {
  width: 100%; padding: 14px 16px 14px 46px; font: 500 16px var(--mono); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.dm-search input::placeholder { color: var(--muted); }
.dm-search input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 500 13.5px/1 var(--sans); padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2); cursor: pointer; transition: all .2s; white-space: nowrap;
}
.chip .c { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .c { color: var(--bg); opacity: .7; }
@media (max-width: 600px) {
  .dm-controls { position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}
.dm-status { font-size: 14px; color: var(--muted); margin: 0 0 20px; min-height: 1.5em; }

.dm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 420px) { .dm-grid { grid-template-columns: 1fr; } }
.dm {
  position: relative; border: 1px solid var(--line); background: var(--surface); padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 220px;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
  animation: rise .5s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.dm:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.dm-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.dm-name {
  font-family: var(--mono); font-weight: 500; font-size: clamp(20px, 2vw, 23px); letter-spacing: -0.01em; color: var(--ink);
  overflow-wrap: anywhere; line-height: 1.25; margin: 4px 0 2px;
}
.dm-name .tld { color: var(--muted); }
.dm-idea { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; flex: 1; }
.dm-idea b { font-weight: 600; color: var(--ink); }
.dm-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.dm-link { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.dm-link:hover { color: var(--brass-strong); }
.dm-link svg { width: 14px; height: 14px; }
.dm.featured { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), var(--shadow); }
.dm.featured::before {
  content: "Viewing this listing"; position: absolute; top: -11px; left: 20px; background: var(--brass); color: var(--on-brass);
  font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px;
}
.dm-empty { grid-column: 1 / -1; padding: 48px; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); }

.feature-listing { scroll-margin-top: 100px; display: none; border: 1px solid var(--brass); background: var(--surface); padding: clamp(28px, 5vw, 56px); margin-bottom: 48px; position: relative; overflow: hidden; }
.feature-listing.show { display: block; animation: rise .6s var(--ease) both; }
.feature-listing .fl-name { font-family: var(--mono); font-size: clamp(22px, 5.6vw, 64px); line-height: 1.1; overflow-wrap: anywhere; margin: 10px 0 16px; letter-spacing: -0.02em; }
.feature-listing .fl-name .tld { color: var(--brass); }
.feature-listing p.eyebrow { padding-right: 48px; font-size: 12px; }
.feature-listing p { color: var(--ink-2); max-width: 56ch; font-size: 18px; }
.feature-listing .close { position: absolute; top: 16px; right: 16px; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.steps4 li { padding: 28px 24px 0 0; }
.steps4 li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps4 .n { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--brass); display: block; margin-bottom: 16px; }
.steps4 h3 { font-size: 24px; margin-bottom: 8px; }
.steps4 p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 860px) {
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps4 li:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .steps4 { grid-template-columns: 1fr; }
  .steps4 li, .steps4 li + li { padding: 24px 0; border-left: 0; margin: 0; }
  .steps4 li + li { border-top: 1px solid var(--line); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.portrait { position: sticky; top: 110px; }
.monogram {
  aspect-ratio: 4 / 5; width: 100%; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--brass) 26%, var(--bg-2)) 0%, var(--bg-2) 55%, var(--surface) 100%);
  border: 1px solid var(--line);
}
.monogram span { font-family: var(--serif); font-size: clamp(110px, 14vw, 170px); font-weight: 500; color: var(--brass); letter-spacing: -0.04em; line-height: 1; font-style: italic; position: relative; }
.monogram::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line-strong); pointer-events: none; }
.portrait figcaption { margin-top: 14px; font-size: 13px; }
.prose p { font-size: 18.5px; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.prose p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 84px; line-height: .82; padding: 8px 8px 0 0; color: var(--brass); }
.roles { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-strong); }
.roles li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.roles .r-org { font-family: var(--serif); font-size: 24px; }
.roles .r-role { font-size: 14px; color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 300px; }
}
@media (max-width: 480px) { .roles li { grid-template-columns: 1fr; gap: 2px; } .roles .r-role { text-align: left; } }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { border-top: 1px solid var(--brass); padding-top: 22px; }
.principle h3 { font-size: 26px; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--surface); padding: 36px 30px; display: flex; flex-direction: column; gap: 12px; }
.contact-card h3 { font-size: 28px; }
.contact-card p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.big-mail { font-family: var(--serif); font-size: clamp(30px, 6vw, 72px); line-height: 1.05; text-decoration: none; display: inline-block; word-break: break-word; border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
.big-mail:hover { color: var(--brass-strong); }
.note { border-left: 2px solid var(--brass); padding: 4px 0 4px 18px; color: var(--ink-2); max-width: 64ch; font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot-grid h4 { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); font-size: 15px; display: inline-block; padding: 4px 0; }
.foot-grid a:hover { color: var(--brass-strong); }
.foot-blurb { color: var(--muted); font-size: 15px; max-width: 34ch; margin-top: 18px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13.5px; color: var(--muted); }
.foot-base a { color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Now building (EPonGO feature) ---------- */
.now-building { padding: 0 0 clamp(32px, 5vw, 56px); }
.nb {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 5vw, 60px); text-decoration: none; color: var(--ink);
  background:
    radial-gradient(90% 140% at 100% 50%, var(--brass-soft), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong); position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.nb::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); }
.nb:hover { color: var(--ink); border-color: var(--brass); box-shadow: var(--shadow); }
.nb h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; max-width: 20ch; }
.nb-copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 48ch; }
.nb .link-arrow { margin-top: 6px; }
.nb:hover .link-arrow span { transform: translateX(4px); }
.nb-art { width: 100%; height: auto; }
.nb-art rect { transform-origin: center; transform-box: fill-box; animation: eq 2.8s ease-in-out infinite; }
.nb-art rect:nth-child(3n) { animation-delay: -.6s; }
.nb-art rect:nth-child(3n+1) { animation-delay: -1.3s; }
.nb-art rect:nth-child(4n) { animation-delay: -2s; animation-duration: 3.4s; }
@keyframes eq { 50% { transform: scaleY(.55); } }
@media (max-width: 760px) { .nb { grid-template-columns: 1fr; } .nb-art { max-width: 320px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.stats div { padding: 26px 0 24px; }
.stats div + div { padding-left: clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.stats .n { font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); line-height: 1; display: block; color: var(--ink); letter-spacing: -0.02em; }
.stats .l { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats-note { color: var(--muted); font-size: 14.5px; margin: 0 0 40px; }
@media (max-width: 480px) { .stats .l { font-size: 11px; letter-spacing: .06em; } }

/* ---------- Lead company ---------- */
.co-lead { background: linear-gradient(180deg, var(--brass-soft), transparent 70%); padding-left: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px); border-bottom-color: var(--line-strong); }
.co-lead h3 { font-size: clamp(44px, 5.4vw, 68px); }
.co-lead .co-mark { width: 96px; height: 96px; }
.co-lead .co-mark svg { width: 48px; height: 48px; }
.co-lead .co-body p { font-size: 18.5px; }
.co-flag { font-family: var(--mono); font-size: 11.5px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--brass) !important; margin-bottom: 10px; }
.co-mark img { width: 40px; height: 40px; }

/* ---------- Capital (investments) ---------- */
.capital { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cap { border: 1px solid var(--line-strong); background: var(--surface); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.cap-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cap-top img, .cap-top svg { width: 48px; height: 48px; color: var(--brass); }
.cap h3 { font-size: clamp(30px, 3vw, 38px); }
.cap p { color: var(--ink-2); margin: 0; }
.cap .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) { .capital { grid-template-columns: 1fr; } }
.stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.monogram.confirm { display: grid; place-items: center; padding: 0; }

/* ---------- Portrait photo ---------- */
.photo-frame { position: relative; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 30%; filter: saturate(0.92) contrast(1.02); }
.photo-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, #fff 45%, transparent); pointer-events: none; }

/* ---------- Two ways to own a name ---------- */
.ways { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; }
.way { border: 1px solid var(--line); background: var(--surface); padding: 34px 32px 36px; display: flex; flex-direction: column; gap: 6px; }
.way h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 10px 0 8px; }
.way p { color: var(--ink-2); margin: 0 0 14px; }
.way-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brass); text-transform: uppercase; }
.way-feature { border-color: color-mix(in srgb, var(--brass) 55%, var(--line)); box-shadow: inset 0 2px 0 var(--brass); }
.way-list { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 10px; }
.way-list li { padding-left: 18px; position: relative; color: var(--ink-2); line-height: 1.55; }
.way-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 1px; background: var(--brass); }
.way .btn { align-self: flex-start; margin-top: auto; }
.way .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way { padding: 26px 22px 28px; } }

.dm-bundle { font-family: var(--mono); font-size: 12px; color: var(--brass); margin: -4px 0 10px; letter-spacing: .02em; }

/* ---------- Portfolio (investments) ---------- */
/* Logo wells stay light in both themes so dark logos remain legible. */
:root { --pf-well: #fbf9f4; --pf-well-line: rgba(18, 21, 28, 0.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pf-well: #ece7dc; --pf-well-line: rgba(0, 0, 0, 0); } }
:root[data-theme="dark"] { --pf-well: #ece7dc; --pf-well-line: rgba(0, 0, 0, 0); }

.pf-section { border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.pf-group + .pf-group { margin-top: clamp(48px, 6vw, 72px); }
.pf-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; margin-bottom: 24px; }
.pf-group-head h3 { font-size: clamp(26px, 2.6vw, 32px); }
.pf-count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
@media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.pf-grid > li { display: flex; }
.pf-tile {
  flex: 1; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
a.pf-tile:hover { color: var(--ink); border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow); }
.pf-logo {
  height: 116px; display: flex; align-items: center; justify-content: center; padding: 22px 20px;
  background: var(--pf-well); border-bottom: 1px solid var(--line); box-shadow: inset 0 0 0 1px var(--pf-well-line);
}
.pf-logo img { width: 100%; height: 100%; max-height: 46px; object-fit: contain; object-position: center; }
.pf-logo img.pf-mark { max-height: 56px; }
.pf-wordmark { font: 600 22px/1.1 var(--sans); letter-spacing: -0.01em; color: #12151c; text-align: center; overflow-wrap: anywhere; }
.pf-logo img.pf-padded { max-height: 92px; }
.pf-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pf-name { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; color: var(--ink); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pf-name .ext { font-family: var(--sans); font-size: 13px; color: var(--muted); transition: color .2s, transform .25s var(--ease); flex: none; }
a.pf-tile:hover .pf-name .ext { color: var(--brass-strong); transform: translate(2px, -2px); }
.pf-aka { font-size: 12.5px; color: var(--muted); }
.pf-desc { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 2px 0 0; }
.pf-ticker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--brass); margin-top: auto; padding-top: 8px; }
.pf-note { margin: clamp(32px, 4vw, 48px) 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 600px) {
  .pf-logo { height: 92px; padding: 16px 14px; }
  .pf-logo img { max-height: 36px; }
  .pf-logo img.pf-mark { max-height: 46px; }
  .pf-logo img.pf-padded { max-height: 72px; }
  .pf-body { padding: 12px 12px 14px; }
  .pf-name { font-size: 20px; }
  .pf-desc { font-size: 13.5px; }
}

/* Compact strip (home) */
.pf-strip { margin-top: clamp(48px, 6vw, 72px); }
.pf-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.pf-strip-head .eyebrow { margin: 0; }
.pf-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pf-strip li { height: 84px; display: flex; align-items: center; justify-content: center; padding: 18px 16px; background: var(--pf-well); }
.pf-strip img { width: 100%; height: 100%; max-height: 30px; object-fit: contain; }
@media (max-width: 760px) { .pf-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-strip li { height: 72px; padding: 14px 12px; } .pf-strip img { max-height: 26px; } }
