/* ==========================================================================
   Kyle Kinnaman — Executive & Personal Contact Site Stylesheet
   Single-Theme WCAG 2.1 Level AAA Palette: Deep Navy, Royal/Steel Blue, Slate
   All text pairs verified >= 7.0:1; interactive control borders >= 5.2:1.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg-page: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-elevated: #eef2f7;
  --bg-hero-start: #09101f;
  --bg-hero-mid: #0e1b30;
  --bg-hero-end: #162235;
  --bg-header: rgba(244, 247, 251, 0.96);
  --border-subtle: #cbd5e1;
  --border-control: #55657d;
  --ink-primary: #0f172a;
  --ink-body: #1e293b;
  --ink-muted: #334155;
  --ink-on-dark: #f8fafc;
  --ink-on-dark-muted: #e2e8f0;
  --blue-primary: #1e3a8a;
  --blue-hover: #172554;
  --blue-cta-dark: #1e40af;
  --blue-steel: #0c4a6e;
  --blue-soft: #eff6ff;
  --blue-tint-border: #93c5fd;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 22px 48px -18px rgba(9, 16, 31, 0.34);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container-max: 1140px;
  --header-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--blue-hover);
}

p a,
.role-org a,
.cred-list a,
.contact-card-value[href],
.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

p a:hover,
.role-org a:hover,
.cred-list a:hover,
.contact-card-value[href]:hover,
.site-footer a:hover {
  text-decoration-thickness: 2.5px;
}

/* Dual-ring focus indicators for high visibility on both light and dark surfaces */
:focus-visible {
  outline: 3px solid #0f172a;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #ffffff, 0 0 0 8px #1e3a8a;
}

.hero :focus-visible,
.site-footer :focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #0b1324, 0 0 0 8px #93c5fd;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  background: var(--blue-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }
}

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

/* ==========================================================================
   Sticky Navigation Header
   ========================================================================== */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-body);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="location"] {
  color: var(--blue-primary);
  background: var(--bg-elevated);
  box-shadow: inset 0 -3px 0 0 var(--blue-primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-control);
  background: var(--bg-surface);
  color: var(--ink-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-icon:hover {
  background: var(--bg-elevated);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--blue-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary-sm:hover {
  background: var(--blue-hover);
  color: #ffffff;
}

.menu-toggle {
  display: none;
}

@media (max-width: 960px) {
  .nav-links {
    gap: 0.1rem;
  }

  .nav-links a {
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-control);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
    display: none;
    z-index: 99;
  }

  .nav-drawer.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    min-height: 48px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 0.4rem;
  }

  .btn-primary-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .btn-icon {
    min-width: 40px;
    min-height: 40px;
  }
}

/* ==========================================================================
   Hero Section (Deep Navy & Slate Architectural Backdrop)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink-on-dark);
  background: linear-gradient(140deg, var(--bg-hero-start) 0%, var(--bg-hero-mid) 54%, var(--bg-hero-end) 100%);
  border-bottom: 1px solid #334155;
  padding: 3.75rem 0 3.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2.5rem;
  align-items: center;
}


.hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
}

.hero-role {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 600;
  line-height: 1.38;
  color: #bfdbfe;
  letter-spacing: -0.01em;
}

.hero-summary {
  margin: 0 0 1.2rem;
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-on-dark-muted);
}

.hero-cta-row {
  display: flex;
  justify-content: flex-end;
  max-width: 72ch;
  font-size: 1.02rem;
}

.hero-portrait-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: none;
  box-shadow: var(--shadow-lg);
}

.portrait-frame {
  position: relative;
  width: 196px;
  height: 196px;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-fallback {
  display: none;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.05em;
}

.portrait-frame.is-fallback img {
  display: none;
}

.portrait-frame.is-fallback .portrait-fallback {
  display: flex;
}

.portrait-meta {
  width: 100%;
  text-align: center;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.55;
}

.portrait-meta strong {
  display: block;
  color: #0f172a;
  font-size: 0.94rem;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  border: 2px solid #93c5fd;
  background: #0f2447;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.action-chip.primary {
  background: var(--blue-cta-dark);
  border-color: #93c5fd;
  color: #ffffff;
}

.action-chip.primary:hover {
  background: var(--blue-primary);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .hero {
    padding: 2.25rem 0 2rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }

  .hero-portrait-card {
    order: -1;
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--bg-surface);
    border: none;
  }

  .portrait-frame {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .portrait-meta {
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .portrait-meta strong {
    font-size: 0.96rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
    line-height: 1.12;
  }

  .hero-role {
    font-size: clamp(1rem, 3.8vw, 1.14rem);
    line-height: 1.4;
  }

  .hero-summary {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .hero-cta-row {
    justify-content: stretch;
  }

  .hero-cta-row .action-chip {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */

.metrics-section {
  margin-top: -1.6rem;
  position: relative;
  z-index: 5;
  padding-bottom: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-md);
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  line-height: 1.18;
  margin-bottom: 0.35rem;
}

.metric-label {
  display: block;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-muted);
  font-weight: 500;
}

@media (max-width: 1060px) {
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .metrics-section {
    margin-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .metrics-grid .metric-card:first-child {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.15rem 1rem;
  }

  .metric-card {
    padding: 0.9rem 0.85rem;
  }

  .metric-value {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
  }

  .metric-label {
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Shared Section Layout & Typography
   ========================================================================== */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-steel);
  margin-bottom: 0.4rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  line-height: 1.25;
}

.section-subtitle {
  margin: 0.4rem 0 0;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-muted);
}

/* ==========================================================================
   Philosophy Thesis & 30-90 Day Cadence
   ========================================================================== */

.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.thesis-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thesis-box p {
  margin: 0 0 0.85rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-body);
}

.thesis-box p:last-child {
  margin-bottom: 0;
}

.cadence-carousel-wrapper {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.45rem 1.6rem 1.15rem;
  touch-action: pan-y pinch-zoom;
}

.carousel-track {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  transform: translateX(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.cadence-step {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  border: 1px solid var(--blue-steel);
  margin-bottom: 0.65rem;
}

.carousel-slide h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.carousel-slide p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
  color: var(--ink-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.75rem;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-control);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.carousel-btn:hover {
  background: var(--blue-soft);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-control);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator-dot:hover {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
}

.indicator-dot.active,
.indicator-dot[aria-current="true"] {
  width: 26px;
  border-radius: 999px;
  background: var(--blue-primary);
  border-color: var(--blue-primary);
}

.is-clone {
  display: none !important;
}

@media (max-width: 900px) {
  .philosophy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .cadence-carousel-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    min-width: 0;
    max-width: 100%;
  }

  .carousel-track {
    min-height: auto;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem;
    padding-bottom: 0.85rem;
    padding-right: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
  }

  .carousel-track::-webkit-scrollbar {
    height: 4px;
  }

  .carousel-track::-webkit-scrollbar-track {
    background: transparent;
  }

  .carousel-track::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 4px;
  }

  .cadence-card.carousel-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .carousel-track .is-clone {
    display: flex !important;
  }

  .carousel-controls {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.35rem 0;
  }

  .section-header {
    margin-bottom: 1.25rem;
    gap: 0.5rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .thesis-box {
    padding: 1.15rem 1rem;
    margin-bottom: 0;
  }



  .pillar-card {
    padding: 1.15rem 1rem;
  }
}

/* ==========================================================================
   Core Capabilities Pillars
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  border: 1px solid var(--blue-steel);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pillar-card p {
  margin: 0 0 0.9rem;
  max-width: none;
  font-size: 0.94rem;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.62rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--ink-primary);
  border: 1px solid var(--border-control);
}

.tag.blue {
  background: var(--blue-soft);
  color: var(--blue-primary);
  border-color: var(--blue-steel);
}

@media (max-width: 760px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CV Inline Fuzzy Search
   ========================================================================== */

.cv-search-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 380px;
}

.cv-search-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.cv-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.cv-search-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--ink-muted);
  pointer-events: none;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.cv-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 2.25rem 0.55rem 2.45rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-control);
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.cv-search-input::-webkit-search-cancel-button {
  display: none;
}

.cv-search-input::placeholder {
  color: var(--ink-muted);
  opacity: 0.8;
}

.cv-search-input:hover {
  border-color: var(--blue-primary);
}

.cv-search-input:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
  background-color: #ffffff;
}

.cv-search-box:focus-within .cv-search-icon {
  color: var(--blue-primary);
}

.cv-search-clear {
  position: absolute;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: var(--border-subtle);
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.cv-search-clear:hover {
  background: var(--blue-soft);
  color: var(--blue-primary);
}

.cv-search-status {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  min-height: 1.15rem;
}

.cv-empty-state {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-control);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

.cv-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0 0 0.35rem;
}

.cv-empty-sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0 0 1.1rem;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
  position: relative;
}

.timeline-radar {
  display: block;
}

.radar-sticky-card {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.radar-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-primary);
}

.radar-counter {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.radar-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.radar-progress-fill {
  height: 100%;
  width: 10%;
  background: var(--blue-primary);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.radar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.radar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.radar-item:hover {
  color: var(--ink-primary);
  background: var(--blue-soft);
}

.radar-item.active {
  color: #ffffff;
  background: var(--blue-soft);
  font-weight: 600;
}

.radar-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-control);
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.radar-item.active .radar-item-dot {
  background: var(--blue-primary);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
  transform: scale(1.2);
}

.radar-item-org {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .timeline-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .timeline-radar {
    display: none;
  }
}

@media (min-width: 961px) {
  #experience {
    scroll-margin-top: var(--header-height);
  }

  #experience .section-header {
    position: -webkit-sticky;
    position: sticky;
    top: var(--header-height);
    z-index: 10;
    background: var(--bg-page);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .timeline {
    height: calc(100vh - var(--header-height) - 180px);
    min-height: 500px;
    max-height: 640px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.85rem;
    padding-top: 0.25rem;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--blue-steel) rgba(148, 163, 184, 0.08);
  }

  .timeline::-webkit-scrollbar {
    width: 6px;
  }

  .timeline::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.08);
    border-radius: 999px;
  }

  .timeline::-webkit-scrollbar-thumb {
    background: var(--blue-steel);
    border-radius: 999px;
  }

  .timeline::-webkit-scrollbar-thumb:hover {
    background: var(--blue-primary);
  }
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border-control);
}

.role-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-sm);
}

.role-card::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 2px solid var(--bg-page);
  box-shadow: 0 0 0 2px var(--border-control);
}

.role-card.is-hidden,
.role-card[hidden] {
  display: none;
}

.role-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem 1rem;
  margin-bottom: 0.7rem;
}

.role-title {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.role-org {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-steel);
}

.role-bullets {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.2rem;
  max-width: none;
}

.role-bullets li {
  margin-bottom: 0.42rem;
  font-size: 0.94rem;
  line-height: 1.6;
}

.role-bullets li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cv-search-bar {
    width: 100%;
    max-width: 100%;
    margin-top: 0.4rem;
  }
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 0.85rem;
    gap: 0.85rem;
  }

  .timeline::before {
    left: 3px;
  }

  .role-card {
    padding: 1.1rem 1rem;
  }

  .role-card::before {
    left: -0.85rem;
    top: 1.35rem;
    width: 9px;
    height: 9px;
  }

  .role-title {
    font-size: 1.02rem;
  }

  .role-bullets {
    padding-left: 1.1rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Endorsements / Recommendations
   ========================================================================== */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-body);
}

.quote-author {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.quote-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.quote-author span {
  display: block;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

@media (max-width: 780px) {
  .quotes-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    padding-right: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
  }

  .quotes-grid::-webkit-scrollbar {
    height: 4px;
  }

  .quotes-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .quotes-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 4px;
  }

  .quote-card {
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .quotes-grid .is-clone {
    display: flex !important;
  }
}

/* ==========================================================================
   Credentials: Patent, Education, Certifications
   ========================================================================== */

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.cred-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.cred-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.cred-card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.58;
}

.cred-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.58;
}

.cred-list li {
  margin-bottom: 0.55rem;
}

.cred-id {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  word-break: break-all;
}

@media (max-width: 780px) {
  .credentials-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    padding-right: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
  }

  .credentials-grid::-webkit-scrollbar {
    height: 4px;
  }

  .credentials-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .credentials-grid::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 4px;
  }

  .cred-card {
    flex: 0 0 85%;
    min-width: 85%;
    max-width: 85%;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .credentials-grid .is-clone {
    display: flex !important;
  }
}

/* ==========================================================================
   Direct Personal & Professional Contact Hub
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-info {
  min-width: 0;
}

.contact-card-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.contact-card-value {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-primary);
  word-break: break-word;
}

.contact-card-value[href] {
  color: var(--blue-primary);
}

.contact-card-actions {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-control);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-outline-sm:hover {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
  color: var(--blue-primary);
}

.composer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.composer-card h3 {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.prefill-notice,
.prefill-notice span {
  color: var(--ink-muted);
}

.prefill-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.prefill-clear-btn {
  background: transparent;
  border: none;
  color: var(--blue-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.prefill-clear-btn:hover {
  opacity: 1;
  color: var(--blue-hover);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-bottom: 0.85rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-primary);
}

/* >= 16px inputs prevent Safari iOS automatic viewport zoom; >= 44px height meets WCAG 2.5.5 */
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.62rem 0.78rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-control);
  background: var(--bg-surface);
  color: var(--ink-primary);
}

.field input,
.field select {
  min-height: 44px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.contact-mode-badge {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  z-index: 2;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-mode-badge:hover,
.contact-mode-badge:focus-within {
  border-color: var(--accent);
  background: var(--bg-card);
}

.contact-mode-badge.is-email {
  pointer-events: none;
  cursor: default;
}

.contact-mode-badge.is-email .contact-country-picker {
  display: none;
}

.contact-badge-visual {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.contact-country-picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  z-index: 4;
}

.contact-chevron {
  display: inline-block;
  font-size: 0.65rem;
  opacity: 0.7;
  pointer-events: none;
  margin-left: 0.05rem;
}

.contact-mode-badge[hidden] {
  display: none;
}

.contact-flag-svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
  display: block;
}

.contact-flag-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.contact-input-wrap.has-badge input {
  padding-left: 6.2rem;
}

.contact-input-wrap.is-invalid input {
  border-color: #b91c1c;
}

.contact-feedback {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.contact-feedback[hidden] {
  display: none;
}

.contact-feedback.is-valid {
  color: #166534;
  font-weight: 600;
}

.contact-feedback.is-error {
  color: #b91c1c;
  font-weight: 600;
}

.contact-feedback-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 44px;
  gap: 0.45rem;
  padding: 0.68rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--blue-primary);
  color: #ffffff;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary-lg:hover:not(:disabled) {
  background: var(--blue-hover);
}

.btn-primary-lg:disabled {
  opacity: 0.68;
  cursor: progress;
}

.composer-status {
  margin: 0.85rem 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid #bfdbfe;
  background: var(--blue-soft);
  color: var(--blue-primary);
}

.composer-status.is-success {
  border-color: #6ee7b7;
  background: #ecfdf5;
  color: #065f46;
}

.composer-status.is-error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 0.45rem;
  padding: 0.68rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  border: 1.5px solid var(--border-control);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary-lg:hover {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
  color: var(--blue-primary);
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .contact-card-actions {
    width: 100%;
  }

  .contact-card-actions .btn-outline-sm {
    width: 100%;
    min-height: 44px;
  }

  .composer-card {
    padding: 1.25rem 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .composer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .composer-actions .prefill-notice {
    order: -1;
    margin: 0;
    justify-content: flex-end;
  }

  .composer-actions .btn-primary-lg,
  .composer-actions .btn-secondary-lg {
    width: 100%;
    min-height: 48px;
  }
}

/* ==========================================================================
   Footer & Accessible Status Toast
   ========================================================================== */

.site-footer {
  background: #0b1324;
  color: #e2e8f0;
  border-top: 1px solid #334155;
  padding: 2.25rem 0 1.75rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-links {
    justify-content: center;
    gap: 0.85rem;
  }
}

.site-footer a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #bfdbfe;
  font-weight: 600;
}

.site-footer a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 300;
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #0b1324;
  color: #f8fafc;
  border: 2px solid #93c5fd;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Print Dossier Rules
   ========================================================================== */

@media print {
  body {
    background: #ffffff;
    color: #0f172a;
    font-size: 10.5pt;
  }

  .site-header,
  .cv-search-bar,
  .composer-card,
  .hero-cta-row,
  .contact-card-actions,
  .toast,
  .site-footer {
    display: none !important;
  }

  .hero {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 2px solid #1e293b;
    padding: 0 0 1rem !important;
  }

  .hero::before {
    display: none;
  }

  .hero h1,
  .hero-role,
  .hero-summary {
    color: #0f172a !important;
  }

  .metrics-section {
    margin-top: 0.75rem;
  }

  .metric-card,
  .role-card,
  .quote-card,
  .cred-card,
  .pillar-card,
  .cadence-card {
    box-shadow: none !important;
    break-inside: avoid;
  }

  .role-card.is-hidden,
  .role-card[hidden] {
    display: block !important;
  }
}