/* Reach Point Capital — shared styles for the home page and the newsroom */

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

/* ── THEME TOKENS ── */
:root {
  --navy:         #1B3A6B;
  --navy-deep:    #0D1E3A;
  --silver:       #A0A9B8;
  --silver-light: #C8D0DC;
  --ease:         cubic-bezier(0.2, 0.7, 0.1, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:          #07111F;
  --bg-2:        #0b1829;
  --surface:     rgba(27,58,107,0.1);
  --surface-h:   rgba(27,58,107,0.2);
  --border:      rgba(160,169,184,0.1);
  --border-h:    rgba(160,169,184,0.25);
  --text-1:      #F4F6F9;
  --text-2:      #A0A9B8;
  --text-3:      #8490A5;
  --header-bg:   rgba(7,17,31,0.88);
  --rule:        rgba(160,169,184,0.1);
  --arc-rgb:     160,169,184;
  --glow:        rgba(120,150,215,0.16);
  --live:        #4FD1A5;
}

[data-theme="light"] {
  color-scheme: light;
  --bg:          #F0F2F5;
  --bg-2:        #E8EBF0;
  --surface:     rgba(27,58,107,0.06);
  --surface-h:   rgba(27,58,107,0.1);
  --border:      rgba(27,58,107,0.12);
  --border-h:    rgba(27,58,107,0.3);
  --text-1:      #0D1E3A;
  --text-2:      #3A4F70;
  --text-3:      #51617D;
  --header-bg:   rgba(240,242,245,0.92);
  --rule:        rgba(27,58,107,0.1);
  --arc-rgb:     27,58,107;
  --glow:        rgba(27,58,107,0.1);
  --live:        #1B8F6B;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px;
  background: var(--bg-2); color: var(--text-1); border: 1px solid var(--border-h);
  font-size: 13px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── NOISE ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ── AMBIENT BACKGROUND ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(27,58,107,0.28) 0%, transparent 70%);
  top: -250px; right: -200px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27,58,107,0.15) 0%, transparent 70%);
  bottom: 5%; left: -100px;
}
[data-theme="light"] .orb-1 { opacity: 0.5; }
[data-theme="light"] .orb-2 { opacity: 0.3; }

#arc {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── LAYOUT ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: 808px; }

section { padding: 120px 0; position: relative; z-index: 1; }
.section-rule { border: none; border-top: 1px solid var(--rule); margin: 0; position: relative; z-index: 1; }
.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}
.section-header .section-link { margin-left: auto; align-self: center; }
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-1);
}
.section-title em { font-style: italic; color: var(--text-2); }

/* ── SCROLL REVEAL (only hidden when JS is running; see the failsafe in the <head>) ── */
.js [data-reveal] { opacity: 0; }
/* an animation (not a transition) so card hover transitions stay independent; no fill after it ends */
.js [data-reveal].is-in { opacity: 1; animation: revealUp 0.9s var(--ease) calc(var(--d, 0) * 90ms) backwards; }

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled, body.menu-open #site-header {
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .rpc-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
}
.logo-text .rpc-sub {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}

nav { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; }
.nav-link {
  font-family: 'Epilogue', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-link:hover { color: var(--text-1); background: var(--surface); }
.nav-link[aria-current="page"] { color: var(--text-1); }
.nav-link .chevron { width: 10px; height: 10px; transition: transform 0.25s ease; opacity: 0.6; }
.nav-item:hover .chevron, .nav-item:focus-within .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  min-width: 232px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; transform: translateY(0); pointer-events: all;
}
.dropdown-item { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; transition: background 0.15s; }
.dropdown-item:hover { background: var(--surface-h); }
.dropdown-item-name {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 2px;
}
.dropdown-item-desc { font-size: 11.5px; color: var(--text-2); font-weight: 300; }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-sub { padding: 8px 14px 10px; }
.dropdown-sub-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.dropdown-sub-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 6px; text-decoration: none; transition: background 0.15s;
}
.dropdown-sub-item:hover { background: var(--surface); }
.dropdown-sub-item span { font-size: 12.5px; color: var(--text-2); font-weight: 400; }
.dropdown-sub-item .tag {
  font-family: 'Syne', sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-3);
  margin-left: auto;
}
.dropdown-sub-item.has-desc { flex-wrap: wrap; row-gap: 2px; }
.dropdown-sub-item .sub-desc { flex-basis: 100%; font-size: 11.5px; color: var(--text-3); font-weight: 300; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .menu-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--border-h); background: var(--surface-h); }
.theme-toggle svg { width: 15px; height: 15px; color: var(--text-2); }
#icon-moon { display: none; }
[data-theme="light"] #icon-sun { display: none; }
[data-theme="light"] #icon-moon { display: block; }

.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span {
  display: block; width: 14px; height: 1.25px; border-radius: 2px;
  background: var(--text-1);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

.contact-btn {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease);
  display: inline-block;
}
.contact-btn:hover { background: var(--surface-h); border-color: var(--navy); }

/* Mobile menu panel */
.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.mobile-menu.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.mobile-menu-inner { padding: 8px 24px 28px; display: flex; flex-direction: column; }
.mm-group-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 18px 0 6px;
}
.mm-link, .mm-sub {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-1);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
}
.mm-sub { flex-direction: column; align-items: flex-start; gap: 2px; }
.mm-sub span { font-family: 'Epilogue', sans-serif; font-size: 12px; color: var(--text-2); font-weight: 300; }
.mm-link[aria-current="page"] { color: var(--text-2); font-style: italic; }
.mm-cta {
  margin-top: 24px;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  text-decoration: none;
  padding: 14px 18px;
  border: 1px solid var(--border-h);
  border-radius: 100px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
}
.hero .container { align-self: stretch; display: flex; align-items: center; width: 100%; }
.hero-content { max-width: 800px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}
.eyebrow-rule { width: 32px; height: 1px; background: var(--text-3); }

/* masked line-by-line headline reveal */
.hero-title, .page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.hero-title { font-size: clamp(56px, 8vw, 104px); margin-bottom: 36px; }
.page-title { font-size: clamp(56px, 9vw, 112px); margin-bottom: 24px; }
.line { display: block; overflow: hidden; padding: 0.04em 0 0.16em; margin-bottom: -0.12em; }
.line > span, .line > em > span {
  display: inline-block;
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
  animation-delay: calc(0.25s + var(--i, 0) * 0.13s);
}
.line em { font-style: italic; color: var(--text-2); }
.page-title .line { display: inline-block; vertical-align: top; }
.hero-title em > span, .page-title em > span {
  background: linear-gradient(100deg, var(--text-2) 0%, var(--text-2) 38%, var(--text-1) 50%, var(--text-2) 62%, var(--text-2) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: lineUp 1.1s var(--ease) forwards, shimmer 9s ease-in-out 1.6s infinite;
  animation-delay: calc(0.25s + var(--i, 0) * 0.13s), 1.6s;
  padding-right: 0.06em;
}
.hero-title em > span {
  /* Keep italic descenders inside the text-fill box without changing line spacing. */
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.hero-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}
.hero-stats { display: flex; gap: 48px; opacity: 0; animation: fadeUp 0.9s ease 0.85s forwards; }
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stat-divider { width: 1px; background: var(--rule); align-self: stretch; }

.scroll-cue {
  position: absolute;
  right: 48px; bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.4s forwards;
}
.scroll-cue:hover { color: var(--text-2); }
.scroll-cue-line { position: relative; width: 1px; height: 40px; background: var(--rule); overflow: hidden; }
.scroll-cue-line::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--text-2);
  animation: cue 2.4s var(--ease) infinite;
}

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.portfolio-cell { display: flex; }
.portfolio-card, .news-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.portfolio-card {
  flex: 1;
  padding: 56px 48px;
}
/* cursor-following spotlight, shared by cards */
.portfolio-card::before, .news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 100%), var(--glow), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.portfolio-card:hover, .news-card:hover { background: var(--surface-h); border-color: var(--border-h); }
.portfolio-card:hover::before, .news-card:hover::before { opacity: 1; }
.portfolio-card:hover, .news-card:hover { transform: translateY(-3px); }

.card-entity {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.1;
  margin-bottom: 8px;
}
.card-full-name {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.card-desc { font-size: 14.5px; font-weight: 300; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; max-width: 360px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tag-pill {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--surface);
}
.card-link, .section-link, .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  position: relative;
  z-index: 2;
}
.card-link:hover, .section-link:hover, .news-card:hover .more { color: var(--text-1); gap: 10px; }

.card-sub { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.sub-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.sub-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sub-item:last-child { border-bottom: none; }
.sub-item-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--text-1); }
a.sub-item-name { text-decoration: none; transition: color 0.2s; }
a.sub-item-name:hover { color: var(--text-2); }
.sub-item-meta { display: flex; align-items: center; gap: 14px; }
.sub-item-desc { font-size: 13px; color: var(--text-3); }
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  min-width: 84px;
  justify-content: flex-end;
}
.status::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--text-3);
  flex-shrink: 0;
}
.status.is-live { color: var(--text-1); }
.status.is-live::before {
  background: var(--live);
  border-color: var(--live);
  animation: pulse 2.4s ease-out infinite;
}

/* ── THESIS ── */
.thesis { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.thesis-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; align-items: start; }
.thesis-left { position: sticky; top: 120px; }
.thesis-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 20px;
}
.thesis-headline em { font-style: italic; color: var(--text-2); }
.thesis-sub { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.thesis-points { display: flex; flex-direction: column; }
.thesis-point { padding: 32px 0 32px 28px; border-bottom: 1px solid var(--border); position: relative; transition: opacity 0.5s ease; }
.thesis-point:first-child { padding-top: 0; }
.thesis-point::before {
  content: '';
  position: absolute; left: 0; top: 4px; bottom: 28px; width: 1px;
  background: var(--rule);
}
.thesis-point::after {
  content: '';
  position: absolute; left: 0; top: 4px; width: 1px; height: 0;
  background: var(--text-2);
  transition: height 0.9s var(--ease);
}
.thesis-point:first-child::before, .thesis-point:first-child::after { top: 4px; }
.thesis-point.is-active::after { height: calc(100% - 32px); }
/* focus shifts by colour, not opacity, so every point stays above the 4.5:1 contrast ratio */
.thesis-point .point-title, .thesis-point .point-body, .thesis-point .point-number { transition: color 0.5s ease; }
.thesis-points.is-tracking .thesis-point:not(.is-active) .point-title { color: var(--text-2); }
.thesis-points.is-tracking .thesis-point.is-active .point-body { color: var(--text-1); }
.thesis-points.is-tracking .thesis-point.is-active .point-number { color: var(--text-2); }
.point-number {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-3);
  margin-bottom: 12px;
}
.point-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--text-1); margin-bottom: 10px; }
.point-body { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.75; }

/* ── NEWS (home "Latest" strip + newsroom) ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.news-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
}
.news-card.is-featured { grid-column: 1 / -1; padding: 56px 48px; }
.news-grid.is-filtered .news-card.is-featured { grid-column: auto; padding: 36px 32px; }
.news-grid.is-filtered .news-card.is-featured :is(h2, h3) { font-size: 26px; }
.news-card[hidden] { display: none; }
.news-card h2, .news-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-1);
}
.news-card.is-featured :is(h2, h3) { font-size: clamp(32px, 4vw, 48px); max-width: 780px; line-height: 1.12; font-weight: 300; }
.news-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 640px; }
.news-card .more { margin-top: auto; padding-top: 8px; }
.news-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.chip {
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-h);
  color: var(--text-2);
}
.chip--flag { border-style: dashed; color: var(--text-3); }

.page-hero { padding: 176px 0 56px; }
.page-lede { font-size: 16px; color: var(--text-2); max-width: 520px; line-height: 1.8; opacity: 0; animation: fadeUp 0.9s ease 0.7s forwards; }
.news-section { padding: 24px 0 140px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chip {
  font-family: 'Syne', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.filter-chip span { color: var(--text-3); margin-left: 4px; }
.filter-chip:hover { color: var(--text-1); border-color: var(--border-h); }
.filter-chip[aria-pressed="true"] { color: var(--text-1); background: var(--surface-h); border-color: var(--border-h); }

.news-empty {
  padding: 88px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
}
.news-empty .empty-mark { width: 84px; height: 84px; color: var(--text-3); margin: 0 auto 28px; display: block; }
.news-empty h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--text-1); margin-bottom: 12px; }
.news-empty p { font-size: 14.5px; color: var(--text-2); max-width: 460px; margin: 0 auto; line-height: 1.75; }
.news-empty a { color: var(--text-1); }

/* ── POST ── */
.post { padding: 152px 0 120px; position: relative; z-index: 1; }
.back-link {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s, gap 0.2s;
}
.back-link:hover { color: var(--text-1); gap: 12px; }
.post-header { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.post-header .news-meta { margin-bottom: 24px; }
.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 20px;
}
.post-summary { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.sample-banner {
  margin-bottom: 32px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--text-2);
  border: 1px dashed var(--border-h);
  border-radius: 8px;
  background: var(--surface);
}
.prose { font-size: 17px; line-height: 1.85; color: var(--text-2); }
.prose > * + * { margin-top: 1.35em; }
.prose h2, .prose h3, .prose h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--text-1); line-height: 1.2; margin-top: 2.2em; }
.prose h2 { font-size: 34px; }
.prose h3 { font-size: 26px; }
.prose h4 { font-size: 21px; }
.prose strong { color: var(--text-1); font-weight: 500; }
.prose a { color: var(--text-1); text-decoration: none; border-bottom: 1px solid var(--border-h); transition: border-color 0.2s; }
.prose a:hover { border-color: var(--text-1); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--text-3); }
.prose blockquote {
  padding: 6px 0 6px 28px;
  border-left: 1px solid var(--border-h);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-1);
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.86em; padding: 2px 6px; border-radius: 5px; background: var(--surface-h); color: var(--text-1); }
.prose pre { padding: 20px 24px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: 13.5px; line-height: 1.7; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 72px; }
.post-nav-link {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 28px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.post-nav-link:hover { background: var(--surface-h); border-color: var(--border-h); }
.post-nav-link.is-older { grid-column: 2; text-align: right; }
.post-nav-label { font-family: 'Syne', sans-serif; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.post-nav-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; line-height: 1.25; color: var(--text-1); }

/* ── FOOTER ── */
footer { padding: 72px 0 40px; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 380px; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 13.5px; color: var(--text-2); text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-1); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}
.footer-base a { color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-base a:hover { color: var(--text-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 12px; line-height: 1.7; }
.footer-legal a { color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-2); }

/* Fill-in-the-blank markers in draft legal pages (preview only) */
.prose mark.placeholder {
  background: color-mix(in srgb, var(--text-1) 12%, transparent);
  color: var(--text-1);
  padding: 0 0.3em;
  border-radius: 3px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes shimmer { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes cue { 0% { top: -50%; } 60%, 100% { top: 100%; } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 88px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { padding: 40px 28px; }
  .thesis-inner { grid-template-columns: 1fr; gap: 48px; }
  .thesis-left { position: static; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .scroll-cue { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .news-card.is-featured { padding: 40px 28px; }
  .page-hero { padding: 136px 0 40px; }
  .post { padding: 120px 0 88px; }
}
@media (max-height: 740px) {
  .scroll-cue { display: none; }
}
@media (max-width: 820px) {
  nav > .nav-item, nav > .nav-link, .contact-btn { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 560px) {
  .section-header { flex-wrap: wrap; gap: 8px 20px; margin-bottom: 40px; }
  .section-header .section-link { margin-left: 0; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.is-older { grid-column: auto; text-align: left; }
  .scroll-cue { display: none; }
  .sub-item { flex-wrap: wrap; }
}

/* ── REDUCED MOTION: keep everything visible, drop the movement ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal].is-in { opacity: 1; animation: none; }
  .line > span, .line > em > span { transform: none; animation: none; }
  .hero-eyebrow, .hero-body, .hero-stats, .page-lede, .scroll-cue { opacity: 1; animation: none; }
  .scroll-cue-line::after, .status.is-live::before { animation: none; }
  .portfolio-card:hover, .news-card:hover { transform: none; }
}
