/* ============================================================
   UNIVERSAL 4-PILLAR NAV BAR & EXECUTIVE DRAWER
   Design system: white #ffffff, cobalt #0022cb, #f4f6fc surfaces,
   SF Pro Display headings, Space Grotesk body, 99px pills.
   ============================================================ */

:root {
  --cobalt: #0022cb;
  --cobalt-hover: #001cb3;
  --cobalt-pale: #dce5ff;
  --cobalt-tint: #f4f6fc;
  --ink: #1d1d1f;
  --muted: #4f5b6e;
  --muted-2: #536173;
  --border: #e3e9f0;
  --border-pale: #dce5ff;
  --white: #ffffff;
  --shadow-drawer: 0 24px 70px rgba(10, 26, 51, 0.19);
  --r-pill: 99px;
  --r-card: 22px;
}

/* Sticky Persona Bar */
.hn-bar {
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}
.hn-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hn-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
}
.hn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hn-name {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.hn-title {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.2;
}
.hn-nav {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
  .hn-nav { display: flex; }
}
.hn-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.hn-nav a:hover {
  color: var(--cobalt);
  background: var(--cobalt-tint);
}
.hn-nav a.active {
  color: var(--cobalt);
  background: var(--cobalt-tint);
  font-weight: 600;
}

.hn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hn-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-pale);
  background: var(--cobalt-tint);
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.hn-cta:hover {
  background: var(--cobalt-pale);
}
.hn-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
  animation: hn-pulse-anim 2s infinite;
}
@keyframes hn-pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Slide-over Drawer Overlay */
.hx-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,26,51,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.hx-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.hx-drawer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  border-left: 1px solid var(--border);
  background: var(--white);
  padding: 32px;
  overflow-y: auto;
  box-shadow: var(--shadow-drawer);
  transform: translateX(32px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hx-overlay.open .hx-drawer {
  transform: translateX(0);
}
.hx-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.hx-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hx-drawer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.hx-drawer-close {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.hx-drawer-close:hover { color: var(--ink); }
.hx-drawer-name-block { margin-bottom: 24px; }
.hx-drawer-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 6px 0 2px;
}
.hx-drawer-role { font-size: 12px; color: var(--muted-2); }
.hx-drawer-avail {
  border-radius: 20px;
  background: var(--cobalt-tint);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.hx-drawer-avail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 4px;
}
.hx-drawer-avail-text { font-size: 13px; color: var(--ink); }
.hx-drawer-avail-text strong { font-weight: 600; }
.hx-drawer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.hx-drawer-stat {
  background: var(--cobalt-tint);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.hx-drawer-stat-val {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--cobalt);
  letter-spacing: -0.02em;
}
.hx-drawer-stat-lbl { font-size: 11px; color: var(--muted-2); }
.hx-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.hx-drawer-cta-primary {
  display: block;
  padding: 14px;
  border-radius: var(--r-pill);
  background: var(--cobalt);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.hx-drawer-cta-primary:hover { background: var(--cobalt-hover); }
.hx-drawer-cta-secondary {
  display: block;
  padding: 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--cobalt-tint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.hx-drawer-cta-secondary:hover { background: var(--border); }

@media (max-width: 640px) {
  .hn-inner { padding: 0 16px; }
  .hx-drawer { padding: 24px; }
}

/* ============================================================
   CASE STUDY IMPACT HEADER (Task 2.1)
   Above-the-fold component: Role & Scope, Scale, Business Outcome
   ============================================================ */
.case-impact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: var(--cobalt-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 28px 0 32px;
  box-shadow: 0 4px 16px rgba(0, 34, 203, 0.04);
}
.case-impact-col {
  display: flex;
  flex-direction: column;
}
.case-impact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  margin-bottom: 8px;
}
.case-impact-val {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.case-impact-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================================
   CURATED LEARNING TRACKS (Task 2.2)
   3 Tracks: Track A (Decisions), Track B (AI Craft), Track C (Portfolio)
   ============================================================ */
.learning-tracks-section {
  padding: 32px 0 20px;
}
.learning-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.learning-track-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.learning-track-card:hover {
  border-color: var(--cobalt-pale);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 34, 203, 0.05);
}
.learning-track-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cobalt);
  background: var(--cobalt-tint);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.learning-track-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.3;
}
.learning-track-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}
.learning-track-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.learning-track-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.learning-track-link:hover {
  text-decoration: underline;
}

/* ============================================================
   TOOL & PRODUCT ACTION BADGES (Task 3.1)
   Action pills: [Try Live App ↗], [Audit Heuristic ↗], [Read Story →]
   ============================================================ */
.tp-action-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tp-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.tp-badge-primary {
  background: var(--cobalt);
  color: var(--white);
}
.tp-badge-primary:hover {
  background: var(--cobalt-hover);
  color: var(--white);
}
.tp-badge-outline {
  background: var(--cobalt-tint);
  border: 1px solid var(--border-pale);
  color: var(--cobalt);
}
.tp-badge-outline:hover {
  background: var(--cobalt-pale);
}


.hn-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.hn-resume-link:hover {
  background: var(--cobalt-tint);
  border-color: var(--border-pale);
  color: var(--cobalt);
}
.hn-resume-link svg {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hn-resume-link {
    display: none;
  }
}


/* ============================================================
   INTERACTIVE PRODUCT DECISION EVALUATOR EMBED
   ============================================================ */
.tool-embed-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 34, 203, 0.05);
  margin: 32px 0 48px;
}
.tool-embed-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.tool-embed-title-group h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}
.tool-embed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cobalt-tint);
  color: var(--cobalt);
  border: 1px solid var(--border-pale);
}
.tool-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.tool-embed-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-embed-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.tool-embed-field p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}
.tool-embed-select, .tool-embed-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-alt, #fafbfc);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.15s;
}
.tool-embed-select:focus, .tool-embed-input:focus {
  outline: none;
  border-color: var(--cobalt);
  background: var(--white);
}
.tool-embed-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.tool-embed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--cobalt);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.tool-embed-btn:hover {
  background: var(--cobalt-hover);
}
.tool-embed-result {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--cobalt-tint);
}
.tool-embed-result.active {
  display: block;
}
.tool-embed-score-badge {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cobalt);
  margin-bottom: 8px;
}
.tool-embed-diag {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  white-space: pre-line;
}


/* Quick Download Pill for Resource Cards */
.rp-quick-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--cobalt-tint);
  border: 1px solid var(--border-pale);
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.15s ease;
  width: fit-content;
}
.rp-quick-download:hover {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
}
.rp-quick-download svg {
  flex-shrink: 0;
}


/* ============================================================
   DOODLE CREW ANIMATED SKETCHBOOK FOOTER
   ============================================================ */
.doodle-sketchbook-footer {
  position: relative;
  background: #0a0a0c;
  color: #f4f4f5;
  padding: 80px 24px 60px;
  overflow: hidden;
  border-top: 1px solid #27272a;
}
.doodle-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.doodle-wordmark-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 32px;
  position: relative;
}
.doodle-wordmark-svg {
  width: 100%;
  height: auto;
  display: block;
}
.doodle-wordmark-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 84px;
  font-weight: 900;
  letter-spacing: 0.1em;
  fill: #1c1c20;
  stroke: #2e2e34;
  stroke-width: 1.5;
  transition: all 0.2s ease;
}
.doodle-wordmark-container:hover .doodle-wordmark-text {
  stroke: #3b82f6;
  fill: #222228;
}
.doodle-char {
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.doodle-char:hover {
  transform: translateY(-8px) scale(1.08);
}
.doodle-speech-bubble {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -100%) scale(0.9);
  background: #ffffff;
  color: #09090b;
  padding: 8px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 10;
}
.doodle-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ffffff transparent;
}
.doodle-speech-bubble.active {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}
.doodle-footer-tagline {
  font-size: 1.15rem;
  color: #a1a1aa;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.doodle-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 40px;
}
.doodle-footer-link {
  color: #e4e4e7;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.doodle-footer-link:hover {
  color: #60a5fa;
}
.doodle-footer-bottom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #18181b;
  font-size: 12px;
  color: #71717a;
}


/* ============================================================
   KNOWLEDGE PAGE: PAID PRODUCTS INTERACTIVE LANYARD RAIL
   ============================================================ */
.lanyard-rail-section {
  background: var(--bg-alt, #f7f8fa);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.lanyard-rail-container {
  max-width: 1200px;
  margin: 0 auto;
}
.lanyard-header {
  text-align: center;
  margin-bottom: 40px;
}
.lanyard-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cobalt);
  background: var(--cobalt-tint);
  border: 1px solid var(--border-pale);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.lanyard-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.lanyard-subheading {
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}
.lanyard-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: linear-gradient(180deg, #d4d4d8 0%, #a1a1aa 50%, #71717a 100%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: -14px;
  z-index: 2;
}
.lanyard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 3;
}
.lanyard-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}
.lanyard-strap {
  width: 16px;
  height: 48px;
  background: repeating-linear-gradient(45deg, var(--cobalt), var(--cobalt) 4px, #1d4ed8 4px, #1d4ed8 8px);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin-bottom: -6px;
  position: relative;
  z-index: 1;
}
.lanyard-clip {
  width: 28px;
  height: 14px;
  background: linear-gradient(180deg, #e4e4e7, #71717a);
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  margin-bottom: -4px;
  position: relative;
  z-index: 2;
}
.lanyard-badge {
  width: 100%;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border-radius: 16px;
}
.lanyard-badge.flipped {
  transform: rotateY(180deg);
}
.lanyard-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 34, 203, 0.08);
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lanyard-face-front {
  align-items: center;
  text-align: center;
}
.lanyard-hole {
  width: 32px;
  height: 7px;
  background: #d4d4d8;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
  margin: 0 auto 16px;
}
.lanyard-badge-thumb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(0, 34, 203, 0.15);
  margin-bottom: 14px;
}
.lanyard-badge-thumb.contain {
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
}
.lanyard-badge-tier {
  font-size: 11px;
  font-weight: 700;
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.lanyard-badge-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 6px;
}
.lanyard-badge-price {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.lanyard-badge-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 auto;
}
.lanyard-flip-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--cobalt);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 4px 10px;
  background: var(--cobalt-tint);
  border-radius: var(--r-pill);
}
.lanyard-face-back {
  transform: rotateY(180deg);
  justify-content: space-between;
  text-align: left;
  background: #0f172a;
  color: #f8fafc;
  border-color: #334155;
}
.lanyard-face-back .lanyard-hole {
  background: #334155;
}
.lanyard-back-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}
.lanyard-back-bio {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 14px;
}
.lanyard-back-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.lanyard-back-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
}
.lanyard-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: var(--r-pill);
  background: #38bdf8;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.lanyard-cta-btn:hover {
  opacity: 0.9;
}


/* ============================================================
   ENGAGEMENT & ADVISORY MATRIX (ABOUT PAGE)
   ============================================================ */
.engagement-matrix-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.engagement-matrix-header {
  margin-bottom: 48px;
}
.engagement-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.engagement-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--bg-alt, #f8fafc);
  transition: all 0.2s ease;
  position: relative;
}
.engagement-card:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt);
  box-shadow: 0 12px 32px rgba(0, 34, 203, 0.08);
}
.engagement-card.featured {
  background: var(--cobalt-tint);
  border-color: var(--cobalt);
}
.engagement-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  margin-bottom: 16px;
}
.engagement-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.engagement-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
.engagement-points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.engagement-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
}
.engagement-point svg {
  flex-shrink: 0;
  color: var(--cobalt);
  margin-top: 2px;
}
.engagement-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  text-align: center;
}
.engagement-cta.primary {
  background: var(--cobalt);
  color: var(--white);
}
.engagement-cta.primary:hover {
  background: var(--cobalt-hover);
}
.engagement-cta.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}
.engagement-cta.secondary:hover {
  background: var(--cobalt-tint);
  border-color: var(--cobalt);
  color: var(--cobalt);
}


/* ============================================================
   PERSONA QUICK-FILTER PILLS (RESOURCES PAGE)
   ============================================================ */
.rp-persona-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 24px;
}
.rp-persona-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 4px;
}
.rp-persona-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.rp-persona-pill:hover {
  background: var(--cobalt-tint);
  border-color: var(--border-pale);
  color: var(--cobalt);
}
.rp-persona-pill.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 34, 203, 0.2);
}


/* ============================================================
   WORK PAGE: SYSTEMS ARTIFACTS AT A GLANCE
   ============================================================ */
.work-artifacts-band {
  background: var(--bg-alt, #fafbfc);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  margin: 28px 0 36px;
  box-shadow: 0 4px 16px rgba(0, 34, 203, 0.04);
}
.work-artifacts-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.work-artifacts-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.work-artifacts-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.work-artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.work-artifact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.work-artifact-card:hover {
  transform: translateY(-2px);
  border-color: var(--cobalt);
  box-shadow: 0 6px 18px rgba(0, 34, 203, 0.08);
}
.work-artifact-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  margin-bottom: 6px;
}
.work-artifact-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.35;
}
.work-artifact-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 12px;
  flex-grow: 1;
}
.work-artifact-stat {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ============================================================
   MOBILE RESPONSIVENESS & TOUCH TARGET PERFECTION (< 768px & < 480px)
   ============================================================ */
@media (max-width: 768px) {
  /* Top Nav Bar */
  .hn-inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }
  .hn-name {
    font-size: 13px;
  }
  .hn-title {
    display: none; /* Hide secondary academic line on compact mobile to avoid clutter */
  }
  .hn-cta {
    padding: 7px 13px;
    font-size: 11px;
  }
  .hn-cta span:last-child {
    font-size: 11px;
  }
  
  /* Lanyard Grid */
  .lanyard-rail-section {
    padding: 40px 16px;
  }
  .lanyard-heading {
    font-size: 1.5rem;
  }
  .lanyard-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 24px;
  }
  .lanyard-badge {
    height: 360px;
  }

  /* Engagement Matrix */
  .engagement-matrix-section {
    padding: 48px 16px;
  }
  .engagement-matrix-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .engagement-card {
    padding: 24px 20px;
  }

  /* Tool Embed Widget */
  .tool-embed-card {
    padding: 20px 16px;
    margin: 24px 0 32px;
  }
  .tool-embed-title-group h2 {
    font-size: 1.25rem;
  }
  .tool-embed-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tool-embed-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .tool-embed-btn {
    width: 100%;
    justify-content: center;
  }

  /* Work Systems Teaser */
  .work-artifacts-band {
    padding: 20px 16px;
    margin: 20px 0 28px;
  }
  .work-artifacts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Doodle Sketchbook Footer */
  .doodle-sketchbook-footer {
    padding: 50px 16px 40px;
  }
  .doodle-wordmark-text {
    font-size: 56px;
  }
  .doodle-footer-tagline {
    font-size: 1rem;
    padding: 0 8px;
  }
  .doodle-footer-links {
    gap: 12px 18px;
  }
  .doodle-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Persona Filter Pills */
  .rp-persona-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .rp-persona-pill {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hn-avatar {
    width: 32px;
    height: 32px;
  }
  .hn-avatar img {
    width: 32px;
    height: 32px;
  }
  .hn-cta {
    padding: 6px 10px;
  }
  .hn-cta span:last-child {
    display: inline;
  }
  .hx-drawer {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }
  .case-impact-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .doodle-wordmark-text {
    font-size: 42px;
  }
}


/* ============================================================
   POST-PURCHASE VISUAL DELIGHT MODAL (LANYARD SHOWCASE)
   ============================================================ */
.purchase-delight-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.purchase-delight-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.purchase-delight-card {
  width: 100%;
  max-width: 900px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
.purchase-delight-overlay.open .purchase-delight-card {
  transform: translateY(0) scale(1);
}
.purchase-delight-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.15s;
  z-index: 10;
}
.purchase-delight-close:hover {
  background: #334155;
  color: #ffffff;
}
.purchase-delight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 12px;
}
.purchase-delight-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.purchase-delight-lead {
  font-size: 15px;
  color: #94a3b8;
  margin: 0 0 32px;
  max-width: 620px;
  line-height: 1.5;
}


/* ============================================================
   AI AGENT MASCOT INTELLIGENT FOOTER (General Sans & Mascot States)
   ============================================================ */
.ai-agent-footer {
  position: relative;
  background: #ffffff;
  color: #000000;
  border-top: 1px solid #e5e5e5;
  padding: 64px 24px 48px;
}
.ai-agent-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ai-agent-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.07) 0px 1px 3px 0px;
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.ai-agent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.ai-agent-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-agent-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0033ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 51, 255, 0.25);
  position: relative;
}
.ai-agent-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}
.ai-agent-meta h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
}
.ai-agent-meta p {
  font-size: 12px;
  color: #666666;
  margin: 0;
}
.ai-agent-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ffc799;
  color: #000000;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.06);
}
.ai-agent-balloon {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: #000000;
  line-height: 1.55;
  margin-bottom: 20px;
}
.ai-agent-prompt-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-agent-prompt-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-agent-prompt-btn:hover {
  border-color: #0033ff;
  color: #0033ff;
  background: rgba(0, 51, 255, 0.04);
}
.ai-agent-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.ai-agent-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ai-agent-footer-links a {
  color: #666666;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}
.ai-agent-footer-links a:hover {
  color: #0033ff;
}


/* Crisp alignment for minimalist nav bar */
.hn-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.hn-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hn-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.hn-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS & CLASSROOM EVIDENCE GALLERY
════════════════════════════════════════════════════════════ */
.testimonials-section {
  background: #ffffff;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.testimonials-header {
  margin-bottom: 36px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-alt, #f7f9fc);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 20, 48, 0.06);
}
.testimonial-role-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt, #0022cb);
  background: var(--cobalt-tint, #e6eaff);
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.6;
  color: #1e293b;
  margin: 0 0 20px;
  flex: 1;
}
.testimonial-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.testimonial-author-title {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
}

/* Classroom & Live Sessions Evidence Gallery */
.classroom-evidence-section {
  background: var(--bg-alt, #f7f9fc);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.classroom-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.classroom-evidence-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.classroom-evidence-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.classroom-evidence-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.classroom-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cobalt, #0022cb);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.classroom-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin: 0 0 8px;
}
.classroom-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}
@media (max-width: 900px) {
  .testimonials-grid,
  .classroom-evidence-grid {
    grid-template-columns: 1fr;
  }
}
