/* ==========================================================================
   Platform Research — shared stylesheet
   Clean academic: serif display, restrained slate/ink palette, generous space
   ========================================================================== */

:root {
  --ink:        #1b1b1f;
  --ink-soft:   #3a3a42;
  --muted:      #6b6b76;
  --line:       #e4e1da;
  --paper:      #fbfaf7;
  --paper-2:    #f4f2ec;
  --accent:     #2f4a6b;   /* muted academic navy/slate */
  --accent-ink: #22384f;
  --maxw:       72ch;
  --wide:       1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--maxw); }

section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--line); }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3 { line-height: 1.15; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1.1rem; color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(47,74,107,0.25); transition: border-color .15s, color .15s; }
a:hover { color: var(--accent-ink); border-color: var(--accent); }

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.lead { font-size: 1.3rem; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ---- Accessibility ------------------------------------------------------ */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.9rem; text-decoration: none; }
.skip-link:focus { left: 0; }
a:focus-visible, .btn:focus-visible, button:focus-visible, .brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.hero-3d a:focus-visible, .hero-3d .btn:focus-visible { outline-color: #8fb0dc; }

/* ---- Header / nav ------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251,250,247,0.85); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; max-width: var(--wide); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); border: 0; }
.brand-mark { display: block; flex: none; width: 28px; height: 28px; }
.brand-name span { color: var(--accent); }
.nav-links { display: flex; gap: 1.6rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.92rem; }
.nav-links a { color: var(--ink-soft); border: 0; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: 6rem 0 4.5rem; }
.hero .lead { max-width: 60ch; }

/* ---- 3D hero (home) ----------------------------------------------------- */
.hero-3d { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: stretch; min-height: 600px; padding: 0; background: #0e1324; overflow: hidden; border: 0; }
.hero-3d .hero-copy { align-self: center; z-index: 2; padding-block: 3.5rem; padding-inline: max(1.5rem, calc((100vw - 1080px) / 2 + 1.5rem)) 2.5rem; }
.hero-3d .hero-copy > * { max-width: 32rem; }
.hero-3d .hero-viz { position: relative; z-index: 0; min-width: 0; }
.hero-3d .hero-viz > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-3d .hero-viz::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0e1324 0%, rgba(14,19,36,0) 100%); }
.hero-3d .eyebrow { color: #8fb0dc; }
.hero-3d h1 { color: #f2f6fc; }
.hero-3d .lead { color: #c4cee1; }
.hero-3d .btn { background: #dfe8f6; border-color: #dfe8f6; color: #16213b; }
.hero-3d .btn:hover { background: #fff; border-color: #fff; color: #16213b; }
.hero-3d .btn.ghost { background: transparent; color: #e4ecf8; border-color: rgba(255,255,255,0.32); }
.hero-3d .btn.ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55); }
.hero-legend { position: absolute; right: 1.7rem; bottom: 1.5rem; z-index: 2; display: flex; flex-direction: column; gap: 0.32rem;
  padding: 0.9rem 1.05rem; background: rgba(14,19,36,0.5); border: 1px solid rgba(159,192,232,0.16); border-radius: 12px;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; pointer-events: none; }
.hero-legend .hl-title { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9fb6d6; margin-bottom: 0.2rem; }
.hero-legend .hl-row { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: #d4e0f2; }
.hero-legend .hl-row i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.hero-legend .hl-foot { margin-top: 0.35rem; font-size: 0.66rem; color: #8298b8; }
@media (max-width: 900px) {
  .hero-3d { grid-template-columns: 1fr; min-height: 0; }
  .hero-3d .hero-copy { order: 1; max-width: none; padding: 3rem 1.5rem 1.75rem; }
  .hero-3d .hero-viz { order: 2; height: 300px; }
  .hero-3d .hero-viz::before { width: 100%; height: 34%; bottom: auto; background: linear-gradient(180deg, #0e1324 0%, rgba(14,19,36,0) 100%); }
  .hero-legend { display: none; }
}

/* ---- Buttons ------------------------------------------------------------ */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem; font-weight: 500; padding: 0.65rem 1.25rem; border-radius: 6px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--paper-2); color: var(--accent-ink); }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.5rem; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---- Sector strip (platforms we study) ---------------------------------- */
.sectors-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 3rem 0 1.25rem; }
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.85rem; }
.sector { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; padding: 1.5rem 0.6rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sector:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(34,56,79,0.08); }
.sector svg { width: 24px; height: 24px; padding: 13px; box-sizing: content-box; background: var(--paper-2); border-radius: 50%; display: block; }
.sector .name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 600; font-size: 0.82rem; color: var(--ink); line-height: 1.25; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }

/* ---- Publications list -------------------------------------------------- */
.pub { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.pub:last-child { border-bottom: 0; }
.pub-thumb { flex: 0 0 210px; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #eef3fb; line-height: 0; transition: transform .18s ease, box-shadow .18s ease; }
.pub-thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(31,48,79,.12); }
.pub-thumb svg { width: 100%; height: auto; display: block; }
.pub-body { flex: 1 1 auto; min-width: 0; }
.pub .title { font-weight: 600; color: var(--ink); }
.pub .authors { color: var(--ink-soft); }
.pub .venue { font-style: italic; color: var(--muted); }
.pub .tags { margin-top: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
@media (max-width: 640px) { .pub { flex-direction: column; gap: 0.9rem; } .pub-thumb { flex-basis: auto; width: 100%; } }
.tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem; letter-spacing: 0.03em; color: var(--accent); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem;
}

/* ---- Bio portrait (About) ----------------------------------------------- */
.bio-hero { display: flex; align-items: center; gap: 2.6rem; }
.bio-portrait { width: 208px; height: 208px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: var(--paper-2); border: 1px solid var(--line); }
@media (max-width: 680px) {
  .bio-hero { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .bio-portrait { width: 150px; height: 150px; }
}

/* ---- Research agenda list ----------------------------------------------- */
.agenda { padding-left: 1.4rem; margin: 0.6rem 0 0; }
.agenda li { margin: 0.75rem 0; padding-left: 0.3rem; line-height: 1.62; color: var(--ink-soft); }
.agenda li::marker { color: var(--accent); font-weight: 600; }
.agenda li strong { color: var(--ink); }

/* ---- Team (About) ------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem 1.5rem; }
.member-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; display: block; margin-bottom: 1rem; background: var(--paper-2); border: 1px solid var(--line); }
.member-avatar.ph { display: flex; align-items: center; justify-content: center; }
.member h3 { font-size: 1.12rem; margin: 0 0 0.2rem; }
.member-role { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.7rem; }
.member-bio { font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 0.8rem; }
.member-links { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.82rem; margin: 0; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- Article (blog post) ------------------------------------------------ */
.article .dek { font-size: 1.35rem; line-height: 1.4; color: var(--ink-soft); font-style: italic; margin: 0 0 1.1rem; }
.article .paper-cite { font-size: 0.92rem; line-height: 1.55; color: var(--muted); border-left: 3px solid var(--accent); padding: 0.15rem 0 0.15rem 0.9rem; margin: 0 0 1.4rem; }
.article .paper-cite .label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.25rem; }
.article .paper-cite a { color: var(--accent); }
.article .art-meta { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.article h2 { margin-top: 2.6rem; }
figure.exhibit { margin: 2.6rem 0; padding: 1.9rem 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
figure.exhibit svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
figure.exhibit figcaption { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.85rem; line-height: 1.55; color: var(--muted); margin-top: 1.1rem; }
.article .sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article .sources h2 { font-size: 1.1rem; margin: 0 0 0.8rem; }
.article .sources ul { list-style: none; padding: 0; margin: 0; }
.article .sources li { font-size: 0.92rem; color: var(--muted); padding: 0.35rem 0; line-height: 1.5; }
.back-link { display: inline-block; margin-bottom: 1.5rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.85rem; border: 0; }

/* ---- Contact ------------------------------------------------------------ */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.contact-list .k { font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); min-width: 7rem; padding-top: 0.15rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.85rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-foot a { color: var(--muted); border: 0; }
.site-foot a:hover { color: var(--accent); }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 720px) {
  body { font-size: 1.05rem; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 1.1rem; }
  .nav { flex-wrap: wrap; }
  section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 2.5rem; }
}

/* ============ "The Matchmaker" canvas hero (home) ============ */
.sim-hero { position: relative; width: 100%; height: 100vh; min-height: 600px; max-height: 1040px; overflow: hidden; border: 0;
  background: radial-gradient(125% 95% at 70% 12%, #12213e 0%, #0a1122 55%, #070b16 100%); }
#sim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#sim:active { cursor: grabbing; }
.sim-fallback { position: absolute; inset: 0; display: none; background: radial-gradient(125% 95% at 70% 12%, #12213e, #070b16); }
.sim-hero.no-sim #sim { display: none; }
.sim-hero.no-sim .sim-fallback { display: block; }
.sim-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,9,18,0.85) 0%, rgba(6,9,18,0.4) 32%, rgba(6,9,18,0) 56%),
    linear-gradient(0deg, rgba(6,9,18,0.55) 0%, rgba(6,9,18,0) 26%),
    radial-gradient(125% 105% at 50% 42%, rgba(0,0,0,0) 58%, rgba(4,6,12,0.62) 100%); }

.sim-overlay { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; pointer-events: none;
  padding-inline: max(1.5rem, calc((100vw - 1080px) / 2 + 1.5rem)); }
.sim-copy { max-width: 34rem; }
.sim-copy .eyebrow { color: #8fb0dc; }
.sim-copy h1 { color: #f4f8ff; text-shadow: 0 2px 34px rgba(4,10,24,0.65); }
.sim-copy .lead { color: #ced9ed; max-width: 33rem; text-shadow: 0 1px 18px rgba(4,10,24,0.55); }
.sim-copy .btn-row { pointer-events: auto; }
.sim-copy .btn { background: #e2ebf8; border-color: #e2ebf8; color: #16213b; }
.sim-copy .btn:hover { background: #fff; border-color: #fff; color: #16213b; }
.sim-copy .btn.ghost { background: rgba(255,255,255,0.06); color: #e6edf9; border-color: rgba(255,255,255,0.34); }
.sim-copy .btn.ghost:hover { background: rgba(255,255,255,0.13); color: #fff; border-color: rgba(255,255,255,0.62); }

.sim-hud { position: absolute; right: 1.6rem; bottom: 1.5rem; z-index: 3; pointer-events: none;
  padding: 1rem 1.15rem; border-radius: 14px; min-width: 208px;
  background: rgba(9,15,29,0.52); border: 1px solid rgba(120,150,200,0.2);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 14px 46px rgba(0,0,0,0.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.hud-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: #9fb6d6; margin: 0 0 0.75rem; }
.hud-live { width: 8px; height: 8px; border-radius: 50%; background: #35e0cf; box-shadow: 0 0 10px #35e0cf; animation: hudpulse 1.6s ease-in-out infinite; }
@keyframes hudpulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.7); } }
.hud-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.15rem; }
.hud-row { display: flex; flex-direction: column; gap: 0.06rem; }
.hud-num { font-size: 1.4rem; font-weight: 700; color: #f2f7ff; line-height: 1; font-variant-numeric: tabular-nums; }
.hud-lab { font-size: 0.63rem; letter-spacing: 0.02em; color: #90a4c4; }
.hud-legend { display: flex; gap: 0.9rem; margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid rgba(120,150,200,0.18); font-size: 0.68rem; color: #c6d2e6; }
.hud-legend span { display: inline-flex; align-items: center; gap: 0.38rem; }
.hud-legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.rest { background: #ffb454; box-shadow: 0 0 8px #ffb454; }
.dot.home { background: #64d2ff; box-shadow: 0 0 8px #64d2ff; }
.dot.drv  { background: #35e0cf; box-shadow: 0 0 8px #35e0cf; }
.hud-hint { font-size: 0.7rem; color: #8ea6c8; margin: 0.75rem 0 0; transition: color .3s, text-shadow .3s; }
.hud-hint::before { content: "\21B3\00A0"; color: #35e0cf; }
.hud-hint.lit { color: #eaf3ff; text-shadow: 0 0 12px rgba(53,224,207,0.65); }

/* home header: transparent over the hero, solid once scrolled past it */
.home .site-head { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s ease, border-color .3s ease; }
.home .site-head .brand { color: #fff; }
.home .site-head .brand-name span { color: #cfe0f5; }
.home .site-head .brand-mark { filter: brightness(0) invert(1); opacity: 0.9; }
.home .site-head .nav-links a { color: rgba(232,239,250,0.82); }
.home .site-head .nav-links a:hover, .home .site-head .nav-links a.active { color: #fff; }
.home .site-head.scrolled { background: rgba(251,250,247,0.9); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(180%) blur(8px); backdrop-filter: saturate(180%) blur(8px); }
.home .site-head.scrolled .brand { color: var(--ink); }
.home .site-head.scrolled .brand-name span { color: var(--accent); }
.home .site-head.scrolled .brand-mark { filter: none; opacity: 1; }
.home .site-head.scrolled .nav-links a { color: var(--ink-soft); }
.home .site-head.scrolled .nav-links a:hover, .home .site-head.scrolled .nav-links a.active { color: var(--accent); }

@media (max-width: 860px) {
  .sim-hero { height: 92vh; min-height: 560px; }
  .sim-copy h1 { font-size: 2rem; }
  .sim-hud { right: 1rem; left: 1rem; bottom: 1rem; min-width: 0; }
}
@media (max-width: 560px) {
  .sim-hud { padding: 0.8rem 0.9rem; }
  .hud-num { font-size: 1.15rem; }
  .hud-legend { flex-wrap: wrap; gap: 0.5rem 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .hud-live { animation: none; } }

/* ============ HBR-style article layout ============ */
.article p.lead-para { font-size: 1.16rem; line-height: 1.72; color: var(--ink); }
.article p.lead-para::first-letter { float: left; font-family: "Newsreader", Georgia, serif; font-weight: 600; font-size: 3.6rem; line-height: 0.8; padding: 0.12rem 0.55rem 0 0; color: var(--accent); }
.article h2 { position: relative; font-size: 1.55rem; margin-top: 3rem; padding-top: 1.35rem; border-top: 2px solid var(--accent); color: var(--accent-ink); }
.article .pullquote { font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: 1.7rem; line-height: 1.34; color: var(--accent); margin: 2.4rem 0; padding: 0.1rem 0 0.1rem 1.4rem; border-left: 4px solid var(--accent); font-weight: 500; max-width: none; }
.article .callout { margin: 2rem 0; padding: 1.15rem 1.4rem 1.25rem; border-radius: 14px; background: linear-gradient(180deg, #f2f6fc, #edf3fb); border: 1px solid #d8e3f2; }
.article .callout .callout-label { display: inline-flex; align-items: center; gap: 0.4rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 0.45rem; }
.article .callout .callout-label::before { content: "\1F4A1"; font-size: 0.95rem; }
.article .callout p { margin: 0; font-size: 0.99rem; line-height: 1.55; color: var(--ink); }
.article figure.exhibit { margin: 2.6rem 0; padding: 1.4rem 1.5rem 1.05rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(20,30,50,0.06); }
.article figure.exhibit svg { display: block; width: 100%; height: auto; }
.article figure.exhibit figcaption { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.article figure.exhibit figcaption strong { color: var(--ink); }
.article figure.exhibit.hero { margin: 1.4rem 0 2.4rem; padding: 0; border: 0; box-shadow: none; background: none; }
.article figure.exhibit.hero svg { border-radius: 16px; box-shadow: 0 16px 44px rgba(20,30,50,0.12); }
@media (max-width: 640px) { .article .pullquote { font-size: 1.35rem; } .article p.lead-para::first-letter { font-size: 3rem; } }

/* ============================================================
   Blog article: "Product Philosophy" editorial format (body.pp)
   Dark text hero + sticky Contents rail + serif body / round-sans headings
   ============================================================ */
body.pp { background: #fff; }

/* dark top: nav sits on the hero */
body.pp .site-head { background: #0d0e13; border-bottom: 1px solid rgba(255,255,255,.08); }
body.pp .site-head .brand-name { color: #fff; }
body.pp .site-head .brand-name span { color: #9aa3b6; }
body.pp .nav-links a { color: #c7cddb; }
body.pp .nav-links a:hover, body.pp .nav-links a.active { color: #fff; }

.pp-hero { background: #0d0e13; color: #fff; padding: 3.4rem 1.5rem 4rem; }
.pp-hero-in { max-width: 820px; margin: 0 auto; }
.pp-eyebrow { font-family: "Varela Round", sans-serif; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #7f889b; margin: 0 0 1.4rem; }
.pp-hero h1 { font-family: "Varela Round", sans-serif; font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; margin: 0 0 1.5rem; }
.pp-dek { font-family: "Noto Serif", Georgia, serif; font-size: 1.28rem; line-height: 1.55; color: rgba(255,255,255,.74); margin: 0 0 1.9rem; max-width: 42ch; }
.pp-byline { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; font-family: "Varela Round", sans-serif; font-size: .85rem; color: #7f889b; }
.pp-share { display: inline-flex; gap: .7rem; }
.pp-sh { color: #7f889b; display: inline-flex; align-items: center; transition: color .14s; }
.pp-sh:hover { color: #fff; }

/* two-column body: Contents rail + article */
.pp-body { max-width: 1180px; margin: 0 auto; padding: 3rem 1.5rem 4.5rem; display: grid; grid-template-columns: 236px minmax(0, 820px); gap: 3rem; justify-content: center; }
.pp-toc { position: sticky; top: 1.4rem; align-self: start; max-height: calc(100vh - 2.8rem); overflow-y: auto; }
.pp-toc-label { font-family: "Varela Round", sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.pp-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.pp-toc a { display: block; font-family: "Varela Round", sans-serif; font-size: .82rem; line-height: 1.35; color: var(--muted); text-decoration: none; padding: .34rem 0 .34rem 1rem; margin-left: -1px; border-left: 2px solid transparent; transition: color .12s, border-color .12s; }
.pp-toc a:hover { color: var(--ink); }
.pp-toc a.on { color: var(--ink); border-left-color: var(--ink); }
.pp-toc .toc-sub a { padding-left: 1.9rem; font-size: .78rem; }

/* article typography */
.pp-article { font-family: "Noto Serif", Georgia, serif; color: #26262c; min-width: 0; }
.pp-article p { font-size: 1.19rem; line-height: 1.68; margin: 0 0 1.5rem; }
.pp-article p.lead-para { color: #14151a; }
.pp-article h2 { font-family: "Varela Round", sans-serif; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.02em; color: #14151a; margin: 2.7rem 0 1.1rem; scroll-margin-top: 1.4rem; }
.pp-article h3 { font-family: "Varela Round", sans-serif; font-weight: 400; font-size: 1.16rem; letter-spacing: -.01em; color: #6b6b76; margin: 2rem 0 .8rem; scroll-margin-top: 1.4rem; }
.pp-article a { color: #ad532e; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.pp-article a:hover { color: #8f421f; }
.pp-article strong { font-weight: 600; color: #14151a; }
.pp-article em { font-style: italic; }

.pp-rule { text-align: center; color: var(--muted); font-family: "Varela Round", sans-serif; letter-spacing: .1em; margin: 2.9rem 0; font-size: .9rem; }

.pp-article .pullquote { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.55rem); line-height: 1.4; color: #14151a; border-left: 3px solid var(--accent); padding: .1rem 0 .1rem 1.5rem; margin: 2.2rem 0; }

.pp-article .callout { background: #f6f7f9; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1.3rem 1.6rem; margin: 2.1rem 0; }
.pp-article .callout .callout-label { display: block; font-family: "Varela Round", sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.pp-article .callout p { margin: 0; font-size: 1.06rem; line-height: 1.62; }

.pp-article .exhibit { margin: 2.5rem 0; }
.pp-article .exhibit svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pp-article .exhibit figcaption { font-family: "Varela Round", sans-serif; font-size: .82rem; font-weight: 400; color: var(--muted); margin-top: .7rem; text-align: center; }
.pp-article .exhibit figcaption strong { font-weight: 400; color: var(--muted); }

.pp-article .paper-cite { font-family: "Varela Round", sans-serif; font-size: .86rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1.1rem; margin: 0 0 2.2rem; line-height: 1.45; }
.pp-article .paper-cite .label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; color: var(--accent); margin-bottom: .25rem; }
.pp-article .paper-cite a { color: var(--ink-soft); }

.pp-article .sources { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.pp-article .sources h2 { font-family: "Varela Round", sans-serif; font-size: 1.3rem; margin: 0 0 1rem; }
.pp-article .sources ul { list-style: none; margin: 0; padding: 0; font-family: "Varela Round", sans-serif; font-size: .84rem; color: var(--muted); }
.pp-article .sources li { margin-bottom: .55rem; line-height: 1.5; }
.pp-article .sources a { color: var(--accent); }

.pp-back { display: inline-block; margin-top: 2.6rem; font-family: "Varela Round", sans-serif; font-size: .88rem; color: var(--accent); text-decoration: none; }
.pp-back:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .pp-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pp-toc { display: none; }
}
