:root {
  --jet: #141414;
  --charcoal: #2a2b2d;
  --ivory: #eeebe2;
  --navy: #1f2b45;
  --olive: #7a8160;
  --olive-deep: #4d5340;
  --stone: #b9b3a7;
  --rule: rgba(20, 20, 20, 0.14);
  --rule-dark: rgba(238, 235, 226, 0.16);
  --sans: "Inter Tight", "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Tiempos Headline", Georgia, serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--jet);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: 80px; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.arrow { width: 18px; height: 18px; stroke: currentColor; fill: none; flex: none; transition: transform 0.4s var(--ease); }

/* ======================================================= Header */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
}
header.solid {
  background: rgba(238, 235, 226, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--jet);
  padding-top: 14px;
  padding-bottom: 14px;
  border-color: var(--rule);
}
body.menu-open header { background: transparent; color: var(--ivory); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.brand { display: flex; align-items: center; gap: 14px; }
.menu-trigger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -7px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.menu-trigger svg { width: 26px; height: 26px; fill: currentColor; overflow: visible; }
.menu-trigger .bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.75s cubic-bezier(0.55, 0, 0.6, 1.35), opacity 0.6s;
}
.menu-trigger .b1 { transition-delay: 0.16s; }
.menu-trigger .b2 { transition-delay: 0.08s; }
.menu-trigger .b3 { transition-delay: 0s; }
body.menu-open .menu-trigger .bar { transform: rotate(-90deg); opacity: 0.55; }
.menu-trigger:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

.wordmark {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.24em;
  line-height: 1.1;
  text-transform: uppercase;
}
.wordmark small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-align: center;
  margin-top: 3px;
}
.header-links { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: 0.04em; }
.header-links a:not(.pill) { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 0.2s; }
.header-links a:not(.pill):hover { border-color: currentColor; }
.pill {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 16px;
  transition: background 0.3s, color 0.3s;
}
header .pill:hover { background: var(--ivory); color: var(--jet); }
header.solid .pill:hover { background: var(--jet); color: var(--ivory); }
body.menu-open header .pill:hover { background: var(--ivory); color: var(--jet); }

/* ======================================================= Full-screen menu (drops when the logo's bars fall) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--jet);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--gutter);
  padding: clamp(96px, 15vh, 128px) var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-101%);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.25, 1) 0.15s, visibility 0s linear 0.9s;
  visibility: hidden;
}
body.menu-open .menu { transform: none; visibility: visible; transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1) 0.2s, visibility 0s; }
.menu-art {
  position: absolute;
  right: -6vw;
  bottom: 0;
  height: 80vh;
  width: auto;
  fill: none;
  stroke: var(--stone);
  stroke-width: 0.25;
  opacity: 0.18;
  pointer-events: none;
}
.menu ol { list-style: none; position: relative; align-self: start; }
.menu li {
  border-bottom: 1px solid var(--rule-dark);
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
body.menu-open .menu li {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.8s cubic-bezier(0.3, 1.4, 0.5, 1);
  transition-delay: calc(0.55s + 0.07s * var(--i));
}
.menu li a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: clamp(6px, 1.3vh, 12px) 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, min(3vw, 5vh), 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.menu li a span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--stone); min-width: 24px; }
.menu li a .arrow { margin-left: auto; width: 22px; height: 22px; opacity: 0; transform: translateX(-12px); }
.menu li a:hover { font-style: italic; }
.menu li a:hover .arrow { opacity: 1; transform: none; }
.menu li a[aria-current="page"] { color: var(--stone); }
.menu aside {
  position: relative;
  align-self: start;
  padding-top: 12px;
  display: grid;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.4s;
}
body.menu-open .menu aside { opacity: 1; transition: opacity 0.8s var(--ease) 1s; }
.menu aside .label { color: var(--stone); opacity: 1; }
.menu aside a.big { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; border-bottom: 1px solid var(--rule-dark); padding-bottom: 8px; display: inline-block; word-break: break-all; }
.menu aside a.big:hover { border-color: var(--ivory); }

/* ======================================================= Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--jet);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero.short { min-height: 70vh; min-height: 70svh; }
.hero.legal { min-height: 50vh; min-height: 50svh; }
.hero-art {
  position: absolute;
  top: 0;
  right: -4vw;
  height: 118%;
  width: auto;
  fill: none;
  stroke: var(--stone);
  stroke-width: 0.25;
  opacity: 0.32;
  pointer-events: none;
}
.hero-inner { position: relative; padding: 0 var(--gutter) clamp(48px, 9vh, 96px); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8.4vw, 136px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-top: 22px;
}
.hero.short h1, .hero.legal h1 { font-size: clamp(44px, 7vw, 112px); }
.hero h1 em { font-style: italic; color: var(--stone); }
.hero-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--rule-dark);
}
.hero-foot .label { opacity: 0.6; }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--stone);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ======================================================= Shared section pieces */
.section { padding: clamp(96px, 15vh, 176px) var(--gutter); }
.section.flush-top { padding-top: 0; }
.kicker { display: flex; align-items: center; gap: 16px; color: var(--olive); }
.kicker svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.kicker .label { color: var(--jet); }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  max-width: 21ch;
  margin-top: clamp(40px, 6vh, 72px);
}
.statement em { font-style: italic; color: var(--olive); }
.split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--gutter);
  align-items: start;
  margin-top: clamp(48px, 7vh, 88px);
}
.split > p { font-size: 17px; font-weight: 300; color: var(--charcoal); max-width: 52ch; }
.split > p + p { grid-column: 2; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: border-color 0.3s;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .arrow { transform: translateX(5px); }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.section-title h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 16px;
}
.section-title h2 em { font-style: italic; color: var(--olive); }

/* ======================================================= Blocks (Point72 / Citadel style panels) */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blocks.two { grid-template-columns: repeat(2, 1fr); }
.block {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(460px, 62vh, 640px);
  padding: clamp(28px, 3vw, 44px);
  background: var(--jet);
  color: var(--ivory);
  isolation: isolate;
}
.blocks.two .block { min-height: clamp(420px, 58vh, 600px); }
.block.navy { background: var(--navy); }
.block.olive { background: var(--olive-deep); }
.block.charcoal { background: var(--charcoal); }
.block.light { background: transparent; color: var(--jet); border: 1px solid var(--rule); }
.block-art {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 120%;
  height: 120%;
  z-index: -1;
  fill: none;
  stroke: var(--stone);
  stroke-width: 0.3;
  opacity: 0.3;
  transition: transform 1.2s var(--ease), opacity 0.6s;
}
.block-art .on { fill: var(--ivory); stroke: none; opacity: 0.9; }
.block.light .block-art { stroke: var(--jet); opacity: 0.12; }
.block.light .block-art .on { fill: var(--jet); opacity: 0.85; }
.block:hover .block-art { transform: translate(-2%, 2%) scale(1.03); opacity: 0.42; }
.block .label { color: var(--stone); opacity: 1; }
.block.light .label { color: var(--jet); opacity: 0.7; }
.block h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 14px;
}
.block .tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 20px; color: var(--stone); margin-top: 10px; }
.block.light .tagline { color: var(--olive); }
.block p.desc { font-size: 15px; font-weight: 300; margin-top: 18px; max-width: 38ch; opacity: 0.85; }
.block .go { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; letter-spacing: 0.04em; }
a.block:hover .go .arrow { transform: translateX(6px); }
.block .rule { height: 1px; background: currentColor; opacity: 0.2; margin-top: 24px; }

/* ======================================================= Band */
.band {
  background: var(--navy);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: var(--gutter);
  padding: clamp(96px, 15vh, 168px) var(--gutter);
}
.band.dark { background: var(--jet); }
.band .label { color: var(--stone); opacity: 1; padding-top: 18px; }
.band blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.band blockquote em { font-style: italic; color: var(--stone); }
.band p { margin-top: 28px; font-weight: 300; color: var(--stone); max-width: 56ch; }
.band .link-arrow { border-color: var(--rule-dark); }

/* ======================================================= Numbered columns */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.pillar { padding: 32px 32px 40px 0; border-right: 1px solid var(--rule); }
.pillar + .pillar { padding-left: 32px; }
.pillar:last-child { border-right: 0; }
.pillars.six .pillar:nth-child(3n) { border-right: 0; }
.pillars.six .pillar:nth-child(3n+1) { padding-left: 0; }
.pillars.six .pillar:nth-child(n+4) { border-top: 1px solid var(--rule); }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--olive); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 40px 0 12px; }
.pillar p { font-size: 15px; font-weight: 300; color: var(--charcoal); max-width: 38ch; }

/* ======================================================= The mark, explained */
.mark-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
  background: var(--jet);
  color: var(--ivory);
  padding: clamp(96px, 15vh, 168px) var(--gutter);
}
.mark-feature .label { color: var(--stone); opacity: 1; }
.mark-feature h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-top: 20px;
}
.mark-feature h2 em { font-style: italic; color: var(--stone); }
.mark-feature p { margin-top: 28px; font-weight: 300; color: var(--stone); max-width: 44ch; }
.mark-art { width: min(100%, 420px); justify-self: center; }
.mark-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.mark-art .inline { fill: var(--charcoal); }
.mark-art .apart { fill: var(--ivory); transform: translateX(-14px); transition: transform 1.6s var(--ease) 0.3s; }
.mark-art.in .apart { transform: none; }
.mark-art .guide { stroke: var(--rule-dark); stroke-width: 0.3; stroke-dasharray: 1 1.5; }

/* ======================================================= Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fact { padding: 36px var(--gutter) 40px; border-right: 1px solid var(--rule); }
.fact:last-child { border-right: 0; }
.fact .value { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; margin-top: 16px; }
.fact .value a { border-bottom: 1px solid var(--rule); }

/* ======================================================= News */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  font: 400 12px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jet);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters button:hover { border-color: var(--jet); }
.filters button[aria-pressed="true"] { background: var(--jet); color: var(--ivory); border-color: var(--jet); }
.empty {
  margin-top: 32px;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 88px);
}
.empty svg { width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); fill: var(--stone); }
.empty h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin-top: 14px; }
.empty p { margin-top: 14px; font-weight: 300; color: var(--charcoal); max-width: 52ch; }
.empty a { border-bottom: 1px solid var(--rule); }

/* ======================================================= Legal prose */
.prose-wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: var(--gutter); }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 48px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { font-size: 16px; font-weight: 300; color: var(--charcoal); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0 20px; }
.prose li + li { margin-top: 6px; }
.prose a { border-bottom: 1px solid var(--rule); }
.updated { margin-bottom: 40px; }

/* ======================================================= Footer */
footer { background: var(--jet); color: var(--ivory); padding: 0 var(--gutter) 40px; }
footer .label { color: var(--stone); opacity: 1; }
.foot-cta {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: var(--gutter);
  padding: clamp(96px, 15vh, 168px) 0 clamp(72px, 11vh, 120px);
}
.foot-cta .label { padding-top: 16px; }
.foot-cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -0.015em; }
.email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-dark);
  font-size: clamp(17px, 1.8vw, 22px);
  transition: border-color 0.3s;
  word-break: break-all;
}
.email:hover { border-color: currentColor; }
.email:hover .arrow { transform: translateX(5px); }
.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px var(--gutter);
  padding: 56px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
footer.no-cta { padding-top: 0; }
footer.no-cta .foot-cols { border-top: 0; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand .lockup { display: flex; align-items: center; gap: 14px; }
.foot-brand .lockup svg { width: 26px; height: 26px; fill: currentColor; }
.foot-brand p { font-size: 13px; color: var(--stone); font-weight: 300; max-width: 30ch; }
.foot-col { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.foot-col .label { margin-bottom: 6px; }
.foot-col a { color: var(--ivory); opacity: 0.85; transition: opacity 0.2s; }
.foot-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.disclaimer { padding-top: 32px; font-size: 11.5px; line-height: 1.7; color: var(--stone); max-width: 920px; }
.disclaimer p + p { margin-top: 12px; }

/* ======================================================= Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero h1, .js .hero-inner .label { animation: rise 1.4s var(--ease) both; }
.js .hero h1 { animation-delay: 0.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero h1, .js .hero-inner .label, .scroll-cue i { animation: none; }
  .menu, .menu li, .menu aside, .menu-trigger .bar, .mark-art .apart { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

/* ======================================================= Responsive */
@media (max-width: 1000px) {
  .blocks { grid-template-columns: 1fr; }
  .block, .blocks.two .block { min-height: 420px; }
}
@media (max-width: 900px) {
  .header-links .hide-sm { display: none; }
  .menu { grid-template-columns: 1fr; padding-top: 112px; align-content: start; }
  .menu aside { align-self: start; margin-top: 24px; }
  .blocks.two { grid-template-columns: 1fr; }
  .split, .band, .foot-cta, .mark-feature, .prose-wrap { grid-template-columns: 1fr; gap: 24px; }
  .split > p + p { grid-column: auto; }
  .band .label, .foot-cta .label { padding-top: 0; }
  .pillars, .pillars.six { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar, .pillars.six .pillar { padding: 28px 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--rule); }
  .pillar h3 { margin-top: 18px; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px var(--gutter); }
  .fact:last-child { border-bottom: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-art { right: -30vw; opacity: 0.22; }
  .mark-art { width: 220px; justify-self: start; order: -1; }
  .section-title { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  header { padding: 18px 16px; }
  header.solid { padding: 12px 16px; }
  .wordmark { font-size: 15px; }
  .pill { padding: 6px 12px; font-size: 12px; }
  .hero-foot .label:first-child { display: none; }
  .empty { grid-template-columns: 1fr; }
}

/* ======================================================= Bento grid (The Firm) */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}
.bento .block { min-height: 0; padding: clamp(24px, 2.4vw, 36px); }
.bento .span2 { grid-column: span 2; }
.bento .rows2 { grid-row: span 2; }
.bento .block h3 { font-size: clamp(26px, 2.3vw, 36px); }
.bento .block h3 em { font-style: italic; color: var(--stone); }
.bento .block.light h3 em { color: var(--olive); }
.bento .block.big h3 { font-size: clamp(36px, 4vw, 64px); }
.bento .block p.desc { font-size: 14px; margin-top: 12px; }
.bento .block.big p.desc { font-size: 16px; max-width: 46ch; }
.etym {
  position: absolute;
  top: clamp(24px, 2.4vw, 36px);
  left: clamp(24px, 2.4vw, 36px);
  font: 400 12px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .span2, .bento .rows2 { grid-column: auto; grid-row: auto; }
  .bento .block { min-height: 180px; }
  .bento .block.big, .bento .rows2 { min-height: 360px; }
}

/* ======================================================= Investor portal */
.portal { min-height: 60vh; }
.signin-form { display: grid; gap: 12px; max-width: 560px; }
.signin-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signin-row input {
  flex: 1 1 260px;
  font: 300 18px var(--sans);
  color: var(--jet);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--jet);
  padding: 12px 2px;
  outline: none;
}
.signin-row input:focus { border-bottom-width: 2px; }
.signin-row button, .text-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 400 14px var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.signin-row button {
  background: var(--jet);
  color: var(--ivory);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  transition: background 0.3s;
}
.signin-row button:hover { background: var(--navy); }
.signin-row button:disabled { opacity: 0.6; cursor: default; }
.signin-msg { min-height: 1.6em; font-size: 14px; color: var(--olive); }
.portal-note { margin-top: 24px; font-size: 13px; font-weight: 300; color: var(--charcoal); max-width: 70ch; }
.portal-note a { border-bottom: 1px solid var(--rule); }
.text-btn { background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 0 0 4px; color: var(--jet); margin-top: 16px; }
.text-btn:hover { border-color: var(--jet); }

.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.dash-title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 60px); line-height: 1.05; margin-top: 12px; }
.dash-user { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--charcoal); }
.dash-user .text-btn { margin-top: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { background: var(--jet); color: var(--ivory); padding: 28px; }
.kpi:nth-child(2) { background: var(--navy); }
.kpi:nth-child(3) { background: var(--olive-deep); }
.kpi:nth-child(4) { background: var(--charcoal); }
.kpi .label { color: var(--stone); opacity: 1; }
.kpi-val { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; margin-top: 28px; }
.kpi-sub { font: 400 11px var(--mono); letter-spacing: 0.08em; color: var(--stone); margin-top: 10px; }
.chart-card, .table-card { border: 1px solid var(--rule); padding: clamp(20px, 3vw, 36px); margin-top: 16px; }
#chart { display: block; width: 100%; height: clamp(200px, 30vw, 300px); margin-top: 20px; }
.chart-line { fill: none; stroke: var(--navy); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-area { fill: var(--navy); opacity: 0.07; }
.chart-base { stroke: var(--rule); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart-axis { display: flex; justify-content: space-between; font: 400 11px var(--mono); letter-spacing: 0.06em; color: var(--charcoal); margin-top: 10px; }
.table-scroll { overflow-x: auto; margin-top: 16px; }
#returns { width: 100%; border-collapse: collapse; font: 400 13px var(--mono); font-variant-numeric: tabular-nums; }
#returns th, #returns td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--rule); white-space: nowrap; }
#returns thead th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); font-weight: 400; }
#returns tbody th { text-align: left; font-weight: 500; }
#returns thead th:first-child { text-align: left; }
#returns td.neg { color: #8a4a3c; }
#returns td.ytd { font-weight: 500; background: rgba(20, 20, 20, 0.04); }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kpi { padding: 20px; } }
[hidden] { display: none !important; }
