/* ============================================================
   VARUN BIJU — PORTFOLIO
   Design: Warm charcoal dark, periwinkle + terracotta accents, editorial
   Fonts: Geist (display + body), Geist Mono (labels)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  /* Fonts */
  --font-sans: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* Type scale */
  --text-xs: 0.6875rem; /* 11px */
  --text-sm: 0.75rem; /* 12px */
  --text-base: 0.8125rem; /* 13px */
  --text-md: 0.875rem; /* 14px */
  --text-lg: 1rem; /* 16px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 2rem; /* 32px */

  /* Backgrounds */
  --bg: #0f0d0c;
  --surface: #171412;
  --surface-2: #221e1a;

  /* Accents */
  --primary: #7c6af7;
  --accent: #e07b63;
  --gradient: linear-gradient(
    135deg,
    #7c6af7,
    #a78bfa
  ); /* #7c6af7 = --primary */
  --gradient-text: linear-gradient(
    135deg,
    #7c6af7 0%,
    #c4b5fd 100%
  ); /* #7c6af7 = --primary */

  /* Text */
  --text: #f0ede8;
  --text-2: #9c9188;
  --text-muted: #8f7f76;
  --text-faint: #766b62;
  --text-white: #fff;

  /* Borders & shadows */
  --border: rgba(255, 248, 240, 0.09);
  --border-active: rgba(255, 248, 240, 0.14);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);

  /* Radii */
  --radius: 6px;
  --radius-sm: 4px;
  --radius-xs: 3px;

  /* Surfaces */
  --surface-hover: #1e1a16;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
  --titlebar-h: 32px;

  /* Semantic colors */
  --gold: #c49848; /* warm gold — promoted badge */
  --sage: #6dba90; /* sage green — availability badge */
  --steel: #5da3bf; /* steel teal — kanban Done column dot */
  --tl-red: #ff5f57;
  --tl-yellow: #febc2e;
  --tl-green: #28c840;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Transitions */
  --card-transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s ease,
    box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
  margin: 0;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.25rem;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---- Focus & Accessibility ---- */
:focus:not(:focus-visible) {
  outline: none;
}

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

.btn:focus-visible {
  border-radius: var(--radius-sm);
}

.achievement-card:focus-visible {
  border-radius: var(--radius);
}

.pm-credential-close:focus-visible,
.svc-template-cta:focus-visible,
.pm-workspace-header-btn:focus-visible,
.pm-avatar-btn:focus-visible,
.pm-hamburger:focus-visible,
.pm-dash-link-card:focus-visible,
.toolkit-card-dismiss:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.pm-oss-card:focus-visible,
.pm-nav-item:focus-visible,
.pm-nav-folder:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Utility ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono {
  font-family: var(--font-mono);
}

.no-wrap {
  white-space: nowrap;
}

/* ---- Scroll Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.5s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  left: 160%;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 248, 240, 0.22);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary) inset;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--primary) 10%, transparent),
    transparent 70%
  );
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Inline contact details */
.contact-details {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--text-muted) 20%, transparent);
  border-radius: 100px;
  padding: 0.5rem 0.25rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 0.25rem 1rem;
  position: relative;
}

.contact-detail:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  width: 1px;
  height: 1rem;
  background: color-mix(in srgb, var(--text-muted) 35%, transparent);
}

.contact-detail i {
  color: var(--primary);
  font-size: var(--text-sm);
  opacity: 0.85;
}

.contact-detail a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--primary);
}

/* Social / resource links */
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-links a {
  height: 38px;
  padding: 0 0.85rem;
  gap: 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.contact-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ============================================================
   OPEN SOURCE SECTION
   ============================================================ */

/* OSS — Linear-style project cards */
.oss-live {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pm-oss-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pm-oss-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}

.pm-oss-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
}

.pm-oss-card:hover {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}

.pm-oss-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-oss-card-name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.pm-oss-card-desc {
  font-size: var(--text-xs);
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

.pm-oss-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-oss-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 4px;
  padding: 2px 8px;
}

.pm-oss-card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.oss-npm {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.oss-version {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
}

.oss-downloads {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ============================================================
   PM SHELL
   ============================================================ */

/* 1. App Shell Container (SHELL-01) */
.pm-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto 40px 1fr;
  grid-template-areas:
    "titlebar titlebar"
    "sidebar  topbar"
    "sidebar  content";
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

/* 2. macOS Titlebar (SHELL-06 / D-07) */
.pm-titlebar {
  grid-area: titlebar;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  -webkit-app-region: drag;
  position: relative;
}

.pm-titlebar-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pm-traffic-lights {
  display: flex;
  gap: 8px;
  pointer-events: none;
  position: absolute;
  left: 1rem;
}

.tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tl-red {
  background: var(--tl-red);
}
.tl-yellow {
  background: var(--tl-yellow);
}
.tl-green {
  background: var(--tl-green);
}

/* 3. Sidebar (SHELL-02 / D-03 / D-05) */
.pm-sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  width: 220px;
}

.pm-workspace-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pm-workspace-header-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 0.375rem 0.25rem;
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}

.pm-workspace-header-btn:hover {
  background: var(--surface-2);
}

/* Overlay backdrop for mobile sidebar */
.pm-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
}

.pm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.pm-workspace-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pm-workspace-name {
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-sidebar-separator {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.pm-nav-group {
  display: flex;
  flex-direction: column;
  padding: 0.375rem 0;
}

.pm-nav-group--bottom {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.pm-nav-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  margin: 1px 8px;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-2);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 100ms ease;
  text-align: left;
  width: calc(100% - 16px);
}

.pm-nav-item:hover {
  background: var(--surface-hover);
  color: var(--text-2);
}

.pm-nav-item:active {
  transform: scale(0.97);
}

.pm-nav-item.active {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--text);
  position: relative;
}

.pm-nav-item.active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.pm-nav-item i {
  width: 1rem;
  text-align: center;
  font-size: var(--text-md);
}

/* Sidebar folder toggle */
.pm-nav-folder {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  margin: 1px 8px;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-2);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background 150ms ease,
    color 150ms ease;
  text-align: left;
  width: calc(100% - 16px);
}

.pm-nav-folder:hover {
  background: var(--surface-hover);
}

.pm-nav-folder[aria-expanded="true"] {
  color: var(--text);
}

.pm-nav-folder i:not(.pm-nav-folder-arrow) {
  width: 1rem;
  text-align: center;
  font-size: var(--text-md);
}

.pm-nav-folder-arrow {
  font-size: 0.6rem;
  width: 0.75rem;
  text-align: center;
  transition: transform 200ms ease;
  color: var(--text-muted);
}

.pm-nav-folder[aria-expanded="true"] .pm-nav-folder-arrow {
  transform: rotate(90deg);
}

/* Folder sub-items */
.pm-nav-folder-items {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 200px;
  transition: max-height 200ms ease;
}

.pm-nav-folder-items.collapsed {
  max-height: 0;
}

.pm-nav-sub {
  padding-left: 1.875rem;
  font-size: var(--text-base);
}

.pm-nav-sub i {
  font-size: var(--text-sm);
}

/* Workspace icon */
.pm-workspace-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    var(--primary),
    #a78bfa
  ); /* #a78bfa = lighter --primary variant */
  color: var(--text-white);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

/* Keyboard shortcut badges */
.pm-kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--text-faint);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0 4px;
  line-height: 1.6;
  min-width: 16px;
  text-align: center;
}

/* Sidebar credit */
.pm-sidebar-credit {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  color: var(--text-faint);
  padding: 8px 12px;
  opacity: 0.5;
  text-align: center;
  display: block;
}

.pm-nav-group--bottom {
  border-top: none;
}

/* Topbar CTA */
.pm-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    opacity 150ms ease,
    transform 100ms ease;
}

.pm-topbar-cta:hover {
  opacity: 0.88;
}

.pm-topbar-cta:active {
  transform: scale(0.97);
}

.pm-topbar-cta i {
  font-size: var(--text-xs);
}

.pm-kbd--light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* Profile panel sections */
.pm-profile-section {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.pm-profile-section-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}

/* View fade-in transition */
.pm-view[aria-hidden="false"] {
  animation: viewFadeIn 150ms ease;
}

/* Work view section spacing */
.pm-work-section {
  margin-bottom: 0;
}

.pm-section-hint {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin: 2px 0 8px;
  letter-spacing: 0.02em;
}

/* ---- ApexCharts: Career Timeline ---- */
.pm-timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px 8px;
}
#pm-timeline .apexcharts-canvas {
  cursor: default;
}
#pm-timeline .apexcharts-bar-area {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
#pm-timeline .apexcharts-bar-area:hover {
  filter: brightness(1.15);
}
#pm-timeline .apexcharts-tooltip.apexcharts-theme-light,
#pm-timeline .apexcharts-tooltip.apexcharts-theme-dark,
#pm-timeline .apexcharts-tooltip {
  box-shadow: var(--shadow) !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
#pm-timeline .apexcharts-gridline {
  stroke: var(--border);
}
#pm-timeline .apexcharts-legend {
  padding: 0 !important;
}
#pm-timeline .apexcharts-xaxis-annotations line {
  stroke-width: 1;
}

/* --- Case Study Impact Stats --- */
.pm-casestudy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.pm-casestudy-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--surface);
}

.pm-casestudy-stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.pm-casestudy-stat-value .pm-kpi-arrow {
  font-size: 0.6em;
  margin: 0 4px;
  color: var(--text-muted);
}

.pm-casestudy-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Case Study CTA --- */
.pm-casestudy-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pm-casestudy-cta-text {
  font-size: var(--text-sm);
  color: var(--text-2);
}

.pm-casestudy-cta-btn {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  background: none;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  cursor: pointer;
  transition:
    background 200ms ease,
    border-color 200ms ease;
}

.pm-casestudy-cta-btn:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
}

.pm-casestudy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pm-casestudy-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.pm-casestudy-col--before {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
}

.pm-casestudy-col--before .pm-casestudy-col-label {
  color: var(--accent);
}

.pm-casestudy-col--after {
  background: color-mix(in srgb, var(--sage) 6%, var(--bg));
  border-color: color-mix(in srgb, var(--sage) 20%, transparent);
}

.pm-casestudy-col--after .pm-casestudy-col-label {
  color: var(--sage);
}

.pm-casestudy-col-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.pm-casestudy-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-casestudy-points li {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.pm-casestudy-points li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* 4. Top Bar (SHELL-07 / D-06) */
.pm-topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 40px;
}

.pm-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pm-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-base);
  line-height: 1.3;
}

.pm-breadcrumb-root {
  color: var(--text-muted);
  font-weight: 400;
  cursor: pointer;
}

.pm-breadcrumb-root:hover {
  color: var(--text-2);
}

.pm-breadcrumb-sep {
  color: var(--text-faint);
  font-weight: 400;
  font-size: var(--text-sm);
}

.pm-breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

.pm-topbar-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.pm-avatar-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 2px solid color-mix(in srgb, var(--primary) 60%, transparent);
  border-radius: 20px;
  padding: 2px 6px 2px 2px;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background 200ms ease;
}

.pm-avatar-btn:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}

.pm-avatar-caret {
  font-size: 0.5rem;
  color: var(--text-muted);
}

/* Profile Panel — extends .slide-panel base, uses default width */
.pm-profile-panel-inner {
  display: flex;
  flex-direction: column;
}

/* ---- Shared Slide Panel Base ---- */
.slide-panel {
  position: fixed;
  top: 32px;
  right: -100%;
  width: 46vw;
  max-width: 640px;
  min-width: 380px;
  height: calc(100vh - 32px);
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 200;
  overflow-y: auto;
  transition: right 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.slide-panel.open {
  right: 0;
}

.slide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1;
}

.slide-panel-header-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-2);
}

.slide-panel-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.slide-panel-close:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.slide-panel-body {
  padding: 24px;
}

/* ---- Slide Panel Backdrop ---- */
.slide-panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.4);
}

.slide-panel-backdrop.open {
  display: block;
}

/* Legacy profile backdrop removed — SlidePanel manages its own backdrop */

/* 5. Content Area */
.pm-content {
  grid-area: content;
  overflow-y: auto;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.pm-content::-webkit-scrollbar,
.pm-profile-panel::-webkit-scrollbar,
.kanban-detail-panel::-webkit-scrollbar {
  width: 6px;
}

.pm-content::-webkit-scrollbar-track,
.pm-profile-panel::-webkit-scrollbar-track,
.kanban-detail-panel::-webkit-scrollbar-track {
  background: transparent;
}

.pm-content::-webkit-scrollbar-thumb,
.pm-profile-panel::-webkit-scrollbar-thumb,
.kanban-detail-panel::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 3px;
}

.pm-content::-webkit-scrollbar-thumb:hover,
.pm-profile-panel::-webkit-scrollbar-thumb:hover,
.kanban-detail-panel::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--text-muted) 30%, transparent);
}

/* 6. View Panel Visibility (SEO-01 / SEO-08 / D-12) */
.pm-view[aria-hidden="true"] {
  display: none;
}

.pm-view[aria-hidden="false"] {
  animation: viewFadeIn 150ms ease;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 7. Hamburger Button (hidden by default, shown at <900px in responsive section) */
.pm-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* 8. Mobile Desktop Hint (hidden by default, shown at <900px in responsive section) */
.pm-desktop-hint {
  display: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

/* 9. Hide non-PM elements from visual display in PM shell */
.pm-app .pm-content > .contact-section,
.pm-app .pm-content > .site-footer,
.pm-app #faq {
  display: none !important;
}

/* ============================================================
   PM CONTENT VIEWS
   ============================================================ */

/* --- Unified Section Label --- */
.pm-section-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

/* --- Dashboard View --- */

.pm-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pm-dash-greeting {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-dash-welcome {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pm-dash-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pm-dash-tagline {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.5;
  max-width: none;
  margin: 0;
}

.pm-dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pm-dash-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pm-dash-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 100ms ease;
}

.pm-dash-link-card:active {
  transform: scale(0.97);
}

.pm-dash-link-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  background: var(--surface-2);
}

.pm-dash-link-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-dash-link-card i {
  font-size: var(--text-md);
  color: var(--primary);
}

.pm-dash-link-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}

.pm-dash-link-desc {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- About Me View --- */

.pm-profile-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.pm-profile-photo {
  width: 80px;
  min-width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}

.pm-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pm-profile-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

.pm-profile-name em {
  font-style: normal;
  font-weight: 500;
}

.pm-profile-tagline {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-2);
  margin: 0;
}

.pm-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--sage);
}

.pm-avail-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.6;
  }
}

.pm-profile-meta-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-2);
  flex-wrap: wrap;
}

.pm-profile-links {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.pm-profile-links a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 32px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.pm-profile-links a:hover {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.pm-kpi {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  text-align: left;
}

.pm-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  display: block;
  letter-spacing: -0.02em;
}

.pm-kpi-arrow {
  font-size: 0.6em;
  vertical-align: middle;
  margin: 0 0.15em;
}

.pm-kpi-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2px 0 0;
}

.pm-bio-text {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

.pm-bio-text + .pm-bio-text {
  margin-top: 12px;
}

.pm-sector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.pm-sector-chip {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--text-2);
}

.pm-callout {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.pm-callout-heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-callout-heading i {
  color: var(--primary);
  font-size: var(--text-sm);
}

.pm-callout-list {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-2);
  padding-left: 16px;
  line-height: 1.6;
  margin: 0;
}

.pm-callout-list li + li {
  margin-top: 8px;
}

.pm-callout .svc-template-cta {
  margin-top: 16px;
}

/* --- Comment Thread (Linear-style testimonials) --- */
.pm-comment-thread {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pm-comment {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  position: relative;
}

.pm-comment + .pm-comment {
  border-top: 1px solid var(--border);
}

.pm-comment-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.pm-comment:nth-child(odd) .pm-comment-avatar {
  background: var(--primary);
}

.pm-comment:nth-child(even) .pm-comment-avatar {
  background: var(--accent);
}

.pm-comment-body {
  flex: 1;
  min-width: 0;
}

.pm-comment-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.pm-comment-author {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
}

.pm-comment-role {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-faint);
  margin: 1px 0 0;
}

.pm-comment-text {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-2);
  font-style: normal;
  line-height: 1.5;
  margin: 6px 0 0;
}

/* --- View Content Wrapper (Work + Services views) --- */

.pm-view-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- Work View --- */

.pm-work-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- Wiki Page Layout --- */
.pm-wiki-page-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.2;
}

.pm-wiki-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0 16px;
}

.pm-wiki-section-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

/* --- Achievement List (Notion database list view) --- */
.pm-achieve-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pm-achieve-list-header {
  display: grid;
  grid-template-columns: 1fr 160px 100px 40px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.pm-achieve-list-header .pm-achieve-list-col {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.pm-achieve-list-row {
  display: grid;
  grid-template-columns: 1fr 160px 100px 40px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease;
  align-items: center;
}

.pm-achieve-list-row:last-child {
  border-bottom: none;
}

.pm-achieve-list-row:hover {
  background: var(--surface);
}

.pm-achieve-list-col--name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text);
}

.pm-achieve-list-col--name i {
  color: var(--text-muted);
  font-size: var(--text-md);
  width: 16px;
  text-align: center;
}

.pm-achieve-list-col--issuer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-2);
}

.pm-achieve-list-col--type {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.pm-achieve-list-col--link {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.pm-achieve-list-row:hover .pm-achieve-list-col--link {
  color: var(--text);
}

/* --- Case Study (inline document) --- */
.pm-wiki-case-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.pm-wiki-case-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.pm-wiki-case-columns {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.pm-wiki-case-desc > p {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

.pm-wiki-props {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
}

.pm-wiki-prop-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: 0 var(--space-4) 0 0;
  border-right: 1px solid var(--border);
}

.pm-wiki-prop-row:last-child {
  border-right: none;
  padding-right: 0;
}

.pm-wiki-prop-row dt {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.pm-wiki-prop-row dd {
  font-size: var(--text-sm);
  color: var(--text);
  margin: 0;
}

.pm-wiki-case-body {
  margin-top: 0;
}

.pm-wiki-case-body .pm-section-label {
  margin: 0 0 12px;
  padding-bottom: 0;
}

/* Side Panel — extends .slide-panel base, wider variant */
.kanban-detail-panel {
  width: 46vw;
  max-width: 640px;
  min-width: 380px;
}

.kanban-detail-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 8px 0 0;
}

.kanban-detail-company {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-2);
  margin: 0;
}

.kanban-detail-period {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.kanban-detail-props {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.kanban-detail-prop-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-detail-prop-label i {
  font-size: 0.7rem;
  color: var(--primary);
}

.kanban-detail-prop-value {
  font-size: var(--text-md);
  color: var(--text-2);
  margin: 0;
}

.kanban-detail-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
}

.kanban-detail-logo {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.kanban-detail-company-name {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--text-2);
  font-weight: 500;
}

.kanban-detail-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.kanban-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 4px;
  padding: 2px 8px;
}

.kanban-detail-desc {
  font-size: var(--text-md);
  color: var(--text-2);
  line-height: 1.6;
}

.kanban-detail-bullets {
  font-size: var(--text-md);
  color: var(--text-2);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

/* Credential Modal */
.pm-credential-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.pm-credential-modal.open {
  display: flex;
}

.pm-credential-modal-inner {
  position: relative;
  width: 80vw;
  height: 80vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pm-credential-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.pm-credential-modal-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-2);
}

.pm-credential-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.pm-credential-close:hover {
  color: var(--text);
  background: var(--surface);
}

.pm-credential-iframe {
  width: 100%;
  flex: 1;
  border: none;
}

/* --- Services View --- */

.pm-services-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================================
   SERVICES — PROJECT TEMPLATE CARDS
   ============================================================ */

.svc-page-header {
  margin-bottom: 4px;
}

.svc-page-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.svc-page-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* 3-column template grid */
.svc-template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Individual template card */
.svc-template-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.svc-template-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  background: var(--surface-2);
}

/* Card header: title + duration badge */
.svc-template-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.svc-template-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.svc-template-badge {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Card description */
.svc-template-desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}

.svc-template-outcome {
  font-size: 0.8125rem;
  color: var(--text);
  border-left: 2px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.svc-template-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}

/* Deliverables label */
.svc-template-label {
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

/* Deliverables list */
.svc-template-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.svc-template-deliverables li {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.svc-template-deliverables li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--steel);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* Card footer: status + CTA */
.svc-template-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc-template-cta {
  font-size: var(--text-sm);
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 150ms ease;
}

.svc-template-cta:hover {
  color: color-mix(in srgb, var(--primary) 80%, white);
}

.pm-diagnostic-cta {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}

.pm-diag-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.pm-diag-subtext {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--text-2);
  margin: 8px 0 20px;
}

.pm-diag-btn {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
}

.pm-diag-btn:hover {
  background: var(--primary);
  color: var(--bg);
  transition: 150ms ease;
}

/* ============================================================
   TOOLKIT: KNOWLEDGE GRAPH
   ============================================================ */

/* 1. Graph canvas container */
#toolkit-graph {
  width: 100%;
  height: 70vh;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--surface-2) 60%, transparent);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.toolkit-legend {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 16px;
  z-index: 10;
  pointer-events: none;
}

.toolkit-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.toolkit-legend-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.toolkit-legend-swatch--skill {
  background: var(--accent);
  border-radius: 2px;
}

.toolkit-legend-swatch--tool {
  background: var(--steel);
  border-radius: 50%;
}

/* 2. Hover tooltip */
.toolkit-tooltip {
  position: fixed;
  max-width: 200px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 100;
  pointer-events: none;
}

.toolkit-tooltip-name {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
}

.toolkit-tooltip-type {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--text-2);
  margin-bottom: 4px;
}

.toolkit-tooltip-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.4;
}

/* 3. Detail card */
.toolkit-detail-card {
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  position: relative;
  transition: opacity 150ms ease;
}

.toolkit-detail-card[hidden] {
  display: none;
}

.toolkit-card-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.toolkit-card-dismiss:hover {
  color: var(--text);
  background: var(--surface);
}

.toolkit-card-type-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--surface);
  margin-bottom: 8px;
}

.toolkit-card-title {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.toolkit-card-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 12px;
}

.toolkit-card-connected {
  border-top: 1px solid var(--surface);
  padding-top: 12px;
}

.toolkit-card-connected-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.toolkit-card-connected p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

/* 4. Mobile chip grid */
.toolkit-mobile-chips {
  display: none;
}

.toolkit-chips-group {
  margin-bottom: 16px;
}

.toolkit-chips-group-label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}

.toolkit-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolkit-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.toolkit-chip--tool {
  background: color-mix(in srgb, var(--steel) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--steel) 40%, transparent);
  color: var(--steel);
}

.toolkit-chip--skill {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
}

/* 5. OSS section in Toolkit */
.toolkit-oss-section {
  margin-top: 48px;
}

.toolkit-oss-section .pm-section-label {
  margin-bottom: 16px;
}

/* Mobile timeline cards */
.pm-timeline-mobile {
  display: none;
}

.pm-timeline-mobile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-2);
  cursor: pointer;
  transition: background 150ms ease;
  min-height: 44px;
}

.pm-timeline-mobile-card:hover {
  background: var(--surface-hover);
}

.pm-tl-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.pm-tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pm-tl-role {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text);
}

.pm-tl-company {
  font-size: var(--text-base);
  color: var(--text-2);
  margin-bottom: 4px;
}

.pm-tl-period {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Topbar availability badge (hidden by default) */
.pm-avail-topbar {
  display: none;
  align-items: center;
}

.pm-avail-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 4px;
}

.pm-avail-label {
  font-size: var(--text-xs);
  color: var(--sage);
  font-family: var(--font-sans);
}

/* ============================================================
   READING COPY — 14px for paragraph-length content
   UI chrome (nav, labels, metadata) stays at --text-base (13px)
   ============================================================ */
.pm-bio-text,
.pm-dash-tagline,
.pm-callout-list li,
.svc-template-desc,
.pm-wiki-case-desc p,
.pm-casestudy-points li {
  font-size: var(--text-md);
  line-height: 1.6;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .pm-sidebar {
    transition: transform 200ms ease-out;
  }
  .pm-sidebar-backdrop {
    transition: opacity 200ms ease-out;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pm-view[aria-hidden="false"] {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }

  .btn::before {
    display: none;
  }
}

/* ============================================================
   TABLET LANDSCAPE — ≤ 1279px (icon rail + 3-col grids)
   ============================================================ */
@media (max-width: 1279px) {
  /* App shell: sidebar collapses to 72px rail */
  .pm-app {
    grid-template-columns: 72px 1fr;
  }

  .pm-sidebar {
    width: 72px;
    overflow: visible;
  }

  /* Workspace header: icon only */
  .pm-workspace-header {
    justify-content: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .pm-workspace-info {
    display: none;
  }

  .pm-workspace-header-btn {
    justify-content: center;
    padding: 0.375rem;
  }

  /* Nav items: icon + mini label stacked */
  .pm-nav-item,
  .pm-nav-folder {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 4px;
    margin: 2px 4px;
    width: calc(100% - 8px);
    min-height: 44px;
    position: relative;
    gap: 2px;
  }

  .pm-nav-label {
    display: block;
    font-size: 0.625rem; /* 10px */
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 64px;
    text-align: center;
  }

  .pm-kbd,
  .pm-nav-folder-arrow {
    display: none;
  }

  .pm-nav-item i,
  .pm-nav-folder i:not(.pm-nav-folder-arrow) {
    font-size: 1rem;
    width: auto;
  }

  /* Folder hierarchy: visual grouping for Work children */
  .pm-nav-folder-items {
    border-left: 1px solid var(--border);
    margin-left: 12px;
    padding-left: 0;
    max-height: 400px; /* items are taller at 44px each */
  }

  .pm-nav-folder-items::before {
    content: "";
    display: block;
    height: 1px;
    background: var(--border);
    margin: 4px 4px 4px 0;
  }

  .pm-nav-folder-items::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--border);
    margin: 4px 4px 4px 0;
  }

  /* Active highlighting on tablet rail — bottom accent bar */
  .pm-nav-item.active::before {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 16px;
    height: 2px;
    transform: translateX(-50%);
  }

  /* Hide sidebar credit and bottom group text */
  .pm-sidebar-credit {
    display: none;
  }

  /* Hide availability badge in sidebar (moves to topbar via JS-added element) */
  .pm-sidebar .pm-availability-badge {
    display: none;
  }

  /* Topbar: hide kbd hints */
  .pm-topbar .pm-kbd {
    display: none;
  }

  /* Topbar: show compact availability badge */
  .pm-avail-topbar {
    display: flex;
    align-items: center;
  }
}

/* ============================================================
   TABLET PORTRAIT — ≤ 1023px (icon rail + 2-col grids)
   ============================================================ */
@media (max-width: 1023px) {
  /* Dashboard grids: 4-col → 2-col */
  .pm-dash-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-dash-quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services: 3-col → 2-col */
  .svc-template-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Achievements: hide Category column → 3-col */
  .pm-achieve-list-header {
    grid-template-columns: 1fr 160px 40px;
  }

  .pm-achieve-list-row {
    grid-template-columns: 1fr 160px 40px;
  }

  .pm-achieve-list-col--type {
    display: none;
  }

  .pm-achieve-list-row > :nth-child(3) {
    display: none;
  }

  .pm-casestudy-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE — ≤ 767px (drawer sidebar, 1-col, mobile adaptations)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --titlebar-h: 25px;
  }

  .pm-profile-links a span {
    display: none;
  }

  .pm-profile-links a {
    width: 30px;
    height: 30px;
    padding: 7px;
    justify-content: center;
  }

  /* App shell: no sidebar column */
  .pm-app {
    grid-template-columns: 1fr;
    grid-template-areas:
      "titlebar"
      "topbar"
      "content";
  }

  /* Sidebar: off-screen drawer — starts below titlebar */
  .pm-sidebar {
    position: fixed;
    top: var(--titlebar-h);
    left: 0;
    width: 220px;
    height: calc(100% - var(--titlebar-h));
    z-index: 100;
    transform: translateX(-100%);
    overflow: hidden auto; /* reset tablet's overflow:visible, enable vertical scroll */
    border-right: 1px solid var(--border);
    background: var(--bg);
  }

  /* Reset rail overrides back to full sidebar for drawer */
  .pm-sidebar .pm-workspace-header {
    justify-content: flex-start;
    padding: 0.75rem;
  }

  .pm-sidebar .pm-workspace-header-btn {
    justify-content: flex-start;
    padding: 0.375rem 0.25rem;
  }

  .pm-sidebar .pm-workspace-info {
    display: block;
  }

  .pm-sidebar .pm-nav-item,
  .pm-sidebar .pm-nav-folder {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0.25rem 0.625rem;
    margin: 1px 8px;
    width: calc(100% - 16px);
    min-height: 44px;
    gap: 0.375rem;
  }

  .pm-sidebar .pm-nav-label {
    display: inline;
    font-size: var(--text-base);
    max-width: none;
    text-overflow: unset;
    white-space: normal;
    text-align: left;
    overflow: visible;
    line-height: 1.5;
  }

  /* Restore sub-item indent for drawer */
  .pm-sidebar .pm-nav-sub {
    padding-left: 1.875rem;
  }

  .pm-sidebar .pm-nav-folder-arrow {
    display: inline;
  }

  /* Still hide kbd badges on mobile */
  .pm-sidebar .pm-kbd {
    display: none;
  }

  /* Reset folder hierarchy visual from rail mode */
  .pm-sidebar .pm-nav-folder-items {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    max-height: 300px; /* 5 items × 44px + margin = ~240px, with headroom */
  }

  .pm-sidebar .pm-nav-folder-items::before,
  .pm-sidebar .pm-nav-folder-items::after {
    display: none;
  }

  /* Reset active accent bar from tablet bottom-bar to desktop left-bar in drawer */
  .pm-sidebar .pm-nav-item.active::before {
    left: -8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    height: auto;
    transform: none;
  }

  /* Hide tooltips in drawer (labels are visible) */
  .pm-sidebar .pm-nav-item::after,
  .pm-sidebar .pm-nav-folder::after {
    display: none;
  }

  /* Show sidebar credit in drawer */
  .pm-sidebar .pm-sidebar-credit {
    display: block;
  }

  /* SlidePanel close — 44px touch target */
  .slide-panel-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Avatar button — circle photo only, hide caret */
  .pm-avatar-btn {
    padding: 2px;
    border-radius: 50%;
    gap: 0;
  }

  .pm-avatar-caret {
    display: none;
  }

  .pm-avatar-btn img {
    width: 28px;
    height: 28px;
  }

  /* Drawer open state */
  .sidebar-open .pm-sidebar {
    transform: translateX(0);
  }

  .sidebar-open .pm-sidebar-backdrop {
    display: block;
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    top: var(--titlebar-h); /* below titlebar */
  }

  .sidebar-open {
    overflow: hidden;
  }

  /* Show hamburger */
  .pm-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  /* Titlebar: hide traffic lights */
  .pm-traffic-lights {
    display: none;
  }

  .pm-titlebar {
    padding: 0.375rem 1rem;
  }

  /* Topbar: breadcrumb truncation */
  .pm-breadcrumb-root {
    display: none;
  }

  .pm-breadcrumb-sep:first-of-type {
    display: none;
  }

  /* Topbar CTA: icon only — hide text label via font-size trick */
  .pm-topbar-cta {
    font-size: 0; /* hides bare text node */
    line-height: 1;
    padding: 0;
    gap: 0;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .pm-topbar-cta i {
    font-size: var(--text-md); /* restore icon size */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }

  .pm-topbar-cta .pm-kbd {
    display: none;
  }

  /* Hide kbd shortcuts everywhere */
  .pm-kbd {
    display: none;
  }

  /* Typography: bump body text to 16px */
  body {
    font-size: var(--text-lg);
  }

  /* Services: 1-col */
  .svc-template-grid {
    grid-template-columns: 1fr;
  }

  /* Achievements: flex rows */
  .pm-achieve-list-header {
    display: none;
  }

  .pm-achieve-list-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }

  .pm-achieve-list-row > :nth-child(2),
  .pm-achieve-list-row > :nth-child(3) {
    display: none;
  }

  .pm-achieve-list-col--name {
    flex: 1;
    font-size: var(--text-md);
    font-weight: 500;
  }

  /* Show category as inline chip after name on mobile */
  .pm-achieve-list-row .pm-achieve-list-col--issuer {
    display: inline-flex;
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    color: var(--text-faint);
    background: var(--surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
    align-self: center;
  }

  /* OSS: 1-col */
  .pm-oss-grid {
    grid-template-columns: 1fr;
  }

  /* Toolkit: hide canvas, show chip grid */
  #toolkit-graph {
    display: none;
  }

  .toolkit-mobile-chips {
    display: block;
  }

  /* Career Gantt: hide chart + its card wrapper, show mobile timeline */
  .pm-timeline-card {
    display: none;
  }

  .pm-timeline-mobile {
    display: block;
  }

  /* SlidePanel: full-width below topbar */
  .slide-panel {
    width: 100% !important;
    height: calc(100vh - var(--titlebar-h));
    height: calc(100dvh - var(--titlebar-h));
    top: var(--titlebar-h);
    right: -100%;
    min-width: 0;
  }

  .slide-panel.open {
    right: 0;
  }

  /* Topbar availability badge: show compact variant */
  .pm-topbar .pm-avail-topbar {
    display: flex;
  }
}

/* ============================================================
   BOOT SPLASH
   ============================================================ */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-overlay.splash-exit {
  animation: splashExit 300ms ease-in forwards;
}

.splash-overlay[hidden] {
  display: none;
}

.splash-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
  opacity: 0;
  transform: scale(0.8);
  animation: splashLogoIn 400ms ease-out forwards;
}

.splash-icon-slot {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.splash-icon-slot i {
  position: absolute;
  font-size: 22px;
  color: var(--text-2);
  opacity: 0;
  transform: scale(0.85);
  animation: splashIconCycle 300ms ease-out forwards;
  animation-play-state: paused;
}

.splash-progress {
  width: 160px;
  height: 3px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}

.splash-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  animation: splashProgress 1800ms ease-in-out 400ms forwards;
}

.splash-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0;
}

.splash-status.visible {
  opacity: 1;
}

/* Keyframes */
@keyframes splashLogoIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashIconCycle {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
  73% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}

@keyframes splashProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes splashExit {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-overlay {
    display: none;
  }
}
