/* Shared portfolio type scale. Case Studies is the visual reference. */
:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'IBM Plex Mono', monospace;
  --type-section: clamp(30px, 3.1vw, 45px);
  --type-subheading: clamp(23px, 2.1vw, 28px);
  --type-card: 20px;
  --type-body: 16px;
  --type-interface: 14px;
  --type-label: 11px;
  --type-code: 12px;
  --ink-heading: #f4f5fa;
  --ink-body: #c3cbd7;
  --ink-label: #9fdfd2;
  --ink-hover: #fff;
  --accent-purple: #d395ff;
  --accent-mint: #8edacc;
  --accent-heading: linear-gradient(105deg, #8edacc, #c0b2ff);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}
body { font-family: var(--font-body); }
.hero-lede, #dani-next p:not(.dn-eyebrow):not(.dn-label), #dani-next dd,
#dani-next .dn-facts strong, .next-stage p:not(.section-kicker) {
  font-family: var(--font-body);
}
:is(#dani-hybrid-workspace, #dani-next, #dani-work, .next-stage) .section-label {
  display: block;
  margin: 0 0 10px;
  color: var(--ink-label);
  font: 400 var(--type-label)/1.6 var(--font-label);
  letter-spacing: .09em;
  text-transform: uppercase;
}
:is(#dani-hybrid-workspace, #dani-next, #dani-work, .next-stage) .section-title {
  margin: 0 0 var(--space-6);
  color: var(--ink-heading);
  font: 700 var(--type-section)/1.14 var(--font-heading);
  letter-spacing: -.035em;
  text-transform: uppercase;
  max-width: 100%;
}
:is(#dani-hybrid-workspace, #dani-next, #dani-work, .next-stage) .section-title-accent {
  font-style: normal;
  background: var(--accent-heading);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
#dani-hybrid-workspace .hy-intro .section-title,
#dani-work #work .mc-heading .section-title { margin: 0; }
#dani-work #work .mc-heading,
#dani-hybrid-workspace .hy-intro { margin-bottom: var(--space-6); }
#dani-work #work .mc-story h3,
#dani-work #work .mc-detail-heading h3,
#dani-next .process-framework h3 {
  color: var(--ink-heading);
  font: 700 var(--type-subheading)/1.25 var(--font-heading);
  letter-spacing: -.025em;
  margin: 0 0 var(--space-3);
}
#dani-next .process-framework .dn-label,
#dani-work #work .mc-eyebrow,
#dani-work #work .mc-strategy h4,
#dani-next .dn-facts small {
  font: 400 var(--type-label)/1.6 var(--font-label);
  letter-spacing: .09em;
}
#dani-next .dn-about summary {
  font: 600 var(--type-card)/1.4 var(--font-body);
  color: var(--ink-heading);
}
#dani-next .process-intro {
  margin: 0 0 var(--space-6);
  color: var(--ink-body);
  font: 400 var(--type-body)/1.6 var(--font-body);
}
#dani-next .process-framework p,
#dani-next .dn-about details p,
#dani-work #work .mc-story .mc-summary,
#dani-work #work .mc-strategy p,
#dani-work #work .mc-impact p,
.next-stage .next-stage-bottom p {
  color: var(--ink-body);
  font: 400 var(--type-body)/1.6 var(--font-body);
}
#systems #blueprint-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.025em;
}
/* Hover/focus rules follow selected-state rules and include nested text. */
.primary-nav a:is(:hover, :focus-visible),
#systems .ga-nav button:is(:hover, :focus-visible),
#hero-scenario-list button:is(:hover, :focus-visible),
#system-submenu button:is(:hover, :focus-visible),
#dani-hybrid-workspace .rp-system > summary:is(:hover, :focus-visible),
#dani-hybrid-workspace .rp-menu-heading:is(:hover, :focus-visible),
#dani-hybrid-workspace .rp-scenarios button:is(:hover, :focus-visible),
#dani-hybrid-workspace .hy-tabbar button:is(:hover, :focus-visible),
#dani-work #work .mc-pick:is(:hover, :focus-visible),
#dani-work #work .mc-tab:is(:hover, :focus-visible),
#dani-next .dn-about summary:is(:hover, :focus-visible) { color: var(--ink-hover); }
.primary-nav a:is(:hover, :focus-visible) *,
#systems .ga-nav button:is(:hover, :focus-visible) .ga-number,
#systems .ga-nav button:is(:hover, :focus-visible) span,
#hero-scenario-list button:is(:hover, :focus-visible) *,
#system-submenu button:is(:hover, :focus-visible) span,
#dani-hybrid-workspace .rp-system > summary:is(:hover, :focus-visible) :is(.rp-nav-title, .rp-nav-number, .rp-nav-label),
#dani-hybrid-workspace .rp-menu-heading:is(:hover, :focus-visible) *,
#dani-hybrid-workspace .rp-scenarios button:is(:hover, :focus-visible) *,
#dani-hybrid-workspace .hy-tabbar button:is(:hover, :focus-visible) * { color: var(--ink-hover); }
.primary-nav .linkedin-button:is(:hover, :focus-visible) {
  color: var(--ink-hover);
  background: #23182f;
  border-color: var(--accent-purple);
}
.primary-nav a:focus-visible,
#systems .ga-nav button:focus-visible,
#hero-scenario-list button:focus-visible,
#system-submenu button:focus-visible,
#dani-work #work :is(.mc-pick, .mc-tab):focus-visible,
#dani-next .dn-about summary:focus-visible {
  outline: 2px solid var(--ink-hover);
  outline-offset: 3px;
}
/* Preserve the established hero scale and line breaks. */
@media (min-width: 1200px) {
  .hero-lede .intro-line { display:block; white-space:nowrap; }
  .hero .hero-lede { font-size:clamp(15px,1.05vw,21px); max-width:none; }
}
.hero-role p { font-size:clamp(10px,.78vw,13px); max-width:none; white-space:nowrap; }
@media (max-width:480px) { .hero-role p { font-size:10px; white-space:normal; } }

/* Title case is authored in the copy; preserve acronyms and proper names. */
/* Temporarily removed sections and their navigation stay easy to restore. */
#about[hidden], #how-i-lead[hidden], .primary-nav [hidden] { display:none !important; }

body :is(h1, h2, h3, h4, h5, h6,
  .eyebrow, .section-label, .section-kicker, .dn-eyebrow, .da-eyebrow,
  .dn-label, .ga-small-label, .ga-system-label, .mc-eyebrow, .mc-section-label,
  .mc-asset-label, .hy-label, .engagement-label, .da-facts dt,
  .portfolio-metrics .scorecard span) {
  text-transform: none !important;
}

/* Section kickers retain their original uppercase treatment. */
body #top .eyebrow, body :is(#work, #what-i-build, #system, #about, #how-i-lead, #next-stage) :is(.section-label, .section-kicker, .mc-section-label, .dn-eyebrow, .da-eyebrow) { text-transform:uppercase !important; }
#what-i-build { background-image:radial-gradient(circle,rgba(142,218,204,.16) .8px,transparent 1px); background-size:20px 20px; }
