/*
 * =============================================================================
 * Neo-Swiss Design System — neoswiss-system.css
 * =============================================================================
 *
 * Extracted from the canonical reference:
 *   .specify/Montano_Javier_Canonical.html
 *
 * Brand: MetodologIA — "Success as a Service"
 * Theme: Dark-first, with full light-mode overrides
 * Naming: --brand-* custom properties
 *
 * Sections:
 *   1. CSS Variables (Dark + Light)
 *   2. Base Resets
 *   3. Typography Classes
 *   4. Focus & Accessibility
 *   5. Background Mesh
 *   6. Header
 *   7. Sidebar
 *   8. Layout (Main, Container, Section)
 *   9. Typography Utility Classes
 *  10. Info Popover & Dialog
 *  11. Section Foot (CTA footnote)
 *  12. Cards & Surfaces (x-card)
 *  13. Hero
 *  14. Stats
 *  15. Accelerators (accels, accel, accel-hero, accel-trio, accel-tile)
 *  16. Principles
 *  17. Timeline
 *  18. Skills & Chips
 *  19. Axes
 *  20. Form List
 *  21. References
 *  22. Footer
 *  23. Theme Toggle
 *  24. Dark-to-Light Transitions
 *  25. Light Theme Overrides
 *  26. Animations & Keyframes
 *  27. Reduced Motion
 * =============================================================================
 */


/* === 1. CSS VARIABLES — DARK (DEFAULT) === */

:root {
  --brand-dark: #0a122a;
  --brand-darker: #070b1a;
  --brand-surface: #1e293b;
  --brand-surface-alt: #172033;
  --brand-gold: #ffd700;
  --brand-gold-soft: #ffe875;
  --brand-text: #f8fafc;
  --brand-text-soft: #e2e8f0;
  --brand-muted: #94a3b8;
  --brand-border: rgba(255, 255, 255, .08);
  --brand-border-hover: rgba(255, 215, 0, .35);
  --brand-radius: 16px;
  --brand-radius-lg: 24px;
  --sidebar-w: 260px;
  --header-h: 72px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --ease: cubic-bezier(.4, 0, .2, 1);
}


/* === 2. BASE RESETS === */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(15.5px, 1vw, 16.5px);
  line-height: 1.7;
  color: var(--brand-text);
  background: var(--brand-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  color: var(--brand-text);
  font-weight: 700;
}


/* === 3. TYPOGRAPHY CLASSES === */

.mono {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
}

.eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #f8fafc 0%, var(--brand-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.muted {
  color: var(--brand-muted);
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--brand-text-soft);
  line-height: 1.7;
  font-weight: 400;
}

.lead strong {
  color: var(--brand-gold);
  font-weight: 700;
}


/* === 4. FOCUS & ACCESSIBILITY === */

:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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


/* === 5. BACKGROUND MESH === */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 18% 12%, rgba(255, 215, 0, .07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 82% 85%, rgba(255, 215, 0, .05) 0%, transparent 55%);
}


/* === 6. HEADER === */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 18, 42, .85);
  border-bottom: 1px solid var(--brand-border);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header {
    background: rgba(10, 18, 42, .55);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
  }
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}

.site-header__logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .3), 0 8px 22px rgba(0, 0, 0, .45);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.site-header__logo-wrap:hover {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .55), 0 10px 28px rgba(255, 215, 0, .22);
  transform: scale(1.04);
}

.site-header__logo {
  width: 100%;
  height: 100%;
  display: block;
}

.site-header__logo-wrap > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.site-header__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  justify-content: center;
}

.site-header__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
  line-height: 1.1;
}

.site-header__role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-gold);
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
}

.site-header__role-brand {
  color: var(--brand-text);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 11.5px;
  opacity: .75;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.1rem;
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .08em;
  border-radius: 8px;
  min-height: 44px;
  white-space: nowrap;
  transition: box-shadow .3s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  box-shadow: 0 0 24px rgba(255, 215, 0, .4);
  transform: translateY(-1px);
  outline: none;
}

.site-header__cta:active {
  transform: translateY(0) scale(.98);
  transition-duration: .1s;
}

.site-header__cta-short {
  display: none;
}

/* Header nav links (global site navigation) */
.site-header__nav {
  display: none;
  align-items: center;
  gap: .25rem;
}

@media (min-width: 960px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__nav-link {
  padding: .5rem .75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-text-soft);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
  color: var(--brand-gold);
  background: rgba(255, 215, 0, .08);
  outline: none;
}

.site-header__nav-link--active {
  color: var(--brand-gold);
  background: rgba(255, 215, 0, .12);
}

html[data-theme="light"] .site-header__nav-link {
  color: #334155;
}

html[data-theme="light"] .site-header__nav-link:hover,
html[data-theme="light"] .site-header__nav-link:focus-visible {
  color: #b88700;
  background: rgba(184, 135, 0, .08);
}

html[data-theme="light"] .site-header__nav-link--active {
  color: #b88700;
  background: rgba(184, 135, 0, .12);
}

/* Ecosystem hover-reveal (desktop only) */
.site-header__ecosystem {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--brand-muted);
  white-space: nowrap;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s var(--ease), opacity .3s var(--ease);
}

.site-header__brand:hover .site-header__ecosystem,
.site-header__brand:focus-within .site-header__ecosystem {
  max-height: 1.5em;
  opacity: 1;
}

.site-header__ecosystem strong {
  color: var(--brand-gold);
  font-weight: 700;
}

/* Header responsive: <= 640px */
@media (max-width: 640px) {
  .site-header__cta {
    display: none;
  }

  .site-header__role {
    display: none;
  }

  .site-header__ecosystem {
    display: none;
  }

  .site-header__logo-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .site-header__brand {
    gap: .55rem;
    min-width: 0;
    flex: 1;
  }

  .site-header__text {
    min-width: 0;
  }

  .site-header__name {
    font-size: 1rem;
    white-space: normal;
    word-spacing: 100vw;
    line-height: 1.05;
    max-width: 100%;
    font-weight: 700;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}

/* Sidebar CTA (mobile only — shown when header CTA is hidden) */
.sidebar__cta {
  display: none;
}

@media (max-width: 640px) {
  .sidebar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 .85rem 1rem;
    padding: .8rem 1.2rem;
    background: var(--brand-gold);
    color: var(--brand-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    min-height: 44px;
    transition: box-shadow .3s var(--ease);
  }

  .sidebar__cta:hover,
  .sidebar__cta:focus-visible {
    box-shadow: 0 0 20px rgba(255, 215, 0, .4);
    outline: none;
  }
}

/* Sidebar ecosystem stats */
.sidebar__ecosystem {
  padding: .75rem .85rem;
  margin-top: .5rem;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  color: var(--brand-muted);
  letter-spacing: .08em;
  line-height: 1.8;
  border-top: 1px solid var(--brand-border);
}

.sidebar__ecosystem strong {
  color: var(--brand-gold);
  font-weight: 700;
}

/* Menu toggle (hamburger) */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-text);
  border-radius: 1px;
  transition: all .3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--brand-gold);
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}


/* === 7. SIDEBAR === */

.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 1.5rem 1rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-right: 1px solid var(--brand-border);
  background: rgba(7, 11, 26, .85);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 40;
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .sidebar {
    background: rgba(7, 11, 26, .6);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
  }
}

@media (min-width: 960px) {
  .sidebar {
    transform: none;
  }
}

.sidebar.is-open {
  transform: translateX(0);
  box-shadow: 12px 0 40px rgba(0, 0, 0, .5);
}

.sidebar__head {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin: 0 .5rem 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--brand-border);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  color: var(--brand-text-soft);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
  min-height: 44px;
}

.sidebar__link:hover,
.sidebar__link:focus-visible {
  background: rgba(255, 215, 0, .08);
  color: var(--brand-gold);
  outline: none;
}

.sidebar__link.is-active {
  background: rgba(255, 215, 0, .12);
  color: var(--brand-gold);
  box-shadow: inset 3px 0 0 var(--brand-gold);
}

.sidebar__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar__link-num {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-muted);
  margin-left: auto;
  letter-spacing: .08em;
}

.sidebar__link.is-active .sidebar__link-num {
  color: var(--brand-gold);
}

.sidebar__footer {
  margin-top: auto;
  padding: 1.25rem .5rem 0;
  border-top: 1px solid var(--brand-border);
  font-size: 12px;
  color: var(--brand-text-soft);
  line-height: 1.6;
}

.sidebar__footer a {
  color: var(--brand-gold);
}

/* Sidebar backdrop (mobile overlay) */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 960px) {
  .sidebar-backdrop {
    display: none;
  }
}


/* === 8. LAYOUT === */

.main {
  padding-top: var(--header-h);
  padding-left: 0;
  padding-right: 0;
  min-height: 100vh;
}

@media (min-width: 960px) {
  .main {
    padding-left: var(--sidebar-w);
  }
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}


/* === 9. INFO POPOVER === */

.info-pop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 .2rem;
  border-radius: 50%;
  background: rgba(255, 215, 0, .12);
  color: var(--brand-gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .35s var(--ease);
  vertical-align: baseline;
  border: 1px solid rgba(255, 215, 0, .3);
  flex-shrink: 0;
}

.info-pop::before {
  content: 'i';
  font-style: italic;
}

.info-pop::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  opacity: 0;
  transform: scale(1);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}

.info-pop:hover,
.info-pop:focus-visible {
  background: var(--brand-gold);
  color: var(--brand-dark);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(255, 215, 0, .55), 0 0 0 2px rgba(255, 215, 0, .25);
  outline: none;
}

.info-pop:hover::after,
.info-pop:focus-visible::after {
  opacity: 0;
  transform: scale(2.2);
  animation: infoRing .7s var(--ease);
}

.info-pop:active {
  transform: scale(1.05);
}

.info-pop--pulse {
  width: 24px;
  height: 24px;
  font-size: 12px;
  animation: infoPopPulse 2.4s ease-in-out infinite;
}


/* === 10. SECTION FOOT (CTA FOOTNOTE) === */

.section-foot {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.75rem;
  padding: .6rem 1.1rem .6rem .7rem;
  border: 1px solid rgba(255, 215, 0, .3);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 215, 0, .08), rgba(255, 215, 0, .02));
  font-size: 12px;
  color: var(--brand-text-soft);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.section-foot:hover,
.section-foot:focus-visible {
  background: linear-gradient(135deg, rgba(255, 215, 0, .16), rgba(255, 215, 0, .04));
  border-color: var(--brand-gold);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, .18), 0 0 0 1px rgba(255, 215, 0, .2);
  outline: none;
}

.section-foot:hover .info-pop,
.section-foot:focus-visible .info-pop {
  background: var(--brand-gold);
  color: var(--brand-dark);
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(255, 215, 0, .6);
}

.section-foot__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-right: .2rem;
}

.section-foot__text {
  line-height: 1.4;
}

.section-foot__text strong {
  color: var(--brand-gold);
  font-weight: 700;
}

.section-foot .info-pop {
  transition: all .3s var(--ease);
}


/* === 11. INFO DIALOG === */

.info-dialog {
  max-width: min(560px, calc(100vw - 2rem));
  max-height: min(80vh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 215, 0, .4);
  border-radius: var(--brand-radius);
  background: var(--brand-surface);
  color: var(--brand-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow: hidden;
}

.info-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.info-dialog::backdrop {
  background: rgba(7, 11, 26, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.info-dialog__inner {
  padding: 1.5rem 1.5rem 1.25rem;
  max-height: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.info-dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
}

.info-dialog__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-gold);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.info-dialog__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: var(--brand-text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background .2s var(--ease);
  min-width: 44px;
  touch-action: manipulation;
}

.info-dialog__close:hover,
.info-dialog__close:focus-visible {
  background: rgba(255, 215, 0, .2);
  color: var(--brand-gold);
  outline: none;
  transform: scale(1.05);
}

.info-dialog__close:active {
  transform: scale(.95);
}

.info-dialog__body {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--brand-text-soft);
}

.info-dialog__body strong {
  color: var(--brand-text);
}

.info-dialog__body em {
  color: var(--brand-gold);
  font-style: normal;
  font-weight: 600;
}

.info-dialog__body p + p {
  margin-top: .8rem;
}

.info-dialog__body ul {
  margin: .5rem 0;
  padding: 0;
}

.info-dialog__body ul li {
  position: relative;
  padding: .35rem 0 .35rem 1.2rem;
  line-height: 1.55;
}

.info-dialog__body ul li::before {
  content: '\25B9'; /* ▹ */
  position: absolute;
  left: 0;
  top: .35rem;
  color: var(--brand-gold);
  font-weight: 700;
}

.info-dialog__body h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 1rem 0 .4rem;
  letter-spacing: -0.01em;
}

.info-dialog__body .kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem .8rem;
  font-size: .88rem;
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px solid var(--brand-border);
}

.info-dialog__body .kv dt {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  padding-top: 4px;
}

.info-dialog__body .kv dd {
  margin: 0;
  color: var(--brand-text-soft);
}

.info-dialog__term {
  display: inline-block;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .5rem;
}

/* 100 ✓ scorecard grid */
.std100-tagline {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: .75rem;
}
.std100-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin: .5rem 0;
}
.std100-cell {
  text-align: center;
  padding: .75rem .5rem;
  border-radius: var(--brand-radius);
  background: rgba(255,215,0,.06);
  border: 1px solid rgba(255,215,0,.15);
}
.std100-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-gold);
  line-height: 1;
}
.std100-lbl {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-text-soft);
  margin-top: .25rem;
}

/* clickable chip in workshop accordion */
.chip[style*="cursor"] ,
.chip[role="button"] {
  cursor: pointer;
}
.chip {
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.chip:hover {
  background: rgba(255,215,0,.15);
  color: var(--brand-gold);
  transform: translateY(-1px);
}

/* === 12. CARDS & SURFACES (x-card) === */

.x-card {
  position: relative;
  cursor: pointer;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
}

.x-card::after {
  content: 'i';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 215, 0, .1);
  border: 1px solid rgba(255, 215, 0, .3);
  color: var(--brand-gold);
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s var(--ease), transform .3s var(--ease), background .25s var(--ease);
  pointer-events: none;
}

.x-card:hover,
.x-card:focus-visible {
  border-color: rgba(255, 215, 0, .45);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 215, 0, .1);
  outline: none;
}

.x-card:hover::after,
.x-card:focus-visible::after {
  opacity: 1;
  transform: scale(1);
  background: var(--brand-gold);
  color: var(--brand-dark);
  box-shadow: 0 0 14px rgba(255, 215, 0, .5);
}

.x-card:active {
  transform: scale(.985);
  transition-duration: .1s;
}


/* === 13. HERO === */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
  }
}

.hero__photo {
  aspect-ratio: 4/5;
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, .2);
  background: var(--brand-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__lead {
  margin-bottom: 1.25rem;
}

.hero__title {
  margin-bottom: 1rem;
}


/* === 14. STATS === */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__cell {
  background: rgba(23, 32, 51, .7);
  padding: 1.1rem .5rem;
  text-align: center;
}

.stats__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  color: var(--brand-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__label {
  display: block;
  margin-top: .4rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-muted);
}


/* === 15. ACCELERATORS === */

/* -- Accels container -- */
.accels {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  padding: 1.1rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 215, 0, .3);
  border-radius: var(--brand-radius);
  background: linear-gradient(135deg, rgba(255, 215, 0, .1), rgba(255, 215, 0, .01));
}

@media (min-width: 640px) {
  .accels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .accels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.accels__kicker {
  grid-column: 1 / -1;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.accels__kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  animation: pulseDot 2s ease-in-out infinite;
}

/* -- Single accel card -- */
.accel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: .75rem .85rem;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: rgba(10, 18, 42, .5);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  min-height: 44px;
  touch-action: manipulation;
}

.accel:hover,
.accel:focus-visible {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  outline: none;
}

.accel--agent {
  border-color: rgba(255, 215, 0, .5);
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, .15), rgba(10, 18, 42, .5));
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .15), 0 8px 24px rgba(255, 215, 0, .08);
}

.accel__head {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.accel__icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(10, 18, 42, .8);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--brand-border);
}

.accel__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accel--agent .accel__icon {
  width: 26px;
  height: 26px;
  border-color: var(--brand-gold);
  background: radial-gradient(circle, rgba(255, 215, 0, .25), rgba(10, 18, 42, .8));
}

.accel__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.accel__title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* -- Accel stack -- */
.accel-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* -- Accel hero (featured) -- */
.accel-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 2px solid rgba(255, 215, 0, .5);
  border-radius: var(--brand-radius-lg);
  background: radial-gradient(circle at 15% 20%, rgba(255, 215, 0, .18), transparent 60%),
              linear-gradient(135deg, rgba(30, 41, 59, .8), rgba(10, 18, 42, .8));
  box-shadow: 0 0 0 1px rgba(255, 215, 0, .15), 0 20px 50px rgba(0, 0, 0, .4);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease);
  touch-action: manipulation;
}

@media (min-width: 640px) {
  .accel-hero {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.accel-hero:hover,
.accel-hero:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, .3), 0 30px 70px rgba(255, 215, 0, .12), 0 0 40px rgba(255, 215, 0, .2);
  outline: none;
}

.accel-hero:active {
  transform: translateY(-1px) scale(.995);
  transition-duration: .12s;
}

.accel-hero__badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  padding: 4px 12px;
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, .4);
  animation: accelHeroPulse 3s ease-in-out infinite;
}

.accel-hero__logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(255, 215, 0, .3), rgba(10, 18, 42, .9));
  border: 2px solid var(--brand-gold);
  box-shadow: 0 0 24px rgba(255, 215, 0, .3);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .accel-hero__logo {
    margin: 0;
  }
}

.accel-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accel-hero__body {
  min-width: 0;
}

.accel-hero__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .4rem;
  display: block;
}

.accel-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--brand-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: .5rem;
}

.accel-hero__desc {
  font-size: .92rem;
  color: var(--brand-text-soft);
  line-height: 1.55;
  margin-bottom: .75rem;
}

.accel-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.accel-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  background: rgba(255, 215, 0, .1);
  border: 1px solid rgba(255, 215, 0, .3);
  border-radius: 999px;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand-gold);
  white-space: nowrap;
}

.accel-hero__cta {
  align-self: center;
  padding: .8rem 1.4rem;
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  border-radius: 10px;
  text-align: center;
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  white-space: nowrap;
}

/* -- Accel trio grid -- */
.accel-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

@media (min-width: 640px) {
  .accel-trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -- Accel tile -- */
.accel-tile {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(23, 32, 51, .5);
  cursor: pointer;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  min-height: 160px;
  touch-action: manipulation;
}

.accel-tile:hover,
.accel-tile:focus-visible {
  border-color: rgba(255, 215, 0, .5);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 215, 0, .12);
  outline: none;
}

.accel-tile:active {
  transform: translateY(0) scale(.985);
  transition-duration: .12s;
}

.accel-tile__head {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.accel-tile__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(10, 18, 42, .8);
  border: 1px solid var(--brand-border);
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accel-tile__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accel-tile__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.accel-tile__title {
  font-family: 'Poppins', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: .25rem;
}

.accel-tile__desc {
  font-size: 12.5px;
  color: var(--brand-text-soft);
  line-height: 1.55;
}

.accel-tile__foot {
  margin-top: auto;
  padding-top: .5rem;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  color: var(--brand-gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}


/* === 16. PRINCIPLES === */

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

@media (min-width: 640px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: rgba(23, 32, 51, .72);
}

.principle__num {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand-gold);
  display: block;
  margin-bottom: .4rem;
}

.principle__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.principle__body {
  color: var(--brand-text-soft);
  font-size: .95rem;
  line-height: 1.65;
  font-weight: 400;
}


/* === 17. TIMELINE === */

.timeline {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: .3rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--brand-border);
  border-left: 3px solid var(--brand-gold);
  border-radius: 10px;
  background: rgba(23, 32, 51, .72);
}

.tl-item__meta {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand-muted);
  text-transform: uppercase;
}

.tl-item__role {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.25;
}

.tl-item__org {
  font-size: 12.5px;
  color: var(--brand-gold);
  font-weight: 600;
  margin-top: -2px;
}

.tl-item__impact {
  font-size: .95rem;
  color: var(--brand-text-soft);
  line-height: 1.65;
  margin-top: .5rem;
}

.tl-item__impact strong {
  color: var(--brand-gold);
  font-weight: 700;
}


/* === 18. SKILLS & CHIPS === */

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.chip {
  padding: .45rem .8rem;
  border: 1px solid var(--brand-border);
  border-radius: 7px;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-text-soft);
  background: rgba(255, 255, 255, .04);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  line-height: 1.35;
}

.chip--gold {
  background: rgba(255, 215, 0, .1);
  border-color: rgba(255, 215, 0, .4);
  color: var(--brand-gold);
  font-weight: 600;
}

.chip--hero {
  background: linear-gradient(135deg, rgba(255, 215, 0, .22), rgba(255, 215, 0, .08));
  border: 1.5px solid var(--brand-gold);
  color: var(--brand-gold);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 215, 0, .25);
  padding: .5rem .9rem;
}

.chip--hero::before {
  content: '\2605'; /* ★ */
  margin-right: .35rem;
  color: var(--brand-gold);
}

/* -- Skills group -- */
.skills-group {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(23, 32, 51, .55);
}

.skills-group__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .65rem;
  display: block;
}

.skills-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .65rem;
}

.skills-group__head .skills-group__label {
  margin-bottom: 0;
}

.skills-group__info {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 215, 0, .1);
  border: 1px solid rgba(255, 215, 0, .35);
  color: var(--brand-gold);
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  touch-action: manipulation;
  position: relative;
}

.skills-group__info::after {
  content: '';
  position: absolute;
  inset: -10px;
}

.skills-group__info::before {
  content: 'i';
}

.skills-group__info:hover,
.skills-group__info:focus-visible {
  background: var(--brand-gold);
  color: var(--brand-dark);
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(255, 215, 0, .5);
  outline: none;
}

/* Expandable chips */
.skills-group .chip--extra {
  display: none;
}

.skills-group.is-expanded .chip--extra {
  display: inline-flex;
  animation: chipFadeIn .3s var(--ease);
}

/* Skills group toggle button */
.skills-group__toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .75rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 215, 0, .28);
  border-radius: 8px;
  background: rgba(255, 215, 0, .06);
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  touch-action: manipulation;
  min-height: 44px;
}

.skills-group__toggle:hover,
.skills-group__toggle:focus-visible {
  background: rgba(255, 215, 0, .14);
  border-color: var(--brand-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 215, 0, .15);
  outline: none;
}

.skills-group__toggle-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.skills-group.is-expanded .skills-group__toggle-icon {
  transform: rotate(180deg);
}

.skills-group__toggle-text-expanded {
  display: none;
}

.skills-group.is-expanded .skills-group__toggle-text-collapsed {
  display: none;
}

.skills-group.is-expanded .skills-group__toggle-text-expanded {
  display: inline;
}


/* === 19. AXES === */

.axes {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

@media (min-width: 640px) {
  .axes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.axis {
  padding: .95rem 1.1rem;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: rgba(23, 32, 51, .72);
}

.axis__label {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .35rem;
  display: block;
}

.axis__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: .35rem;
}

.axis__body {
  font-size: 13.5px;
  color: var(--brand-text-soft);
  line-height: 1.6;
}


/* === 20. FORM LIST === */

.form-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
}

@media (min-width: 640px) {
  .form-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .5rem .75rem;
  border-radius: 8px;
  background: rgba(10, 18, 42, .4);
  border: 1px solid var(--brand-border);
}

.form-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  margin-top: .5rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 215, 0, .4);
}

.form-item__body {
  min-width: 0;
}

.form-item__name {
  font-weight: 700;
  color: var(--brand-text);
  font-size: 13.5px;
  line-height: 1.35;
}

.form-item__meta {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 11px;
  color: var(--brand-muted);
  letter-spacing: .04em;
  margin-top: 2px;
  line-height: 1.4;
}


/* === 21. REFERENCES === */

.refs {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

@media (min-width: 640px) {
  .refs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ref {
  padding: 1rem 1.15rem;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: rgba(23, 32, 51, .72);
}

.ref__who {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--brand-text);
  font-size: 1rem;
  margin-bottom: .2rem;
}

.ref__role {
  font-size: 13px;
  color: var(--brand-text-soft);
  margin-bottom: .4rem;
  line-height: 1.5;
}

.ref__link {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-gold);
}


/* === 22. FOOTER === */

.site-footer {
  padding: 3rem var(--gutter);
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--brand-border);
  background: var(--brand-darker);
}

.site-footer .container {
  max-width: 860px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.site-footer__brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-text);
  margin-bottom: .35rem;
}

.site-footer__brand-tagline {
  font-size: 12px;
  color: var(--brand-muted);
  line-height: 1.6;
  margin-bottom: .75rem;
}

.site-footer__col-head {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  border-bottom: 1px solid rgba(255, 215, 0, .15);
  padding-bottom: .5rem;
  margin-bottom: .75rem;
}

.site-footer__link {
  display: block;
  padding: .3rem 0;
  font-size: 13px;
  color: var(--brand-text-soft);
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--brand-gold);
  transform: translateX(4px);
  outline: none;
}

.site-footer__ecosystem {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__stat {
  text-align: center;
}

.site-footer__stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--brand-gold);
  line-height: 1;
}

.site-footer__stat-label {
  display: block;
  margin-top: .3rem;
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: 11px;
  color: var(--brand-muted);
}

.site-footer__bottom a {
  color: var(--brand-gold);
}

/* Legacy compat */
.site-footer__line {
  font-size: 12px;
  color: var(--brand-text-soft);
  line-height: 1.8;
  letter-spacing: .03em;
}

.site-footer__line a {
  color: var(--brand-gold);
}


/* === 23. THEME TOGGLE === */

.theme-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--brand-border);
  color: var(--brand-text-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  touch-action: manipulation;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 215, 0, .1);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  outline: none;
}

.theme-toggle:active {
  transform: scale(.94);
  transition-duration: .1s;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle__sun {
  display: none;
}

.theme-toggle__moon {
  display: block;
}

@media (max-width: 640px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}


/* === 24. DARK-TO-LIGHT TRANSITIONS === */

body {
  transition: background .35s var(--ease), color .35s var(--ease);
}

.site-header,
.sidebar,
.skills-group,
.principle,
.tl-item,
.axis,
.ref,
.x-card,
.chip,
.info-dialog {
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}


/* === 25. LIGHT THEME OVERRIDES === */

html[data-theme="light"] {
  --brand-dark: #f5f7fa;
  --brand-darker: #e2e8f0;
  --brand-surface: #ffffff;
  --brand-surface-alt: #f1f5f9;
  --brand-gold: #b88700;
  --brand-gold-soft: #d4a106;
  --brand-text: #0a122a;
  --brand-text-soft: #334155;
  --brand-muted: #64748b;
  --brand-border: rgba(10, 18, 42, .12);
  --brand-border-hover: rgba(184, 135, 0, .45);
}

html[data-theme="light"] body {
  background: var(--brand-dark);
}

html[data-theme="light"] html,
html[data-theme="light"] body {
  color-scheme: light;
}

html[data-theme="light"] .bg-mesh {
  background:
    radial-gradient(ellipse 60% 40% at 18% 12%, rgba(184, 135, 0, .08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 82% 85%, rgba(184, 135, 0, .06) 0%, transparent 55%);
}

/* Light: Header */
html[data-theme="light"] .site-header {
  background: rgba(245, 247, 250, .85);
}

html[data-theme="light"] .site-header__cta {
  background: #b88700;
  color: #fff;
}

html[data-theme="light"] .site-header__logo-wrap {
  box-shadow: 0 0 0 1px rgba(184, 135, 0, .4), 0 8px 22px rgba(10, 18, 42, .15);
}

html[data-theme="light"] .site-header__role-brand {
  color: #334155;
}

html[data-theme="light"] .menu-toggle span {
  background: #334155;
}

/* Light: Sidebar */
html[data-theme="light"] .sidebar {
  background: rgba(255, 255, 255, .88);
}

html[data-theme="light"] .sidebar__link {
  color: #334155;
}

html[data-theme="light"] .sidebar__link:hover {
  background: rgba(184, 135, 0, .08);
  color: #b88700;
}

html[data-theme="light"] .sidebar__link.is-active {
  background: rgba(184, 135, 0, .12);
  box-shadow: inset 3px 0 0 #b88700;
}

html[data-theme="light"] .sidebar-backdrop {
  background: rgba(10, 18, 42, .5);
}

/* Light: Gradient text */
html[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0a122a 0%, #b88700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Light: Theme toggle sun/moon swap */
html[data-theme="light"] .theme-toggle__sun {
  display: block;
}

html[data-theme="light"] .theme-toggle__moon {
  display: none;
}

/* Light: Skills group */
html[data-theme="light"] .skills-group {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(10, 18, 42, .1);
}

/* Light: Surfaces */
html[data-theme="light"] .principle,
html[data-theme="light"] .tl-item,
html[data-theme="light"] .axis,
html[data-theme="light"] .ref,
html[data-theme="light"] .accel-tile {
  background: #fff;
  border-color: rgba(10, 18, 42, .1);
}

/* Light: Stats */
html[data-theme="light"] .stats__cell {
  background: #fff;
}

html[data-theme="light"] .stats {
  border-color: rgba(10, 18, 42, .1);
  background: rgba(10, 18, 42, .08);
}

/* Light: Accels */
html[data-theme="light"] .accels {
  background: linear-gradient(135deg, rgba(184, 135, 0, .1), rgba(184, 135, 0, .02));
  border-color: rgba(184, 135, 0, .3);
}

html[data-theme="light"] .accel {
  background: #fff;
  border-color: rgba(10, 18, 42, .12);
}

html[data-theme="light"] .accel--agent {
  background: radial-gradient(circle at 30% 30%, rgba(184, 135, 0, .12), #fff);
  box-shadow: 0 0 0 1px rgba(184, 135, 0, .2), 0 8px 24px rgba(184, 135, 0, .1);
}

html[data-theme="light"] .accel-hero {
  background: radial-gradient(circle at 15% 20%, rgba(184, 135, 0, .12), transparent 60%),
              linear-gradient(135deg, #fff, #f8fafc);
  border-color: rgba(184, 135, 0, .4);
  box-shadow: 0 0 0 1px rgba(184, 135, 0, .12), 0 20px 50px rgba(10, 18, 42, .1);
}

html[data-theme="light"] .accel-hero__cta {
  background: #b88700;
  color: #fff;
}

/* Light: Chips */
html[data-theme="light"] .chip {
  background: rgba(10, 18, 42, .04);
  color: var(--brand-text-soft);
  border-color: rgba(10, 18, 42, .1);
}

html[data-theme="light"] .chip--gold,
html[data-theme="light"] .chip--hero {
  background: rgba(184, 135, 0, .1);
  border-color: rgba(184, 135, 0, .4);
  color: #b88700;
}

html[data-theme="light"] .chip--extra {
  display: none;
}

html[data-theme="light"] .skills-group.is-expanded .chip--extra {
  display: inline-flex;
}

/* Light: Form items */
html[data-theme="light"] .form-item {
  background: #fff;
  border-color: rgba(10, 18, 42, .1);
}

html[data-theme="light"] .form-item__dot {
  background: #b88700;
}

/* Light: Info dialog */
html[data-theme="light"] .info-dialog {
  background: #fff;
  color: #0a122a;
  border-color: rgba(184, 135, 0, .4);
}

html[data-theme="light"] .info-dialog::backdrop {
  background: rgba(10, 18, 42, .5);
}

html[data-theme="light"] .info-dialog__close {
  background: rgba(10, 18, 42, .05);
  color: #475569;
}

/* Light: Gold-colored labels (bulk override) */
html[data-theme="light"] .accels__kicker,
html[data-theme="light"] .accel__label,
html[data-theme="light"] .accel-hero__label,
html[data-theme="light"] .accel-tile__label,
html[data-theme="light"] .accel-tile__foot,
html[data-theme="light"] .skills-group__label,
html[data-theme="light"] .accel-hero__stat,
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .tl-item__org,
html[data-theme="light"] .axis__label,
html[data-theme="light"] .principle__num,
html[data-theme="light"] .ref__link,
html[data-theme="light"] .tl-item__impact strong,
html[data-theme="light"] .stats__num,
html[data-theme="light"] .sidebar__link.is-active,
html[data-theme="light"] .sidebar__head {
  color: #b88700;
}

/* Light: Info popover */
html[data-theme="light"] .info-pop {
  background: rgba(184, 135, 0, .12);
  border-color: rgba(184, 135, 0, .35);
  color: #b88700;
}

html[data-theme="light"] .info-pop:hover,
html[data-theme="light"] .info-pop:focus-visible {
  background: #b88700;
  color: #fff;
}

/* Light: Skills group info button */
html[data-theme="light"] .skills-group__info {
  background: rgba(184, 135, 0, .1);
  border-color: rgba(184, 135, 0, .35);
  color: #b88700;
}

html[data-theme="light"] .skills-group__info:hover,
html[data-theme="light"] .skills-group__info:focus-visible {
  background: #b88700;
  color: #fff;
}

/* Light: Skills group toggle */
html[data-theme="light"] .skills-group__toggle {
  background: rgba(184, 135, 0, .08);
  border-color: rgba(184, 135, 0, .3);
  color: #b88700;
}

html[data-theme="light"] .skills-group__toggle:hover,
html[data-theme="light"] .skills-group__toggle:focus-visible {
  background: rgba(184, 135, 0, .14);
  border-color: #b88700;
}

/* Light: Section foot */
html[data-theme="light"] .section-foot {
  background: linear-gradient(135deg, rgba(184, 135, 0, .08), rgba(184, 135, 0, .02));
  border-color: rgba(184, 135, 0, .3);
}

html[data-theme="light"] .section-foot:hover {
  background: linear-gradient(135deg, rgba(184, 135, 0, .16), rgba(184, 135, 0, .04));
  border-color: #b88700;
}

html[data-theme="light"] .section-foot__label {
  color: #b88700;
}

html[data-theme="light"] .section-foot__text strong {
  color: #b88700;
}

/* Light: Footer */
html[data-theme="light"] .site-footer {
  background: #e2e8f0;
}

html[data-theme="light"] .site-footer__col-head {
  color: #b88700;
  border-bottom-color: rgba(184, 135, 0, .2);
}

html[data-theme="light"] .site-footer__link {
  color: #334155;
}

html[data-theme="light"] .site-footer__link:hover {
  color: #b88700;
}

html[data-theme="light"] .site-footer__stat-num {
  color: #b88700;
}

html[data-theme="light"] .site-footer__brand-name {
  color: #0a122a;
}

html[data-theme="light"] .sidebar__cta {
  background: #b88700;
  color: #fff;
}

html[data-theme="light"] .sidebar__ecosystem strong {
  color: #b88700;
}

html[data-theme="light"] .site-header__ecosystem strong {
  color: #b88700;
}

/* Light: Hero photo */
html[data-theme="light"] .hero__photo {
  background: #fff;
}

/* Light: Timeline left border */
html[data-theme="light"] .tl-item {
  border-left-color: #b88700;
}

/* Light: Strong text in impact/lead */
html[data-theme="light"] .tl-item__impact strong,
html[data-theme="light"] .lead strong {
  color: #b88700;
}

/* Light: Accels kicker dot */
html[data-theme="light"] .accels__kicker::before {
  background: #b88700;
}


/* === 26. ANIMATIONS & KEYFRAMES === */

@keyframes infoRing {
  0% {
    opacity: .8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

@keyframes infoPopPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, .45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
}

@keyframes accelHeroPulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(255, 215, 0, .35), 0 0 0 0 rgba(255, 215, 0, .4);
  }
  50% {
    box-shadow: 0 4px 14px rgba(255, 215, 0, .5), 0 0 0 8px rgba(255, 215, 0, 0);
  }
}

@keyframes chipFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === 27. REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .info-pop--pulse {
    animation: none;
  }

  .info-pop:hover::after,
  .info-pop:focus-visible::after {
    animation: none;
  }

  .accels__kicker::before {
    animation: none;
  }

  .accel-hero__badge {
    animation: none;
  }

  .skills-group.is-expanded .chip--extra {
    animation: none;
  }

  .x-card,
  .x-card::after {
    transition: none;
  }

  .info-dialog {
    transition: none;
  }
}
