/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */
@layer properties;
:root {
  --color-bg: #f8f9fc;
  --color-surface: #fff;
  --color-surface-raised: #fff;
  --color-surface-subtle: #f1f5f9;
  --color-surface-invert: #0f172a;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #5e708a;
  --color-text-invert: #f8fafc;
  --color-accent: #0051e0;
  --color-accent-hover: #003eb0;
  --color-accent-soft: #eff6ff;
  --color-accent-border: #bfdbfe;
  --color-success: #059669;
  --color-success-soft: #ecfdf5;
  --color-warning: #d97706;
  --color-warning-soft: #fffbeb;
  --color-error: #dc2626;
  --color-error-soft: #fef2f2;
  --color-info: #0284c7;
  --color-info-soft: #f0f9ff;
  --color-metric-1: #0051e0;
  --color-metric-1-soft: #eff6ff;
  --color-metric-2: #059669;
  --color-metric-2-soft: #ecfdf5;
  --color-metric-3: #7c3aed;
  --color-metric-3-soft: #f5f3ff;
  --color-metric-4: #d97706;
  --color-metric-4-soft: #fffbeb;
  --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
    'Helvetica Neue', arial, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', monospace;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-widest: 0.1em;
  --leading-comfort: 1.75;
  --leading-compact: 1.25;
  --comfort-label: clamp(var(--text-xs), 1.2cqi, var(--text-sm));
  --comfort-body: clamp(var(--text-base), 1.8cqi, var(--text-lg));
  --comfort-h3: clamp(var(--text-xl), 3cqi, var(--text-2xl));
  --comfort-h2: clamp(var(--text-2xl), 4.5cqi, var(--text-4xl));
  --comfort-h1: clamp(var(--text-3xl), 5.5cqi, var(--text-5xl));
  --compact-label: clamp(0.625rem, 1.2cqi, var(--text-xs));
  --compact-body: clamp(0.75rem, 1.8cqi, var(--text-sm));
  --compact-title: clamp(var(--text-sm), 3.5cqi, var(--text-xl));
  --compact-heading: clamp(var(--text-base), 5cqi, var(--text-3xl));
  --space-px: 1px;
  --space-0_5: 0.125rem;
  --space-1: 0.25rem;
  --space-1_5: 0.375rem;
  --space-2: 0.5rem;
  --space-2_5: 0.625rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --max-prose: 68ch;
  --max-content: var(--sqs-site-max-width);
  --width-container: 93.75rem;
  --max-wide: 96rem;
  --width-site: 90rem;
  --header-h: 3.5rem;
  --sqs-site-gutter: 8vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1200px;
  --grid-col-unit: clamp(
    0.75rem,
    calc((100vw - 2 * var(--sqs-site-gutter)) / 24),
    var(--sqs-cell-max-width)
  );
  --grid-gap-unit: calc(100% / 24);
  --grid-gap-xs: max(0.375rem, calc(var(--grid-gap-unit) * 0.25));
  --grid-gap-sm: max(0.75rem,  calc(var(--grid-gap-unit) * 0.5));
  --grid-gap: max(1rem,     calc(var(--grid-gap-unit) * 0.75));
  --grid-gap-lg: max(1.5rem,   var(--grid-gap-unit));
  --grid-gap-xl: max(2rem,     calc(var(--grid-gap-unit) * 2));
  --grid-gutter: var(--grid-gap-sm);
  --sqs-cell-max-width: calc(var(--sqs-site-max-width) / 24);
  --row-baseline: var(--sqs-cell-max-width);
  --grid-template: minmax(var(--sqs-site-gutter), 1fr)
    repeat(24, minmax(0, var(--sqs-cell-max-width))) minmax(var(--sqs-site-gutter), 1fr);
  --grid-split: 57fr 43fr;
  --grid-split-reverse: 43fr 57fr;
  --grid-cols-2: repeat(2, minmax(0, 1fr));
  --grid-cols-3: repeat(3, minmax(0, 1fr));
  --grid-cols-4: repeat(4, minmax(0, 1fr));
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 16px 56px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-accent: 0 4px 24px rgba(0, 81, 224, 0.18);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 360ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
    --duration-slow: 0ms;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (hover: none) {
  .blog-card:hover, .blog-card:active, .pf-card:hover, .pf-card:active, .pf-split:hover, .pf-split:active, .home-work-card:hover, .home-work-card:active, .home-post-card:hover, .home-post-card:active, .home-service-card:hover, .home-service-card:active, .cs-metric-tile:hover, .cs-metric-tile:active, .cs-lesson-card:hover, .cs-lesson-card:active, .bs-post-nav__item:hover, .bs-post-nav__item:active {
    transform: none;
  }
}
[data-theme='dark'] {
  --color-bg: #090e1a;
  --color-surface: #111827;
  --color-surface-raised: #1a2233;
  --color-surface-subtle: #141d2e;
  --color-surface-invert: #f8fafc;
  --color-border: #1e2d45;
  --color-border-strong: #2d3f5e;
  --color-text-primary: #f0f6ff;
  --color-text-secondary: #8da4be;
  --color-text-muted: #7b8da3;
  --color-text-invert: #0f172a;
  --color-accent: #4d8dff;
  --color-accent-hover: #3a7aee;
  --color-accent-soft: #0c1e3a;
  --color-accent-border: #1e3a6a;
  --color-success: #34d399;
  --color-success-soft: #052e22;
  --color-warning: #fbbf24;
  --color-warning-soft: #2a1d04;
  --color-error: #f87171;
  --color-error-soft: #2d1515;
  --color-info: #38bdf8;
  --color-info-soft: #082132;
  --color-metric-1: #4d8dff;
  --color-metric-1-soft: #0c1e3a;
  --color-metric-2: #34d399;
  --color-metric-2-soft: #052e22;
  --color-metric-3: #a78bfa;
  --color-metric-3-soft: #1c1038;
  --color-metric-4: #fbbf24;
  --color-metric-4-soft: #2a1d04;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 56px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 4px 24px rgba(77, 141, 255, 0.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #090e1a;
    --color-surface: #111827;
    --color-surface-raised: #1a2233;
    --color-surface-subtle: #141d2e;
    --color-surface-invert: #f8fafc;
    --color-border: #1e2d45;
    --color-border-strong: #2d3f5e;
    --color-text-primary: #f0f6ff;
    --color-text-secondary: #8da4be;
    --color-text-muted: #7b8da3;
    --color-text-invert: #0f172a;
    --color-accent: #4d8dff;
    --color-accent-hover: #3a7aee;
    --color-accent-soft: #0c1e3a;
    --color-accent-border: #1e3a6a;
    --color-success: #34d399;
    --color-success-soft: #052e22;
    --color-warning: #fbbf24;
    --color-warning-soft: #2a1d04;
    --color-error: #f87171;
    --color-error-soft: #2d1515;
    --color-info: #38bdf8;
    --color-info-soft: #082132;
    --color-metric-1: #4d8dff;
    --color-metric-1-soft: #0c1e3a;
    --color-metric-2: #34d399;
    --color-metric-2-soft: #052e22;
    --color-metric-3: #a78bfa;
    --color-metric-3-soft: #1c1038;
    --color-metric-4: #fbbf24;
    --color-metric-4-soft: #2a1d04;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 56px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 24px rgba(77, 141, 255, 0.25);
  }
}
@layer components {
  .badge {
    background-color: var(--color-surface-invert);
    color: var(--color-text-invert);
    padding: 0.25em 1em;
    font-size: 0.85em;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    line-height: 1.2;
  }
}
@layer components {
  .version-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    text-decoration: none;
    font-size: var(--text-xs);
    line-height: 1;
    white-space: nowrap;
    gap: 0;
    font-variant-numeric: tabular-nums;
  }
  .version-badge__label, .version-badge__value {
    display: block;
    padding: 0.3em 0.55em;
    line-height: 1;
  }
  .version-badge__label {
    background: var(--color-surface-subtle);
    color: var(--color-text-muted);
    font-weight: var(--font-medium);
    border-right: 1px solid var(--color-border);
  }
  .version-badge__value {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-weight: var(--font-semibold);
    font-family: var(--font-mono);
  }
  .version-badge--xs {
    font-size: 0.65rem;
  }
  .version-badge--xs .version-badge__label, .version-badge--xs .version-badge__value {
    padding: 0.2em 0.45em;
  }
  .version-badge--md {
    font-size: var(--text-sm);
  }
  .version-badge--md .version-badge__label, .version-badge--md .version-badge__value {
    padding: 0.35em 0.65em;
  }
  a.version-badge {
    transition: border-color 0.15s ease;
  }
  a.version-badge:hover {
    border-color: var(--color-accent-border);
  }
  a.version-badge:hover .version-badge__value {
    background: var(--color-accent);
    color: #fff;
    transition: background 0.15s ease, color 0.15s ease;
  }
  a.version-badge:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  [data-theme='dark'] .version-badge {
    border-color: var(--color-border);
  }
  [data-theme='dark'] .version-badge__label {
    background: var(--color-surface-raised);
    color: var(--color-text-muted);
    border-right-color: var(--color-border);
  }
}
@layer components {
  .card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1/1;
    height: auto;
    container: card / inline-size;
  }
  a.card {
    text-decoration: none;
    color: inherit;
  }
  .related-projects__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-sm);
  }
  @media (max-width: 640px) {
    .related-projects__grid {
      grid-template-columns: 1fr;
    }
  }
  @media (min-width: 641px) and (max-width: 900px) {
    .related-projects__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .related-projects__card {
    display: block;
    width: 100%;
  }
  .related-projects__role {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.25em;
    line-height: 1.2;
  }
  .related-projects__card .card-img-overlay h3.related-projects__title, .related-projects__card h3.related-projects__title {
    font-size: clamp(0.9rem, 4cqi, 1.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: 0 0 0.3em;
  }
  .related-projects__dates {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 0.03em;
  }
  .related-projects__card:hover picture::before {
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  }
  @container card (min-width: 300px) {
    .card picture {
      position: absolute;
      inset: 0;
    }
    .card picture::before {
      content: '';
      position: absolute;
      top: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, transparent, #000);
      z-index: 1;
    }
    .card .card-img-overlay {
      position: relative;
      padding: 1em;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      height: 100%;
    }
    .card h3 {
      font-size: 10cqi;
      font-weight: 300;
      line-height: 10cqi;
      margin: 0;
      color: white;
    }
    .card p {
      color: rgba(255, 255, 255, 0.9);
      margin: 0.5em 0 0;
    }
  }
}
@layer components {
  .stories-trigger {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 0;
  }
  .stories-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 3px;
    background: #d1d5db;
    transition: background 0.4s ease;
  }
  .stories-ring--away {
    background: #d1d5db;
    animation: none;
  }
  .stories-ring--loading {
    background: #d1d5db;
    animation: none;
  }
  .stories-ring--available {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 28%, #a855f7 62%, #3b82f6 100%);
    animation: stories-glow 2.5s ease-in-out infinite;
  }
  .stories-ring--color-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 28%, #a855f7 62%, #3b82f6 100%);
  }
  .stories-ring--color-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 50%, #1e40af 100%);
  }
  .stories-ring--color-green {
    background: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #047857 100%);
  }
  .stories-ring--color-purple {
    background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 50%, #4c1d95 100%);
  }
  .stories-ring--color-orange {
    background: linear-gradient(135deg, #fcd34d 0%, #f97316 50%, #c2410c 100%);
  }
  .stories-ring--color-pink {
    background: linear-gradient(135deg, #f9a8d4 0%, #ec4899 50%, #9d174d 100%);
  }
  .stories-ring--color-teal {
    background: linear-gradient(135deg, #5eead4 0%, #0d9488 50%, #0f766e 100%);
  }
  .stories-ring--color-gold {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 40%, #b45309 100%);
  }
  .stories-ring--viewed {
    background: #94a3b8;
    animation: none;
  }
  @keyframes stories-glow {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }
    50% {
      box-shadow: 0 0 0 5px rgba(168, 85, 247, 0);
    }
  }
  .stories-ring-inner {
    background: var(--color-bg);
    border-radius: 9999px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .stories-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
  }
  .stories-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    border: 2px solid var(--color-bg);
    background: #9ca3af;
    transition: background 0.3s ease;
  }
  .stories-dot--open {
    background: #10b981;
  }
  .stories-dot--closed {
    background: #9ca3af;
  }
  .availability-open {
    color: #10b981;
    font-weight: 500;
  }
  .availability-closed {
    color: #9ca3af;
  }
  .stories-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .stories-overlay--open {
    opacity: 1;
    pointer-events: all;
  }
  .stories-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    cursor: pointer;
  }
  .stories-card {
    position: relative;
    z-index: 1;
    width: min(420px, 94vw);
    height: min(680px, 90svh);
    border-radius: 22px;
    overflow: hidden;
    color: white;
    transform: scale(0.88) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .stories-overlay--open .stories-card {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  .stories-slide {
    position: absolute;
    inset: 0;
  }
  .stories-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .stories-slide-bg--1 {
    background: radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.5) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.4) 0%, transparent 60%), linear-gradient(160deg, #0a0f1e 0%, #1e1b4b 100%);
  }
  .stories-slide-bg--2 {
    background: radial-gradient(ellipse at 20% 20%, rgba(16, 185, 129, 0.4) 0%, transparent 55%), radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.35) 0%, transparent 55%), linear-gradient(160deg, #0a0f1e 0%, #064e3b 100%);
  }
  .stories-slide-bg--3 {
    background: radial-gradient(ellipse at 70% 15%, rgba(167, 139, 250, 0.45) 0%, transparent 55%), radial-gradient(ellipse at 25% 75%, rgba(139, 92, 246, 0.35) 0%, transparent 55%), linear-gradient(160deg, #0d0a1e 0%, #2e1065 100%);
  }
  .stories-slide-bg--4 {
    background: radial-gradient(ellipse at 75% 20%, rgba(251, 189, 35, 0.4) 0%, transparent 55%), radial-gradient(ellipse at 20% 80%, rgba(249, 115, 22, 0.38) 0%, transparent 55%), linear-gradient(160deg, #0f0a00 0%, #431407 100%);
  }
  .stories-progress-track {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
    z-index: 10;
  }
  .stories-progress-segment {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
  }
  .stories-progress-fill {
    height: 100%;
    background: white;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
  }
  .stories-progress-fill--done {
    transform: scaleX(1);
    transition: none;
  }
  .stories-progress-fill--active {
    animation: story-progress var(--story-dur, 6000ms) linear forwards;
  }
  @keyframes story-progress {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  .stories-close-btn {
    position: absolute;
    top: 22px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease;
  }
  .stories-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }
  .stories-author-row {
    position: absolute;
    top: 28px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    z-index: 8;
  }
  .stories-author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.55);
  }
  .stories-author-name {
    font-size: 13px;
    font-weight: 650;
    color: white;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
  }
  .stories-author-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
  }
  .stories-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8;
    padding: 24px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  }
  .stories-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    align-self: flex-start;
  }
  .stories-status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    flex-shrink: 0;
  }
  .stories-status-indicator--about {
    background: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
  }
  .stories-status-indicator--open {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  }
  .stories-status-indicator--closed {
    background: #9ca3af;
  }
  .stories-headline {
    font-size: clamp(26px, 7vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    margin: 0;
    letter-spacing: -0.02em;
  }
  .stories-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
    margin: 0;
  }
  .stories-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: white;
    color: #0f172a;
    font-size: 13px;
    font-weight: 650;
    padding: 9px 20px;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }
  .stories-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }
  .stories-service-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .stories-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 9px 13px;
    backdrop-filter: blur(4px);
  }
  .stories-service-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.9;
  }
  .stories-stat-row {
    display: flex;
    gap: 10px;
  }
  .stories-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 14px;
    flex: 1;
    gap: 2px;
  }
  .stories-stat__value {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .stories-stat__label {
    font-size: 10.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.2;
  }
  .stories-pause-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 9999px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .stories-card--paused .stories-pause-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .stories-tap-prev, .stories-tap-next {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 38%;
    z-index: 7;
    cursor: pointer;
  }
  .stories-tap-prev {
    left: 0;
  }
  .stories-tap-next {
    right: 0;
  }
}
.cs-page {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  min-height: 100dvh;
  transition: background-color var(--duration-base) var(--ease-in-out), color var(--duration-base) var(--ease-in-out);
}
.cs-container {
  width: min( var(--max-content), calc(100vw - 4vw * 2) );
  margin-inline: auto;
  container-type: inline-size;
  container-name: cs-content;
}
.cs-container--prose {
  max-width: none;
}
.cs-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  border-radius: var(--radius-lg);
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.cs-theme-toggle:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-accent);
}
.cs-theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.cs-theme-toggle__icon--moon {
  display: none;
}
.cs-theme-toggle__icon--sun {
  display: block;
}
[data-theme='dark'] .cs-theme-toggle__icon--moon {
  display: block;
}
[data-theme='dark'] .cs-theme-toggle__icon--sun {
  display: none;
}
.cs-hero {
  --cs-hero-overlay-left: var(--color-bg);
  @supports (color: color-mix(in lab, red, red)) {
    --cs-hero-overlay-left: color-mix(in srgb, var(--color-bg) 66%, transparent);
  }
  --cs-hero-overlay-left-stop: 46%;
  --cs-hero-overlay-bottom: var(--color-bg);
  @supports (color: color-mix(in lab, red, red)) {
    --cs-hero-overlay-bottom: color-mix(in srgb, var(--color-bg) 74%, transparent);
  }
  --cs-hero-overlay-bottom-start: 60%;
  --cs-hero-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  background-color: var(--color-bg);
  padding-block: var(--space-20) var(--space-16);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient( to right, var(--cs-hero-overlay-left) 0, transparent var(--cs-hero-overlay-left-stop) ), linear-gradient( to bottom, transparent var(--cs-hero-overlay-bottom-start), var(--cs-hero-overlay-bottom) 100% );
  pointer-events: none;
  z-index: 1;
}
.cs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--cs-cover, none);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.cs-hero > * {
  position: relative;
  z-index: 1;
}
.cs-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: block;
  text-shadow: var(--cs-hero-text-shadow);
}
.cs-hero__title {
  font-size: clamp( var(--text-3xl), 8cqi, var(--text-5xl) );
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  max-width: 22ch;
  text-shadow: var(--cs-hero-text-shadow);
}
.cs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  text-shadow: var(--cs-hero-text-shadow);
}
.cs-hero__cover {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow-xl);
}
.cs-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-10);
}
.cs-metric-tile {
  position: relative;
  padding: var(--space-5) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  container: metric-tile / inline-size;
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out);
}
.cs-metric-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cs-metric-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tile-accent, var(--color-accent));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.cs-metric-tile__value {
  font-size: clamp(var(--text-2xl), 10cqi, var(--text-4xl));
  font-weight: var(--font-extrabold);
  line-height: var(--leading-none);
  color: var(--tile-accent, var(--color-accent));
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-1_5);
}
.cs-metric-tile__label {
  font-size: var(--compact-body);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}
.cs-metric-tile__detail {
  font-size: var(--compact-label);
  color: var(--color-text-muted);
  line-height: var(--leading-compact);
}
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: var(--leading-none);
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
}
.cs-chip--accent {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}
.cs-chip--muted {
  background: var(--color-surface-subtle);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
.cs-section {
  padding-block: var(--space-16) var(--space-12);
  border-bottom: 1px solid var(--color-border);
}
.cs-section:last-child {
  border-bottom: none;
}
.cs-section__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.cs-section__heading {
  font-size: var(--comfort-h3);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}
.cs-section__heading--sm {
  font-size: var(--text-xl);
}
.cs-prose {
  font-size: var(--comfort-body);
  line-height: var(--leading-comfort);
  color: var(--color-text-secondary);
  max-width: 100%;
}
.cs-prose > * + * {
  margin-top: var(--space-5);
}
.cs-prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.cs-prose h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.cs-prose p {
  color: var(--color-text-secondary);
}
.cs-prose strong {
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}
.cs-prose a {
  color: var(--color-accent);
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}
.cs-prose a:hover {
  color: var(--color-accent-hover);
}
.cs-prose ul, .cs-prose ol {
  padding-left: var(--space-6);
}
.cs-prose li {
  margin-block: var(--space-1_5);
}
.cs-prose ul li::marker {
  color: var(--color-accent);
}
.cs-detail-media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4);
}
.cs-detail-media {
  grid-column: span 6;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.cs-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 42rem;
}
.cs-detail-media--standard {
  aspect-ratio: 16 / 10;
}
.cs-detail-media--wide {
  grid-column: span 12;
  aspect-ratio: 21 / 9;
}
.cs-detail-media--portrait {
  aspect-ratio: 3 / 4;
}
.cs-detail-media--square {
  aspect-ratio: 1 / 1;
}
.cs-detail-media--tall {
  grid-column: span 4;
  aspect-ratio: 4 / 5;
}
.cs-detail-media--hero {
  grid-column: span 12;
  aspect-ratio: 16 / 7;
}
.cs-detail-media__caption {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}
.cs-callout {
  position: relative;
  padding: var(--space-5) var(--space-6);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}
.cs-callout--neutral {
  background: var(--color-surface-subtle);
  border-color: var(--color-border);
  border-left-color: var(--color-text-muted);
}
.cs-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: var(--space-8);
}
.cs-timeline::before {
  content: '';
  position: absolute;
  top: var(--space-3);
  left: calc(var(--space-3) - 1px);
  bottom: var(--space-3);
  width: 2px;
  background: var(--color-border);
}
.cs-timeline__step {
  position: relative;
  padding-bottom: var(--space-8);
}
.cs-timeline__step:last-child {
  padding-bottom: 0;
}
.cs-timeline__step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + var(--space-3) - 6px);
  top: calc(var(--space-3) - 6px);
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
}
.cs-timeline__phase {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.cs-timeline__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}
.cs-lessons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cs-lesson-card {
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast) var(--ease-out);
}
.cs-lesson-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cs-lesson-card__insight {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1_5);
}
.cs-lesson-card__detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}
.cs-related {
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-border);
}
.cs-related__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}
.cs-related__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-accent);
  margin-bottom: var(--space-1_5);
}
.cs-related__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}
.cs-related__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast);
}
.cs-related__link:hover {
  color: var(--color-accent-hover);
}
.cs-related__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1_5) 0;
  margin-bottom: var(--space-8);
  transition: color var(--duration-fast);
}
.cs-back:hover {
  color: var(--color-accent);
}
.cs-back:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.cs-figma__details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-out);
}
.cs-figma__details[open] {
  border-color: var(--color-accent-border);
}
.cs-figma__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  background: var(--color-surface);
  user-select: none;
  transition: background var(--duration-fast) var(--ease-out);
  gap: var(--space-4);
}
.cs-figma__summary::-webkit-details-marker {
  display: none;
}
.cs-figma__summary:hover {
  background: var(--color-surface-subtle);
}
.cs-figma__details[open] .cs-figma__summary {
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.cs-figma__summary-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.cs-figma__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cs-figma__label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}
.cs-figma__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-full);
  line-height: 1;
  white-space: nowrap;
}
.cs-figma__summary-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.cs-figma__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
}
.cs-figma__chevron {
  color: var(--color-text-muted);
  transition: transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}
.cs-figma__details[open] .cs-figma__chevron {
  transform: rotate(180deg);
}
.cs-figma__frame-wrap {
  position: relative;
  background: var(--color-surface-subtle);
  min-height: var(--figma-height, 640px);
}
.cs-figma__frame {
  display: block;
  width: 100%;
  height: var(--figma-height, 640px);
  border: none;
  background: var(--color-surface-subtle);
}
.cs-figma__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--color-surface-subtle);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  pointer-events: none;
  overflow: hidden;
}
.cs-figma__loading-icon {
  animation: figma-float 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes figma-float {
  0%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(77, 141, 255, 0));
  }
  50% {
    opacity: 0.55;
    transform: translateY(-5px) scale(0.93);
    filter: drop-shadow(0 6px 14px rgba(77, 141, 255, 0.35));
  }
}
.cs-figma__loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, transparent 0%, rgba(77, 141, 255, 0.04) 50%, transparent 100% );
  background-size: 200% 100%;
  animation: figma-shimmer 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes figma-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.cs-figma__noscript {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
}
.cs-figma__noscript a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-theme='dark'] .cs-figma__summary {
  background: var(--color-surface);
}
[data-theme='dark'] .cs-figma__summary:hover {
  background: var(--color-surface-raised);
}
[data-theme='dark'] .cs-figma__frame-wrap, [data-theme='dark'] .cs-figma__loading, [data-theme='dark'] .cs-figma__noscript {
  background: var(--color-surface-subtle);
}
@media (max-width: 900px) {
  .cs-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-detail-media, .cs-detail-media--tall {
    grid-column: span 6;
  }
  .cs-hero {
    padding-block: var(--space-16) var(--space-12);
  }
}
@media (max-width: 560px) {
  .cs-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .cs-detail-media, .cs-detail-media--wide, .cs-detail-media--portrait, .cs-detail-media--square, .cs-detail-media--tall, .cs-detail-media--hero {
    grid-column: span 12;
  }
  .cs-detail-media--wide, .cs-detail-media--hero {
    aspect-ratio: 16 / 10;
  }
  .cs-metric-tile__value {
    font-size: var(--text-3xl);
  }
  .cs-hero {
    padding-block: var(--space-12) var(--space-8);
  }
  .cs-related__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cs-figma__frame, .cs-figma__frame-wrap {
    min-height: 480px;
    height: 480px;
  }
  .cs-figma__hint {
    display: none;
  }
}
@media print {
  .cs-theme-toggle {
    display: none !important;
  }
  .cs-hero__cover {
    box-shadow: none;
  }
  .cs-metric-tile {
    box-shadow: none;
    border: 1pt solid #ccc;
  }
}
@layer components {
  .breadcrumb {
    padding-block: 0.5rem;
  }
  .breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.125rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  .breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    color: var(--color-text-muted, #94a3b8);
  }
  .breadcrumb__link {
    color: var(--color-text-secondary, #475569);
    text-decoration: none;
    transition: color 0.15s ease;
    &:hover, &:focus-visible {
      color: var(--color-accent, #2563eb);
    }
    &:focus-visible {
      outline: 2px solid var(--color-accent, #2563eb);
      outline-offset: 2px;
      border-radius: 2px;
    }
  }
  .breadcrumb__sep {
    display: flex;
    align-items: center;
    color: var(--color-border-strong, #cbd5e1);
    margin-left: 0.125rem;
  }
  .breadcrumb__current {
    color: var(--color-text-primary, #0f172a);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 18ch;
    @media (min-width: 640px) {
      max-width: 36ch;
    }
  }
}
@layer components {
  .jumplinks {
    --jumplinks-h: 3rem;
    --jumplinks-edge-fade: 1rem;
    position: sticky;
    top: calc(var(--header-h, 3.5rem) + 2px);
    z-index: 40;
    border-top: 0;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.88);
    overflow: clip;
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    box-shadow: none;
    transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  .jumplinks::before, .jumplinks::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-bg) 88%, transparent);
    }
    color: var(--color-text-muted);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
    transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
    z-index: 2;
  }
  .jumplinks::before {
    content: '<';
    left: var(--space-2);
  }
  .jumplinks::after {
    content: '>';
    right: var(--space-2);
  }
  [data-theme='dark'] .jumplinks {
    background-color: rgba(15, 23, 42, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  [data-theme='dark'] .jumplinks::before, [data-theme='dark'] .jumplinks::after {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(9, 14, 26, 0.82);
    color: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.28);
  }
  body.has-jumplinks .jumplinks {
    margin-top: 0;
    border-top: 2px solid var(--color-border);
  }
  [data-theme='dark'] body.has-jumplinks .jumplinks {
    border-top-color: rgba(255, 255, 255, 0.16);
  }
  body.has-jumplinks.header-is-scrolled .jumplinks {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--color-border-strong);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }
  [data-theme='dark'] body.has-jumplinks.header-is-scrolled .jumplinks {
    background-color: rgba(9, 14, 26, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.42);
  }
  .jumplinks__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    min-height: var(--jumplinks-h);
    padding-block: var(--space-2);
    min-width: 0;
  }
  .jumplinks__label {
    margin: 0;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
  }
  .jumplinks__divider {
    width: 1px;
    height: 1.25rem;
    flex: 0 0 1px;
    background: var(--color-border-strong);
  }
  [data-theme='dark'] .jumplinks__divider {
    background: rgba(255, 255, 255, 0.12);
  }
  .jumplinks__list {
    list-style: none;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--space-1);
    scroll-snap-type: inline proximity;
  }
  .jumplinks__item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .jumplinks__link {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem var(--space-3);
    border: none;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    touch-action: manipulation;
    transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
  }
  .jumplinks__link:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  .jumplinks__link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .jumplinks__link.is-active, .jumplinks__link[aria-current='location'] {
    color: var(--color-accent);
    background-color: var(--color-accent-soft);
    font-weight: var(--font-semibold);
    box-shadow: none;
  }
  [data-theme='dark'] .jumplinks__link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
  }
  [data-theme='dark'] .jumplinks__link.is-active, [data-theme='dark'] .jumplinks__link[aria-current='location'] {
    background: rgba(0, 81, 224, 0.18);
    color: var(--color-accent);
    box-shadow: none;
  }
  body:has(.jumplinks) :target {
    scroll-margin-top: calc(var(--header-h, 3.5rem) + var(--jumplinks-h, 3.5rem) + var(--space-4, 1rem));
  }
  @media (max-width: 900px) {
    .jumplinks.is-overflowing-start::before, .jumplinks.is-overflowing-end::after {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
    .jumplinks__inner {
      gap: var(--space-2);
    }
    .jumplinks__label {
      letter-spacing: var(--tracking-wide, 0.08em);
    }
    .jumplinks__link {
      padding-inline: var(--space-2-5, 0.625rem);
    }
  }
  @media (max-width: 820px) {
    .jumplinks::before, .jumplinks::after {
      width: 1.625rem;
      height: 1.625rem;
      font-size: 0.7rem;
    }
    .jumplinks__label {
      display: none;
    }
    .jumplinks__divider {
      display: none;
    }
    .jumplinks__inner {
      padding-inline: var(--space-3);
    }
  }
  @media (max-width: 640px) {
    .jumplinks {
      --jumplinks-h: 3.25rem;
      --jumplinks-edge-fade: 1.25rem;
    }
    .jumplinks::before {
      left: max(env(safe-area-inset-left), var(--space-2));
    }
    .jumplinks::after {
      right: max(env(safe-area-inset-right), var(--space-2));
    }
    .jumplinks__label {
      display: none;
    }
    .jumplinks__divider {
      display: none;
    }
    .jumplinks__inner {
      gap: var(--space-2);
      padding-inline: max(env(safe-area-inset-left), var(--space-3)) max(env(safe-area-inset-right), var(--space-3));
    }
    .jumplinks__list {
      gap: var(--space-1-5, 0.375rem);
      padding-inline: var(--space-1);
      -webkit-mask-image: linear-gradient( to right, transparent 0, black var(--jumplinks-edge-fade), black calc(100% - var(--jumplinks-edge-fade)), transparent 100% );
      mask-image: linear-gradient( to right, transparent 0, black var(--jumplinks-edge-fade), black calc(100% - var(--jumplinks-edge-fade)), transparent 100% );
    }
    .jumplinks__list::-webkit-scrollbar {
      display: none;
    }
    .jumplinks__link {
      padding-inline: var(--space-3);
    }
  }
}
@layer components {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    padding-block: var(--space-2);
    background-color: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
  [data-theme='dark'] .site-header {
    background-color: rgba(15, 23, 42, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  body.has-jumplinks .site-header {
    border-bottom-color: transparent;
    box-shadow: none;
  }
  .site-header--scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--color-border);
  }
  [data-theme='dark'] .site-header--scrolled {
    background-color: rgba(9, 14, 26, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  body.has-jumplinks .site-header--scrolled {
    border-bottom-color: transparent;
    box-shadow: none;
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    grid-column: 2 / -2;
  }
  .site-header__left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
    min-width: 0;
  }
  .site-header__identity {
    line-height: var(--leading-tight, 1.25);
    min-width: 0;
  }
  .site-header__social {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
  }
  .site-header__social-link {
    display: flex;
    align-items: center;
    padding: 0.375rem;
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  }
  .site-header__social-link:hover {
    transform: translateY(-1px);
  }
  .site-header__social-link:active {
    transform: translateY(0);
  }
  .site-header__social-link:focus-visible {
    outline: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .site-header__social-link--linkedin:hover {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
  }
  .site-header__social-link--github:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  .site-header__social-link--contact:hover {
    background-color: var(--color-success-soft);
    color: var(--color-success);
  }
  [data-theme='dark'] .site-header__social-link--linkedin:hover {
    background-color: rgba(0, 81, 224, 0.18);
    color: #4d8dff;
  }
  [data-theme='dark'] .site-header__social-link--github:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-invert);
  }
  [data-theme='dark'] .site-header__social-link--contact:hover {
    background-color: rgba(5, 150, 105, 0.18);
    color: #34d399;
  }
  .site-header__social-link-label {
    display: none;
  }
  .site-header__icon {
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;
  }
  .site-header__icon--linkedin {
    width: 22px;
    height: 22px;
    -webkit-mask: url('/vendors/fontawesome/linkedin-brands-solid.svg') center / contain no-repeat;
    mask: url('/vendors/fontawesome/linkedin-brands-solid.svg') center / contain no-repeat;
  }
  .site-header__icon--github {
    width: 22px;
    height: 22px;
    -webkit-mask: url('/vendors/fontawesome/github-brands.svg') center / contain no-repeat;
    mask: url('/vendors/fontawesome/github-brands.svg') center / contain no-repeat;
  }
  .site-header__icon--contact {
    width: 20px;
    height: 20px;
    -webkit-mask: url('/vendors/fontawesome/paper-plane-solid.svg') center / contain no-repeat;
    mask: url('/vendors/fontawesome/paper-plane-solid.svg') center / contain no-repeat;
  }
  .inline-menu {
    display: contents;
  }
  .inline-menu ul {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .inline-menu li {
    display: flex;
    align-items: center;
  }
  .inline-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  }
  .inline-menu a:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
    transform: translateY(-1px);
  }
  .inline-menu a:active {
    transform: translateY(0);
  }
  .inline-menu a:focus-visible, .inline-menu a:focus {
    outline: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .inline-menu a:focus:not(:focus-visible) {
    box-shadow: none;
  }
  .inline-menu a[aria-current='page'], .inline-menu a.active {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    font-weight: var(--font-semibold);
  }
  .inline-menu a.ancestor, .inline-menu a[aria-current='true'] {
    color: var(--color-accent);
    font-weight: var(--font-medium);
  }
  [data-theme='dark'] .inline-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
  }
  [data-theme='dark'] .inline-menu a:active {
    transform: translateY(0);
  }
  [data-theme='dark'] .inline-menu a[aria-current='page'], [data-theme='dark'] .inline-menu a.active {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
  }
  [data-theme='dark'] .inline-menu a.ancestor, [data-theme='dark'] .inline-menu a[aria-current='true'] {
    color: var(--color-accent);
  }
  .site-header__nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .site-header__nav-toggle:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  .site-header__nav-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
    border-radius: var(--radius-md);
  }
  .site-header__nav-toggle-icon--close {
    display: none;
  }
  .site-header__nav-toggle-icon--open {
    display: block;
  }
  .site-header__nav-toggle[aria-expanded='true'] .site-header__nav-toggle-icon--close {
    display: block;
  }
  .site-header__nav-toggle[aria-expanded='true'] .site-header__nav-toggle-icon--open {
    display: none;
  }
  [data-theme='dark'] .site-header__nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-text-invert);
  }
  .site-header__drawer {
    display: none;
  }
  .site-header__drawer-social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    padding: var(--space-4) var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-border);
    min-width: 0;
  }
  .site-header__drawer-social-link .site-header__icon--linkedin, .site-header__drawer-social-link .site-header__icon--github {
    width: 18px;
    height: 18px;
  }
  .site-header__drawer-social-link .site-header__icon--contact {
    width: 16px;
    height: 16px;
  }
  .site-header__drawer-social-link {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    column-gap: var(--space-2);
    align-items: center;
    padding: var(--space-2_5) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    min-width: 0;
    overflow-wrap: break-word;
  }
  .site-header__drawer-social-link:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  .site-header__drawer-social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
    border-radius: var(--radius-lg);
  }
  [data-theme='dark'] .site-header__drawer-social-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-text-invert);
  }
  @media (max-width: 767px) {
    .site-header__left .inline-menu {
      display: none;
    }
    .site-header__social {
      display: none;
    }
    .site-header__nav-toggle {
      display: flex;
    }
    .site-header__drawer {
      display: grid;
      grid-column: 1 / -1;
      max-height: 0;
      overflow: hidden;
      background-color: rgba(255, 255, 255, 0.96);
      -webkit-backdrop-filter: blur(14px) saturate(160%);
      backdrop-filter: blur(14px) saturate(160%);
      border-top: 0 solid var(--color-border);
      transition: max-height 0.28s ease, border-top-width 0s ease 0.28s;
    }
    [data-theme='dark'] .site-header__drawer {
      background-color: rgba(15, 23, 42, 0.96);
    }
    .site-header.nav-open .site-header__drawer {
      max-height: 100svh;
      border-top-width: 1px;
      transition: max-height 0.28s ease, border-top-width 0s ease 0s;
    }
    .site-header__drawer-inner {
      padding: var(--space-3) 0 0;
      min-width: 0;
    }
    .site-header__drawer .inline-menu {
      display: block;
    }
    .site-header__drawer .inline-menu ul {
      display: grid;
      grid-template-columns: 1fr;
      grid-auto-rows: minmax(var(--row-baseline), auto);
      gap: var(--space-1);
      padding: 0 var(--space-4);
      list-style: none;
      margin: 0;
      min-width: 0;
    }
    .site-header__drawer .inline-menu li {
      display: grid;
      min-width: 0;
    }
    .site-header__drawer .inline-menu a {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      align-items: center;
      padding: var(--space-3) var(--space-3);
      border-radius: var(--radius-lg);
      font-size: var(--text-base);
      font-weight: var(--font-medium);
      color: var(--color-text-secondary);
      text-decoration: none;
      min-width: 0;
      overflow-wrap: break-word;
      white-space: normal;
      transition: background-color 0.15s ease, color 0.15s ease;
    }
    .site-header__drawer .inline-menu a:hover {
      background-color: var(--color-surface-subtle);
      color: var(--color-text-primary);
      transform: none;
    }
    .site-header__drawer .inline-menu a[aria-current='page'], .site-header__drawer .inline-menu a.active {
      background-color: var(--color-accent-soft);
      color: var(--color-accent);
      font-weight: var(--font-semibold);
    }
    [data-theme='dark'] .site-header__drawer .inline-menu a:hover {
      background-color: rgba(255, 255, 255, 0.08);
      color: var(--color-text-invert);
    }
    [data-theme='dark'] .site-header__drawer .inline-menu a[aria-current='page'], [data-theme='dark'] .site-header__drawer .inline-menu a.active {
      background-color: rgba(0, 81, 224, 0.2);
      color: #4d8dff;
    }
    .site-header__drawer-social {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
  }
  .header-search__field {
    display: flex;
    align-items: center;
    position: absolute;
    right: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 0;
    overflow: hidden;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header-search:focus-within .header-search__field {
    width: min(300px, 40vw);
  }
  .header-search__input {
    width: 100%;
    min-width: 0;
    padding: var(--space-2) var(--space-8) var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    background: var(--color-surface-subtle);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    outline: none;
    opacity: 0;
    pointer-events: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, opacity 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
  }
  .header-search__input::-webkit-search-cancel-button {
    display: none;
  }
  .header-search__input::placeholder {
    color: var(--color-text-muted);
  }
  .header-search:focus-within .header-search__input {
    opacity: 1;
    pointer-events: auto;
  }
  .header-search__input:focus {
    border-color: var(--color-accent);
    background-color: var(--color-surface);
  }
  [data-theme='dark'] .header-search__input {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border-strong);
  }
  [data-theme='dark'] .header-search__input:focus {
    background: rgba(255, 255, 255, 0.08);
  }
  .header-search__clear {
    position: absolute;
    right: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.12s ease, color 0.12s ease;
  }
  .header-search__clear:hover {
    background: var(--color-border-strong);
    color: var(--color-text-primary);
  }
  .header-search__clear:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .header-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    flex-shrink: 0;
    background: none;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .header-search__btn:hover {
    background-color: var(--color-surface-subtle);
    color: var(--color-text-primary);
  }
  .header-search__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
    border-radius: var(--radius-lg);
  }
  .header-search:focus-within .header-search__btn, .header-search__btn[aria-expanded='true'] {
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
  }
  [data-theme='dark'] .header-search__btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
  }
  .header-search__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    grid-column: 1 / -1;
    z-index: 10;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  }
  .site-header:has(.header-search:focus-within) .header-search__panel, .site-header:has(.header-search__btn[aria-expanded='true']) .header-search__panel {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
  [data-theme='dark'] .header-search__panel {
    background-color: var(--color-surface-raised);
    border-color: var(--color-border-strong);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .header-search__mega {
    display: grid;
    grid-template-columns: var(--grid-template);
    padding-block: var(--space-5);
  }
  .header-search__mega-body {
    grid-column: 2 / -2;
  }
  .header-search__mega-cols {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
  }
  .header-search__col {
    flex: 1;
    min-width: min(180px, 100%);
  }
  .header-search__col-heading {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0 var(--space-2) var(--space-2);
    margin: 0;
  }
  .header-search__col-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .header-search__result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1em;
    padding: var(--space-2) var(--space-2);
    padding-right: var(--space-8);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    outline: none;
    position: relative;
    transition: background-color 0.12s ease;
  }
  .header-search__result:hover, .header-search__result:focus {
    background-color: var(--color-surface-subtle);
  }
  .header-search__result[aria-selected='true'] {
    background-color: var(--color-accent-soft);
  }
  [data-theme='dark'] .header-search__result:hover, [data-theme='dark'] .header-search__result:focus {
    background-color: rgba(255, 255, 255, 0.07);
  }
  [data-theme='dark'] .header-search__result[aria-selected='true'] {
    background-color: var(--color-accent-soft);
  }
  .header-search__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-search__breadcrumb-sep {
    font-size: 0.85em;
    color: var(--color-border-strong);
    flex-shrink: 0;
  }
  .header-search__result-title {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  .header-search__result-arrow {
    position: absolute;
    right: var(--space-2);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    opacity: 0;
    transition: opacity 0.12s ease, transform 0.12s ease;
  }
  .header-search__result:hover .header-search__result-arrow, .header-search__result:focus .header-search__result-arrow, .header-search__result[aria-selected='true'] .header-search__result-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
  }
  .header-search__hint {
    padding: var(--space-3) var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
  .header-search__hint kbd {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.5em;
    font-size: var(--text-xs);
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    color: var(--color-text-secondary);
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
  }
  .header-search__no-results {
    padding: var(--space-4) var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
}
@media print {
  .site-header {
    position: static;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--color-border);
    box-shadow: none;
    padding-block: var(--space-2);
  }
  .site-header__social-link-label {
    display: inline;
    margin-left: var(--space-2);
    font-size: var(--text-xs);
    font-style: italic;
    color: var(--color-text-muted);
  }
}
@layer utilities {
  .layout-section {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
  }
  .layout-subgrid {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
  }
  .gc-full {
    grid-column: 2 / -2;
  }
  .gc-bleed {
    grid-column: 1 / -1;
  }
  .gc-left-half {
    grid-column: 2 / span 12;
  }
  .gc-right-half {
    grid-column: 14 / -2;
  }
  .gc-left-third {
    grid-column: 2 / span 8;
  }
  .gc-center-third {
    grid-column: 10 / span 8;
  }
  .gc-right-third {
    grid-column: 18 / -2;
  }
  .gc-q1 {
    grid-column: 2 / span 6;
  }
  .gc-q2 {
    grid-column: 8 / span 6;
  }
  .gc-q3 {
    grid-column: 14 / span 6;
  }
  .gc-q4 {
    grid-column: 20 / -2;
  }
  .gc-left-16 {
    grid-column: 2 / span 16;
  }
  .gc-right-16 {
    grid-column: 10 / -2;
  }
  .gc-left-18 {
    grid-column: 2 / span 18;
  }
  .gc-right-18 {
    grid-column: 8 / -2;
  }
  .gc-left-9 {
    grid-column: 2 / span 9;
  }
  .gc-right-15 {
    grid-column: 11 / -2;
  }
  .gc-left-15 {
    grid-column: 2 / span 15;
  }
  .gc-right-9 {
    grid-column: 17 / -2;
  }
  .gc-20 {
    grid-column: 4 / -4;
  }
  .gc-18 {
    grid-column: 5 / -5;
  }
  .gc-16 {
    grid-column: 6 / -6;
  }
  .gc-12 {
    grid-column: 8 / -8;
  }
  .gc-8 {
    grid-column: 10 / -10;
  }
  .col-full {
    grid-column: 1 / -1;
  }
  .col-left-half {
    grid-column: 1 / span 12;
  }
  .col-right-half {
    grid-column: 13 / -1;
  }
  .col-left-third {
    grid-column: 1 / span 8;
  }
  .col-center-third {
    grid-column: 9 / span 8;
  }
  .col-right-third {
    grid-column: 17 / -1;
  }
  .col-q1 {
    grid-column: 1 / span 6;
  }
  .col-q2 {
    grid-column: 7 / span 6;
  }
  .col-q3 {
    grid-column: 13 / span 6;
  }
  .col-q4 {
    grid-column: 19 / -1;
  }
  .col-left-16 {
    grid-column: 1 / span 16;
  }
  .col-right-16 {
    grid-column: 9 / -1;
  }
  .col-left-18 {
    grid-column: 1 / span 18;
  }
  .col-right-18 {
    grid-column: 7 / -1;
  }
  .col-left-9 {
    grid-column: 1 / span 9;
  }
  .col-right-15 {
    grid-column: 10 / -1;
  }
  .col-left-15 {
    grid-column: 1 / span 15;
  }
  .col-right-9 {
    grid-column: 16 / -1;
  }
  .col-20 {
    grid-column: 3 / -3;
  }
  .col-18 {
    grid-column: 4 / -4;
  }
  .col-16 {
    grid-column: 5 / -5;
  }
  .col-12 {
    grid-column: 7 / -7;
  }
  .col-8 {
    grid-column: 9 / -9;
  }
  .layout-halves {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    row-gap: max(1rem, calc(var(--grid-col-unit) * 0.75));
    align-items: start;
  }
  .layout-halves > :nth-child(odd) {
    grid-column: 1 / span 12;
  }
  .layout-halves > :nth-child(even) {
    grid-column: 13 / -1;
  }
  .layout-thirds {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    row-gap: max(1rem, calc(var(--grid-col-unit) * 0.75));
    align-items: start;
  }
  .layout-thirds > :nth-child(3n+1) {
    grid-column: 1 / span 8;
  }
  .layout-thirds > :nth-child(3n+2) {
    grid-column: 9 / span 8;
  }
  .layout-thirds > :nth-child(3n) {
    grid-column: 17 / -1;
  }
  .layout-quarters {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    row-gap: max(1rem, calc(var(--grid-col-unit) * 0.75));
    align-items: start;
  }
  .layout-quarters > :nth-child(4n+1) {
    grid-column: 1 / span 6;
  }
  .layout-quarters > :nth-child(4n+2) {
    grid-column: 7 / span 6;
  }
  .layout-quarters > :nth-child(4n+3) {
    grid-column: 13 / span 6;
  }
  .layout-quarters > :nth-child(4n) {
    grid-column: 19 / -1;
  }
  .layout-sidebar-left {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    align-items: start;
    row-gap: max(1.5rem, var(--grid-col-unit));
  }
  .layout-sidebar-left > :first-child {
    grid-column: 1 / span 9;
  }
  .layout-sidebar-left > :last-child {
    grid-column: 10 / -1;
  }
  .layout-sidebar-right {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    align-items: start;
    row-gap: max(1.5rem, var(--grid-col-unit));
  }
  .layout-sidebar-right > :first-child {
    grid-column: 1 / span 15;
  }
  .layout-sidebar-right > :last-child {
    grid-column: 16 / -1;
  }
  .layout-feature {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
  }
  .layout-feature > :first-child {
    grid-column: 1 / span 14;
  }
  .layout-feature > :last-child {
    grid-column: 15 / -1;
  }
  .gr-1 {
    grid-row: span 1;
  }
  .gr-2 {
    grid-row: span 2;
  }
  .gr-3 {
    grid-row: span 3;
  }
  .gr-4 {
    grid-row: span 4;
  }
  .gr-6 {
    grid-row: span 6;
  }
  .gr-8 {
    grid-row: span 8;
  }
  .gr-10 {
    grid-row: span 10;
  }
  .gr-12 {
    grid-row: span 12;
  }
  col-* placements stack to full-width on mobile. Override individual classes at larger breakpoints as needed. ════════════════════════════════════════════════════════════════════════ */ @media (max-width: 639px) {
    .gc-left-half, .gc-right-half, .gc-left-third, .gc-center-third, .gc-right-third, .gc-q1, .gc-q2, .gc-q3, .gc-q4, .gc-left-16, .gc-right-16, .gc-left-18, .gc-right-18, .gc-left-9, .gc-right-15, .gc-left-15, .gc-right-9 {
      grid-column: 2 / -2;
    }
    .col-left-half, .col-right-half, .col-left-third, .col-center-third, .col-right-third, .col-q1, .col-q2, .col-q3, .col-q4, .col-left-16, .col-right-16, .col-left-18, .col-right-18, .col-left-9, .col-right-15, .col-left-15, .col-right-9 {
      grid-column: 1 / -1;
    }
    .layout-halves > *, .layout-thirds > *, .layout-quarters > *, .layout-sidebar-left > *, .layout-sidebar-right > *, .layout-feature > * {
      grid-column: 1 / -1;
    }
  }
  @media (min-width: 640px) and (max-width: 1023px) {
    .gc-left-third {
      grid-column: 2 / span 12;
    }
    .gc-center-third {
      grid-column: 14 / -2;
    }
    .gc-right-third {
      grid-column: 2 / -2;
      margin-top: var(--space-8);
    }
    .col-left-third {
      grid-column: 1 / span 12;
    }
    .col-center-third {
      grid-column: 13 / -1;
    }
    .col-right-third {
      grid-column: 1 / -1;
      margin-top: var(--space-8);
    }
    .layout-sidebar-left > *, .layout-sidebar-right > * {
      grid-column: 1 / -1;
    }
  }
}
@layer components {
  .site-footer {
    background: #0c1525;
    color: #8da4be;
    text-align: start;
    border-top: 1px solid rgba(77, 141, 255, 0.18);
  }
  .site-footer__cta {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: linear-gradient(135deg, #0f1f3d 0%, #0c1a32 100%);
    border-bottom: 1px solid rgba(77, 141, 255, 0.1);
    padding-block: 2.75rem;
    position: relative;
    overflow: hidden;
  }
  .site-footer__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient( ellipse 60% 120% at 10% 50%, rgba(77, 141, 255, 0.07) 0%, transparent 70% );
    pointer-events: none;
  }
  .site-footer__cta-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4d8dff;
    margin-bottom: 0.5rem;
  }
  .site-footer__cta-heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: #e8f0fb;
    line-height: 1.3;
    margin: 0;
  }
  @media (min-width: 640px) {
    .site-footer__cta-heading {
      font-size: 1.625rem;
    }
  }
  .site-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.625rem;
    background: #4d8dff;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(77, 141, 255, 0.4);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  }
  .site-footer__cta-btn:hover {
    background: #3a7aee;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 141, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .site-footer__cta-btn:active {
    transform: translateY(0);
  }
  .site-footer__cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #0c1525, 0 0 0 5px #4d8dff;
  }
  .site-footer__cta-btn svg {
    transition: transform 0.18s ease;
  }
  .site-footer__cta-btn:hover svg {
    transform: translateX(3px);
  }
  .site-footer__body {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: linear-gradient(to bottom, #0c1525 0%, #091120 100%);
  }
  .site-footer__brand-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #e8f0fb;
    text-decoration: none;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
  }
  .site-footer__brand-name:hover {
    color: #4d8dff;
  }
  .site-footer__brand-tagline {
    font-size: 0.8125rem;
    color: #5a7a9a;
    line-height: 1.7;
    margin: 0;
  }
  .site-footer__availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #7da4c0;
    background: rgba(52, 211, 153, 0.07);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    width: fit-content;
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .site-footer__availability:hover {
    background: rgba(52, 211, 153, 0.11);
    border-color: rgba(52, 211, 153, 0.32);
  }
  .site-footer__availability-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #34d399;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
    animation: ft-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
  @keyframes ft-pulse {
    0%, 100% {
      opacity: 1;
      box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
    }
    50% {
      opacity: 0.5;
      box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.08);
    }
  }
  .site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #5a7a9a;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }
  .site-footer__social-link:hover {
    color: #4d8dff;
    background: rgba(77, 141, 255, 0.12);
    border-color: rgba(77, 141, 255, 0.3);
    transform: translateY(-2px);
  }
  .site-footer__social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0c1525, 0 0 0 4px #4d8dff;
  }
  .site-footer__col-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d5a7a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .site-footer__tech-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
    opacity: 0.85;
  }
  .site-footer__tech-desc {
    color: #3d5a7a;
    font-size: 0.75rem;
  }
  .site-footer__nav-link {
    display: inline-block;
    color: #8da4be;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease, transform 0.15s ease;
  }
  .site-footer__nav-link:hover, .site-footer__nav-link:focus-visible {
    color: #4d8dff;
    transform: translateX(3px);
  }
  .site-footer__tech-link {
    color: #8da4be;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease;
  }
  a.site-footer__tech-link:hover, a.site-footer__tech-link:focus-visible {
    color: #4d8dff;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: var(--grid-gap-xs);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.6875rem;
    color: #3d5a7a;
  }
  @media (min-width: 640px) {
    .site-footer__bottom {
      grid-template-columns: 1fr auto;
    }
  }
  .site-footer__cta-inner {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-sm);
    position: relative;
  }
  @media (min-width: 640px) {
    .site-footer__cta-inner {
      grid-template-columns: 1fr auto;
      align-items: center;
    }
  }
  .site-footer__inner {
    grid-column: 2 / -2;
    padding-block: 3.5rem 2rem;
  }
  .site-footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-lg);
    margin-bottom: 3rem;
  }
  @media (min-width: 640px) {
    .site-footer__cols {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (min-width: 1024px) {
    .site-footer__cols {
      grid-template-columns: 12fr 5fr 5fr;
    }
  }
  .site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .site-footer__social-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .site-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
  .site-footer__tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
  .site-footer__tech-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
  }
  .site-footer__crafted {
    display: none;
  }
  @media (min-width: 640px) {
    .site-footer__crafted {
      display: block;
    }
  }
  .site-footer__back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    color: #5a7a9a;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }
  .site-footer__back-to-top:hover {
    color: #4d8dff;
    background: rgba(77, 141, 255, 0.1);
    border-color: rgba(77, 141, 255, 0.25);
    transform: translateY(-2px);
  }
  .site-footer__back-to-top:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #0c1525, 0 0 0 4px #4d8dff;
  }
  .site-footer__back-to-top svg {
    transition: transform 0.18s ease;
  }
  .site-footer__back-to-top:hover svg {
    transform: translateY(-2px);
  }
  .site-footer__tech-dot--hugo {
    background: #f97316;
  }
  .site-footer__tech-dot--tailwind {
    background: #06b6d4;
  }
  .site-footer__tech-dot--netlify {
    background: #14b8a6;
  }
  .site-footer__tech-dot--postcss {
    background: #e11d48;
  }
  .site-footer__tech-dot--ts {
    background: #4d8dff;
  }
  .site-footer__tech-dot--pwa {
    background: #a78bfa;
  }
  .site-footer__tech-label {
    cursor: default;
  }
}
@layer components {
  .skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: 200;
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: var(--color-accent);
    color: var(--color-text-invert);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: top 0.15s ease;
    white-space: nowrap;
  }
  .skip-to-content:focus, .skip-to-content:focus-visible {
    top: var(--space-4);
    outline: 2px solid var(--color-text-invert);
    outline-offset: 2px;
  }
  .page-hero {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: linear-gradient( 135deg, var(--color-accent-soft) 0%, var(--color-surface) 55%, var(--color-surface-subtle) 100% );
    padding-block: var(--space-12) var(--space-16);
  }
  @media (min-width: 768px) {
    .page-hero {
      padding-block: var(--space-16) var(--space-24);
    }
  }
  .page-h1 {
    font-size: var( --comfort-h1 );
    font-weight: var(--font-extrabold);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
  }
  .page-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
  }
  .page-section-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--color-accent);
    color: var(--color-text-invert);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    border: none;
    text-decoration: none;
    box-shadow: 0 1px 3px var(--color-accent), 0 1px 2px rgba(0, 0, 0, 0.06);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 3px color-mix(in srgb, var(--color-accent) 40%, transparent), 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    transition: background var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
  }
  .btn-primary svg {
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out);
  }
  .btn-primary:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 4px 12px var(--color-accent), 0 1px 4px rgba(0, 0, 0, 0.08);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 4px 12px color-mix(in srgb, var(--color-accent) 45%, transparent), 0 1px 4px rgba(0, 0, 0, 0.08);
    }
    transform: translateY(-1px);
  }
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px var(--color-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 3px color-mix(in srgb, var(--color-accent) 30%, transparent);
    }
  }
  .btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0.01em;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
  }
  .btn-secondary svg {
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out);
  }
  .btn-secondary:hover {
    background: var(--color-surface-subtle);
    border-color: var(--color-border-strong);
    color: var(--color-text-primary);
    transform: translateY(-1px);
  }
  .btn-secondary:active {
    transform: translateY(0);
  }
  .btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .content-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-8);
  }
  .page-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: var(--space-5);
    box-shadow: var(--shadow-xs);
    container: page-card / inline-size;
  }
  .page-card--accent {
    background: var(--color-accent-soft);
    border-color: var(--color-accent-border);
  }
  .availability-badge {
    background: var(--color-success-soft);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border: 1px solid var(--color-success);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
    }
    border-radius: var(--radius-xl);
    padding: var(--space-5);
  }
  .availability-badge__header {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    column-gap: var(--space-2);
    margin-bottom: var(--space-1_5);
    min-width: 0;
  }
  .availability-badge__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--color-success);
    display: inline-block;
    animation: availability-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
  }
  .availability-badge__label {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-success);
  }
  .availability-badge__body {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
  }
  @keyframes availability-pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
  .cta-strip {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-accent);
    padding-block: var(--space-16);
  }
  .cta-strip__inner {
    grid-column: 2 / -2;
    text-align: center;
  }
  .cta-strip__heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--color-text-invert);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-3);
  }
  @media (min-width: 768px) {
    .cta-strip__heading {
      font-size: var(--text-3xl);
    }
  }
  .cta-strip__body {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
  }
  .cta-strip__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    background: var(--color-surface);
    color: var(--color-accent);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: background var(--duration-base) var(--ease-out);
  }
  .cta-strip__btn:hover {
    background: var(--color-accent-soft);
  }
  .cta-strip__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
  }
  [data-theme='dark'] .cta-strip__btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  [data-theme='dark'] .cta-strip__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
  .icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    flex-shrink: 0;
  }
  .page-hero__description {
    color: var(--color-text-secondary);
  }
  .page-hero__count {
    color: var(--color-text-muted);
  }
  .gallery-section {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
  }
  .container {
    grid-column: 2 / -2;
    min-width: 0;
    padding-inline: 0;
    container-type: inline-size;
    container-name: content-col;
  }
}
@layer components {
  .pf-grid-section {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-bg);
    padding-block: var(--space-16);
  }
  .pf-hero-band {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-bottom: var(--space-2);
  }
  @media (min-width: 640px) {
    .pf-hero-band {
      flex-direction: row;
      align-items: flex-end;
      justify-content: space-between;
    }
  }
  .pf-hero-band__heading {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-3);
  }
  .pf-hero-band__sub {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 54ch;
    line-height: var(--leading-relaxed);
    margin: 0;
  }
  .pf-hero-band__count {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 0.2rem;
    margin: 0;
  }
  .pf-hero-band__count span {
    color: var(--color-accent);
    font-size: var(--text-sm);
  }
  .pf-split {
    display: grid;
    grid-template-columns: 1fr;
    text-decoration: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-12);
    container: pf-split / inline-size;
    transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }
  .pf-split:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
  }
  .pf-split:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 6px var(--color-accent);
  }
  @media (min-width: 1024px) {
    .pf-split {
      grid-template-columns: var(--grid-split);
    }
  }
  .pf-split__image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
  }
  @media (min-width: 640px) {
    .pf-split__image {
      min-height: 360px;
    }
  }
  @media (min-width: 1024px) {
    .pf-split__image {
      min-height: 520px;
    }
  }
  .pf-split__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms var(--ease-out);
  }
  .pf-split:hover .pf-split__img {
    transform: scale(1.03);
  }
  .pf-split__img-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1a38, #0c2660);
  }
  .pf-split__body {
    background: var(--color-surface);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    align-content: center;
    min-width: 0;
    padding: var(--space-10) var(--space-8);
  }
  .pf-split__body > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  @media (min-width: 640px) {
    .pf-split__body {
      padding: var(--space-12) var(--space-10);
    }
  }
  @media (min-width: 1024px) {
    .pf-split__body {
      padding: var(--space-16) var(--space-14);
    }
  }
  .pf-split__eyebrow {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 var(--space-3);
  }
  .pf-split__heading {
    font-size: var(--comfort-h2);
    font-weight: var(--font-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-5);
    max-width: 22ch;
  }
  .pf-split:hover .pf-split__heading {
    color: var(--color-accent);
    transition: color var(--duration-base) var(--ease-out);
  }
  .pf-split__desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    max-width: 44ch;
    margin: 0 0 var(--space-7);
  }
  .pf-split__skills {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-10);
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(var(--row-baseline), auto);
    border-top: 1px solid var(--color-border);
  }
  .pf-split__skills li {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-accent);
    padding: var(--space-2_5) 0;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.4;
  }
  .pf-split__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--color-surface-invert);
    color: var(--color-text-invert);
    font-size: 0.6875rem;
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    align-self: start;
    transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  }
  .pf-split:hover .pf-split__cta {
    background: var(--color-accent);
    transform: translateX(3px);
  }
  .pf-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--grid-gap-sm);
    row-gap: max(0.75rem, calc(var(--grid-col-unit) * 0.5));
  }
  @media (min-width: 640px) {
    .pf-card-grid {
      grid-template-columns: 12fr 12fr;
    }
  }
  @media (min-width: 1024px) {
    .pf-card-grid {
      grid-template-columns: 8fr 8fr 8fr;
    }
  }
  .pf-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-width: 0;
    box-shadow: var(--shadow-xs);
    container: pf-card / inline-size;
    transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }
  .pf-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
  }
  .pf-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 6px var(--color-accent);
  }
  .pf-card__title {
    font-size: var(--compact-title);
    font-weight: var(--font-bold);
    line-height: var(--leading-compact);
    margin: 0 0 var(--space-1);
    color: #fff;
    transition: color var(--duration-base) var(--ease-out);
  }
  .pf-card:hover .pf-card__title {
    color: #a5c0ff;
  }
  .pf-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
  }
  .pf-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(5, 10, 25, 0.94) 0%, rgba(5, 10, 25, 0.55) 45%, rgba(5, 10, 25, 0.08) 72%, transparent 100% );
    pointer-events: none;
    transition: background var(--duration-base) var(--ease-out);
    z-index: 1;
  }
  .pf-card:hover .pf-card__image::after {
    background: linear-gradient( to top, rgba(5, 10, 25, 0.97) 0%, rgba(5, 10, 25, 0.72) 52%, rgba(5, 10, 25, 0.18) 78%, transparent 100% );
  }
  .pf-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms var(--ease-out);
  }
  .pf-card:hover .pf-card__img {
    transform: scale(1.04);
  }
  .pf-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-surface-subtle));
  }
  .pf-card__fallback-letter {
    font-size: 3rem;
    font-weight: var(--font-extrabold);
    opacity: 0.2;
    color: var(--color-accent);
    line-height: 1;
  }
  .pf-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
  }
  .pf-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1_5);
    margin-bottom: var(--space-1);
  }
  .pf-card__dates {
    font-size: var(--compact-label);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
  }
  .pf-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-top: var(--space-1_5);
  }
  .pf-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.65em;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    white-space: nowrap;
    line-height: 1.4;
    backdrop-filter: blur(4px);
  }
  .pf-chip--accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    font-weight: var(--font-semibold);
    backdrop-filter: none;
  }
  .pf-chip--muted {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.65);
  }
  .pf-chip--accent-soft {
    background: var(--color-accent-soft);
    border-color: var(--color-accent-border);
    color: var(--color-accent);
    backdrop-filter: none;
  }
  .pf-chip--sm {
    font-size: 0.6875rem;
    padding: 0.15em 0.55em;
  }
  .pf-chip--xs {
    font-size: 0.625rem;
    padding: 0.1em 0.5em;
    color: var(--color-text-muted);
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    backdrop-filter: none;
  }
  .pf-card .pf-chip--xs {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
  }
}
@layer components {
  .contact-body {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-surface);
    padding-block: var(--space-14);
  }
  .contact-split {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    align-items: start;
    row-gap: var(--space-12);
    column-gap: var(--grid-gap-lg);
  }
  .contact-info, .contact-form-wrap {
    grid-column: 1 / -1;
  }
  @media (min-width: 1024px) {
    .contact-info {
      grid-column: 1 / span 9;
    }
    .contact-form-wrap {
      grid-column: 10 / -1;
    }
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
  }
  .contact-info__section-heading {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
  }
  .contact-info__text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
  }
  .contact-info__detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .contact-info__detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .contact-info__detail-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-0_5);
  }
  .contact-info__detail-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
  }
  .contact-info__detail-link {
    font-size: var(--text-sm);
    color: var(--color-accent);
    text-decoration: none;
    transition: text-decoration-color var(--duration-base);
  }
  .contact-info__detail-link:hover {
    text-decoration: underline;
  }
  .contact-info__detail-muted {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
  }
  .contact-form-wrap__heading {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
  }
  .contact-form-wrap {
    container-type: inline-size;
    container-name: content-col;
    min-width: 0;
  }
  .contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }
  .contact-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  @media (min-width: 768px) {
    .contact-form__row {
      grid-template-columns: 1fr 1fr;
      gap: var(--space-4);
    }
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  width: 100%;
}
.form-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
}
.form-input, .form-select, .form-textarea {
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-accent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
  }
}
.form-input--error, .form-select--error, .form-textarea--error {
  border-color: var(--color-error, #ef4444);
}
.form-input--error:focus, .form-select--error:focus, .form-textarea--error:focus {
  box-shadow: 0 0 0 3px var(--color-error, #ef4444);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error, #ef4444) 15%, transparent);
  }
}
.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 16px 16px;
  padding-right: var(--space-10);
  cursor: pointer;
}
.form-textarea {
  resize: vertical;
  min-height: 8rem;
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  opacity: 0.8;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--color-accent);
  color: var(--color-text-invert);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px var(--color-accent), 0 1px 2px rgba(0, 0, 0, 0.06);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 1px 3px color-mix(in srgb, var(--color-accent) 40%, transparent), 0 1px 2px rgba(0, 0, 0, 0.06);
  }
  transition: background var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  width: 100%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .form-submit {
    width: auto;
  }
}
.form-submit:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 12px var(--color-accent), 0 1px 4px rgba(0, 0, 0, 0.08);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-accent) 45%, transparent), 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  transform: translateY(-1px);
}
.form-submit:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px var(--color-accent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 1px 3px color-mix(in srgb, var(--color-accent) 30%, transparent);
  }
}
.form-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
}
.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-submit[data-state='loading'] {
  pointer-events: none;
}
.form-submit[data-state='loading'] .form-submit__icon {
  display: none;
}
.form-submit[data-state='loading']::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}
.form-submit[data-state='success'] {
  background: var(--color-success, #16a34a);
  pointer-events: none;
}
.form-submit[data-state='success']:hover {
  background: var(--color-success, #16a34a);
  transform: none;
}
.form-feedback {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.form-feedback--success {
  background: var(--color-success-soft);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border: 1px solid var(--color-success);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
  }
  color: var(--color-success);
}
.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  background: var(--color-error, #ef4444);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--color-error, #ef4444) 10%, transparent);
  }
  border: 1px solid rgba(239, 68, 68, 0.3);
  border: 1px solid var(--color-error, #ef4444);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--color-error, #ef4444) 30%, transparent);
  }
  color: var(--color-error, #ef4444);
}
[data-theme='dark'] .contact-body {
  background: var(--color-surface);
}
[data-theme='dark'] .form-input, [data-theme='dark'] .form-select, [data-theme='dark'] .form-textarea {
  background: var(--color-surface-subtle);
  border-color: var(--color-border);
  color: var(--color-text-primary);
}
[data-theme='dark'] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
[data-theme='dark'] .form-input:focus, [data-theme='dark'] .form-select:focus, [data-theme='dark'] .form-textarea:focus {
  background: var(--color-surface);
}
@layer components {
  .contact-success {
    display: grid;
    grid-template-columns: var(--grid-template);
    padding-block: var(--space-24);
  }
  .contact-success__card {
    grid-column: 2 / -2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-5);
    max-width: 36rem;
    margin-inline: auto;
    padding: var(--space-12) var(--space-8);
    background: var(--color-surface-raised, var(--color-surface));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg, 0.75rem);
  }
  .contact-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--color-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--color-accent) 12%, transparent);
    }
    color: var(--color-accent);
    flex-shrink: 0;
  }
  .contact-success__heading {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: var(--font-bold, 700);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin: 0;
  }
  .contact-success__body {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 28rem;
  }
  .contact-success__back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.15s ease, gap 0.15s ease;
  }
  .contact-success__back:hover {
    color: var(--color-accent-hover, var(--color-accent));
    gap: calc(var(--space-2) - 2px);
  }
  [data-theme='dark'] .contact-success__card {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
  }
}
.about-page {
  --cat-frontend-fg: var(--color-accent);
  --cat-frontend-dot: var(--color-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --cat-frontend-dot: color-mix(in srgb, var(--color-accent) 65%, white);
  }
  --cat-tooling-fg: #c2410c;
  --cat-tooling-dot: #fb923c;
  --cat-design-fg: #6d28d9;
  --cat-design-dot: #a78bfa;
  --cat-backend-fg: #15803d;
  --cat-backend-dot: #4ade80;
}
@layer components {
  .about-avatar {
    position: relative;
    flex-shrink: 0;
  }
  .about-avatar__frame {
    width: 7rem;
    height: 7rem;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    outline: 4px solid var(--color-surface);
    box-shadow: var(--shadow-xl);
  }
  @media (min-width: 768px) {
    .about-avatar__frame {
      width: 9rem;
      height: 9rem;
    }
  }
  .about-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .about-avatar__ring {
    position: absolute;
    inset: -10px;
    border-radius: var(--radius-2xl);
    border: 2px solid var(--color-accent);
    opacity: 0.35;
    animation: avatar-ring-pulse 3.2s ease-in-out infinite;
    pointer-events: none;
  }
  @media (min-width: 768px) {
    .about-avatar__ring {
      inset: -12px;
    }
  }
  @keyframes avatar-ring-pulse {
    0%, 100% {
      opacity: 0.35;
      transform: scale(1);
    }
    50% {
      opacity: 0.12;
      transform: scale(1.05);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .about-avatar__ring {
      animation: none;
      opacity: 0.3;
    }
  }
  .about-hero {
    position: relative;
    overflow: hidden;
  }
  .about-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 52%;
    height: 170%;
    background: radial-gradient( ellipse at center, var(--color-accent-soft) 0%, transparent 68% );
    pointer-events: none;
    z-index: 0;
  }
  .about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/profile-branded.png');
    background-size: auto 145%;
    background-position: right -1rem center;
    background-repeat: no-repeat;
    opacity: 0.11;
    filter: grayscale(0.5);
    -webkit-mask-image: radial-gradient( ellipse 52% 92% at 82% 50%, black 10%, transparent 72% );
    mask-image: radial-gradient( ellipse 52% 92% at 82% 50%, black 10%, transparent 72% );
    pointer-events: none;
    z-index: 0;
    display: none;
  }
  @media (min-width: 768px) {
    .about-hero::after {
      display: block;
    }
  }
  [data-theme='dark'] .about-hero::after {
    opacity: 0.18;
  }
  .about-hero .container {
    position: relative;
    z-index: 1;
  }
  .about-hero__status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1_5);
    margin-bottom: var(--space-3);
    padding: var(--space-1) var(--space-3);
    background: color-mix(in srgb, #22c55e 9%, transparent);
    border: 1px solid color-mix(in srgb, #22c55e 22%, transparent);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: #15803d;
  }
  .about-hero__status--away {
    background: color-mix(in srgb, #f59e0b 9%, transparent);
    border-color: color-mix(in srgb, #f59e0b 28%, transparent);
    color: #92400e;
  }
  .about-hero__status--away .about-hero__status-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 2px color-mix(in srgb, #f59e0b 28%, transparent);
    animation: none;
  }
  [data-theme='dark'] .about-hero__status {
    color: #4ade80;
    background: color-mix(in srgb, #22c55e 10%, transparent);
    border-color: color-mix(in srgb, #22c55e 22%, transparent);
  }
  [data-theme='dark'] .about-hero__status--away {
    color: #fcd34d;
    background: color-mix(in srgb, #f59e0b 10%, transparent);
    border-color: color-mix(in srgb, #f59e0b 22%, transparent);
  }
  .about-hero__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px color-mix(in srgb, #22c55e 28%, transparent);
    animation: about-status-pulse 2s ease-in-out infinite;
  }
  @keyframes about-status-pulse {
    0%, 100% {
      box-shadow: 0 0 0 2px color-mix(in srgb, #22c55e 28%, transparent);
    }
    50% {
      box-shadow: 0 0 0 6px color-mix(in srgb, #22c55e 0%, transparent);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .about-hero__status-dot {
      animation: none;
    }
  }
  .about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
  }
  .about-hero__stats {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0;
    row-gap: var(--space-5);
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
  }
  .about-hero__stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    padding-inline: var(--space-8);
  }
  .about-hero__stat:first-child {
    padding-left: 0;
  }
  .about-hero__stat + .about-hero__stat {
    border-left: 1px solid var(--color-border);
  }
  .about-hero__stat-value {
    font-size: var(--text-2xl);
    font-weight: var(--font-extrabold);
    color: var(--color-accent);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .about-hero__stat-label {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    line-height: var(--leading-snug);
    max-width: 16ch;
  }
  .about-bio {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-surface);
    padding-block: var(--space-14);
  }
  .about-bio__prose {
    font-size: var(--comfort-body);
    color: var(--color-text-secondary);
    line-height: var(--leading-comfort);
  }
  .about-bio__prose p {
    margin-bottom: var(--space-5);
  }
  .about-bio__prose strong {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
  }
  .about-skills {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-surface-subtle);
    padding-block: var(--space-14);
  }
  .about-skills__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-sm);
  }
  @media (min-width: 640px) {
    .about-skills__grid {
      grid-template-columns: var(--grid-cols-2);
    }
  }
  @media (min-width: 1024px) {
    .about-skills__grid {
      grid-template-columns: var(--grid-cols-4);
    }
  }
  .skill-card__category {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    margin-bottom: var(--space-3);
  }
  .skill-card__category--frontend {
    color: var(--cat-frontend-fg);
  }
  .skill-card__category--tooling {
    color: var(--cat-tooling-fg);
  }
  .skill-card__category--design {
    color: var(--cat-design-fg);
  }
  .skill-card__category--backend {
    color: var(--cat-backend-fg);
  }
  .skill-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(var(--row-baseline), auto);
    row-gap: var(--space-1_5);
  }
  .skill-card__item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    column-gap: var(--space-2);
    align-items: center;
    font-size: var(--compact-body);
    color: var(--color-text-secondary);
    min-width: 0;
  }
  .skill-card__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
  }
  .skill-card__dot--frontend {
    background: var(--cat-frontend-dot);
  }
  .skill-card__dot--tooling {
    background: var(--cat-tooling-dot);
  }
  .skill-card__dot--design {
    background: var(--cat-design-dot);
  }
  .skill-card__dot--backend {
    background: var(--cat-backend-dot);
  }
  .about-values {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-surface);
    padding-block: var(--space-14);
  }
  .about-values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-sm);
  }
  @media (min-width: 640px) {
    .about-values__grid {
      grid-template-columns: var(--grid-cols-2);
    }
  }
  @media (min-width: 1024px) {
    .about-values__grid {
      grid-template-columns: var(--grid-cols-4);
    }
  }
  .value-card__icon {
    font-size: 1.875rem;
    line-height: 1;
    margin-bottom: var(--space-3);
  }
  .value-card__title {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
  }
  .value-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
  }
  [data-theme='dark'] .about-page {
    --cat-tooling-fg: #fb923c;
    --cat-tooling-dot: #fdba74;
    --cat-design-fg: #a78bfa;
    --cat-design-dot: #c4b5fd;
    --cat-backend-fg: #4ade80;
    --cat-backend-dot: #86efac;
  }
  [data-theme='dark'] .about-avatar__frame {
    outline-color: transparent;
    outline-color: var(--color-surface);
    @supports (color: color-mix(in lab, red, red)) {
      outline-color: color-mix(in srgb, var(--color-surface) 80%, transparent);
    }
  }
}
.lk-page {
  width: min(560px, calc(100vw - var(--space-8)));
  margin-inline: auto;
  padding-block: var(--space-10) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.lk-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.lk-profile__avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: var(--space-2);
}
.lk-profile__avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.lk-profile__avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent, #22c55e), #84cc16, #22d3ee, var(--color-accent, #22c55e));
  z-index: 0;
}
.lk-profile__avatar-ring--away {
  background: conic-gradient(#3b82f6, #6366f1, #60a5fa, #3b82f6);
}
.lk-profile__avatar-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-surface, #fff);
}
.lk-profile__handle {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-heading);
  margin: 0;
}
.lk-profile__tagline {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 0;
}
.lk-profile__location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: 0;
}
.lk-profile__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5, 6px);
  padding: var(--space-1) var(--space-3);
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 600;
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #16a34a;
  margin-top: var(--space-1);
}
.lk-profile__pill--away {
  background: #dbeafe;
  color: #172554;
  border-color: #2563eb;
}
.lk-profile__pill-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}
.lk-profile__pill--away .lk-profile__pill-dot {
  background: #2563eb;
}
@media (prefers-color-scheme: dark) {
  .lk-profile__pill {
    background: #14532d;
    color: #bbf7d0;
    border-color: #16a34a;
  }
  .lk-profile__pill--away {
    background: #172554;
    color: #bfdbfe;
    border-color: #3b82f6;
  }
  .lk-profile__avatar-ring::after {
    background: var(--color-surface-dark, #0f172a);
  }
}
.lk-stats {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  margin: 0;
}
.lk-stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-3);
  gap: var(--space-0-5, 2px);
}
.lk-stats__item + .lk-stats__item {
  border-left: 1px solid var(--color-border);
}
.lk-stats__value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
  margin: 0;
  order: -1;
}
.lk-stats__label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;
}
.lk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  width: 100%;
}
.lk-actions__btn {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md, 8px);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.lk-actions__btn:active {
  transform: scale(0.97);
}
.lk-actions__btn--primary {
  background: var(--color-accent, #2563eb);
  color: #fff;
}
.lk-actions__btn--primary:hover {
  opacity: 0.9;
}
.lk-actions__btn--secondary {
  background: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
}
.lk-actions__btn--secondary:hover {
  border-color: var(--color-heading);
}
.lk-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: var(--space-3);
  width: 100%;
}
.lk-social__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1-5, 6px);
  width: 100%;
  padding-block: var(--space-4);
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-heading);
  background: var(--color-surface-elevated, transparent);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 44px;
  box-sizing: border-box;
}
.lk-social__link:hover {
  border-color: var(--color-accent, #2563eb);
  background: var(--color-accent, #2563eb);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--color-accent, #2563eb) 6%, transparent);
  }
}
.lk-social__label {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1;
}
.lk-services {
  width: 100%;
}
.lk-services__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin: 0 0 var(--space-3);
}
.lk-services__scroll {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
  scrollbar-width: none;
}
.lk-services__scroll::-webkit-scrollbar {
  display: none;
}
.lk-services__chip {
  display: inline-block;
  white-space: nowrap;
  padding: var(--space-1-5, 6px) var(--space-3);
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-body);
  background: var(--color-surface-elevated, transparent);
  cursor: default;
}
.lk-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.lk-content__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin: 0;
}
.lk-search {
  position: relative;
}
.lk-search__icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}
.lk-search__input {
  width: 100%;
  padding: var(--space-2-5, 10px) var(--space-3) var(--space-2-5, 10px) calc(var(--space-3) + 16px + var(--space-2));
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border);
  background: var(--color-surface-elevated, transparent);
  font-size: var(--text-sm);
  color: var(--color-body);
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.lk-search__input::placeholder {
  color: var(--color-muted);
}
.lk-search__input:focus {
  border-color: var(--color-accent, #2563eb);
  box-shadow: 0 0 0 3px var(--color-accent, #2563eb);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #2563eb) 15%, transparent);
  }
}
.lk-filters {
  display: flex;
  gap: var(--space-2);
}
.lk-filter-btn {
  padding: var(--space-1-5, 6px) var(--space-4);
  border-radius: 9999px;
  border: 1.5px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lk-filter-btn:hover {
  color: var(--color-heading);
  border-color: var(--color-heading);
}
.lk-filter-btn[aria-pressed="true"] {
  background: var(--color-accent, #2563eb);
  border-color: var(--color-accent, #2563eb);
  color: #fff;
}
.lk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
}
.lk-grid__item {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  background: var(--color-surface-elevated, #f1f5f9);
  text-decoration: none;
  color: inherit;
}
.lk-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lk-grid__item:hover .lk-grid__img {
  transform: scale(1.04);
}
.lk-grid__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-elevated, #f1f5f9);
  color: var(--color-muted);
}
.lk-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lk-grid__item:hover .lk-grid__overlay, .lk-grid__item:focus-visible .lk-grid__overlay {
  opacity: 1;
}
.lk-grid__item:focus-visible {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 2px;
}
.lk-grid__type-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-1);
}
.lk-grid__title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lk-grid__empty {
  text-align: center;
  padding: var(--space-10) 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.lk-grid__item--hidden {
  display: none !important;
}
.lk-grid__empty--hidden {
  display: none;
}
.lk-page > :is(.lk-services, .lk-content) {
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}
@layer components {
  .blog-list {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-bg);
    padding-block: var(--space-12);
    min-height: 60vh;
  }
  .blog-list__intro {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    max-width: 40rem;
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
  }
  .blog-list__grid {
    display: grid;
    gap: var(--grid-gap-sm);
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(var(--row-baseline), auto);
  }
  @media (min-width: 768px) {
    .blog-list__grid {
      grid-template-columns: var(--grid-cols-2);
    }
  }
  @media (min-width: 1024px) {
    .blog-list__grid {
      grid-template-columns: var(--grid-cols-3);
    }
  }
  .blog-list__empty {
    text-align: center;
    padding-block: var(--space-16);
    color: var(--color-text-muted);
    font-size: var(--text-lg);
  }
  .blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xs);
    display: grid;
    grid-template-columns: 1fr;
    grid-row: span 2;
    grid-template-rows: subgrid;
    overflow: hidden;
    min-width: 0;
    container: blog-card / inline-size;
    transition: box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }
  .blog-card > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  .blog-card__cover {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    display: block;
  }
  .blog-card__body {
    padding: var(--space-6);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    align-self: stretch;
    min-width: 0;
  }
  .blog-card__body > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .blog-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1_5);
    margin-bottom: var(--space-3);
  }
  .blog-card__category {
    display: inline-block;
    padding: 0.125rem var(--space-2);
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
  }
  .blog-card__title {
    font-size: var(--compact-title);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    line-height: var(--leading-compact);
    margin-bottom: var(--space-2);
  }
  .blog-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-base) var(--ease-out);
  }
  .blog-card__title-link:hover {
    color: var(--color-accent);
  }
  .blog-card__title-link:focus-visible {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .blog-card__date {
    display: block;
    font-size: var(--compact-label);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
  }
  .blog-card__summary {
    font-size: var(--compact-body);
    color: var(--color-text-secondary);
    line-height: var(--leading-compact);
    margin-bottom: var(--space-4);
    align-self: stretch;
  }
  .blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-accent);
    text-decoration: none;
    align-self: end;
    transition: color var(--duration-base) var(--ease-out);
  }
  .blog-card__read-more:hover {
    color: var(--color-accent-hover);
  }
  .blog-card__read-more:focus-visible {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .blog-single {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-bg);
    padding-block: var(--space-12);
    min-height: 60vh;
  }
  .blog-single__role {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
  }
  .blog-single__description {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
  }
  .blog-single__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }
  .blog-single__date {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
  }
  .blog-single__read-time {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    gap: var(--space-1_5);
  }
  .blog-single__read-time::before {
    content: '·';
    color: var(--color-border-strong);
  }
  .blog-single__tags {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
  }
  .blog-single__tags-label {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--color-text-muted);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    flex-shrink: 0;
  }
  .blog-single__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1_5);
    list-style: none;
    margin: 0;
    padding: 0;
  }
}
[data-theme='dark'] .blog-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
@layer components {
  .bs-page {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    min-height: 100dvh;
    transition: background-color var(--duration-base) var(--ease-in-out), color var(--duration-base) var(--ease-in-out);
  }
  .bs-container {
    width: min( var(--max-content), calc(100vw - 4vw * 2) );
    margin-inline: auto;
    container-type: inline-size;
    container-name: bs-content;
  }
  .bs-container--prose {
    max-width: calc(var(--max-prose) + var(--space-12));
  }
  .bs-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: var(--color-border, rgba(0,0,0,0.08));
    pointer-events: none;
  }
  .bs-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover, var(--color-accent)));
    transform-origin: left;
    transform: scaleX(0);
    animation: bs-reading-progress linear;
    animation-timeline: scroll(root);
  }
  @keyframes bs-reading-progress {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  .bs-hero {
    padding-block: var(--space-20, 5rem) var(--space-16, 4rem);
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient( 155deg, var(--color-accent-soft, oklch(0.97 0.01 250)) 0%, var(--color-surface, #fff) 50%, var(--color-surface-subtle, #f8f9fb) 100% );
  }
  .bs-hero__eyebrow {
    display: block;
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-semibold, 600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest, 0.12em);
    color: var(--color-accent);
    margin-bottom: var(--space-4, 1rem);
  }
  .bs-hero__title {
    font-size: clamp( var(--text-2xl, 1.5rem), 5.5vw, var(--text-5xl, 3rem) );
    font-weight: var(--font-extrabold, 800);
    line-height: var(--leading-tight, 1.2);
    letter-spacing: var(--tracking-tight, -0.025em);
    color: var(--color-text-primary);
    margin-bottom: var(--space-5, 1.25rem);
    max-width: 24ch;
  }
  .bs-hero__description {
    font-size: clamp(var(--text-base, 1rem), 2vw, var(--text-xl, 1.25rem));
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed, 1.65);
    max-width: 60ch;
    margin-bottom: var(--space-8, 2rem);
  }
  .bs-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    margin-bottom: var(--space-5, 1.25rem);
  }
  .bs-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2, 0.5rem);
    margin-top: var(--space-1, 0.25rem);
  }
  .bs-hero__cover-wrap {
    margin-top: var(--space-10, 2.5rem);
  }
  .bs-hero__cover {
    border-radius: var(--radius-xl, 1rem);
    overflow: hidden;
    box-shadow: var(--shadow-xl, 0 20px 60px rgba(0,0,0,0.15));
    aspect-ratio: 1200 / 630;
    max-height: 460px;
  }
  .bs-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .bs-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem);
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    line-height: 1;
    border-radius: var(--radius-full, 9999px);
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .bs-chip--muted {
    background: var(--color-surface, #fff);
    border-color: var(--color-border);
    color: var(--color-text-muted);
  }
  .bs-chip--accent {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-color: transparent;
  }
  .bs-tag {
    display: inline-block;
    padding: var(--space-1, 0.25rem) var(--space-2_5, 0.625rem);
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm, 0.25rem);
    letter-spacing: 0.01em;
    transition: color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
  }
  .bs-tag:is(a):hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
  }
  .bs-body {
    padding-block: var(--space-16, 4rem) var(--space-24, 6rem);
    background: var(--color-bg);
  }
  .bs-article {
    font-size: var(--comfort-body);
    line-height: var(--leading-comfort);
    color: var(--color-text-primary);
  }
  .bs-article > * + * {
    margin-top: var(--space-5);
  }
  .bs-article h2 {
    font-size: var(--comfort-h2);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }
  .bs-article h3 {
    font-size: var(--comfort-h3);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    color: var(--color-text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
  }
  .bs-article h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
  }
  .bs-article a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--duration-fast) var(--ease-out);
  }
  .bs-article a:hover {
    color: var(--color-accent-hover);
    text-decoration-thickness: 2px;
  }
  .bs-article a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
  .bs-article ul, .bs-article ol {
    padding-left: var(--space-6);
  }
  .bs-article li {
    margin-block: var(--space-1_5);
  }
  .bs-article ul li::marker {
    color: var(--color-accent);
  }
  .bs-article strong {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
  }
  .bs-article hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0.35;
    margin-block: var(--space-12, 3rem);
    border-radius: var(--radius-full);
  }
  .bs-article blockquote {
    position: relative;
    margin-inline: 0;
    padding: var(--space-6, 1.5rem) var(--space-7, 1.75rem) var(--space-6, 1.5rem) var(--space-8, 2rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-xl, 1rem);
    box-shadow: var(--shadow-sm);
    font-style: normal;
    color: var(--color-text-secondary);
    font-size: var(--text-lg, 1.125rem);
    line-height: var(--leading-relaxed, 1.65);
    margin-block: var(--space-8, 2rem);
  }
  .bs-article blockquote p {
    margin: 0;
  }
  .bs-article blockquote::before {
    content: '\201C';
    position: absolute;
    top: var(--space-3, 0.75rem);
    left: var(--space-5, 1.25rem);
    font-size: var(--text-4xl, 2.25rem);
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.4;
    font-family: Georgia, serif;
  }
  .bs-article :not(pre) > code {
    padding: 0.15em 0.4em;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm, 0.25rem);
    font-size: 0.875em;
    color: var(--color-accent);
  }
  .bs-article pre {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl, 1rem);
    padding: var(--space-6, 1.5rem);
    overflow-x: auto;
    box-shadow: var(--shadow-md);
    margin-block: var(--space-8, 2rem);
    font-family: var(--font-mono);
    font-size: var(--text-sm, 0.875rem);
    line-height: 1.6;
  }
  .bs-article .highlight > pre {
    margin: 0;
  }
  .bs-article pre code {
    background: none;
    border: none;
    color: #e6edf3;
    font-size: inherit;
    padding: 0;
    font-family: inherit;
  }
  .bs-article table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm, 0.875rem);
    margin-block: var(--space-8, 2rem);
    border-radius: var(--radius-xl, 1rem);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .bs-article th {
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-weight: var(--font-semibold, 600);
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-xs, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .bs-article td {
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    vertical-align: top;
  }
  .bs-article tr:last-child td {
    border-bottom: none;
  }
  .bs-article tr:nth-child(even) td {
    background: var(--color-surface-subtle, #f8f9fb);
  }
  .bs-article > p:first-of-type {
    font-size: clamp(var(--text-base, 1rem), 2.2vw, var(--text-xl, 1.25rem));
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed, 1.65);
  }
  .bs-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2, 0.5rem);
    padding-top: var(--space-8, 2rem);
    margin-top: var(--space-10, 2.5rem);
    border-top: 1px solid var(--color-border);
  }
  .bs-author {
    display: flex;
    gap: var(--space-5, 1.25rem);
    align-items: flex-start;
    padding: var(--space-7, 1.75rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl, 1.5rem);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-12, 3rem);
  }
  .bs-author__avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full, 9999px);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover, var(--color-accent)));
    color: #fff;
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-bold, 700);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sm);
  }
  .bs-author__body {
    min-width: 0;
  }
  .bs-author__name {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-semibold, 600);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1_5, 0.375rem);
  }
  .bs-author__bio {
    font-size: var(--text-sm, 0.875rem);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed, 1.65);
    margin-bottom: var(--space-3, 0.75rem);
  }
  .bs-author__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3, 0.75rem);
  }
  .bs-author__link {
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
  }
  .bs-author__link:hover {
    color: var(--color-accent-hover, var(--color-accent));
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .bs-author__link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
  }
  .bs-post-nav {
    margin-top: var(--space-16, 4rem);
    padding-top: var(--space-10, 2.5rem);
    border-top: 1px solid var(--color-border);
  }
  .bs-post-nav__label {
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-semibold, 600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest, 0.12em);
    color: var(--color-text-muted);
    margin-bottom: var(--space-5, 1.25rem);
  }
  .bs-post-nav__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4, 1rem);
    align-items: stretch;
  }
  .bs-post-nav__grid:has(.bs-post-nav__item:only-of-type) {
    grid-template-columns: 1fr;
  }
  .bs-post-nav__divider {
    width: 1px;
    background: var(--color-border);
    align-self: stretch;
  }
  .bs-post-nav__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-5, 1.25rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl, 1rem);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  }
  .bs-post-nav__item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .bs-post-nav__item:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .bs-post-nav__item--prev {
    align-items: flex-start;
  }
  .bs-post-nav__item--next {
    align-items: flex-end;
    text-align: right;
  }
  .bs-post-nav__direction {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .bs-post-nav__title {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-semibold, 600);
    color: var(--color-text-primary);
    line-height: var(--leading-compact, 1.35);
    max-width: 30ch;
  }
  @media (max-width: 640px) {
    .bs-hero {
      padding-block: var(--space-14, 3.5rem) var(--space-10, 2.5rem);
    }
    .bs-hero__title {
      max-width: none;
    }
    .bs-post-nav__grid {
      grid-template-columns: 1fr;
    }
    .bs-post-nav__divider {
      display: none;
    }
    .bs-post-nav__item--next {
      align-items: flex-start;
      text-align: left;
    }
    .bs-author {
      flex-direction: column;
      gap: var(--space-4, 1rem);
    }
  }
  .bs-series {
    margin-bottom: var(--space-10, 2.5rem);
    padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
    background: var(--color-accent-soft);
    border: 1px solid var(--color-accent-border);
    border-left: 3px solid var(--color-accent);
    border-radius: var(--radius-xl, 1rem);
  }
  .bs-series__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--space-3, 0.75rem);
    row-gap: var(--space-1, 0.25rem);
    margin-bottom: var(--space-4, 1rem);
  }
  .bs-series__eyebrow {
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-semibold, 600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest, 0.12em);
    color: var(--color-accent);
    flex-shrink: 0;
  }
  .bs-series__title {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-semibold, 600);
    color: var(--color-text-primary);
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .bs-series__count {
    font-size: var(--text-xs, 0.75rem);
    color: var(--color-text-muted);
    white-space: nowrap;
    margin-left: auto;
  }
  .bs-series__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .bs-series__item {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    padding-block: var(--space-2, 0.5rem);
    border-top: 1px solid var(--color-accent-border);
  }
  .bs-series__item:first-child {
    border-top: none;
  }
  .bs-series__item--current {
    align-items: flex-start;
    padding-inline: var(--space-2_5, 0.625rem);
    margin-inline: calc(var(--space-2_5, 0.625rem) * -1);
    background: var(--color-surface);
    border-radius: var(--radius-md, 0.375rem);
    border-top-color: transparent;
  }
  .bs-series__item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1, 0.25rem);
  }
  .bs-series__item--current + .bs-series__item {
    border-top-color: transparent;
  }
  .bs-series__num {
    flex-shrink: 0;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full, 9999px);
  }
  .bs-series__item--current .bs-series__num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
  }
  .bs-series__item-title {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-semibold, 600);
    color: var(--color-accent);
  }
  .bs-series__item-link {
    font-size: var(--text-sm, 0.875rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-text-secondary);
    text-decoration: none;
    flex: 1;
    min-width: 0;
    transition: color var(--duration-fast) var(--ease-out);
  }
  .bs-series__item-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .bs-series__item-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
  }
  .bs-series__reading-badge {
    align-self: flex-start;
    font-size: var(--text-xs, 0.75rem);
    font-weight: var(--font-medium, 500);
    color: var(--color-accent);
    background: var(--color-accent-border);
    padding: 0.125rem var(--space-2, 0.5rem);
    border-radius: var(--radius-full, 9999px);
    white-space: nowrap;
  }
  .bs-series-layout {
    display: grid;
    grid-template-columns: 256px 1fr;
    gap: var(--space-10, 2.5rem);
    align-items: start;
  }
  .bs-series-sidebar {
    position: sticky;
    top: calc(var(--header-h, 3.5rem) + var(--space-4, 1rem));
    max-height: calc(100vh - var(--header-h, 3.5rem) - var(--space-8, 2rem));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }
  .bs-series-sidebar .bs-series {
    margin-bottom: 0;
  }
  .bs-series-main {
    min-width: 0;
    max-width: calc(var(--max-prose) + var(--space-12));
  }
  @media (max-width: 1023px) {
    .bs-series-layout {
      grid-template-columns: 1fr;
    }
    .bs-series-sidebar {
      position: static;
      max-height: none;
      overflow-y: visible;
    }
    .bs-series-sidebar .bs-series {
      margin-bottom: var(--space-8, 2rem);
    }
  }
  @media (max-width: 640px) {
    .bs-series {
      padding: var(--space-4, 1rem);
    }
    .bs-series__count {
      width: 100%;
    }
  }
}
[data-theme='dark'] .bs-author {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .bs-post-nav__item {
  box-shadow: none;
}
[data-theme='dark'] .bs-post-nav__item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-theme='dark'] .bs-article pre, [data-theme='dark'] .bs-article .chroma {
  background: #0d1117;
  border-color: rgba(255,255,255,0.08);
}
[data-theme='dark'] .bs-article blockquote {
  background: var(--color-surface);
  border-color: var(--color-border);
  border-left-color: var(--color-accent);
}
[data-theme='dark'] .bs-hero {
  background: linear-gradient( 155deg, var(--color-accent-soft) 0%, var(--color-surface) 50%, var(--color-bg) 100% );
}
[data-theme='dark'] .bs-series {
  background: var(--color-surface);
  border-color: var(--color-border);
  border-left-color: var(--color-accent);
}
[data-theme='dark'] .bs-series__item {
  border-top-color: var(--color-border);
}
[data-theme='dark'] .bs-series__item--current {
  background: var(--color-surface-raised);
  border-top-color: transparent;
}
[data-theme='dark'] .bs-series__item--current + .bs-series__item {
  border-top-color: transparent;
}
[data-theme='dark'] .bs-series__num {
  background: var(--color-bg);
  border-color: var(--color-border);
}
[data-theme='dark'] .bs-series__reading-badge {
  background: var(--color-accent-hover);
  color: #fff;
}
@layer components {
  .sb-callout {
    border-left: 3px solid #ff4785;
    background: #ff4785;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, #ff4785 6%, var(--color-surface));
    }
    border-radius: 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem) 0;
    padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
    margin-block: var(--space-8, 2rem);
  }
  .sb-callout__head {
    display: flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    margin-bottom: var(--space-2, 0.5rem);
  }
  .sb-callout__logo {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff4785;
  }
  .sb-callout__section {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .sb-callout__section::before {
    content: '·';
    margin-right: var(--space-1, 0.25rem);
    color: var(--color-text-muted);
  }
  .sb-callout__title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1, 0.25rem);
  }
  .sb-callout__desc {
    font-size: var(--text-sm, 0.875rem);
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-3, 0.75rem);
    line-height: 1.5;
  }
  .sb-callout__action {
    display: flex;
    align-items: center;
  }
  .sb-callout__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    font-size: var(--text-sm, 0.875rem);
    font-weight: 600;
    color: #ff4785;
    text-decoration: none;
    transition: opacity var(--duration-fast, 150ms) ease;
  }
  .sb-callout__link:hover {
    opacity: 0.8;
    text-decoration: underline;
  }
  .sb-callout__link:focus-visible {
    outline: 2px solid #ff4785;
    outline-offset: 2px;
    border-radius: 2px;
  }
  .sb-callout__hint {
    font-size: var(--text-sm, 0.875rem);
    color: var(--color-text-muted);
  }
  .sb-callout__hint code {
    font-size: inherit;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border);
    padding: 0.1em 0.4em;
    border-radius: var(--radius-sm, 0.25rem);
    color: var(--color-text-primary);
  }
}
[data-theme='dark'] .sb-callout {
  background: #ff4785;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #ff4785 8%, var(--color-surface));
  }
}
[data-theme='dark'] .sb-callout__hint code {
  background: var(--color-bg);
  border-color: var(--color-border);
}
@layer components {
  .tag-hero__body {
    margin-top: var(--space-6);
  }
  .tag-hero__category {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-2);
  }
  .tag-hero__title {
    margin-bottom: var(--space-3);
  }
  .tag-hero__description {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    max-width: 40rem;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
  }
  .tag-hero__count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
  .tag-content {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-bg);
    padding-block: var(--space-12);
    min-height: 50vh;
  }
  .tag-section {
    margin-bottom: var(--space-16);
  }
  .tag-section:last-child {
    margin-bottom: 0;
  }
  .tag-section__heading {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }
  .tag-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6em;
    height: 1.6em;
    padding-inline: 0.4em;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    line-height: 1;
  }
  .tag-empty {
    text-align: center;
    padding-block: var(--space-16);
    color: var(--color-text-muted);
    font-size: var(--text-lg);
  }
  .tag-projects-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
  }
  @media (min-width: 640px) {
    .tag-projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (min-width: 1024px) {
    .tag-projects-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .tag-project-card {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }
  .tag-project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-border-strong);
  }
  .tag-project-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .tag-project-card__cover {
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }
  .tag-project-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }
  .tag-project-card:hover .tag-project-card__cover img {
    transform: scale(1.04);
  }
  .tag-project-card__cover--empty {
    background: var(--color-surface-subtle);
  }
  .tag-project-card__body {
    padding: var(--space-5) var(--space-6);
  }
  .tag-project-card__client {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-1);
  }
  .tag-project-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-2);
  }
  .tag-project-card__year {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
  .tag-index {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-bg);
    padding-block: var(--space-12);
    min-height: 60vh;
  }
  .tag-index__group {
    margin-bottom: var(--space-14);
  }
  .tag-index__group:last-child {
    margin-bottom: 0;
  }
  .tag-index__group-heading {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }
  .tag-index__group--other .tag-index__group-heading {
    color: var(--color-text-muted);
  }
  .tag-index__list {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  @media (min-width: 640px) {
    .tag-index__list {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (min-width: 1024px) {
    .tag-index__list {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .tag-index__item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-5);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .tag-index__item:hover {
    border-color: var(--color-accent-border);
    box-shadow: var(--shadow-sm);
  }
  .tag-index__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    text-decoration: none;
    margin-bottom: var(--space-2);
  }
  .tag-index__link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }
  .tag-index__name {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-accent);
  }
  .tag-index__link:hover .tag-index__name {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .tag-index__count {
    flex-shrink: 0;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
    background: var(--color-surface-subtle);
    padding: 0.15em 0.55em;
    border-radius: var(--radius-full);
  }
  .tag-index__desc {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
    margin: 0;
  }
  [data-theme='dark'] .tag-project-card {
    box-shadow: var(--shadow-sm);
  }
  [data-theme='dark'] .tag-project-card:hover {
    box-shadow: var(--shadow-lg);
  }
  [data-theme='dark'] .tag-index__item {
    background: var(--color-surface);
    border-color: var(--color-border);
  }
  [data-theme='dark'] .tag-index__item:hover {
    border-color: var(--color-accent-border);
    box-shadow: var(--shadow-md);
  }
}
@layer components {
  .nf-wrap {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax(var(--row-baseline), auto);
    background: var(--color-bg);
    min-height: calc(100dvh - 4rem);
  }
  .nf-hero {
    grid-column: 2 / -2;
    text-align: center;
    padding-block: var(--space-16) var(--space-10);
  }
  .nf-code {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: var(--font-extrabold);
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent) 0%, #a855f7 60%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    user-select: none;
  }
  .nf-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-3);
  }
  .nf-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
  }
  .nf-url-label {
    color: var(--color-text-muted);
  }
  .nf-url-chip {
    display: inline-block;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.2em 0.8em;
    font-size: var(--text-xs);
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    color: var(--color-text-primary);
    max-width: 36ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }
  .nf-search-section {
    grid-column: 2 / -2;
    padding-block: 0 var(--space-16);
    max-width: 46rem;
    margin-inline: auto;
    width: 100%;
  }
  .nf-search-label-text {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
  }
  .nf-search-field {
    position: relative;
    display: flex;
    align-items: center;
  }
  .nf-search-icon {
    position: absolute;
    left: var(--space-4);
    color: var(--color-text-muted);
    pointer-events: none;
    flex-shrink: 0;
  }
  .nf-search-input {
    width: 100%;
    padding: var(--space-3) var(--space-10) var(--space-3) 3rem;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
  }
  .nf-search-input::placeholder {
    color: var(--color-text-muted);
  }
  .nf-search-input:focus {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm), 0 0 0 3px var(--color-accent-soft);
  }
  .nf-search-input::-webkit-search-cancel-button {
    display: none;
  }
  .nf-search-clear {
    position: absolute;
    right: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-surface-subtle);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .nf-search-clear:hover {
    background: var(--color-border-strong);
    color: var(--color-text-primary);
  }
  .nf-search-clear:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .nf-results-status {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
    min-height: 1.4em;
  }
  .nf-results__list {
    list-style: none;
    margin: var(--space-4) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .nf-result-card {
    display: grid;
    grid-template-areas: "section" "title" "desc";
    gap: var(--space-1);
    padding: var(--space-4) var(--space-5);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  .nf-result-card:hover {
    border-color: var(--color-accent-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }
  .nf-result-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-xl);
  }
  .nf-result-card__section {
    grid-area: section;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
  }
  .nf-result-card__title {
    grid-area: title;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    line-height: var(--leading-snug);
  }
  .nf-result-card__desc {
    grid-area: desc;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .nf-highlight {
    background: transparent;
    color: var(--color-accent);
    font-weight: var(--font-semibold);
  }
  .nf-no-results {
    padding: var(--space-8) 0;
    text-align: center;
  }
  .nf-no-results__msg {
    font-size: var(--text-base);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
  }
  .nf-no-results__hint {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }
  .nf-quicklinks {
    margin-top: var(--space-10);
  }
  .nf-quicklinks__heading {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
  }
  .nf-quicklinks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  @media (min-width: 480px) {
    .nf-quicklinks__grid {
      grid-template-columns: repeat(6, 1fr);
    }
  }
  .nf-quicklink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-3);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  .nf-quicklink:hover {
    border-color: var(--color-accent-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }
  .nf-quicklink:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  .nf-quicklink__icon {
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nf-quicklink__label {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    text-align: center;
  }
}
@layer components {
  .home-hero {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: linear-gradient(135deg, #09111f 0%, #0c1525 50%, #162240 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .home-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 55%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(77, 141, 255, 0.11) 0%, transparent 70%);
    pointer-events: none;
  }
  .home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
  }
  .home-hero__inner {
    position: relative;
    z-index: 1;
    grid-column: 2 / -2;
    container: hero-content / inline-size;
    padding-block: 5rem 3.5rem;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
  }
  .home-hero__content {
    grid-column: 1 / -1;
  }
  @media (min-width: 768px) {
    .home-hero__inner {
      padding-block: 6rem 4rem;
    }
    .home-hero__content {
      grid-column: 1 / span 13;
    }
    .home-hero__visual {
      grid-column: 15 / -1;
    }
  }
  @media (min-width: 1024px) {
    .home-hero__inner {
      padding-top: 7rem;
      padding-bottom: 5rem;
    }
    .home-hero__content {
      grid-column: 1 / span 13;
    }
    .home-hero__visual {
      grid-column: 16 / -1;
    }
  }
  .home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4d8dff;
    margin-bottom: 1.25rem;
  }
  .home-hero__eyebrow::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 1.75rem;
    height: 2px;
    background: linear-gradient(to right, #4d8dff, transparent);
    border-radius: 9999px;
  }
  .home-hero__name {
    font-size: clamp(2.75rem, 8cqi, 5rem);
    font-weight: 800;
    color: #e8f0fb;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }
  .home-hero__name em {
    font-style: normal;
    color: #4d8dff;
  }
  .home-hero__tagline {
    font-size: 1.0625rem;
    line-height: var(--leading-comfort);
    color: #8da4be;
    max-width: 46ch;
    margin-bottom: 2.25rem;
  }
  .home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.75rem;
  }
  .home-hero .btn-primary {
    background: #4d8dff;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 8px rgba(77, 141, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: var(--space-3) var(--space-5);
  }
  .home-hero .btn-primary:hover {
    background: #3a7aee;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 141, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  .home-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #aec0d4;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: var(--space-3) var(--space-5);
  }
  .home-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #e8f0fb;
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
  }
  .home-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .home-hero__chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #7a9ab8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 9999px;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }
  .home-hero__chip:hover {
    color: #4d8dff;
    background: rgba(77, 141, 255, 0.08);
    border-color: rgba(77, 141, 255, 0.22);
  }
  .home-hero__visual {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 320px;
  }
  @media (min-width: 768px) {
    .home-hero__visual {
      display: flex;
    }
  }
  .home-hero__monogram {
    position: relative;
    z-index: 2;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 1.625rem;
    background: linear-gradient(160deg, #0e1c38 0%, #162240 100%);
    border: 1px solid rgba(77, 141, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #4d8dff;
    box-shadow: 0 0 0 10px rgba(77, 141, 255, 0.04), 0 24px 56px rgba(0, 0, 0, 0.45);
  }
  .home-hero__ring {
    position: absolute;
    border-radius: 9999px;
    border: 1px dashed rgba(77, 141, 255, 0.12);
  }
  .home-hero__ring--1 {
    width: 190px;
    height: 190px;
    animation: hero-ring-spin 14s linear infinite;
  }
  .home-hero__ring--2 {
    width: 290px;
    height: 290px;
    border-style: solid;
    border-color: rgba(77, 141, 255, 0.05);
    animation: hero-ring-spin 22s linear infinite reverse;
  }
  .home-hero__orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #4d8dff;
    box-shadow: 0 0 8px rgba(77, 141, 255, 0.7);
    top: -4px;
    left: calc(50% - 4px);
    animation: hero-ring-spin 14s linear infinite;
    transform-origin: 50% calc(95px + 4px);
  }
  @keyframes hero-ring-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-hero__ring, .home-hero__orbit-dot {
      animation: none;
    }
  }
  .home-hero__stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .home-hero__stats-list {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  @media (min-width: 640px) {
    .home-hero__stats-list {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  .home-hero__stat {
    padding: 1.25rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    container: stat-item / inline-size;
  }
  .home-hero__stat:last-child {
    border-right: none;
  }
  @media (max-width: 639px) {
    .home-hero__stat:nth-child(even) {
      border-right: none;
    }
    .home-hero__stat:nth-child(n + 3) {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
  }
  .home-hero__stat-value {
    display: block;
    font-size: clamp( 1.25rem, 9cqi, 1.875rem );
    font-weight: 800;
    color: #e8f0fb;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .home-hero__stat-label {
    display: block;
    font-size: var(--compact-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7e9bb5;
  }
  .home-section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
  }
  .home-section-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    margin: 0;
  }
  @media (min-width: 768px) {
    .home-section-heading {
      font-size: var(--text-4xl);
    }
  }
  .home-work {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-bg);
    padding-block: var(--space-20) var(--space-24);
  }
  .home-work__inner {
    grid-column: 2 / -2;
  }
  .home-work__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
  }
  @media (min-width: 640px) {
    .home-work__header {
      grid-template-columns: 1fr auto;
      align-items: end;
      gap: 1rem;
    }
  }
  .home-work__view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.2rem;
    transition: color var(--duration-base) ease;
  }
  .home-work__view-all:hover {
    color: var(--color-accent-hover);
  }
  .home-work__view-all:focus-visible {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .home-work__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap);
  }
  @media (min-width: 640px) {
    .home-work__grid {
      grid-template-columns: var(--grid-cols-2);
    }
  }
  @media (min-width: 768px) {
    .home-work__grid--trio {
      grid-template-columns: var(--grid-cols-3);
    }
    .home-work__grid--trio .home-work-card--featured {
      grid-column: span 2;
      grid-row: span 2;
      aspect-ratio: unset;
    }
  }
  .home-work-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    aspect-ratio: 16 / 10;
    text-decoration: none;
    background: var(--color-surface-subtle);
    box-shadow: var(--shadow-sm);
    container: work-card / inline-size;
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
  }
  .home-work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
  }
  .home-work-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
  }
  .home-work-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
  }
  .home-work-card:hover .home-work-card__img {
    transform: scale(1.05);
  }
  .home-work-card--featured .home-work-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .home-work-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent);
    background: var(--color-accent-soft);
  }
  .home-work-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient( to top, rgba(5, 10, 25, 0.82) 0%, rgba(5, 10, 25, 0.35) 55%, transparent 100% );
  }
  .home-work-card__role {
    font-size: var(--compact-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.35rem;
  }
  .home-work-card__title {
    font-size: var(--compact-title);
    font-weight: 700;
    color: #fff;
    line-height: var(--leading-compact);
    margin-bottom: 0.25rem;
  }
  .home-work-card--featured .home-work-card__title {
    font-size: var(--compact-heading);
  }
  .home-work-card__dates {
    font-size: var(--compact-label);
    color: rgba(255, 255, 255, 0.5);
  }
  .home-work-card--cta {
    background: linear-gradient(145deg, #0b1630 0%, #0f1f45 45%, #162b60 100%);
    border: 1px solid rgba(77, 141, 255, 0.18);
    overflow: hidden;
    display: flex;
    align-items: stretch;
  }
  .home-work-card--cta:hover {
    border-color: rgba(77, 141, 255, 0.42);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(77, 141, 255, 0.18), 0 0 40px rgba(77, 141, 255, 0.1);
  }
  .home-work-cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .home-work-cta__ring {
    position: absolute;
    border-radius: 9999px;
    border: 1px solid rgba(77, 141, 255, 0.07);
    bottom: -40%;
    right: -20%;
  }
  .home-work-cta__ring--1 {
    width: 220px;
    height: 220px;
    border-color: rgba(77, 141, 255, 0.1);
  }
  .home-work-cta__ring--2 {
    width: 360px;
    height: 360px;
    border-color: rgba(77, 141, 255, 0.06);
  }
  .home-work-cta__ring--3 {
    width: 500px;
    height: 500px;
    border-color: rgba(77, 141, 255, 0.03);
  }
  .home-work-cta__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    row-gap: 0.875rem;
    align-content: center;
    padding: 2rem 1.75rem;
    width: 100%;
    min-width: 0;
  }
  .home-work-cta__body > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .home-work-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 9999px;
    padding: 0.2rem 0.625rem;
    width: fit-content;
  }
  .home-work-cta__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
    animation: cta-pulse 2s ease-in-out infinite;
  }
  @keyframes cta-pulse {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.55;
      transform: scale(0.8);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-work-cta__badge-dot {
      animation: none;
    }
  }
  .home-work-cta__headline {
    font-size: clamp(1.125rem, 2.2vw, 1.4375rem);
    font-weight: 800;
    color: #e8f0fb;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
  }
  .home-work-cta__sub {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #6a8fab;
    margin: 0;
    max-width: 36ch;
  }
  .home-work-cta__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.875rem;
  }
  .home-work-cta__stat {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.125rem;
    min-width: 0;
  }
  .home-work-cta__stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: #e8f0fb;
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .home-work-cta__stat-label {
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3d5a7a;
  }
  .home-work-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4d8dff;
    transition: color var(--duration-base) ease, gap var(--duration-base) ease;
    margin-top: 0.25rem;
  }
  .home-work-card--cta:hover .home-work-cta__btn {
    color: #7aaeff;
    gap: 0.625rem;
  }
  .home-about {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-surface);
    border-block: 1px solid var(--color-border);
    padding-block: var(--space-20) var(--space-24);
  }
  .home-about__inner {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: subgrid;
    row-gap: var(--grid-gap-lg);
    align-items: start;
  }
  .home-about__content, .home-about__services {
    grid-column: 1 / -1;
  }
  @media (min-width: 768px) {
    .home-about__content {
      grid-column: 1 / span 13;
    }
    .home-about__services {
      grid-column: 15 / -1;
    }
  }
  @media (min-width: 1024px) {
    .home-about__content {
      grid-column: 1 / span 12;
    }
    .home-about__services {
      grid-column: 15 / -1;
    }
  }
  .home-about__content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    row-gap: 1.25rem;
    min-width: 0;
  }
  .home-about__content > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .home-about__bio {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 46ch;
  }
  .home-about__link {
    align-self: start;
    margin-top: 0.25rem;
  }
  .home-about__services {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-sm);
  }
  .home-service-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    row-gap: var(--space-2);
    padding: 1.25rem 1.25rem 1.375rem;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    container: service-card / inline-size;
    transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease, transform var(--duration-base) var(--ease-out);
  }
  .home-service-card > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .home-service-card:hover {
    border-color: var(--color-accent-border);
    box-shadow: 0 0 0 3px var(--color-accent-soft), var(--shadow-sm);
    transform: translateY(-1px);
  }
  .home-service-card__icon {
    width: 2.375rem;
    height: 2.375rem;
    border-radius: var(--radius-lg);
    background: var(--color-accent-soft);
    border: 1px solid var(--color-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-bottom: 0.375rem;
  }
  .home-service-card__title {
    font-size: var(--compact-title);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: var(--leading-compact);
  }
  .home-service-card__desc {
    font-size: var(--compact-body);
    line-height: var(--leading-compact);
    color: var(--color-text-secondary);
  }
  .home-posts {
    display: grid;
    grid-template-columns: var(--grid-template);
    grid-auto-rows: minmax( var(--row-baseline), auto );
    background: var(--color-bg);
    padding-block: var(--space-20) var(--space-24);
  }
  .home-posts__inner {
    grid-column: 2 / -2;
  }
  .home-posts__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
  }
  @media (min-width: 640px) {
    .home-posts__header {
      grid-template-columns: 1fr auto;
      align-items: end;
      gap: 1rem;
    }
  }
  .home-posts__view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.2rem;
    transition: color var(--duration-base) ease;
  }
  .home-posts__view-all:hover {
    color: var(--color-accent-hover);
  }
  .home-posts__view-all:focus-visible {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent);
  }
  .home-posts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-gap-sm);
    grid-auto-rows: minmax(var(--row-baseline), auto);
  }
  @media (min-width: 640px) {
    .home-posts__grid {
      grid-template-columns: var(--grid-cols-2);
    }
  }
  @media (min-width: 1024px) {
    .home-posts__grid {
      grid-template-columns: var(--grid-cols-3);
    }
  }
  .home-post-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0.625rem;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    container: post-card / inline-size;
    transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) ease;
  }
  .home-post-card:hover {
    border-color: var(--color-accent-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .home-post-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
  }
  .home-post-card > * {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .home-post-card__date {
    display: block;
    font-size: var(--compact-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
  }
  .home-post-card__title {
    font-size: var(--compact-title);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: var(--leading-compact);
    transition: color var(--duration-base) ease;
  }
  .home-post-card:hover .home-post-card__title {
    color: var(--color-accent);
  }
  .home-post-card__summary {
    font-size: var(--compact-body);
    line-height: var(--leading-compact);
    color: var(--color-text-secondary);
    align-self: stretch;
  }
  .home-post-card__read {
    padding-top: 0.875rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: color var(--duration-base) ease;
  }
  .home-post-card:hover .home-post-card__read {
    color: var(--color-accent-hover);
  }
}
.scroll-story-page .site-header {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom-color: transparent;
}
.scroll-story-page .site-header a, .scroll-story-page .site-header button {
  color: rgba(255, 255, 255, 0.85);
}
.scroll-story-page .site-header a:hover, .scroll-story-page .site-header button:hover {
  color: #fff;
}
.ss-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #4d8dff;
  z-index: 1000;
  transition: width 0.1s linear;
  will-change: width;
}
.ss-nav {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
@media (max-width: 640px) {
  .ss-nav {
    display: none;
  }
}
.ss-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ss-nav__dot:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.25);
}
.ss-nav__dot.is-active {
  background: #fff;
  transform: scale(1.4);
}
.ss-chapter {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ss-chapter--cover {
  background: #040d1a;
  background-image: radial-gradient(ellipse 65% 80% at 75% 25%, rgba(77, 141, 255, 0.13) 0%, transparent 65%), radial-gradient(ellipse 40% 55% at 15% 85%, rgba(42, 100, 200, 0.07) 0%, transparent 60%);
  color: #e8eef8;
}
.ss-chapter--slate {
  background: #0a0f1a;
  color: #d4dce8;
}
.ss-chapter--navy {
  background: #050f20;
  color: #c8d8f0;
}
.ss-chapter--dark {
  background: #0d1117;
  color: #d4dce8;
}
.ss-chapter--green {
  background: #061209;
  color: #b8d8c0;
}
.ss-chapter--purple {
  background: #0f0815;
  color: #d4c8e8;
}
.ss-chapter__inner {
  width: 100%;
  max-width: 900px;
  padding: 5rem 2rem;
  margin: 0 auto;
}
.ss-chapter__inner--text {
  max-width: 680px;
}
.ss-chapter__inner--metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-top: 6rem;
}
.ss-chapter__inner--outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
  padding-top: 8rem;
}
.ss-reveal {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}
.ss-reveal--up {
  transform: translateY(2rem);
  filter: blur(4px);
}
.ss-reveal--fade {
  transform: none;
  filter: blur(3px);
}
.ss-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .ss-reveal {
    transition: opacity 0.3s ease var(--delay, 0s);
    filter: none !important;
    transform: none !important;
  }
}
@supports (animation-timeline: scroll()) {
  .ss-chapter__inner > .ss-reveal.is-visible {
    animation: ss-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}
@keyframes ss-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ss-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ss-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.ss-cover-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0.5rem 0 1.25rem;
}
.ss-cover-tagline {
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 2.5rem;
}
.ss-headline {
  font-size: clamp(2rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.5rem;
}
.ss-body {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 55ch;
  margin: 0 0 1.25rem;
}
.ss-cover-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4d8dff;
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 141, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ss-cover-link:hover {
  color: #7aadff;
  border-color: rgba(122, 173, 255, 0.6);
}
.ss-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.ss-scroll-dot {
  animation: ss-scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes ss-scroll-bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.4;
  }
}
.ss-metric-context {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
.ss-metric-before {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 100, 100, 0.4);
}
.ss-metric-arrow {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.25);
}
.ss-metric-number {
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  text-align: center;
}
.ss-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.ss-metric-label {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  max-width: 38ch;
  margin: 0;
}
.ss-metric-label strong {
  color: #fff;
  font-weight: 700;
}
.ss-chapter--navy .ss-metric-number {
  color: #7aadff;
}
.ss-chapter--green .ss-metric-number {
  color: #6ee7a0;
}
.ss-chapter--purple .ss-metric-number {
  color: #c4a8f5;
}
.ss-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.ss-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0.5rem;
  position: relative;
}
.ss-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.ss-timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 80px;
  padding-top: 0;
  position: relative;
  z-index: 1;
}
.ss-timeline__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.ss-timeline__label {
  font-size: 0.6875rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.ss-a11y-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.ss-outcome-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
}
@media (min-width: 640px) {
  .ss-outcome-metrics {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
}
.ss-outcome-tile {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
}
.ss-outcome-tile__value {
  display: block;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ss-outcome-tile__label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.4rem;
}
.ss-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.ss-btn-outline {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
}
.ss-btn-outline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
@media screen {
  .gallery-print-header, .print-entry, .print-cv {
    display: none !important;
  }
}
@media print {
  @page {
    margin: 0.6in 0.65in;
    size: letter portrait;
  }
  header, footer, nav, .card {
    display: none !important;
  }
  #gallery {
    padding: 0 !important;
  }
  #gallery .mx-auto {
    padding: 0 !important;
  }
  #gallery .row {
    display: block !important;
  }
  .gallery-item {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  .gallery-print-header {
    display: flex !important;
    align-items: flex-start;
    gap: 14pt;
    padding-bottom: 12pt;
    border-bottom: 2pt solid #0a66c2;
    margin-bottom: 14pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .gallery-print-header__avatar {
    width: 56pt;
    height: 56pt;
    border-radius: 50%;
    background-color: #0a66c2;
    color: #fff;
    font-size: 20pt;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .gallery-print-header__name {
    font-size: 20pt;
    font-weight: 700;
    color: #000;
    margin: 0 0 3pt;
    line-height: 1.1;
  }
  .gallery-print-header__title {
    font-size: 10.5pt;
    color: #000;
    margin: 0 0 3pt;
  }
  .gallery-print-header__meta {
    font-size: 8.5pt;
    color: #555;
    margin: 0;
  }
  .print-entry {
    display: flex !important;
    gap: 10pt;
    padding: 9pt 0;
    border-bottom: 0.5pt solid #e0e0e0;
    break-inside: avoid;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.5;
    color: #000;
  }
  .gallery-item:last-child .print-entry {
    border-bottom: none;
  }
  .print-entry__icon {
    width: 38pt;
    height: 38pt;
    border-radius: 5pt;
    border: 1pt solid #ccc;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16pt;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-entry__body {
    flex: 1;
    min-width: 0;
  }
  .print-entry__role {
    font-size: 10.5pt;
    font-weight: 700;
    color: #000;
    margin: 0 0 1.5pt;
    line-height: 1.3;
  }
  .print-entry__company {
    font-size: 9.5pt;
    font-weight: 500;
    color: #000;
    margin: 0 0 1pt;
  }
  .print-entry__emp-type {
    font-weight: 400;
    color: #444;
  }
  .print-entry__dates {
    font-size: 8.5pt;
    color: #555;
    margin: 0 0 1pt;
  }
  .print-entry__location {
    font-size: 8.5pt;
    color: #555;
    margin: 0 0 5pt;
  }
  .print-entry__summary {
    font-size: 9pt;
    color: #222;
    line-height: 1.5;
    margin: 0 0 5pt;
  }
  .print-entry__skills {
    list-style: none;
    margin: 0 0 4pt;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3pt;
  }
  .print-entry__skill-tag {
    font-size: 7.5pt;
    border: 0.5pt solid #aaa;
    border-radius: 3pt;
    padding: 1pt 5pt;
    color: #333;
  }
  .print-entry__url {
    margin: 0;
    font-size: 7.5pt;
  }
  .print-entry__url a {
    color: #0a66c2;
    text-decoration: none;
  }
}
.bs-article .highlight {
  margin-block: var(--space-8, 2rem);
  border-radius: var(--radius-xl, 1rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bs-article .highlight pre, .bs-article .chroma {
  color: #e6edf3;
  background-color: #0d1117;
  margin: 0;
  border-radius: var(--radius-xl, 1rem);
  overflow-x: auto;
}
.bs-article .chroma .err {
  color: #f85149;
}
.bs-article .chroma .lnlinks {
  outline: none;
  text-decoration: none;
  color: inherit;
}
.bs-article .chroma .lntd {
  vertical-align: top;
  padding: 0;
  margin: 0;
  border: 0;
}
.bs-article .chroma .lntable {
  border-spacing: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.bs-article .chroma .hl {
  background-color: #2d333b;
}
.bs-article .chroma .lnt {
  white-space: pre;
  -webkit-user-select: none;
  user-select: none;
  margin-right: 0.4em;
  padding: 0 0.4em;
  color: #737679;
}
.bs-article .chroma .ln {
  white-space: pre;
  -webkit-user-select: none;
  user-select: none;
  margin-right: 0.4em;
  padding: 0 0.4em;
  color: #6e7681;
}
.bs-article .chroma .line {
  display: flex;
}
.bs-article .chroma .k {
  color: #ff7b72;
}
.bs-article .chroma .kc {
  color: #79c0ff;
}
.bs-article .chroma .kd {
  color: #ff7b72;
}
.bs-article .chroma .kn {
  color: #ff7b72;
}
.bs-article .chroma .kp {
  color: #79c0ff;
}
.bs-article .chroma .kr {
  color: #ff7b72;
}
.bs-article .chroma .kt {
  color: #ff7b72;
}
.bs-article .chroma .nc {
  color: #f0883e;
  font-weight: bold;
}
.bs-article .chroma .no {
  color: #79c0ff;
  font-weight: bold;
}
.bs-article .chroma .nd {
  color: #d2a8ff;
  font-weight: bold;
}
.bs-article .chroma .ni {
  color: #ffa657;
}
.bs-article .chroma .ne {
  color: #f0883e;
  font-weight: bold;
}
.bs-article .chroma .nf {
  color: #d2a8ff;
  font-weight: bold;
}
.bs-article .chroma .nl {
  color: #79c0ff;
  font-weight: bold;
}
.bs-article .chroma .nn {
  color: #ff7b72;
}
.bs-article .chroma .py {
  color: #79c0ff;
}
.bs-article .chroma .nt {
  color: #7ee787;
}
.bs-article .chroma .nv {
  color: #79c0ff;
}
.bs-article .chroma .l {
  color: #a5d6ff;
}
.bs-article .chroma .ld {
  color: #79c0ff;
}
.bs-article .chroma .s {
  color: #a5d6ff;
}
.bs-article .chroma .sa {
  color: #79c0ff;
}
.bs-article .chroma .sb {
  color: #a5d6ff;
}
.bs-article .chroma .sc {
  color: #a5d6ff;
}
.bs-article .chroma .dl {
  color: #79c0ff;
}
.bs-article .chroma .sd {
  color: #a5d6ff;
}
.bs-article .chroma .s2 {
  color: #a5d6ff;
}
.bs-article .chroma .se {
  color: #79c0ff;
}
.bs-article .chroma .sh {
  color: #79c0ff;
}
.bs-article .chroma .si {
  color: #a5d6ff;
}
.bs-article .chroma .sx {
  color: #a5d6ff;
}
.bs-article .chroma .sr {
  color: #79c0ff;
}
.bs-article .chroma .s1 {
  color: #a5d6ff;
}
.bs-article .chroma .ss {
  color: #a5d6ff;
}
.bs-article .chroma .m {
  color: #a5d6ff;
}
.bs-article .chroma .mb {
  color: #a5d6ff;
}
.bs-article .chroma .mf {
  color: #a5d6ff;
}
.bs-article .chroma .mh {
  color: #a5d6ff;
}
.bs-article .chroma .mi {
  color: #a5d6ff;
}
.bs-article .chroma .il {
  color: #a5d6ff;
}
.bs-article .chroma .mo {
  color: #a5d6ff;
}
.bs-article .chroma .o {
  color: #ff7b72;
  font-weight: bold;
}
.bs-article .chroma .ow {
  color: #ff7b72;
  font-weight: bold;
}
.bs-article .chroma .c {
  color: #8b949e;
  font-style: italic;
}
.bs-article .chroma .ch {
  color: #8b949e;
  font-style: italic;
}
.bs-article .chroma .cm {
  color: #8b949e;
  font-style: italic;
}
.bs-article .chroma .c1 {
  color: #8b949e;
  font-style: italic;
}
.bs-article .chroma .cs {
  color: #8b949e;
  font-weight: bold;
  font-style: italic;
}
.bs-article .chroma .cp {
  color: #8b949e;
  font-weight: bold;
  font-style: italic;
}
.bs-article .chroma .cpf {
  color: #8b949e;
  font-weight: bold;
  font-style: italic;
}
.bs-article .chroma .gd {
  color: #ffa198;
  background-color: #490202;
}
.bs-article .chroma .ge {
  font-style: italic;
}
.bs-article .chroma .gr {
  color: #ffa198;
}
.bs-article .chroma .gh {
  color: #79c0ff;
  font-weight: bold;
}
.bs-article .chroma .gi {
  color: #56d364;
  background-color: #0f5323;
}
.bs-article .chroma .go {
  color: #8b949e;
}
.bs-article .chroma .gp {
  color: #8b949e;
}
.bs-article .chroma .gs {
  font-weight: bold;
}
.bs-article .chroma .gu {
  color: #79c0ff;
}
.bs-article .chroma .gt {
  color: #ff7b72;
}
.bs-article .chroma .gl {
  text-decoration: underline;
}
.bs-article .chroma .w {
  color: #6e7681;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
[id] {
  scroll-margin-top: 5.5rem;
}
::selection {
  background-color: var(--color-accent);
  color: var(--color-text-invert);
  text-shadow: none;
}
[data-theme='dark'] ::selection {
  background-color: var(--color-accent);
  color: var(--color-text-invert);
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
  transition: background var(--duration-base) var(--ease-in-out);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-strong) transparent;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.\@container {
  container-type: inline-size;
}
.collapse {
  visibility: collapse;
}
.invisible {
  visibility: hidden;
}
.visible {
  visibility: visible;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.not-sr-only {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.sticky {
  position: sticky;
}
.top-1\/2 {
  top: calc(1/2 * 100%);
}
.left-1\/2 {
  left: calc(1/2 * 100%);
}
.isolate {
  isolation: isolate;
}
.z-50 {
  z-index: 50;
}
.col-8 {
  grid-column: 8;
}
.col-12 {
  grid-column: 12;
}
.col-16 {
  grid-column: 16;
}
.col-18 {
  grid-column: 18;
}
.col-20 {
  grid-column: 20;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.container {
  width: 100%;
}
.mx-auto {
  margin-inline: auto;
}
.mt-auto {
  margin-top: auto;
}
.block {
  display: block;
}
.contents {
  display: contents;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.inline {
  display: inline;
}
.inline-block {
  display: inline-block;
}
.inline-flex {
  display: inline-flex;
}
.inline-grid {
  display: inline-grid;
}
.list-item {
  display: list-item;
}
.table {
  display: table;
}
.table-row {
  display: table-row;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.h-full {
  height: 100%;
}
.max-h-full {
  max-height: 100%;
}
.w-full {
  width: 100%;
}
.max-w-full {
  max-width: 100%;
}
.min-w-full {
  min-width: 100%;
}
.flex-shrink {
  flex-shrink: 1;
}
.shrink {
  flex-shrink: 1;
}
.flex-grow {
  flex-grow: 1;
}
.grow {
  flex-grow: 1;
}
.border-collapse {
  border-collapse: collapse;
}
.-translate-x-1\/2 {
  --tw-translate-x: calc(calc(1/2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.-translate-y-1\/2 {
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.translate-y-full {
  --tw-translate-y: 100%;
  translate: var(--tw-translate-x) var(--tw-translate-y);
}
.transform {
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.columns-1 {
  columns: 1;
}
.break-inside-avoid {
  break-inside: avoid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overflow-hidden {
  overflow: hidden;
}
.rounded-full {
  border-radius: calc(infinity * 1px);
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.bg-gradient-to-br {
  --tw-gradient-position: to bottom right in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops));
}
.bg-gradient-to-t {
  --tw-gradient-position: to top in oklab;
  background-image: linear-gradient(var(--tw-gradient-stops));
}
.to-transparent {
  --tw-gradient-to: transparent;
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
}
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
.text-center {
  text-align: center;
}
.text-wrap {
  text-wrap: wrap;
}
.lowercase {
  text-transform: lowercase;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.ordinal {
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
}
.no-underline {
  text-decoration-line: none;
}
.overline {
  text-decoration-line: overline;
}
.underline {
  text-decoration-line: underline;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opacity-0 {
  opacity: 0%;
}
.opacity-25 {
  opacity: 25%;
}
.opacity-75 {
  opacity: 75%;
}
.ring {
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.ring-2 {
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.outline {
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.backdrop-filter {
  -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
}
.transition {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-colors {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.transition-transform {
  transition-property: transform, translate, scale, rotate;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
.duration-300 {
  --tw-duration: 300ms;
  transition-duration: 300ms;
}
.outline-none {
  --tw-outline-style: none;
  outline-style: none;
}
.select-all {
  -webkit-user-select: all;
  user-select: all;
}
.group-hover\:scale-110 {
  &:is(:where(.group):hover *) {
    @media (hover: hover) {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }
}
.group-hover\:opacity-100 {
  &:is(:where(.group):hover *) {
    @media (hover: hover) {
      opacity: 100%;
    }
  }
}
.hover\:opacity-75 {
  &:hover {
    @media (hover: hover) {
      opacity: 75%;
    }
  }
}
.focus\:ring-2 {
  &:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
}
.focus\:outline-none {
  &:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
}
.active\:scale-95 {
  &:active {
    --tw-scale-x: 95%;
    --tw-scale-y: 95%;
    --tw-scale-z: 95%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
}
html {
  overflow-x: clip;
  scroll-padding-top: var(--header-h, 3.5rem);
}
img,
video,
picture > img,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}
.container table,
.cs-container table,
article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}
