/*
 * Minimal utility layer to mirror the Tailwind classes used by the public
 * marketing site, docs, and portal templates. This keeps server-side rendered
 * views styled without requiring the full Tailwind toolchain at runtime.
 */
:root {
  color-scheme: dark;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --neutral-50: #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;
  --neutral-950: #09090b;
  /* Greyscale-based accent colors - subtle violet tint for depth */
  --accent-primary: #8b87c5;
  --accent-primary-light: #a39fd8;
  --accent-primary-dark: #6b68a0;
  --accent-primary-rgb: 139, 135, 197;
  /* Neutral greys for secondary accents */
  --accent-silver: #9ca3af;
  --accent-silver-light: #d1d5db;
  --accent-silver-dark: #6b7280;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --emerald-100: #d1fae5;
  --emerald-300: #6ee7b7;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --green-50: #ecfdf5;
  --green-600: #16a34a;
  --green-700: #047857;
  --red-50: #fef2f2;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --rose-100: #ffe4e6;
  --rose-300: #fda4af;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-50: #fff1f2;
  --rose-700: #be123c;
  --white: #ffffff;
  --shadow-sm: 0 10px 15px -12px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 25px 40px -25px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 55px 85px -50px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 85px 140px -75px rgba(0, 0, 0, 0.75);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --space-0: 0;
  --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-3-5: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --site-container-max: 80rem;
  --site-main-padding-y: 4rem;
  --site-main-padding-y-mobile: 2rem;
  --site-surface-base: #09090b;
  --site-surface-card: rgba(24, 24, 27, 0.88);
  --site-surface-muted: rgba(39, 39, 42, 0.65);
  --site-border: rgba(161, 161, 170, 0.22);
  --site-text-primary: #f4f4f5;
  --site-text-secondary: #e4e4e7;
  --site-text-muted: #d4d4d8;
  --site-shadow-card: 0 25px 60px -30px rgba(0, 0, 0, 0.55);
  --pc-ring-color: rgba(var(--accent-primary-rgb), 0.55);
  --pc-ring-width: 3px;
  --pc-ring-offset-color: transparent;
  --pc-ring-offset-width: 0px;
  --link-color: #e4e4e7;
  --link-hover-color: #d4d4d8;
  /* Gradient System - Greyscale-based with subtle violet accent */
  --gradient-urgency: linear-gradient(90deg, var(--neutral-600) 0%, var(--neutral-500) 55%, var(--neutral-600) 100%);
  --gradient-cta: linear-gradient(0deg, var(--accent-primary-dark), var(--accent-primary-dark));
  --gradient-cta-alt: linear-gradient(0deg, var(--accent-primary), var(--accent-primary));
  --gradient-primary: linear-gradient(0deg, var(--accent-primary), var(--accent-primary));
  --gradient-secondary: linear-gradient(0deg, var(--neutral-500), var(--neutral-500));
  --gradient-logo: linear-gradient(0deg, var(--white), var(--white));

  /* Background & Surface Gradients */
  --gradient-body-dark: linear-gradient(0deg, #0a0a0a, #0a0a0a);
  --gradient-surface-dark: linear-gradient(0deg, rgba(15, 15, 16, 0.96), rgba(15, 15, 16, 0.96));
  --gradient-surface-light: linear-gradient(0deg, rgba(249, 249, 250, 0.98), rgba(249, 249, 250, 0.98));
  --gradient-hero-overlay: linear-gradient(0deg, rgba(18, 18, 21, 0.9), rgba(18, 18, 21, 0.9));
  --gradient-card-dark: linear-gradient(0deg, rgba(15, 15, 18, 0.92), rgba(15, 15, 18, 0.92));

  /* Accent & Effect Gradients - Greyscale with subtle tints */
  --gradient-accent-overlay: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.08), rgba(var(--accent-primary-rgb), 0.03));
  --gradient-accent-hover: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.12), rgba(var(--accent-primary-rgb), 0.06));
  --gradient-silver-overlay: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(209, 213, 219, 0.05));
  --gradient-neutral-overlay: linear-gradient(135deg, rgba(161, 161, 170, 0.08), rgba(212, 212, 216, 0.04));

  /* Shimmer & Animation Gradients */
  --gradient-shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  --gradient-shimmer-strong: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);

  /* Radial Gradients & Glows - Subtle greyscale glows */
  --glow-primary-soft: radial-gradient(circle at 14% 18%, rgba(var(--accent-primary-rgb), 0.08), transparent 60%);
  --glow-secondary-soft: radial-gradient(circle at 82% 12%, rgba(161, 161, 170, 0.1), transparent 55%);
  --glow-center: radial-gradient(circle at 50% 50%, rgba(var(--accent-primary-rgb), 0.08), transparent 70%);
  --particle-overlay: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%);

  /* Gold Theme Colors */
  --gold-50: #fefce8;
  --gold-100: #fef9c3;
  --gold-200: #fef08a;
  --gold-300: #fde047;
  --gold-400: #facc15;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --gold-700: #a16207;
  --gold-800: #854d0e;
  --gold-900: #713f12;
  --gold-950: #422006;

  /* Gold Gradients */
  --gradient-gold-primary: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
  --gradient-gold-secondary: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-700) 100%);
  --gradient-gold-subtle: linear-gradient(135deg, rgba(234, 179, 8, 0.08), rgba(202, 138, 4, 0.03));
  --gradient-gold-shine: linear-gradient(90deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-300) 100%);
  --glow-gold-soft: radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.12), transparent 60%);

  /* Font Size Scaling System for Accessibility */
  /* Default (medium) - 100% base */
  --font-scale: 1;
  --font-size-xs: calc(0.75rem * var(--font-scale));
  --font-size-sm: calc(0.875rem * var(--font-scale));
  --font-size-base: calc(1rem * var(--font-scale));
  --font-size-lg: calc(1.125rem * var(--font-scale));
  --font-size-xl: calc(1.25rem * var(--font-scale));
  --font-size-2xl: calc(1.5rem * var(--font-scale));
  --font-size-3xl: calc(1.875rem * var(--font-scale));
  --font-size-4xl: calc(2.25rem * var(--font-scale));
  --font-size-5xl: calc(3rem * var(--font-scale));
  --font-size-6xl: calc(3.75rem * var(--font-scale));
}

/* Font size presets - user-selectable */
[data-font-size="small"] {
  --font-scale: 0.875;
}

[data-font-size="medium"] {
  --font-scale: 1;
}

[data-font-size="large"] {
  --font-scale: 1.125;
}

[data-theme="light"] {
  color-scheme: light;
  --site-surface-base: var(--neutral-50);
  --site-surface-card: #ffffff;
  --site-surface-muted: var(--neutral-100);
  --site-border: rgba(24, 24, 27, 0.08);
  --site-text-primary: var(--neutral-900);
  --site-text-secondary: var(--neutral-700);
  --site-text-muted: var(--neutral-600);
  --site-shadow-card: 0 35px 65px -45px rgba(24, 24, 27, 0.25);
  --link-color: var(--neutral-700);
  --link-hover-color: var(--neutral-900);
  --pc-ring-color: rgba(var(--accent-primary-rgb), 0.45);
  --gradient-surface-dark: linear-gradient(0deg, rgba(252, 252, 253, 0.98), rgba(252, 252, 253, 0.98));
  --gradient-urgency: linear-gradient(0deg, var(--neutral-300), var(--neutral-300));
  --glow-primary-soft: radial-gradient(circle at 16% 20%, rgba(var(--accent-primary-rgb), 0.14), transparent 65%);
  --glow-secondary-soft: radial-gradient(circle at 78% 12%, rgba(161, 161, 170, 0.15), transparent 60%);
}

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

html {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-size: var(--font-size-base);
  background-color: var(--site-surface-base);
  color: var(--site-text-primary);
  transition: background-color 0.3s ease, color 0.3s ease, font-size 0.2s ease;
}

body.pc-modal-open {
  overflow: hidden;
}

[data-modal-overlay] {
  z-index: 60;
}

[data-modal-inner] {
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  outline: none;
  isolation: isolate; /* Prevents backdrop-filter blur bleed */
}

/* Ensure modal close button clicks work with SVG icons */
[data-modal-close] svg,
[data-modal-close] svg * {
  pointer-events: none;
}

/* Responsive modal width for mobile */
[data-modal-inner],
#modal-inner {
  max-width: calc(100vw - 2rem);
}

@media (min-width: 640px) {
  [data-modal-inner],
  #modal-inner {
    max-width: 90vw;
  }
}

@media (min-width: 1024px) {
  [data-modal-inner],
  #modal-inner {
    max-width: 64rem; /* max-w-5xl */
  }
}

@media (max-width: 640px) {
  [data-modal-inner] {
    max-height: calc(100vh - 2rem);
  }
}

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

  .site-urgency-pill {
    animation: none !important;
  }

  .site-theme-toggle,
  .home-featured__card,
  .btn,
  .btn-brand,
  .btn-primary,
  .btn-ghost {
    transition-duration: 0ms !important;
  }
}

.site-body {
  background-color: var(--site-surface-base);
  color: var(--site-text-primary);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:not(.btn):not(.site-nav__link):not(.site-footer__link):not(.frontmin-home__action):hover,
a:not(.btn):not(.site-nav__link):not(.site-footer__link):not(.frontmin-home__action):focus {
  color: var(--link-hover-color);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

input,
textarea,
select {
  background-color: rgba(24, 24, 27, 0.55);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-sm);
  color: var(--site-text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--site-text-muted);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
  color: var(--neutral-500);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(161, 161, 170, 0.6);
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.24);
  background-color: rgba(24, 24, 27, 0.75);
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background-color: var(--white);
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  background-color: var(--white);
  border-color: rgba(var(--accent-primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.18);
}

/* Typography scale ------------------------------------------------------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--font-mono); }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--white); }
.text-blue-500 { color: var(--accent-primary); }
.text-blue-600 { color: var(--accent-primary-dark); }
.text-blue-700 { color: var(--accent-primary); }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-400 { color: #34d399; }
.text-emerald-600 { color: var(--emerald-600); }
.text-emerald-700 { color: var(--emerald-700); }
.text-emerald-300 { color: var(--emerald-300); }
.text-emerald-800 { color: #065f46; }
.text-gray-200 { color: var(--neutral-200); }
.text-gray-300 { color: var(--neutral-300); }
.text-gray-400 { color: var(--neutral-400); }
.text-gray-500 { color: var(--neutral-500); }
.text-gray-600 { color: var(--neutral-600); }
.text-gray-700 { color: var(--neutral-700); }
.text-gray-800 { color: var(--neutral-800); }
.text-gray-900 { color: var(--neutral-900); }
.text-green-100 { color: #dcfce7; }
.text-green-400 { color: #4ade80; }
.text-green-700 { color: var(--green-700); }
.text-green-600 { color: var(--green-600); }
.text-red-100 { color: #fee2e2; }
.text-red-200 { color: #fecaca; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-red-600 { color: var(--red-600); }
.text-red-700 { color: var(--red-700); }
.text-rose-600 { color: var(--rose-600); }
.text-rose-700 { color: var(--rose-700); }
.text-rose-500 { color: var(--rose-500); }
.text-rose-300 { color: var(--rose-300); }
.text-rose-400 { color: #fb7185; }
.text-rose-100 { color: #ffe4e6; }
.text-amber-700 { color: var(--amber-700); }
.text-amber-800 { color: #92400e; }
.text-amber-300 { color: var(--amber-300); }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: var(--amber-500); }
.text-indigo-200 { color: var(--neutral-300); }
.text-indigo-300 { color: var(--neutral-400); }
.text-indigo-500 { color: var(--accent-primary); }
.text-indigo-600 { color: var(--accent-primary-dark); }
.text-slate-50 { color: var(--neutral-50); }
.text-slate-100 { color: var(--neutral-100); }
.text-slate-200 { color: rgba(212, 212, 216, 0.85); }
.text-slate-300 { color: rgba(161, 161, 170, 0.75); }
.text-slate-400 { color: var(--site-text-muted); }
.text-slate-500 { color: var(--site-text-muted); }
.text-slate-600 { color: var(--site-text-muted); }
.text-slate-700 { color: var(--site-text-secondary); }
.text-slate-800 { color: rgba(39, 39, 42, 0.9); }
.text-slate-900 { color: var(--site-text-primary); }

[data-theme="light"] .text-slate-50 { color: var(--neutral-50); }
[data-theme="light"] .text-slate-100 { color: var(--neutral-100); }
[data-theme="light"] .text-slate-200 { color: var(--neutral-200); }
[data-theme="light"] .text-slate-300 { color: var(--neutral-300); }
[data-theme="light"] .text-slate-400 { color: var(--neutral-400); }
[data-theme="light"] .text-slate-500 { color: var(--neutral-500); }
[data-theme="light"] .text-slate-600 { color: var(--neutral-600); }
[data-theme="light"] .text-slate-700 { color: var(--neutral-700); }
[data-theme="light"] .text-slate-800 { color: var(--neutral-800); }
[data-theme="light"] .text-slate-900 { color: var(--neutral-900); }

/* Text Contrast Utilities ------------------------------------------------ */
/* Ensures text remains readable on variable/gradient backgrounds by adding
   subtle shadow halos. Use these classes on text elements that appear on
   dynamic theme colors, gradients, or images to meet WCAG AA standards. */

/* Standard contrast enhancement - use on most text over gradients/colors */
.text-contrast-safe {
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Strong contrast enhancement - use on critical CTAs and important text */
.text-contrast-strong {
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 0, 0, 0.7),
    0 1px 3px rgba(0, 0, 0, 1);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
  text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

/* Subtle contrast enhancement - use when halo needs to be minimal */
.text-contrast-subtle {
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Light theme variants - use lighter shadows on dark text */
[data-theme="light"] .text-contrast-safe {
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(255, 255, 255, 1);
}

[data-theme="light"] .text-contrast-strong {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 0 16px rgba(255, 255, 255, 0.8),
    0 1px 3px rgba(255, 255, 255, 1);
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.4);
  text-stroke: 0.5px rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .text-contrast-subtle {
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Backgrounds ------------------------------------------------------------ */
.bg-white { background-color: var(--site-surface-card); }
.bg-slate-50 { background-color: var(--site-surface-muted); }
.bg-slate-100 { background-color: rgba(161, 161, 170, 0.12); }
.bg-slate-900 { background-color: var(--neutral-900); }
.bg-slate-950 { background-color: var(--neutral-950); }
.bg-slate-200 { background-color: rgba(161, 161, 170, 0.2); }
.bg-blue-600 { background-color: var(--accent-primary-dark); }
.bg-blue-700 { background-color: var(--neutral-700); }
.bg-indigo-50 { background-color: rgba(var(--accent-primary-rgb), 0.12); }
.bg-indigo-500 { background-color: var(--accent-primary); }
.bg-indigo-600 { background-color: var(--accent-primary-dark); }
.bg-indigo-400 { background-color: var(--accent-silver); }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-600 { background-color: var(--emerald-600); }
.bg-emerald-500 { background-color: var(--emerald-500); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-emerald-100 { background-color: var(--emerald-100); }
.bg-amber-500 { background-color: var(--amber-500); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
.bg-amber-50 { background-color: var(--amber-50); }
.bg-gray-50 { background-color: var(--neutral-50); }
.bg-gray-100 { background-color: var(--neutral-100); }
.bg-gray-200 { background-color: var(--neutral-200); }
.bg-gray-500 { background-color: var(--neutral-500); }
.bg-gray-600 { background-color: var(--neutral-600); }
.bg-gray-700 { background-color: var(--neutral-700); }
.bg-gray-800 { background-color: var(--neutral-800); }
.bg-green-50 { background-color: var(--green-50); }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-50 { background-color: var(--red-50); }
.bg-red-900\/20 { background-color: rgba(127, 29, 29, 0.2); }
.bg-red-600 { background-color: var(--red-600); }
.bg-rose-600 { background-color: var(--rose-600); }
.bg-rose-500 { background-color: var(--rose-500); }
.bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.bg-rose-500\/15 { background-color: rgba(244, 63, 94, 0.15); }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }
.bg-rose-500\/30 { background-color: rgba(244, 63, 94, 0.3); }
.bg-rose-50 { background-color: var(--rose-50); }
.bg-rose-100 { background-color: var(--rose-100); }
.bg-amber-100 { background-color: var(--amber-100); }
.bg-slate-500\/20 { background-color: rgba(113, 113, 122, 0.2); }
.bg-slate-900\/40 { background-color: rgba(24, 24, 27, 0.4); }
.bg-slate-900\/60 { background-color: rgba(24, 24, 27, 0.6); }
.bg-slate-900\/70 { background-color: rgba(24, 24, 27, 0.7); }
.bg-slate-900\/75 { background-color: rgba(24, 24, 27, 0.75); }
.bg-slate-950\/60 { background-color: rgba(9, 9, 11, 0.6); }
.bg-slate-700 { background-color: var(--neutral-700); }
.bg-slate-600 { background-color: var(--neutral-600); }
.bg-slate-800 { background-color: var(--neutral-800); }

[data-theme="light"] .bg-white { background-color: var(--white); }
[data-theme="light"] .bg-slate-50 { background-color: var(--neutral-50); }
[data-theme="light"] .bg-slate-100 { background-color: var(--neutral-100); }
[data-theme="light"] .bg-slate-200 { background-color: var(--neutral-200); }
[data-theme="light"] .bg-slate-950 { background-color: var(--neutral-950); }
[data-theme="light"] .bg-indigo-50 { background-color: rgba(var(--accent-primary-rgb), 0.18); }
[data-theme="light"] .bg-indigo-500 { background-color: var(--accent-primary); }
[data-theme="light"] .bg-indigo-600 { background-color: var(--accent-primary-dark); }
[data-theme="light"] .border { border-color: var(--neutral-200); }
[data-theme="light"] .border-t { border-top-color: var(--neutral-200); }
[data-theme="light"] .border-l { border-left-color: var(--neutral-200); }
[data-theme="light"] .border-r { border-right-color: var(--neutral-200); }
[data-theme="light"] .border-slate-100 { border-color: var(--neutral-100); }
[data-theme="light"] .border-slate-200 { border-color: var(--neutral-200); }
[data-theme="light"] .border-slate-300 { border-color: var(--neutral-300); }

/* Borders ---------------------------------------------------------------- */
.border { border-width: 1px; border-style: solid; border-color: var(--site-border); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--site-border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--site-border); }
.border-l { border-left-width: 1px; border-left-style: solid; border-left-color: var(--site-border); }
.border-r { border-right-width: 1px; border-right-style: solid; border-right-color: var(--site-border); }
.border-dashed { border-style: dashed; }
.border-slate-100 { border-color: var(--site-border); }
.border-slate-200 { border-color: var(--site-border); }
.border-slate-300 { border-color: rgba(161, 161, 170, 0.35); }
.border-slate-700 { border-color: var(--neutral-700); }
.border-slate-800 { border-color: var(--neutral-800); }
.border-gray-200 { border-color: var(--neutral-200); }
.border-gray-300 { border-color: var(--neutral-300); }
.border-gray-400 { border-color: var(--neutral-400); }
.border-gray-500 { border-color: var(--neutral-500); }
.border-gray-600 { border-color: var(--neutral-600); }
.border-gray-700 { border-color: var(--neutral-700); }
.border-amber-200 { border-color: #fcd34d; }
.border-amber-300 { border-color: var(--amber-300); }
.border-amber-500 { border-color: var(--amber-500); }
.border-emerald-200 { border-color: #a7f3d0; }
.border-emerald-300 { border-color: #6ee7b7; }
.border-emerald-500 { border-color: var(--emerald-500); }
.border-green-200 { border-color: #bbf7d0; }
.border-green-300 { border-color: #86efac; }
.border-red-500 { border-color: var(--red-600); }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-rose-200 { border-color: #fecdd3; }
.border-rose-100 { border-color: var(--rose-100); }
.border-rose-300 { border-color: #fda4af; }
.border-rose-400 { border-color: #fb7185; }
.border-rose-500 { border-color: var(--rose-500); }
.border-rose-600 { border-color: var(--rose-600); }
.border-rose-700 { border-color: var(--rose-700); }
.border-blue-400 { border-color: var(--accent-primary); }
.border-blue-500 { border-color: var(--accent-primary); }
.border-indigo-400 { border-color: var(--accent-silver); }

/* Layout utilities ------------------------------------------------------- */
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-4 { width: 1rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.min-w-full { min-width: 100%; }
.min-w-0 { min-width: 0; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }
.max-h-\[80vh\] { max-height: 80vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-5 { margin-left: var(--space-5); margin-right: var(--space-5); }
.mt-auto { margin-top: auto; }

.hidden { display: none; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

.grid { display: grid; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-10 { gap: var(--space-10); }
.analytics-summary-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.h-4 { height: 1rem; }
.h-72 { height: 18rem; }

.fixed { position: fixed; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bottom-4 { bottom: var(--space-4); }
.right-4 { right: var(--space-4); }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.transform { transform: translate3d(0, 0, 0); }
.-translate-x-full { transform: translateX(-100%); }
.transition-transform {
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-200 { transition-duration: 0.2s !important; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; }

.cursor-pointer { cursor: pointer; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:max-w-3xl { max-width: 48rem; }
  .md\:max-w-4xl { max-width: 56rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-\[280px,1fr\] { grid-template-columns: 280px 1fr; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:hidden { display: none !important; }
  .lg\:relative { position: relative !important; }
  .lg\:z-0 { z-index: 0 !important; }
  .lg\:shadow-none { box-shadow: none !important; }
  .lg\:translate-x-0 { transform: translateX(0) !important; }
  .lg\:w-64 { width: 16rem; }
  .lg\:w-80 { width: 20rem; }
  .lg\:w-auto { width: auto; }
  .lg\:max-w-5xl { max-width: 64rem; }
  .lg\:max-w-6xl { max-width: 72rem; }
  .lg\:px-10 { padding-left: var(--space-10); padding-right: var(--space-10); }
  .lg\:py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
}

/* Spacing ---------------------------------------------------------------- */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }

.ml-1 { margin-left: var(--space-1); }
.ml-2 { margin-left: var(--space-2); }
.ml-3 { margin-left: var(--space-3); }
.ml-5 { margin-left: var(--space-5); }
.mr-1 { margin-right: var(--space-1); }
.mr-2 { margin-right: var(--space-2); }

.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.pl-4 { padding-left: var(--space-4); }
.pl-6 { padding-left: var(--space-6); }
.pr-4 { padding-right: var(--space-4); }

.py-0\.5 { padding-top: var(--space-0-5); padding-bottom: var(--space-0-5); }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-1\.5 { padding-top: var(--space-1-5); padding-bottom: var(--space-1-5); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.space-x-2 > * + * { margin-left: var(--space-2); }
.space-x-4 > * + * { margin-left: var(--space-4); }
.space-x-6 > * + * { margin-left: var(--space-6); }
.space-y-1 > * + * { margin-top: var(--space-1); }
.space-y-2 > * + * { margin-top: var(--space-2); }
.space-y-3 > * + * { margin-top: var(--space-3); }
.space-y-4 > * + * { margin-top: var(--space-4); }
.space-y-5 > * + * { margin-top: var(--space-5); }
.space-y-6 > * + * { margin-top: var(--space-6); }
.space-y-8 > * + * { margin-top: var(--space-8); }

.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }

/* Effects ---------------------------------------------------------------- */
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow { box-shadow: var(--site-shadow-card); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-sm:hover, .hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.transition { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.transition-opacity { transition: opacity 0.2s ease; }
.opacity-0 { opacity: 0; }
.backdrop-blur-sm { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

.focus\:ring,
.focus\:ring-2,
.focus\:ring-indigo-500,
.focus\:ring-offset-2,
.focus\:ring-offset-slate-100,
.focus\:ring-offset-slate-900,
.focus\:ring-offset-white,
.dark\:focus\:ring-offset-slate-900 {
  --pc-ring-width: 0px;
  --pc-ring-color: rgba(var(--accent-primary-rgb), 0.45);
  --pc-ring-offset-width: 0px;
  --pc-ring-offset-color: transparent;
}

.focus\:ring { --pc-ring-width: 3px; }
.focus\:ring-2 { --pc-ring-width: 2px; }
.focus\:ring-indigo-500 { --pc-ring-color: rgba(var(--accent-primary-rgb), 0.55); }
.focus\:ring-offset-2 { --pc-ring-offset-width: 2px; }
.focus\:ring-offset-white { --pc-ring-offset-color: rgba(255, 255, 255, 0.95); }
.focus\:ring-offset-slate-100 { --pc-ring-offset-color: rgba(228, 228, 231, 0.9); }
.focus\:ring-offset-slate-900 { --pc-ring-offset-color: rgba(24, 24, 27, 0.85); }
.dark\:focus\:ring-offset-slate-900 { --pc-ring-offset-color: rgba(24, 24, 27, 0.85); }

.focus\:ring:focus,
.focus\:ring-2:focus,
.focus\:ring-indigo-500:focus,
.focus\:ring-offset-2:focus,
.focus\:ring-offset-slate-100:focus,
.focus\:ring-offset-slate-900:focus,
.focus\:ring-offset-white:focus,
.dark\:focus\:ring-offset-slate-900:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 var(--pc-ring-offset-width) var(--pc-ring-offset-color),
    0 0 0 calc(var(--pc-ring-offset-width) + var(--pc-ring-width)) var(--pc-ring-color);
}

.focus\:border-blue-400:focus { border-color: var(--accent-primary-light); }
.focus\:border-blue-500:focus { border-color: var(--accent-primary); }

.hover\:bg-blue-700:hover { background-color: var(--neutral-700); }
.hover\:bg-indigo-400:hover { background-color: var(--accent-silver); }
.hover\:bg-indigo-500:hover { background-color: var(--accent-primary); }
.hover\:bg-red-700:hover { background-color: var(--red-700); }
.hover\:bg-rose-100:hover { background-color: var(--rose-100); }
.hover\:bg-rose-500\/30:hover { background-color: rgba(244, 63, 94, 0.3); }
.hover\:bg-slate-100:hover { background-color: rgba(161, 161, 170, 0.18); }
.hover\:bg-slate-200:hover { background-color: rgba(161, 161, 170, 0.25); }
.hover\:bg-slate-800:hover { background-color: rgba(39, 39, 42, 0.85); }
.hover\:bg-slate-50:hover { background-color: rgba(161, 161, 170, 0.12); }
.hover\:bg-slate-700:hover { background-color: var(--neutral-700); }
.hover\:border-indigo-400:hover { border-color: rgba(var(--accent-primary-rgb), 0.9); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:text-blue-600:hover { color: var(--accent-primary-dark); }
.hover\:text-blue-700:hover { color: var(--accent-primary); }
.hover\:text-indigo-200:hover { color: var(--neutral-300); }
.hover\:text-indigo-500:hover { color: var(--accent-primary); }
.hover\:text-indigo-600:hover { color: var(--accent-primary-dark); }
.hover\:text-rose-500:hover { color: var(--rose-500); }
.hover\:text-slate-800:hover { color: var(--neutral-800); }
.hover\:text-white:hover { color: var(--white); }
.group:hover .group-hover\:text-blue-700 { color: var(--accent-primary); }
.bg-blue-600:hover,
.hover\:bg-blue-700:hover { color: var(--white); }
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.underline { text-decoration: underline; }

[data-theme="light"] .hover\:bg-slate-100:hover { background-color: var(--neutral-100); }
[data-theme="light"] .hover\:bg-slate-200:hover { background-color: var(--neutral-200); }
[data-theme="light"] .hover\:bg-slate-800:hover { background-color: #1e293b; }
[data-theme="light"] .hover\:bg-rose-100:hover { background-color: var(--rose-100); }
[data-theme="light"] .hover\:bg-slate-50:hover { background-color: var(--neutral-50); }
[data-theme="light"] .hover\:bg-slate-700:hover { background-color: var(--neutral-700); }
[data-theme="light"] .hover\:bg-indigo-400:hover { background-color: var(--accent-silver); }
[data-theme="light"] .divide-y > * + * { border-top-color: var(--neutral-200); }
[data-theme="light"] .divide-slate-100 > * + * { border-top-color: var(--neutral-100); }
[data-theme="light"] .divide-slate-200 > * + * { border-top-color: var(--neutral-200); }

/* Dark theme variants ---------------------------------------------------- */
[data-theme="dark"] .dark\:text-amber-300 { color: var(--amber-300); }
[data-theme="dark"] .dark\:text-amber-400 { color: #fbbf24; }
[data-theme="dark"] .dark\:text-amber-500 { color: var(--amber-500); }
[data-theme="dark"] .dark\:text-blue-200 { color: var(--neutral-100); }
[data-theme="dark"] .dark\:text-blue-300 { color: var(--accent-primary-light); }
[data-theme="dark"] .dark\:text-blue-400 { color: var(--accent-primary); }
[data-theme="dark"] .dark\:text-emerald-200 { color: #a7f3d0; }
[data-theme="dark"] .dark\:text-emerald-300 { color: var(--emerald-300); }
[data-theme="dark"] .dark\:text-emerald-400 { color: #34d399; }
[data-theme="dark"] .dark\:text-gray-200 { color: var(--neutral-200); }
[data-theme="dark"] .dark\:text-gray-500 { color: var(--neutral-500); }
[data-theme="dark"] .dark\:text-gray-600 { color: var(--neutral-400); }
[data-theme="dark"] .dark\:text-green-100 { color: #dcfce7; }
[data-theme="dark"] .dark\:text-green-400 { color: #4ade80; }
[data-theme="dark"] .dark\:text-indigo-300 { color: var(--neutral-400); }
[data-theme="dark"] .dark\:text-red-100 { color: #fee2e2; }
[data-theme="dark"] .dark\:text-red-200 { color: #fecaca; }
[data-theme="dark"] .dark\:text-red-300 { color: #fca5a5; }
[data-theme="dark"] .dark\:text-red-400 { color: #f87171; }
[data-theme="dark"] .dark\:text-rose-100 { color: #ffe4e6; }
[data-theme="dark"] .dark\:text-rose-200 { color: #fecdd3; }
[data-theme="dark"] .dark\:text-rose-300 { color: var(--rose-300); }
[data-theme="dark"] .dark\:text-rose-400 { color: #fb7185; }
[data-theme="dark"] .dark\:text-sky-200 { color: #bae6fd; }
[data-theme="dark"] .dark\:text-sky-300 { color: #7dd3fc; }
[data-theme="dark"] .dark\:text-slate-50 { color: var(--neutral-50); }
[data-theme="dark"] .dark\:text-slate-100 { color: var(--neutral-100); }
[data-theme="dark"] .dark\:text-slate-200 { color: var(--site-text-secondary); }
[data-theme="dark"] .dark\:text-slate-300 { color: rgba(212, 212, 216, 0.85); }
[data-theme="dark"] .dark\:text-slate-400 { color: rgba(161, 161, 170, 0.75); }
[data-theme="dark"] .dark\:text-slate-500 { color: rgba(161, 161, 170, 0.65); }
[data-theme="dark"] .dark\:text-slate-600 { color: var(--neutral-500); }
[data-theme="dark"] .dark\:text-slate-900 { color: var(--neutral-900); }
[data-theme="dark"] .dark\:text-slate-950 { color: var(--neutral-950); }
[data-theme="dark"] .dark\:text-white { color: var(--white); }
[data-theme="dark"] .dark\:hover\:text-blue-300:hover { color: var(--accent-primary-light); }
[data-theme="dark"] .dark\:hover\:text-indigo-200:hover { color: var(--neutral-300); }
[data-theme="dark"] .group:hover .dark\:group-hover\:text-blue-300 { color: var(--accent-primary-light); }
[data-theme="dark"] .group:hover .dark\:group-hover\:text-blue-400 { color: var(--accent-primary); }

[data-theme="dark"] .dark\:bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
[data-theme="dark"] .dark\:bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
[data-theme="dark"] .dark\:bg-amber-900\/20 { background-color: rgba(120, 53, 15, 0.2); }
[data-theme="dark"] .dark\:bg-amber-900\/40 { background-color: rgba(120, 53, 15, 0.4); }
[data-theme="dark"] .dark\:bg-amber-950\/30 { background-color: rgba(69, 26, 3, 0.3); }
[data-theme="dark"] .dark\:bg-blue-900\/20 { background-color: rgba(var(--accent-primary-rgb), 0.18); }
[data-theme="dark"] .dark\:bg-blue-900\/30 { background-color: rgba(var(--accent-primary-rgb), 0.24); }
[data-theme="dark"] .dark\:bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
[data-theme="dark"] .dark\:bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
[data-theme="dark"] .dark\:bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
[data-theme="dark"] .dark\:bg-emerald-900\/20 { background-color: rgba(6, 95, 70, 0.2); }
[data-theme="dark"] .dark\:bg-emerald-900\/30 { background-color: rgba(6, 95, 70, 0.3); }
[data-theme="dark"] .dark\:bg-emerald-950\/30 { background-color: rgba(2, 44, 34, 0.3); }
[data-theme="dark"] .dark\:bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
[data-theme="dark"] .dark\:bg-green-900\/50 { background-color: rgba(20, 83, 45, 0.5); }
[data-theme="dark"] .dark\:bg-gray-500\/20 { background-color: rgba(113, 113, 122, 0.2); }
[data-theme="dark"] .dark\:bg-gray-700 { background-color: var(--neutral-700); }
[data-theme="dark"] .dark\:bg-gray-700\/60 { background-color: rgba(63, 63, 70, 0.6); }
[data-theme="dark"] .dark\:bg-gray-800 { background-color: var(--neutral-800); }
[data-theme="dark"] .dark\:bg-indigo-500 { background-color: var(--accent-primary); }
[data-theme="dark"] .dark\:bg-rose-500\/5 { background-color: rgba(244, 63, 94, 0.05); }
[data-theme="dark"] .dark\:bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
[data-theme="dark"] .dark\:bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }
[data-theme="dark"] .dark\:bg-rose-900\/20 { background-color: rgba(136, 19, 55, 0.2); }
[data-theme="dark"] .dark\:bg-rose-900\/40 { background-color: rgba(136, 19, 55, 0.4); }
[data-theme="dark"] .dark\:bg-rose-900\/50 { background-color: rgba(136, 19, 55, 0.5); }
[data-theme="dark"] .dark\:bg-rose-950\/30 { background-color: rgba(76, 5, 25, 0.3); }
[data-theme="dark"] .dark\:bg-slate-200 { background-color: var(--neutral-200); }
[data-theme="dark"] .dark\:bg-slate-700\/50 { background-color: rgba(63, 63, 70, 0.5); }
[data-theme="dark"] .dark\:bg-slate-800\/50 { background-color: rgba(39, 39, 42, 0.5); }
[data-theme="dark"] .dark\:bg-slate-800\/60 { background-color: rgba(39, 39, 42, 0.6); }
[data-theme="dark"] .dark\:bg-slate-800\/70 { background-color: rgba(39, 39, 42, 0.7); }
[data-theme="dark"] .dark\:bg-slate-800 { background-color: var(--neutral-800); }
[data-theme="dark"] .dark\:bg-slate-900\/50 { background-color: rgba(24, 24, 27, 0.5); }
[data-theme="dark"] .dark\:bg-slate-900 { background-color: var(--neutral-900); }
[data-theme="dark"] .dark\:bg-slate-900\/40 { background-color: rgba(24, 24, 27, 0.4); }
[data-theme="dark"] .dark\:bg-slate-900\/60 { background-color: rgba(24, 24, 27, 0.6); }
[data-theme="dark"] .dark\:bg-slate-900\/70 { background-color: rgba(24, 24, 27, 0.7); }
[data-theme="dark"] .dark\:bg-slate-950\/75 { background-color: rgba(9, 9, 11, 0.75); }
[data-theme="dark"] .dark\:bg-slate-950 { background-color: var(--neutral-950); }
[data-theme="dark"] .dark\:bg-slate-950\/60 { background-color: rgba(9, 9, 11, 0.6); }

[data-theme="dark"] .dark\:hover\:bg-indigo-400:hover { background-color: var(--accent-silver); }
[data-theme="dark"] .dark\:hover\:bg-rose-500\/30:hover { background-color: rgba(244, 63, 94, 0.3); }
[data-theme="dark"] .dark\:hover\:bg-slate-100:hover { background-color: var(--neutral-100); }
[data-theme="dark"] .dark\:hover\:bg-slate-700:hover { background-color: var(--neutral-700); }
[data-theme="dark"] .dark\:hover\:bg-slate-800:hover { background-color: var(--neutral-800); }
[data-theme="dark"] .dark\:hover\:border-indigo-400:hover { border-color: rgba(var(--accent-primary-rgb), 0.9); }
[data-theme="dark"] .dark\:border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
[data-theme="dark"] .dark\:border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
[data-theme="dark"] .dark\:border-amber-500\/50 { border-color: rgba(245, 158, 11, 0.5); }
[data-theme="dark"] .dark\:border-amber-900\/60 { border-color: rgba(120, 53, 15, 0.6); }
[data-theme="dark"] .dark\:border-blue-700 { border-color: rgba(var(--accent-primary-rgb), 0.45); }
[data-theme="dark"] .dark\:border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
[data-theme="dark"] .dark\:border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
[data-theme="dark"] .dark\:border-emerald-500\/50 { border-color: rgba(16, 185, 129, 0.5); }
[data-theme="dark"] .dark\:border-emerald-800 { border-color: rgba(6, 95, 70, 0.8); }
[data-theme="dark"] .dark\:border-emerald-900 { border-color: rgba(6, 95, 70, 0.9); }
[data-theme="dark"] .dark\:border-emerald-900\/60 { border-color: rgba(6, 95, 70, 0.6); }
[data-theme="dark"] .dark\:border-green-500\/40 { border-color: rgba(34, 197, 94, 0.4); }
[data-theme="dark"] .dark\:border-green-600 { border-color: #16a34a; }
[data-theme="dark"] .dark\:border-green-700 { border-color: #15803d; }
[data-theme="dark"] .dark\:border-rose-500\/30 { border-color: rgba(244, 63, 94, 0.3); }
[data-theme="dark"] .dark\:border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }
[data-theme="dark"] .dark\:border-rose-500\/50 { border-color: rgba(244, 63, 94, 0.5); }
[data-theme="dark"] .dark\:border-rose-500\/60 { border-color: rgba(244, 63, 94, 0.6); }
[data-theme="dark"] .dark\:border-rose-900 { border-color: rgba(136, 19, 55, 0.9); }
[data-theme="dark"] .dark\:border-rose-900\/60 { border-color: rgba(136, 19, 55, 0.6); }

[data-theme="dark"] .dark\:border-slate-700 { border-color: rgba(161, 161, 170, 0.35); }
[data-theme="dark"] .dark\:border-slate-800 { border-color: rgba(39, 39, 42, 0.65); }
[data-theme="dark"] .dark\:divide-slate-800 > * + * { border-top-color: rgba(39, 39, 42, 0.65); }

[data-theme="dark"] .dark\:placeholder-slate-400::placeholder { color: rgba(161, 161, 170, 0.65); }

/* Login page dark mode alerts */
[data-theme="dark"] .dark\:bg-neutral-800 { background-color: var(--neutral-800); }
[data-theme="dark"] .dark\:bg-neutral-900 { background-color: var(--neutral-900); }
[data-theme="dark"] .dark\:border-neutral-600 { border-color: var(--neutral-600); }
[data-theme="dark"] .dark\:border-neutral-700 { border-color: var(--neutral-700); }
[data-theme="dark"] .dark\:border-neutral-800 { border-color: var(--neutral-800); }
[data-theme="dark"] .dark\:shadow-neutral-900\/50 { box-shadow: 0 1px 3px rgba(24, 24, 27, 0.5); }
[data-theme="dark"] .dark\:text-gray-100 { color: var(--neutral-100); }
[data-theme="dark"] .dark\:text-gray-300 { color: var(--neutral-300); }
[data-theme="dark"] .dark\:text-gray-400 { color: var(--neutral-400); }
[data-theme="dark"] .dark\:placeholder-gray-500::placeholder { color: var(--neutral-500); }

/* Alert dark mode backgrounds */
[data-theme="dark"] .dark\:bg-rose-900\/30 { background-color: rgba(136, 19, 55, 0.3); }
[data-theme="dark"] .dark\:bg-green-900\/30 { background-color: rgba(20, 83, 45, 0.3); }
[data-theme="dark"] .dark\:bg-amber-900\/30 { background-color: rgba(120, 53, 15, 0.3); }

/* Badge dark mode backgrounds (higher contrast for readability) */
[data-theme="dark"] .dark\:bg-rose-900\/60 { background-color: rgba(136, 19, 55, 0.6); }
[data-theme="dark"] .dark\:bg-green-900\/60 { background-color: rgba(20, 83, 45, 0.6); }
[data-theme="dark"] .dark\:bg-amber-900\/60 { background-color: rgba(120, 53, 15, 0.6); }

/* Alert dark mode borders */
[data-theme="dark"] .dark\:border-rose-800 { border-color: rgba(159, 18, 57, 0.8); }
[data-theme="dark"] .dark\:border-green-800 { border-color: rgba(22, 101, 52, 0.8); }
[data-theme="dark"] .dark\:border-amber-800 { border-color: rgba(146, 64, 14, 0.8); }

/* Alert/badge dark mode text */
[data-theme="dark"] .dark\:text-green-300 { color: #86efac; }
[data-theme="dark"] .dark\:text-rose-200 { color: #fecdd3; }
[data-theme="dark"] .dark\:text-amber-200 { color: #fde68a; }
[data-theme="dark"] .dark\:text-green-200 { color: #bbf7d0; }

.inline-flex { display: inline-flex; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-disc { list-style-type: disc; padding-left: 1.25rem; }
.list-inside { list-style-position: inside; }
.line-through { text-decoration: line-through; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.align-top { vertical-align: top; }
.divide-y > * + * { border-top: 1px solid var(--site-border); }
.divide-slate-100 > * + * { border-top-color: rgba(161, 161, 170, 0.18); }
.divide-slate-200 > * + * { border-top-color: var(--site-border); }

/* Prose-style content ----------------------------------------------------- */
.prose {
  color: var(--site-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--site-text-primary);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.prose p { margin-bottom: var(--space-4); }
.prose ul,
.prose ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-5);
}
.prose ul ul,
.prose ul ol,
.prose ol ul,
.prose ol ol {
  margin-top: var(--space-2);
  padding-left: var(--space-4);
}
.prose li {
  margin-bottom: var(--space-2);
}
.prose li::marker {
  color: var(--site-text-muted);
}
.prose a {
  color: var(--link-color);
  text-decoration: underline;
}
.prose a:hover,
.prose a:focus {
  color: var(--link-hover-color);
}
.prose-slate { color: var(--site-text-muted); }

[data-theme="light"] .prose { color: var(--neutral-700); }
[data-theme="light"] .prose h1,
[data-theme="light"] .prose h2,
[data-theme="light"] .prose h3,
[data-theme="light"] .prose h4 { color: var(--neutral-900); }
[data-theme="light"] .prose-slate { color: var(--neutral-600); }

.article-body {
  display: grid;
  gap: var(--space-4);
  color: var(--site-text-secondary);
  line-height: 1.7;
}
.article-body h2, .article-body h3 {
  color: var(--site-text-primary);
  font-weight: 600;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.article-body a { color: var(--link-color); text-decoration: underline; }
.article-body a:hover,
.article-body a:focus { color: var(--link-hover-color); }
[data-theme="light"] .article-body { color: var(--neutral-700); }
[data-theme="light"] .article-body h2,
[data-theme="light"] .article-body h3 { color: var(--neutral-900); }
.article-body ul,
.article-body ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-5);
}
.article-body ul ul,
.article-body ul ol,
.article-body ol ul,
.article-body ol ol {
  margin-top: var(--space-2);
  padding-left: var(--space-4);
}
.article-body li {
  margin-bottom: var(--space-2);
}
.article-body li::marker {
  color: var(--site-text-muted);
}

/* Task list (checkbox) styling - hide list markers for GFM task lists
   Goldmark generates: <ul><li><input type="checkbox" disabled> text</li></ul>
   We hide markers on any ul that contains checkbox li items using :has() */
.prose ul:has(> li > input[type="checkbox"]),
.article-body ul:has(> li > input[type="checkbox"]) {
  list-style: none;
  padding-left: var(--space-4);
}

.prose li:has(> input[type="checkbox"]),
.article-body li:has(> input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.prose li > input[type="checkbox"],
.article-body li > input[type="checkbox"] {
  margin-top: 0.35em;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

/* Mermaid diagram styling */
.mermaid {
  margin: 1.5rem 0;
  text-align: center;
}

.mermaid svg {
  max-width: 100%;
  height: auto;
}

/* Buttons ---------------------------------------------------------------- */
.button-reset {
  border: none;
  background: none;
  padding: 0;
}

.focus\:outline-none:focus { outline: none; }
.focus\:ring:focus { box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.18); }
.focus\:border-blue-400:focus { border-color: var(--accent-primary); }
.focus\:border-blue-500:focus { border-color: var(--accent-primary); }

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

main {
  width: 100%;
}

footer {
  background-color: transparent;
}

/* Site layout ------------------------------------------------------------ */
.site-container {
  max-width: var(--site-container-max);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (max-width: 768px) {
  .site-container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.site-urgency-bar {
  background: var(--neutral-900);
  border-bottom: 1px solid rgba(161, 161, 170, 0.15);
  color: #9ca3af;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: none;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.site-urgency-bar::before,
.site-urgency-bar::after {
  /* Removed glow effects for cleaner appearance */
  display: none;
}

.site-urgency-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  padding-top: var(--space-1-5);
  padding-bottom: var(--space-1-5);
  position: relative;
  z-index: 1;
}

.site-urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background-color: rgba(161, 161, 170, 0.12);
  border: 1px solid rgba(161, 161, 170, 0.25);
  box-shadow: none;
  font-weight: 600;
  animation: none;
}

[data-theme="light"] .site-urgency-bar {
  color: var(--neutral-800);
  background: var(--neutral-100);
  border-bottom-color: var(--site-border);
  box-shadow: none;
}

[data-theme="light"] .site-urgency-pill {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--neutral-700);
  border-color: var(--neutral-300);
  box-shadow: 0 2px 8px -4px rgba(24, 24, 27, 0.15);
}

.site-urgency-copy {
  font-weight: 500;
  opacity: 0.92;
}

@keyframes site-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background-color: rgba(9, 9, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 40px -30px rgba(0, 0, 0, 0.75);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background-color: rgba(12, 12, 14, 0.97);
  }
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.site-logo {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--site-text-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-logo:hover,
.site-logo:focus-visible {
  color: var(--white);
  opacity: 0.9;
}

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

.site-logo--frontmin {
  display: inline-flex;
  align-items: center;
  flex: 0 1 min(232px, 58vw);
  width: min(232px, 58vw);
  border-radius: 14px;
  color: inherit;
}

.site-logo--pixelcabin {
  display: inline-flex;
  align-items: center;
  flex: 0 1 min(264px, 62vw);
  width: min(264px, 62vw);
  border-radius: 14px;
  color: inherit;
}

.site-logo-svg--frontmin {
  width: min(232px, 58vw);
}

.site-logo-svg--pixelcabin {
  width: min(264px, 62vw);
}

.site-logo--pixelcabin:hover,
.site-logo--pixelcabin:focus-visible,
.site-logo--frontmin:hover,
.site-logo--frontmin:focus-visible {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

.site-nav__link {
  position: relative;
  color: var(--site-text-secondary);
  font-weight: 600;
  padding-bottom: var(--space-1);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  opacity: 0.85;
  transition: width 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__link:focus-visible {
  color: var(--white);
}

.site-nav__link:hover::after,
.site-nav__link:focus::after,
.site-nav__link:focus-visible::after {
  width: 100%;
}

.site-nav__group {
  position: relative;
}

.site-nav__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav__summary::-webkit-details-marker {
  display: none;
}

.site-nav__summary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.site-nav__group[open] .site-nav__summary::before {
  transform: rotate(-135deg) translateY(-0.1rem);
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 0;
  min-width: 14rem;
  padding: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(17, 17, 24, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 0.35rem;
  z-index: 30;
}

.site-nav__sublink {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 0.8rem;
  color: var(--site-text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus,
.site-nav__sublink:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.site-icon-button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--site-text-secondary);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

a.site-icon-button {
  text-decoration: none;
}

.site-icon-button:hover,
.site-icon-button:focus,
.site-icon-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .site-icon-button {
  border-color: rgba(24, 24, 27, 0.08);
  background-color: rgba(24, 24, 27, 0.03);
}

[data-theme="light"] .site-icon-button:hover,
[data-theme="light"] .site-icon-button:focus,
[data-theme="light"] .site-icon-button:focus-visible {
  border-color: rgba(24, 24, 27, 0.2);
  background-color: rgba(24, 24, 27, 0.05);
  color: var(--neutral-900);
  box-shadow: 0 10px 30px -20px rgba(24, 24, 27, 0.15);
}

.site-icon-button--theme .site-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.site-icon-button--theme {
  color: var(--neutral-50);
}

.site-icon-button--theme:hover,
.site-icon-button--theme:focus,
.site-icon-button--theme:focus-visible {
  color: var(--neutral-50);
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .site-icon-button--theme {
  color: var(--neutral-900);
}

[data-theme="light"] .site-icon-button--theme:hover,
[data-theme="light"] .site-icon-button--theme:focus,
[data-theme="light"] .site-icon-button--theme:focus-visible {
  color: var(--neutral-900);
  border-color: rgba(24, 24, 27, 0.2);
  background-color: rgba(24, 24, 27, 0.05);
}

.site-icon-button--portal {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
  background-color: rgba(96, 165, 250, 0.12);
}

/* Admin edit button - amber accent */
.site-icon-button--admin {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
  background-color: rgba(251, 191, 36, 0.12);
}

.site-icon-button--admin:hover,
.site-icon-button--admin:focus {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.6);
  background-color: rgba(251, 191, 36, 0.2);
}

[data-theme="light"] .site-icon-button--admin {
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.4);
  background-color: rgba(217, 119, 6, 0.12);
}

[data-theme="light"] .site-icon-button--admin:hover,
[data-theme="light"] .site-icon-button--admin:focus {
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.6);
  background-color: rgba(217, 119, 6, 0.2);
}

.site-icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* Danger variant for logout/destructive actions */
.site-icon-button--danger {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background-color: rgba(248, 113, 113, 0.12);
}

.site-icon-button--danger:hover,
.site-icon-button--danger:focus,
.site-icon-button--danger:focus-visible {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.6);
  background-color: rgba(248, 113, 113, 0.2);
}

[data-theme="light"] .site-icon-button--danger {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.4);
  background-color: rgba(220, 38, 38, 0.12);
}

[data-theme="light"] .site-icon-button--danger:hover,
[data-theme="light"] .site-icon-button--danger:focus,
[data-theme="light"] .site-icon-button--danger:focus-visible {
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.6);
  background-color: rgba(220, 38, 38, 0.2);
}

/* Theme toggle sun/moon icons - show/hide based on current theme */
.site-icon--sun {
  display: none;
}

.site-icon--moon {
  display: block;
}

[data-theme="light"] .site-icon--sun {
  display: block;
}

[data-theme="light"] .site-icon--moon {
  display: none;
}

[data-theme-visual] {
  display: none;
}

html[data-theme="dark"] [data-theme-visual="dark"],
html[data-theme="light"] [data-theme-visual="light"] {
  display: inline-flex;
}

/* Mobile menu toggle button ------------------------------------------- */
.site-mobile-menu-toggle {
  display: none;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  color: var(--site-text-secondary);
  transition: color 0.2s ease;
}

.site-mobile-menu-toggle:hover {
  color: var(--white);
}

.site-mobile-menu-icon,
.site-mobile-menu-close {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-mobile-menu-close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.site-mobile-menu-toggle[aria-expanded="true"] .site-mobile-menu-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.site-mobile-menu-toggle[aria-expanded="true"] .site-mobile-menu-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

@media (max-width: 768px) {
  .site-mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 50; /* Ensure toggle is above everything */
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    background: var(--site-surface-base);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: var(--space-4) var(--space-6) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
    gap: var(--space-4);
    transform: translateX(-100%);
    visibility: hidden;
    z-index: 40; /* Above backdrop (35) */
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    isolation: isolate; /* Prevents backdrop-filter blur bleed */
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__link {
    width: 100%;
    padding: var(--space-3) 0;
    font-size: 1.1rem;
    text-align: left;
  }

  .site-nav__group {
    width: 100%;
  }

  .site-nav__summary {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__dropdown {
    position: static;
    min-width: 0;
    margin-top: var(--space-2);
    padding: var(--space-2) 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav__sublink {
    padding: 0.85rem 0;
    font-size: 0.98rem;
  }

  .site-header__inner {
    position: relative;
    z-index: 50; /* Always on top */
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .site-header__actions {
    position: fixed;
    top: var(--space-4);
    right: calc(var(--space-4) + 48px); /* Leave room for hamburger toggle */
    left: auto;
    z-index: 35; /* Below header inner (40) to not cover hamburger toggle */
    background: transparent;
    flex-wrap: nowrap;
    width: max-content;
  }
}

/* Mobile menu backdrop overlay ------------------------------------------ */
.site-mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 19; /* Below header (20) to prevent blur bleeding onto header content */
  background-color: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.site-mobile-menu-backdrop.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

[data-theme="light"] .site-mobile-menu-backdrop {
  background-color: rgba(255, 255, 255, 0.7);
}

/* Font size icon visual differentiation */
.font-size-icon {
  font-weight: 600;
  font-family: var(--font-sans);
  display: inline-flex;
  gap: var(--space-0-5);
  align-items: flex-end;
}

.font-size-icon--dual {
  line-height: 1;
}

.font-size-icon__large {
  font-size: 1rem;
}

.font-size-icon__small {
  font-size: 0.75rem;
  opacity: 0.65;
  transform-origin: center bottom;
}

[data-font-size-icon-static="true"][data-font-size-state="small"] .font-size-icon__small,
[data-font-size-icon-static="true"][data-font-size-state="large"] .font-size-icon__large,
[data-font-size-icon-static="true"][data-font-size-state="medium"] .font-size-icon__large {
  opacity: 1;
}

[data-font-size-icon-static="true"][data-font-size-state="large"] .font-size-icon__large {
  transform: scale(1.05);
}

[data-font-size-icon-static="true"][data-font-size-state="small"] .font-size-icon__small {
  transform: translateY(-1px) scale(0.95);
}

.site-main {
  padding-top: var(--site-main-padding-y);
  padding-bottom: var(--site-main-padding-y);
}

@media (max-width: 640px) {
  .site-main {
    padding-top: var(--site-main-padding-y-mobile);
    padding-bottom: var(--site-main-padding-y-mobile);
  }
}

.site-footer {
  border-top: 1px solid rgba(161, 161, 170, 0.18);
  padding: var(--space-6) 0;
  background-color: rgba(12, 12, 15, 0.9);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
  color: var(--site-text-muted);
  font-size: 0.95rem;
}

.site-footer__branding {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 220px;
}

.site-footer__logo {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}

.site-footer__logo:hover,
.site-footer__logo:focus,
.site-footer__logo:focus-visible {
  color: var(--white);
}

.site-footer__copy {
  opacity: 0.78;
}

.site-footer__tagline {
  opacity: 0.65;
  font-size: 0.875rem;
  color: var(--site-text-muted);
}

.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(161, 161, 170, 0.1);
  color: rgba(228, 228, 231, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus,
.site-footer__social-link:focus-visible {
  background: rgba(161, 161, 170, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer__social-link svg {
  display: block;
}

.site-footer__nav {
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 160px;
}

.site-footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(161, 161, 170, 0.8);
}

.site-footer__link {
  color: rgba(228, 228, 231, 0.9);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus,
.site-footer__link:focus-visible {
  color: var(--white);
  opacity: 1;
}
.changelog-page {
  display: grid;
  gap: var(--space-8);
}

.changelog-page__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.02);
}

.changelog-page__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--site-text-muted);
  margin-bottom: var(--space-1);
}

.changelog-page__title {
  margin: 0 0 var(--space-2);
  font-size: 2rem;
}

.changelog-page__subtitle,
.changelog-page__timestamp {
  margin: 0;
  color: var(--site-text-muted);
}

.changelog-page__hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.changelog-page__section {
  display: grid;
  gap: var(--space-4);
}

.changelog-page__section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: 1.25rem;
}

.changelog-page__section-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--site-text-muted);
}

.changelog-page__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.changelog-card {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow: 0 15px 40px -30px rgba(0, 0, 0, 0.6);
}

.changelog-card--compact {
  padding: var(--space-4);
}

.changelog-card header {
  margin-bottom: var(--space-3);
}

.changelog-card__eyebrow {
  margin: 0 0 var(--space-1);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--site-text-muted);
}

.changelog-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.changelog-card__meta {
  margin: var(--space-1) 0 0;
  font-size: 0.85rem;
  color: var(--site-text-muted);
}

.changelog-card__body :last-child {
  margin-bottom: 0;
}

.changelog-page__status {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.02);
}

.changelog-page__source {
  margin: 0;
  font-size: 0.85rem;
  color: var(--site-text-muted);
}

[data-theme="light"] .changelog-page__hero,
[data-theme="light"] .changelog-card,
[data-theme="light"] .changelog-page__status {
  background-color: var(--white);
  border-color: rgba(24, 24, 27, 0.08);
}

@media (max-width: 640px) {
  .changelog-page__hero {
    flex-direction: column;
  }

  .changelog-page__hero-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

[data-theme="dark"] .site-footer__link {
  color: rgba(228, 228, 231, 0.88);
}

[data-theme="dark"] .site-footer__link:hover,
[data-theme="dark"] .site-footer__link:focus,
[data-theme="dark"] .site-footer__link:focus-visible {
  color: var(--white);
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .site-logo {
    flex: 1;
    min-width: 0;
    order: 1;
  }

  .site-logo.site-logo--frontmin {
    flex: 0 1 min(232px, 58vw);
  }

  .site-logo.site-logo--pixelcabin {
    flex: 0 1 min(264px, 62vw);
  }

  /* Hamburger toggle next to logo */
  .site-mobile-menu-toggle {
    order: 2;
    flex-shrink: 0;
  }

  /* Move actions to second row, full width */
  .site-header__actions {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: var(--space-3);
    padding-top: var(--space-2);
    border-top: 1px solid var(--site-border);
    margin-top: var(--space-2);
  }

  /* Show GitHub/Discord icons on mobile (now on second row) */
  .site-header__actions .site-icon-button--github,
  .site-header__actions .site-icon-button--discord {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(var(--accent-primary-rgb), 0.75);
  outline-offset: 2px;
}

[data-theme="light"] .btn:focus-visible {
  outline-color: rgba(var(--accent-primary-rgb), 0.65);
}

.btn-brand {
  background: var(--accent-primary-dark);
  color: var(--white);
  box-shadow: 0 20px 40px -20px rgba(var(--accent-primary-rgb), 0.5);
  position: relative;
  overflow: hidden;
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 28px 55px -22px rgba(var(--accent-primary-rgb), 0.65);
  background: var(--accent-primary);
}

.btn-brand:focus-visible {
  outline-color: rgba(var(--accent-primary-rgb), 0.75);
  box-shadow: 0 20px 40px -26px rgba(var(--accent-primary-rgb), 0.65), 0 0 0 3px rgba(24, 24, 27, 0.6), 0 0 0 6px rgba(var(--accent-primary-rgb), 0.35);
}

[data-theme="light"] .btn-brand {
  box-shadow: 0 18px 36px -24px rgba(var(--accent-primary-rgb), 0.3);
}

[data-theme="light"] .btn-brand:focus-visible {
  box-shadow: 0 18px 36px -24px rgba(var(--accent-primary-rgb), 0.3), 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 6px rgba(var(--accent-primary-rgb), 0.35);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent-primary-dark);
  color: var(--white);
  box-shadow: 0 20px 40px -20px rgba(var(--accent-primary-rgb), 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 28px 55px -22px rgba(var(--accent-primary-rgb), 0.65);
  color: var(--white);
  background: var(--accent-primary);
}

.btn-primary:focus-visible {
  outline-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 28px 55px -22px rgba(var(--accent-primary-rgb), 0.65), 0 0 0 3px rgba(24, 24, 27, 0.6), 0 0 0 6px rgba(var(--accent-primary-rgb), 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: 999px;
  border: 1px solid rgba(161, 161, 170, 0.45);
  color: var(--site-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(24, 24, 27, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(24, 24, 27, 0.55);
}

.btn-ghost:focus-visible {
  outline-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.6), 0 0 0 6px rgba(161, 161, 170, 0.35);
}

[data-theme="light"] .btn-ghost:focus-visible {
  outline-color: rgba(var(--accent-primary-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 0 0 6px rgba(var(--accent-primary-rgb), 0.25);
}

.site-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 0;
  background: var(--neutral-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-form-submit:hover,
.site-form-submit:focus {
  background: var(--neutral-700);
  color: var(--white);
}

.site-form-submit:focus-visible {
  outline: 3px solid rgba(var(--accent-primary-rgb), 0.6);
  outline-offset: 2px;
}

.site-form-submit:active {
  transform: translateY(1px);
}

.site-form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

[data-theme="dark"] .site-form-submit {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

[data-theme="dark"] .site-form-submit:hover,
[data-theme="dark"] .site-form-submit:focus {
  background: var(--white);
  color: var(--neutral-900);
}

.pc-status-toggle {
  color: inherit;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-status-toggle--active {
  background-color: var(--accent-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.4);
  color: var(--neutral-950) !important;
}

.pc-status-toggle--active:hover,
.pc-status-toggle--active:focus {
  background-color: var(--accent-primary-dark);
  border-color: rgba(var(--accent-primary-rgb), 0.5);
  color: var(--neutral-950) !important;
}

[data-theme="dark"] .pc-status-toggle {
  text-shadow: none;
}

.pc-btn-accent {
  background-color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.4);
  color: var(--neutral-950) !important;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pc-btn-accent:hover,
.pc-btn-accent:focus-visible {
  background-color: var(--accent-primary-dark);
  border-color: rgba(var(--accent-primary-rgb), 0.5);
  color: var(--neutral-950) !important;
  box-shadow: none;
}

.pc-btn-accent *,
.pc-status-toggle--active *,
.pc-pill-accent * {
  color: inherit !important;
  fill: currentColor;
  stroke: currentColor;
}

[data-theme="dark"] .pc-btn-accent {
  color: var(--neutral-950) !important;
  text-shadow: none;
}

.pc-pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 0;
  background-color: var(--accent-primary);
  color: var(--neutral-950);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.pc-pill-accent--action {
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pc-pill-accent--action:hover,
.pc-pill-accent--action:focus-visible {
  background-color: var(--accent-primary-dark);
  color: var(--neutral-950);
  box-shadow: none;
}

.pc-pill-accent--action:focus-visible {
  outline: 2px solid var(--pc-ring-color);
  outline-offset: 2px;
}

[data-theme="dark"] .pc-pill-accent {
  color: var(--neutral-950);
  text-shadow: none;
}

.editor-toggle--active {
  background-color: var(--accent-primary);
  color: var(--neutral-950) !important;
  box-shadow: none;
}

.editor-toggle--active:hover,
.editor-toggle--active:focus-visible {
  background-color: var(--accent-primary-dark);
  color: var(--neutral-950) !important;
}

.stripe-price-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stripe-price-card {
  border: 1px solid rgba(161, 161, 170, 0.42);
  border-radius: 0.85rem;
  background: rgba(250, 250, 250, 0.92);
  padding: 1rem;
  box-shadow: 0 18px 34px -24px rgba(24, 24, 27, 0.25);
}

.stripe-price-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .stripe-price-card__body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stripe-price-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stripe-price-card__label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.stripe-price-card__amount {
  font-size: 0.8rem;
  font-weight: 500;
}

.stripe-price-card__interval,
.stripe-price-card__currency {
  margin-left: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stripe-price-card__id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #475569;
  word-break: break-all;
}

.stripe-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.stripe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.stripe-badge--default {
  background-color: rgba(var(--accent-primary-rgb), 0.18);
  border-color: rgba(var(--accent-primary-rgb), 0.45);
  color: #014d43;
}

.stripe-badge--active {
  background-color: rgba(79, 70, 229, 0.15);
  border-color: rgba(79, 70, 229, 0.35);
  color: #312e81;
}

.stripe-badge--hidden {
  background-color: rgba(161, 161, 170, 0.2);
  border-color: rgba(113, 113, 122, 0.45);
  color: #475569;
}

.stripe-badge--legacy {
  background-color: rgba(251, 191, 36, 0.2);
  border-color: rgba(217, 119, 6, 0.45);
  color: #92400e;
}

.stripe-action-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.stripe-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.stripe-action:focus-visible {
  outline: 2px solid var(--pc-ring-color);
  outline-offset: 2px;
}

.stripe-action__icon {
  display: inline-flex;
  width: 0;
  height: 0.8rem;
  margin-right: 0;
  opacity: 0;
  transform: translateY(2px) scale(0.85);
  transition: margin-right 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.stripe-action__icon svg {
  width: 100%;
  height: 100%;
}

.stripe-action:hover .stripe-action__icon,
.stripe-action:focus-visible .stripe-action__icon {
  width: 0.85rem;
  margin-right: 0.35rem;
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .stripe-action__icon {
    transition: none;
  }

  .stripe-action:hover .stripe-action__icon,
  .stripe-action:focus-visible .stripe-action__icon {
    transform: none;
  }
}

.stripe-price-empty {
  border-style: dashed;
}

.stripe-action--default {
  background-color: rgba(var(--accent-primary-rgb), 0.18);
  border-color: rgba(var(--accent-primary-rgb), 0.45);
  color: var(--neutral-900);
}

.stripe-action--default:hover,
.stripe-action--default:focus-visible {
  background-color: rgba(var(--accent-primary-rgb), 0.26);
  border-color: rgba(var(--accent-primary-rgb), 0.6);
}

.stripe-action--hide {
  background-color: rgba(251, 191, 36, 0.16);
  border-color: rgba(217, 119, 6, 0.45);
  color: #b45309;
}

.stripe-action--hide:hover,
.stripe-action--hide:focus-visible {
  background-color: rgba(251, 191, 36, 0.24);
  border-color: rgba(217, 119, 6, 0.6);
}

.stripe-action--activate {
  background-color: rgba(16, 185, 129, 0.18);
  border-color: rgba(5, 150, 105, 0.45);
  color: #047857;
}

.stripe-action--activate:hover,
.stripe-action--activate:focus-visible {
  background-color: rgba(16, 185, 129, 0.26);
  border-color: rgba(5, 150, 105, 0.6);
}

.stripe-action--neutral {
  background-color: rgba(161, 161, 170, 0.18);
  border-color: rgba(113, 113, 122, 0.45);
  color: var(--neutral-700);
}

.stripe-action--neutral:hover,
.stripe-action--neutral:focus-visible {
  background-color: rgba(161, 161, 170, 0.26);
  border-color: rgba(113, 113, 122, 0.6);
}

.stripe-action--danger {
  background-color: rgba(244, 63, 94, 0.16);
  border-color: rgba(190, 18, 60, 0.45);
  color: #be123c;
}

.stripe-action--danger:hover,
.stripe-action--danger:focus-visible {
  background-color: rgba(244, 63, 94, 0.24);
  border-color: rgba(190, 18, 60, 0.6);
}

[data-theme="dark"] .stripe-price-card {
  background: rgba(24, 24, 27, 0.6);
  border-color: rgba(161, 161, 170, 0.4);
  box-shadow: 0 0 0 1px rgba(24, 24, 27, 0.4);
}

[data-theme="dark"] .stripe-price-card__id {
  color: rgba(212, 212, 216, 0.9);
}

[data-theme="dark"] .stripe-badge--default {
  background-color: rgba(var(--accent-primary-rgb), 0.35);
  border-color: rgba(var(--accent-primary-rgb), 0.55);
  color: #ecfdf5;
}

[data-theme="dark"] .stripe-badge--active {
  background-color: rgba(165, 180, 252, 0.35);
  border-color: rgba(129, 140, 248, 0.55);
  color: #e0e7ff;
}

[data-theme="dark"] .stripe-badge--hidden {
  background-color: rgba(113, 113, 122, 0.45);
  border-color: rgba(161, 161, 170, 0.65);
  color: #f8fafc;
}

[data-theme="dark"] .stripe-badge--legacy {
  background-color: rgba(217, 119, 6, 0.45);
  border-color: rgba(251, 191, 36, 0.6);
  color: #fef3c7;
}

[data-theme="dark"] .stripe-action {
  color: var(--neutral-950);
  box-shadow: none;
}

[data-theme="dark"] .stripe-action--default {
  background-color: rgba(var(--accent-primary-rgb), 0.35);
  border-color: rgba(var(--accent-primary-rgb), 0.55);
}

[data-theme="dark"] .stripe-action--hide {
  background-color: rgba(217, 119, 6, 0.35);
  border-color: rgba(217, 119, 6, 0.55);
  color: #fef3c7;
}

[data-theme="dark"] .stripe-action--activate {
  background-color: rgba(16, 185, 129, 0.35);
  border-color: rgba(5, 150, 105, 0.55);
  color: #ecfdf5;
}

[data-theme="dark"] .stripe-action--neutral {
  background-color: rgba(161, 161, 170, 0.35);
  border-color: rgba(113, 113, 122, 0.55);
  color: var(--neutral-50);
}

[data-theme="dark"] .stripe-action--danger {
  background-color: rgba(244, 63, 94, 0.35);
  border-color: rgba(190, 18, 60, 0.55);
  color: #fee2e2;
}

[data-theme="dark"] .pc-status-toggle:not(.pc-status-toggle--active) {
  color: rgba(228, 228, 231, 0.92) !important;
}

[data-theme="dark"] .pc-status-toggle:hover,
[data-theme="dark"] .pc-status-toggle:focus {
  color: var(--site-text-primary) !important;
}

.pc-status-toggle:focus-visible {
  outline: 3px solid var(--pc-ring-color);
  outline-offset: 2px;
}

[data-theme="dark"] .pc-status-toggle--muted {
  background-color: rgba(24, 24, 27, 0.7);
  border-color: rgba(161, 161, 170, 0.45);
  color: rgba(228, 228, 231, 0.92) !important;
  text-shadow: 0 1px 1px rgba(9, 9, 11, 0.7);
}

[data-theme="dark"] .pc-status-toggle--muted:hover,
[data-theme="dark"] .pc-status-toggle--muted:focus {
  background-color: rgba(24, 24, 27, 0.85);
  border-color: rgba(161, 161, 170, 0.6);
  color: var(--white) !important;
}

[data-theme="dark"] .pc-status-toggle--active {
  background-color: var(--accent-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.85);
  color: var(--white) !important;
  box-shadow: 0 18px 32px -24px rgba(var(--accent-primary-rgb), 0.6);
}

[data-theme="dark"] .pc-status-toggle--active:hover,
[data-theme="dark"] .pc-status-toggle--active:focus {
  background-color: var(--accent-primary-dark);
  border-color: var(--accent-primary-dark);
  color: var(--white) !important;
}

/* Home featured --------------------------------------------------------- */
.home-featured {
  margin-top: var(--space-16);
  display: grid;
  gap: var(--space-8);
}

.home-showcase {
  margin-top: var(--space-16);
  display: grid;
  gap: var(--space-6);
}

.home-showcase__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-showcase__card {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 32px 65px -48px rgba(16, 185, 129, 0.45);
}

.home-showcase__empty {
  color: var(--site-text-muted);
  font-size: 0.95rem;
}

.home-section-actions {
  display: flex;
  justify-content: center;
}

.home-section-actions .btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-premium {
  margin-top: var(--space-16);
  display: grid;
  gap: var(--space-6);
}

.home-premium__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.home-premium__card {
  background: rgba(31, 41, 55, 0.78);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.38);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
  box-shadow: 0 38px 70px -50px rgba(var(--accent-primary-rgb), 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-premium__card:hover,
.home-premium__card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.55);
  box-shadow: 0 48px 90px -55px rgba(var(--accent-primary-rgb), 0.55);
}

.home-premium__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--gradient-cta);
  color: var(--white);
  font-weight: 600;
  transform: translateZ(0);
  isolation: isolate;
  /* Enhanced text contrast for gradient background */
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

.home-premium__plans {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-premium__plans li {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid rgba(161, 161, 170, 0.25);
  border-radius: 999px;
  padding: var(--space-1) var(--space-3);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(228, 228, 231, 0.85);
}

.home-premium__link {
  font-weight: 600;
  color: var(--accent-silver-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-premium__link:hover,
.home-premium__link:focus {
  color: var(--accent-silver);
}

.home-premium__empty {
  color: var(--site-text-muted);
  font-size: 0.95rem;
}

.home-section-heading {
  display: grid;
  gap: var(--space-2);
}

.home-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.home-section-subtitle {
  font-size: 1rem;
  color: var(--site-text-muted);
  margin: 0;
}

.home-featured__grid {
  display: grid;
  /* Increased gap between cards for better breathing room - was var(--space-6) */
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-featured__card {
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid rgba(161, 161, 170, 0.22);
  border-radius: var(--radius-lg);
  /* Increased padding for better breathing room - was var(--space-6) */
  padding: var(--space-8);
  display: grid;
  /* Increased internal gap - was var(--space-4) */
  gap: var(--space-5);
  box-shadow: 0 30px 60px -45px rgba(24, 24, 27, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.home-featured__card:hover,
.home-featured__card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.45);
  box-shadow: 0 40px 75px -45px rgba(var(--accent-primary-rgb), 0.35);
  background: rgba(24, 24, 27, 0.85);
}

.home-featured__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--accent-primary);
  color: var(--white);
  font-weight: 600;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  isolation: isolate;
}

.home-featured__name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.home-featured__name a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-featured__name a:hover,
.home-featured__name a:focus {
  color: var(--accent-primary);
}

.home-featured__description {
  margin: 0;
  color: var(--site-text-secondary);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Catalog & Store collections ------------------------------------------- */
.collection-hero {
  margin-top: var(--space-16);
  display: grid;
  gap: var(--space-10);
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow-card);
}

.collection-hero--store {
  background: var(--site-surface-card);
}

.collection-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.collection-hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--site-text-muted);
}

.collection-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--site-text-primary);
}

.collection-hero__description {
  margin: 0;
  font-size: 1.05rem;
  max-width: 42rem;
  color: var(--site-text-secondary);
}

.collection-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.collection-hero__card {
  position: relative;
  z-index: 1;
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: grid;
  gap: var(--space-4);
  box-shadow: var(--site-shadow-card);
  align-content: flex-start;
}

.collection-hero__card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--site-text-primary);
}

.collection-stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.collection-stats__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
}

.collection-stats__item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--site-text-muted);
  font-weight: 600;
}

.collection-stats__item dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary-light);
  line-height: 1.2;
}

.blog-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-5);
}

.blog-highlights__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.blog-highlights__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  color: var(--emerald-400);
}

[data-theme="light"] .blog-highlights__icon {
  color: var(--emerald-600);
}

.blog-highlights__title {
  margin: 0 0 var(--space-1) 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--site-text-primary);
  line-height: 1.3;
}

.blog-highlights__description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--site-text-secondary);
  line-height: 1.5;
}

.collection-hero__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--site-text-secondary);
}

.collection-hero__note a {
  color: var(--link-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.collection-hero__note a:hover,
.collection-hero__note a:focus {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.collection-grid {
  margin-top: var(--space-16);
  display: grid;
  gap: var(--space-8);
}

.collection-grid__header {
  display: grid;
  gap: var(--space-2);
  max-width: 48rem;
}

.collection-grid__title {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--site-text-primary);
}

.collection-grid__subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--site-text-muted);
}

.collection-grid__items {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.collection-grid__items--store {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.collection-grid__section {
  display: grid;
  gap: var(--space-6);
}

.collection-grid__section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--site-text-primary);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--site-border);
}

.collection-grid__empty {
  margin: 0;
  font-size: 0.95rem;
  color: var(--site-text-muted);
}

.collection-card {
  display: grid;
  gap: var(--space-4);
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--site-shadow-card);
}

.collection-card:hover,
.collection-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(161, 161, 170, 0.45);
  box-shadow: 0 45px 90px -55px rgba(9, 9, 11, 0.65);
}

.collection-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.collection-card__badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--gradient-cta);
  color: var(--white);
  font-weight: 600;
  transform: translateZ(0);
  isolation: isolate;
  /* Enhanced text contrast for gradient background */
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

.collection-card__pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: rgba(var(--accent-primary-rgb), 0.14);
  color: rgba(228, 228, 231, 0.92);
  font-weight: 600;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.32);
}

.collection-card__pill--free {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.collection-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.collection-card__title a {
  color: var(--site-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.collection-card__title a:hover,
.collection-card__title a:focus {
  color: var(--link-hover-color);
}

.collection-card__description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--site-text-secondary);
}

.collection-card__plans {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1-5);
  font-size: 0.85rem;
  color: var(--site-text-muted);
}

.collection-card__footer {
  margin-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.collection-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.collection-card__price-original,
.store-card__price-original {
  text-decoration: line-through;
  color: var(--site-text-muted);
  font-size: 0.9rem;
}

.collection-card__price-current,
.store-card__price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--site-text-primary);
}

/* Link variant for Contact us when form slug is configured */
a.collection-card__price-current--link,
a.store-card__price-current--link {
  text-decoration: none;
  transition: color 0.2s ease;
}

a.collection-card__price-current--link:hover,
a.collection-card__price-current--link:focus,
a.store-card__price-current--link:hover,
a.store-card__price-current--link:focus {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.collection-card__price-from {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--site-text-muted);
}

.collection-card__price--free span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--site-text-muted);
}

.collection-card__link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.collection-card__link:hover,
.collection-card__link:focus {
  color: var(--link-hover-color);
}

.store-card {
  gap: var(--space-5);
}

.store-card__plans {
  display: grid;
  gap: var(--space-4);
}

.store-card__plan {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--site-border);
  background: var(--site-surface-muted);
}

.store-card__plan-details {
  display: grid;
  gap: var(--space-1);
}

.store-card__plan-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--site-text-primary);
}

.store-card__plan-description {
  margin: 0;
  font-size: 0.85rem;
  color: var(--site-text-muted);
}

.store-card__plan-pricing {
  display: grid;
  justify-items: end;
  gap: var(--space-1);
  text-align: right;
}

.store-card__price-label {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: rgba(161, 161, 170, 0.12);
  color: var(--site-text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  border: 1px solid rgba(161, 161, 170, 0.2);
}

.store-card__price-current--contact {
  color: var(--site-text-muted);
  font-size: 0.95rem;
}

.store-card__cta {
  justify-self: end;
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  background: var(--gradient-cta);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.store-card__cta:hover,
.store-card__cta:focus {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 42px -24px rgba(var(--accent-primary-rgb), 0.55);
}

.store-card__empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--site-text-muted);
}

.store-card__empty a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-card__empty a:hover,
.store-card__empty a:focus {
  color: var(--link-hover-color);
}

.store-card__footer {
  margin-top: var(--space-3);
}

@media (max-width: 1024px) {
  .collection-hero {
    grid-template-columns: 1fr;
  }

  .collection-hero__card {
    padding: var(--space-8);
  }
}

@media (max-width: 768px) {
  .collection-hero {
    padding: var(--space-8);
  }

  .collection-grid__items--store,
  .collection-grid__items {
    grid-template-columns: 1fr;
  }

  .store-card__plan {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .store-card__plan-pricing {
    justify-items: start;
    text-align: left;
  }

  .store-card__cta {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .collection-hero {
    padding: var(--space-6);
  }

  .collection-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

[data-theme="light"] .collection-hero {
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.98), rgba(228, 228, 231, 0.92));
}

[data-theme="light"] .collection-hero::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(161, 161, 170, 0.24), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(212, 212, 216, 0.3), transparent 55%);
}

[data-theme="light"] .collection-hero--store {
  background: linear-gradient(135deg, rgba(237, 242, 255, 0.98), rgba(228, 228, 231, 0.92));
}

[data-theme="light"] .collection-stats__item dd {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--emerald-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .collection-card:hover,
[data-theme="light"] .collection-card:focus-within {
  box-shadow: 0 45px 90px -55px rgba(24, 24, 27, 0.25);
}

[data-theme="light"] .store-card__plan {
  background: rgba(250, 250, 250, 0.95);
}

.home-featured__link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-silver-light);
}

.home-featured__link:hover,
.home-featured__link:focus {
  color: var(--accent-primary);
}

.home-featured__empty {
  color: var(--site-text-muted);
}

/* Documentation experience --------------------------------------------- */
.docs-hero {
  margin-top: var(--space-16);
  margin-bottom: var(--space-12);
  display: grid;
  gap: var(--space-4);
  padding: var(--space-10) var(--space-12);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(161, 161, 170, 0.2);
  background: var(--gradient-surface-dark);
  box-shadow: 0 70px 120px -80px rgba(9, 9, 11, 0.85);
  position: relative;
  overflow: hidden;
}

.docs-hero--article {
  margin-top: var(--space-12);
}

.docs-hero::before,
.docs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.docs-hero::before {
  background: var(--glow-primary-soft);
  opacity: 0.8;
}

.docs-hero::after {
  background:
    var(--glow-orange-soft),
    var(--particle-overlay);
  opacity: 0.78;
  mix-blend-mode: screen;
}

.docs-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--gradient-cta);
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  isolation: isolate;
  /* Enhanced text contrast for gradient background */
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

.docs-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  color: var(--site-text-primary);
  position: relative;
  z-index: 1;
}

.docs-hero__subtitle {
  margin: 0;
  font-size: 1.05rem;
  max-width: 48rem;
  color: var(--site-text-secondary);
  position: relative;
  z-index: 1;
}

.docs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
}

.docs-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2-5);
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(161, 161, 170, 0.28);
  color: rgba(228, 228, 231, 0.92);
  font-weight: 600;
}

.docs-hero__meta-item--locked {
  color: var(--accent-silver-light);
  border-color: rgba(255, 107, 53, 0.4);
}

.docs-hero__tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
}

.docs-hero__tags li {
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: rgba(var(--accent-primary-rgb), 0.18);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228, 228, 231, 0.9);
  font-weight: 600;
}

.docs-hero__search {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
  max-width: 28rem;
  position: relative;
  z-index: 1;
}

.docs-hero__search-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(228, 228, 231, 0.72);
}

.docs-hero__search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.docs-hero__search-field input {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(161, 161, 170, 0.28);
  background: rgba(24, 24, 27, 0.58);
  color: var(--site-text-primary);
  padding: var(--space-3) var(--space-4);
  padding-right: 3rem;
  font-size: 1rem;
}

.docs-hero__search-field[aria-disabled="true"] input {
  cursor: not-allowed;
  opacity: 0.65;
}

.docs-hero__search-status {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--site-text-muted);
}

.docs-layout {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  align-items: start;
  margin-bottom: var(--space-16);
}

.docs-sidebar {
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--site-shadow-card);
  display: grid;
  gap: var(--space-4);
}

.docs-sidebar__title {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--site-text-muted);
}

.docs-sidebar__nav {
  display: grid;
  gap: var(--space-3);
}

.docs-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.docs-menu__section,
.docs-sidebar__section {
  display: grid;
  gap: var(--space-2);
}

.docs-menu__entry {
  display: grid;
  gap: var(--space-1-5);
}

.docs-sidebar__link,
.docs-sidebar__child-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.docs-sidebar__link {
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  color: var(--site-text-secondary);
}

.docs-sidebar__link:hover,
.docs-sidebar__link:focus {
  color: var(--white);
  background: rgba(var(--accent-primary-rgb), 0.18);
}

.docs-sidebar__link--active {
  background: rgba(var(--accent-primary-rgb), 0.24);
  color: var(--white);
  box-shadow: 0 12px 28px -18px rgba(var(--accent-primary-rgb), 0.5);
}

.docs-sidebar__link--ancestor {
  background: rgba(var(--accent-primary-rgb), 0.12);
  color: var(--white);
}

.docs-menu__children,
.docs-sidebar__children {
  margin: 0 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-1);
  border-left: 1px dashed var(--site-border);
}

.docs-menu__children {
  padding-left: var(--space-3);
}

.docs-menu__children--expanded {
  border-color: rgba(var(--accent-primary-rgb), 0.4);
}

.docs-sidebar__child-link {
  font-size: 0.8rem;
  color: var(--site-text-muted);
  padding: var(--space-1) var(--space-2);
}

.docs-sidebar__child-link:hover,
.docs-sidebar__child-link:focus {
  color: var(--white);
  background: rgba(var(--accent-primary-rgb), 0.16);
}

.docs-sidebar__child-link--active {
  background: rgba(var(--accent-primary-rgb), 0.22);
  color: var(--white);
}

.docs-menu__heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--site-text-muted);
}

.docs-menu__heading--active {
  color: var(--white);
}

.docs-menu__separator {
  height: 1px;
  margin: var(--space-1) 0;
  background: var(--site-border);
  border-radius: 999px;
  opacity: 0.5;
}

.docs-sidebar__empty {
  font-size: 0.85rem;
  color: var(--site-text-muted);
  margin: 0;
}

.docs-content {
  display: grid;
  gap: var(--space-6);
}

.docs-card {
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--site-shadow-card);
  display: grid;
  gap: var(--space-4);
}

.docs-card__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--site-text-primary);
}

.docs-card__body {
  margin: 0;
  font-size: 1rem;
  color: var(--site-text-secondary);
  max-width: 48rem;
}

.docs-card__list {
  margin: 0;
  padding-left: var(--space-4);
  display: grid;
  gap: var(--space-1-5);
  color: var(--site-text-muted);
  font-size: 0.95rem;
}

.docs-card__list li {
  margin: 0;
}

.docs-article {
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--site-shadow-card);
  display: grid;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
  min-width: 0; /* Prevent grid blowout from long content */
}

.docs-article__body {
  color: var(--site-text-secondary);
  overflow: hidden; /* Contain code block overflow */
}

.docs-attachments {
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.docs-attachments__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--site-text-primary);
}

.docs-attachments__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.docs-attachments__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.docs-attachments__link {
  color: var(--accent-silver-light);
  font-weight: 600;
  text-decoration: none;
}

.docs-attachments__link:hover,
.docs-attachments__link:focus {
  color: var(--white);
}

.docs-attachments__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--site-text-muted);
}

.docs-paywall {
  display: grid;
  gap: var(--space-3);
  text-align: center;
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(161, 161, 170, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--site-text-secondary);
}

.docs-paywall__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--site-text-primary);
}

.docs-paywall__body {
  margin: 0;
  font-size: 1rem;
  color: var(--site-text-secondary);
}

.docs-paywall__action {
  justify-self: center;
  margin-top: var(--space-2);
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (max-width: 1024px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .docs-hero {
    padding: var(--space-8);
  }

  .docs-layout {
    gap: var(--space-6);
  }

  .docs-sidebar {
    position: relative;
  }
}

@media (max-width: 600px) {
  .docs-hero {
    padding: var(--space-6);
  }

  .docs-hero__meta {
    gap: var(--space-1-5);
  }

  .docs-attachments__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

[data-theme="light"] .docs-hero {
  background: var(--gradient-surface-dark);
  box-shadow: 0 70px 120px -90px rgba(24, 24, 27, 0.35);
}

[data-theme="light"] .docs-hero__meta-item {
  background: rgba(250, 250, 250, 0.92);
  border-color: rgba(161, 161, 170, 0.35);
  color: var(--neutral-700);
}

[data-theme="light"] .docs-hero__meta-item--locked {
  color: var(--accent-silver);
}

[data-theme="light"] .docs-hero__tags li {
  background: rgba(var(--accent-primary-rgb), 0.22);
  color: var(--neutral-800);
  border-color: rgba(var(--accent-primary-rgb), 0.35);
}

[data-theme="light"] .docs-hero__search-field input {
  background: rgba(250, 250, 250, 0.94);
  color: var(--neutral-800);
  border-color: rgba(161, 161, 170, 0.28);
}

[data-theme="light"] .docs-sidebar {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(161, 161, 170, 0.22);
  box-shadow: 0 32px 60px -42px rgba(24, 24, 27, 0.2);
}

[data-theme="light"] .docs-sidebar__link {
  color: var(--neutral-700);
}

[data-theme="light"] .docs-sidebar__link:hover,
[data-theme="light"] .docs-sidebar__link:focus {
  color: var(--neutral-900);
  background: rgba(var(--accent-primary-rgb), 0.16);
}

[data-theme="light"] .docs-sidebar__link--active {
  background: rgba(var(--accent-primary-rgb), 0.22);
  color: var(--neutral-900);
}

[data-theme="light"] .docs-sidebar__link--ancestor {
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--neutral-900);
}

[data-theme="light"] .docs-menu__heading {
  color: var(--neutral-600);
}

[data-theme="light"] .docs-menu__separator {
  background: rgba(161, 161, 170, 0.35);
}

[data-theme="light"] .docs-menu__children,
[data-theme="light"] .docs-sidebar__children {
  border-color: rgba(161, 161, 170, 0.35);
}

[data-theme="light"] .docs-menu__children--expanded {
  border-color: rgba(var(--accent-primary-rgb), 0.45);
}

[data-theme="light"] .docs-sidebar__child-link {
  color: var(--neutral-600);
}

[data-theme="light"] .docs-sidebar__child-link:hover,
[data-theme="light"] .docs-sidebar__child-link:focus {
  color: var(--neutral-900);
}

[data-theme="light"] .docs-sidebar__child-link--active {
  color: var(--neutral-900);
  background: rgba(var(--accent-primary-rgb), 0.2);
}

[data-theme="light"] .docs-card,
[data-theme="light"] .docs-article {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(161, 161, 170, 0.2);
  box-shadow: 0 40px 70px -48px rgba(24, 24, 27, 0.22);
}

[data-theme="light"] .docs-card__body {
  color: var(--neutral-700);
}

[data-theme="light"] .docs-card__list {
  color: var(--neutral-600);
}

[data-theme="light"] .docs-article__body {
  color: var(--neutral-700);
}

[data-theme="light"] .docs-attachments {
  background: rgba(250, 250, 250, 0.92);
  border-color: rgba(var(--accent-primary-rgb), 0.28);
}

[data-theme="light"] .docs-attachments__link {
  color: var(--accent-silver);
}

[data-theme="light"] .docs-attachments__meta {
  color: var(--neutral-500);
}

[data-theme="light"] .docs-paywall {
  background: rgba(250, 250, 250, 0.94);
  border-color: rgba(161, 161, 170, 0.28);
  color: var(--neutral-700);
}

[data-theme="light"] .docs-paywall__title {
  color: var(--neutral-900);
}

/* Toast notifications --------------------------------------------------- */
#admin-toast {
  z-index: 110;
}

.site-toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 24px 38px -28px rgba(9, 9, 11, 0.65);
  border: 1px solid rgba(161, 161, 170, 0.25);
  color: var(--white);
  background: rgba(24, 24, 27, 0.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.site-toast--fade {
  opacity: 0;
  transform: translateY(-6px);
}

.site-toast--success {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.92), rgba(5, 150, 105, 0.95));
  border-color: rgba(45, 212, 191, 0.45);
}

.site-toast--warning {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.9));
  border-color: rgba(251, 191, 36, 0.5);
}

.site-toast--error {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.92), rgba(225, 29, 72, 0.9));
  border-color: rgba(248, 113, 113, 0.45);
}

.site-toast--info {
  background: linear-gradient(90deg, rgba(var(--accent-primary-rgb), 0.9), rgba(var(--accent-primary-rgb), 0.92));
  border-color: rgba(var(--accent-primary-rgb), 0.45);
}

.site-toast__message {
  font-size: 0.95rem;
  font-weight: 500;
}

[data-theme="light"] .site-toast {
  color: var(--neutral-900);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(161, 161, 170, 0.32);
  box-shadow: 0 20px 34px -26px rgba(24, 24, 27, 0.28);
}

[data-theme="light"] .site-toast--success {
  color: var(--emerald-700);
}

[data-theme="light"] .site-toast--warning {
  color: var(--amber-700);
}

[data-theme="light"] .site-toast--error {
  color: var(--rose-700);
}

[data-theme="light"] .site-toast--info {
  color: var(--accent-primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition-duration: 0.001ms !important;
    transform: translateY(0) !important;
  }

  .site-toast--fade {
    transform: translateY(0) !important;
  }
}

[data-theme="light"] .home-featured__description,
[data-theme="light"] .site-urgency-copy,
[data-theme="light"] .site-footer__inner {
  color: var(--neutral-600);
}

[data-theme="light"] .home-featured__card {
  background: rgba(250, 250, 250, 0.95);
  border-color: rgba(161, 161, 170, 0.25);
}

[data-theme="light"] .home-featured__card::before {
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-primary-rgb), 0.05), transparent 70%);
}

[data-theme="light"] .home-featured__card:hover,
[data-theme="light"] .home-featured__card:focus-within {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(var(--accent-primary-rgb), 0.4);
}

[data-theme="light"] .home-featured__badge {
  /* Changed from gradient to solid - reserved gradients for CTAs only - theme-aware accent color */
  background: var(--accent-primary);
  color: #ffffff;
  /* Light theme text contrast */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .home-featured__name a {
  color: var(--neutral-900);
}

[data-theme="light"] .home-featured__name a:hover,
[data-theme="light"] .home-featured__name a:focus {
  color: var(--emerald-600);
}

[data-theme="light"] .home-featured__link {
  color: var(--accent-primary-dark);
}

[data-theme="light"] .home-featured__link:hover,
[data-theme="light"] .home-featured__link:focus {
  color: var(--neutral-700);
}

[data-theme="light"] .home-section-title {
  color: var(--neutral-900);
}

[data-theme="light"] .home-section-subtitle {
  color: var(--neutral-700);
}

[data-theme="light"] .home-showcase__card {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 28px 60px -40px rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .home-premium__card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(var(--accent-primary-rgb), 0.24);
  box-shadow: 0 40px 80px -50px rgba(var(--accent-primary-rgb), 0.35);
}

[data-theme="light"] .home-premium__badge {
  background: var(--gradient-cta);
  color: #ffffff;
  /* Light theme text contrast */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .home-premium__plans li {
  background: rgba(228, 228, 231, 0.6);
  border-color: rgba(161, 161, 170, 0.35);
  color: var(--neutral-700);
}

[data-theme="light"] .collection-card__badge {
  background: var(--gradient-cta);
  color: #ffffff;
  /* Light theme text contrast */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .collection-card__pill {
  background: rgba(var(--accent-primary-rgb), 0.18);
  color: var(--neutral-800);
  border-color: rgba(var(--accent-primary-rgb), 0.35);
}

[data-theme="light"] .collection-card__pill--free {
  background: rgba(250, 250, 250, 0.95);
  color: var(--neutral-700);
  border-color: rgba(212, 212, 216, 0.7);
}

[data-theme="light"] .home-premium__link {
  color: var(--accent-primary-dark);
}

[data-theme="light"] .home-premium__link:hover,
[data-theme="light"] .home-premium__link:focus {
  color: var(--neutral-700);
}

[data-theme="light"] .site-header {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: rgba(161, 161, 170, 0.22);
}

[data-theme="light"] .site-nav__link {
  color: var(--neutral-600);
}

[data-theme="light"] .site-nav__link:hover,
[data-theme="light"] .site-nav__link:focus {
  color: var(--neutral-900);
}

[data-theme="light"] .site-footer__logo {
  color: var(--neutral-900);
}

[data-theme="light"] .site-footer__heading {
  color: var(--neutral-500);
}

[data-theme="light"] .site-footer__link {
  color: var(--neutral-600);
}

[data-theme="light"] .site-footer__copy {
  color: var(--neutral-500);
}

[data-theme="light"] .site-footer__tagline {
  color: var(--neutral-500);
}

[data-theme="light"] .site-footer__social-link {
  background: rgba(161, 161, 170, 0.12);
  color: var(--neutral-600);
}

[data-theme="light"] .site-footer__social-link:hover,
[data-theme="light"] .site-footer__social-link:focus,
[data-theme="light"] .site-footer__social-link:focus-visible {
  background: rgba(161, 161, 170, 0.22);
  color: var(--neutral-900);
}

[data-theme="light"] .site-theme-toggle {
  background-color: rgba(228, 228, 231, 0.85);
  border-color: rgba(161, 161, 170, 0.35);
  color: var(--neutral-600);
}

[data-theme="light"] .site-font-size-toggle {
  background-color: rgba(228, 228, 231, 0.85);
  border-color: rgba(161, 161, 170, 0.35);
  color: var(--neutral-600);
}

[data-theme="light"] .site-font-size-toggle:hover,
[data-theme="light"] .site-font-size-toggle:focus,
[data-theme="light"] .site-font-size-toggle:focus-visible {
  border-color: rgba(24, 24, 27, 0.45);
  background-color: rgba(228, 228, 231, 1);
  color: var(--neutral-900);
}

[data-theme="light"] .btn-ghost {
  background: rgba(250, 250, 250, 0.75);
  color: var(--neutral-700);
}

.portal-theme-toggle__icon {
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

[data-theme="light"] .portal-theme-toggle__icon {
  color: var(--neutral-900);
}

[data-theme="dark"] .portal-theme-toggle__icon {
  color: var(--neutral-50);
}

[data-theme="light"] .btn-ghost:hover,
[data-theme="light"] .btn-ghost:focus {
  color: var(--neutral-900);
}

[data-theme="light"] .site-footer__link:hover,
[data-theme="light"] .site-footer__link:focus,
[data-theme="light"] .site-footer__link:focus-visible {
  color: var(--accent-primary-dark);
}

[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.6), rgba(241, 245, 249, 0.95));
  border-top-color: rgba(161, 161, 170, 0.35);
}

/* Portal/table tweaks ---------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--site-border);
}
[data-theme="light"] th,
[data-theme="light"] td {
  border-bottom-color: var(--neutral-200);
}

/* HR styling ---------------------------------------------------- */
hr {
  border: none;
  border-top: 1px solid var(--site-border);
  margin: var(--space-4) 0;
}
[data-theme="light"] hr {
  border-top-color: var(--neutral-200);
}

.hover\:bg-slate-50:hover { background-color: var(--neutral-50); }

/* Responsive utilities (lg breakpoint) ---------------------------------- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-\[280px,1fr\] { grid-template-columns: 280px minmax(0, 1fr); }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:w-auto { width: auto; }
  .lg\:w-64 { width: 16rem; }
  .lg\:w-80 { width: 20rem; }
  .lg\:px-10 {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
  .lg\:py-10 {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

/* Blog hero variant uses the collection-hero styles with flat background */
.collection-hero--blog {
  background: var(--site-surface-card);
}

/* Blog grid for article cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 28rem), 1fr));
  gap: var(--space-6);
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  box-shadow: var(--site-shadow-card);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--site-shadow-card-hover);
  border-color: var(--site-border-hover);
}

.blog-card__date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--site-text-muted);
}

.blog-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--site-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--link-color);
}

.blog-card__excerpt {
  margin: 0;
  color: var(--site-text-secondary);
  line-height: 1.6;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-4);
}

.blog-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.blog-card__category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--site-surface-accent);
  color: var(--site-text-accent);
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--link-color);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog-card__link:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.blog-card__link svg {
  width: 1rem;
  height: 1rem;
}

.blog-card--draft {
  border-style: dashed;
  opacity: 0.85;
}

.blog-card__draft-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: var(--amber-500);
  color: var(--amber-950);
}

/* Blog post draft banner -------------------------------------------------- */
.blog-post__draft-banner {
  background: var(--amber-500);
  color: var(--amber-950);
  padding: var(--space-3) var(--space-4);
}

.blog-post__draft-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  max-width: 64rem;
  margin: 0 auto;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Blog post hero ---------------------------------------------------------- */
.blog-post__hero {
  position: relative;
  color: var(--site-text-primary);
  border-bottom: none;
  margin-bottom: var(--space-12);
  background: none;
}

[data-theme="light"] .blog-post__hero {
  background: none;
  border-bottom: none;
}

.blog-post__hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

[data-theme="light"] .blog-post__hero-glow {
  display: none;
}

.blog-post__hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

[data-theme="light"] .blog-post__hero-pattern {
  display: none;
}

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

.blog-post__hero-backlink {
  color: rgba(228, 228, 231, 0.72);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-post__hero-backlink:hover,
.blog-post__hero-backlink:focus-visible {
  color: var(--white);
  transform: translateX(-2px);
}

[data-theme="light"] .blog-post__hero-backlink {
  color: rgba(82, 82, 91, 0.78);
}

[data-theme="light"] .blog-post__hero-backlink:hover,
[data-theme="light"] .blog-post__hero-backlink:focus-visible {
  color: rgba(24, 24, 27, 0.92);
}

.blog-post__hero-date {
  letter-spacing: 0.42em;
  color: rgba(228, 228, 231, 0.68);
}

[data-theme="light"] .blog-post__hero-date {
  color: rgba(113, 113, 122, 0.86);
}

.blog-post__hero-title {
  color: var(--white);
  text-shadow: 0 12px 48px rgba(24, 24, 27, 0.55);
}

[data-theme="light"] .blog-post__hero-title {
  color: rgba(24, 24, 27, 0.92);
  text-shadow: none;
}

.blog-post__hero-excerpt {
  color: rgba(228, 228, 231, 0.85);
}

[data-theme="light"] .blog-post__hero-excerpt {
  color: rgba(63, 63, 70, 0.88);
}

.blog-post__hero-chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

[data-theme="light"] .blog-post__hero-chip {
  background: rgba(161, 161, 170, 0.2);
  border-color: rgba(161, 161, 170, 0.38);
  color: rgba(39, 39, 42, 0.82);
}

.blog-post__hero-chip:hover,
.blog-post__hero-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .blog-post__hero-chip:hover,
[data-theme="light"] .blog-post__hero-chip:focus-visible {
  border-color: rgba(82, 82, 91, 0.35);
  background: rgba(161, 161, 170, 0.28);
}

.blog-post__content {
  background: linear-gradient(145deg, rgba(24, 24, 27, 0.94), rgba(24, 24, 27, 0.86));
  border-color: rgba(161, 161, 170, 0.22);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .blog-post__content {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.96));
  border-color: rgba(212, 212, 216, 0.9);
  box-shadow: 0 40px 80px rgba(24, 24, 27, 0.08);
}

.blog-post__content-inner {
  color: var(--site-text-primary);
}

[data-theme="light"] .blog-post__content-inner {
  color: rgba(24, 24, 27, 0.9);
}

.blog-post__tag-heading {
  letter-spacing: 0.22em;
  color: rgba(228, 228, 231, 0.78);
}

[data-theme="light"] .blog-post__tag-heading {
  color: rgba(63, 63, 70, 0.86);
}

.blog-post__tag-footer {
  border-color: rgba(161, 161, 170, 0.25);
}

[data-theme="light"] .blog-post__tag-footer {
  border-color: rgba(212, 212, 216, 0.8);
}

.blog-post__tag-chip {
  border-color: rgba(161, 161, 170, 0.4);
  color: rgba(228, 228, 231, 0.85);
  background: rgba(161, 161, 170, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.blog-post__tag-chip:hover,
.blog-post__tag-chip:focus-visible {
  background: rgba(161, 161, 170, 0.2);
  border-color: rgba(228, 228, 231, 0.65);
}

[data-theme="light"] .blog-post__tag-chip {
  border-color: rgba(161, 161, 170, 0.55);
  color: rgba(63, 63, 70, 0.88);
  background: rgba(228, 228, 231, 0.6);
}

[data-theme="light"] .blog-post__tag-chip:hover,
[data-theme="light"] .blog-post__tag-chip:focus-visible {
  background: rgba(212, 212, 216, 0.75);
  border-color: rgba(113, 113, 122, 0.6);
}

/* Blog gallery lightbox */
body.pc-lightbox-open {
  overflow: hidden;
}

.prose .pc-post-gallery,
.pc-post-gallery {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .prose .pc-post-gallery,
  .pc-post-gallery {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.pc-post-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 20px 40px -25px rgba(24, 24, 27, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

html[data-theme="dark"] .pc-post-gallery__item {
  border-color: rgba(161, 161, 170, 0.24);
  box-shadow: 0 24px 45px -28px rgba(24, 24, 27, 0.9);
}

.pc-post-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.pc-post-gallery__item:focus-visible,
.pc-post-gallery__item:focus {
  outline: none;
}

.pc-post-gallery__item:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 0 0 3px #6366f1;
  pointer-events: none;
}

.pc-post-gallery__item:hover img,
.pc-post-gallery__item:focus img {
  transform: scale(1.02);
}

.pc-post-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0) 55%, rgba(24, 24, 27, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.pc-post-gallery__item:hover::after,
.pc-post-gallery__item:focus::after {
  opacity: 1;
}

.pc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (max-width: 640px) {
  .pc-lightbox {
    padding: 1rem;
  }
}

.pc-lightbox[data-pc-lightbox-open="true"] {
  display: flex;
}

.pc-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 27, 0.86);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .pc-lightbox__backdrop {
  background: rgba(24, 24, 27, 0.75);
}

.pc-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  background: rgba(24, 24, 27, 0.92);
  border-radius: 20px;
  box-shadow: 0 35px 90px -30px rgba(24, 24, 27, 0.9);
  overflow: hidden;
}

html[data-theme="light"] .pc-lightbox__dialog {
  background: rgba(24, 24, 27, 0.97);
}

.pc-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(24, 24, 27, 0.7);
  border: 1px solid rgba(161, 161, 170, 0.35);
  color: #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pc-lightbox__close:hover,
.pc-lightbox__close:focus-visible {
  background: rgba(var(--accent-primary-rgb), 0.9);
  color: #f8fafc;
  border-color: rgba(var(--accent-primary-rgb), 0.85);
  outline: none;
}

.pc-lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pc-lightbox__image-wrap {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 3rem 2rem;
  overflow: auto;
}

@media (max-width: 640px) {
  .pc-lightbox__image-wrap {
    padding: 3rem 1.5rem 1.5rem;
  }
}

.pc-lightbox__image-wrap img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 12rem);
  border-radius: 14px;
  box-shadow: 0 30px 60px -35px rgba(24, 24, 27, 0.85);
}

html[data-theme="light"] .pc-lightbox__image-wrap img {
  box-shadow: 0 30px 60px -35px rgba(24, 24, 27, 0.7);
}

.pc-lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbd5f5;
  background: rgba(24, 24, 27, 0.8);
  border-top: 1px solid rgba(161, 161, 170, 0.25);
}

html[data-theme="light"] .pc-lightbox__caption {
  background: rgba(24, 24, 27, 0.75);
}

.pc-lightbox__caption [data-pc-lightbox-counter] {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(var(--accent-primary-rgb), 0.9);
}

.pc-lightbox__caption [data-pc-lightbox-caption] {
  flex: 1 1 auto;
  min-width: 0;
}

.pc-lightbox__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}

.pc-lightbox__nav-btn {
  pointer-events: auto;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid rgba(161, 161, 170, 0.35);
  background: rgba(24, 24, 27, 0.7);
  color: #f8fafc;
  font-size: 1.75rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pc-lightbox__nav-btn:hover,
.pc-lightbox__nav-btn:focus-visible {
  background: rgba(var(--accent-primary-rgb), 0.85);
  border-color: rgba(var(--accent-primary-rgb), 0.75);
  color: #f8fafc;
  outline: none;
}

.pc-lightbox__nav-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .pc-lightbox__nav {
    padding: 0;
  }
  .pc-lightbox__nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}

/* ===========================
   Docs Search Results
   =========================== */

.docs-hero--compact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.docs-hero__search-button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--text-secondary, #64748b);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-hero__search-button:hover {
  color: var(--accent-primary, #8b87c5);
}

.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;
}

/* Search Results List */
.search-results {
  margin-top: 2rem;
}

.search-results__summary {
  color: var(--text-secondary, #64748b);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.search-result {
  padding: 1.5rem;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: var(--card-background, #ffffff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-result:hover {
  border-color: var(--accent-primary, #8b87c5);
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.1);
}

.search-result__title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.search-result__link {
  color: var(--accent-primary, #8b87c5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-result__link:hover {
  color: var(--accent-primary-light, #a39fd8);
  text-decoration: underline;
}

.search-result__summary {
  color: var(--text-secondary, #64748b);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.search-result__excerpt {
  position: relative;
  color: var(--text-secondary, #64748b);
  font-size: 0.875rem;
  line-height: 1.6;
  border-left: 3px solid var(--border-color, #e2e8f0);
  padding-left: 1rem;
  margin: 0.75rem 0;
  max-height: 4.8em; /* ~3 lines at 1.6 line-height */
  overflow: hidden;
}

.search-result__excerpt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background: linear-gradient(transparent, var(--card-background, #ffffff));
  pointer-events: none;
}

.search-result__excerpt mark {
  background: rgba(139, 135, 197, 0.25);
  color: inherit;
  padding: 0.1em 0.25em;
  border-radius: 3px;
  font-weight: 600;
  font-style: normal;
}

.search-result__meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-result__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--badge-background, #f1f5f9);
  color: var(--badge-color, #475569);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.search-result__date {
  color: var(--text-tertiary, #94a3b8);
  font-size: 0.875rem;
}

.search-result__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.search-result__read-more {
  color: var(--accent-primary, #8b87c5);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-result__read-more:hover {
  color: var(--accent-primary-light, #a39fd8);
}

/* Empty State */
.search-results--empty {
  text-align: center;
  padding: 4rem 2rem;
}

.search-results__icon {
  margin: 0 auto 1.5rem;
  color: var(--text-tertiary, #94a3b8);
}

.search-results__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary, #0f172a);
  font-weight: 600;
}

.search-results__message {
  color: var(--text-secondary, #64748b);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.search-results__suggestion {
  color: var(--text-tertiary, #94a3b8);
  font-size: 0.9375rem;
}

.search-results__suggestion a {
  color: var(--accent-primary, #8b87c5);
  text-decoration: none;
  font-weight: 500;
}

.search-results__suggestion a:hover {
  text-decoration: underline;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .search-result {
    background: var(--card-background-dark, #18181b);
    border-color: var(--border-color-dark, #3f3f46);
  }

  .search-result:hover {
    border-color: var(--accent-primary, #8b87c5);
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
  }

  .search-result__link {
    color: var(--text-primary-dark, #f8fafc);
  }

  .search-result__summary {
    color: var(--text-secondary-dark, #94a3b8);
  }

  .search-result__excerpt {
    color: var(--text-secondary-dark, #94a3b8);
    border-left-color: var(--border-color-dark, #334155);
  }

  .search-result__excerpt mark {
    background: rgba(139, 135, 197, 0.35);
  }

  .badge {
    background: var(--badge-background-dark, #334155);
    color: var(--badge-color-dark, #cbd5e1);
  }

  .search-results__title {
    color: var(--text-primary-dark, #f8fafc);
  }

  .search-results__message {
    color: var(--text-secondary-dark, #94a3b8);
  }

  .search-results__suggestion {
    color: var(--text-tertiary-dark, #64748b);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-result {
    padding: 1rem;
  }

  .search-result__title {
    font-size: 1.125rem;
  }

  .search-results--empty {
    padding: 3rem 1rem;
  }

  .search-results__icon {
    width: 48px;
    height: 48px;
  }
}

/* Form Description Link Styling */
.form-description a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-primary-rgb), 0.4);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.form-description a:hover,
.form-description a:focus {
  color: var(--accent-primary-light);
  text-decoration-color: var(--accent-primary-light);
}

[data-theme="light"] .form-description a {
  color: var(--accent-primary-dark);
  text-decoration-color: rgba(107, 104, 160, 0.5);
}

[data-theme="light"] .form-description a:hover,
[data-theme="light"] .form-description a:focus {
  color: var(--accent-primary);
  text-decoration-color: var(--accent-primary);
}

/* Home Info Boxes Section --------------------------------------------------------- */
.home-info-boxes {
  margin-top: var(--space-20);
  margin-bottom: var(--space-16);
  display: grid;
  gap: var(--space-8);
}

.home-info-boxes__grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.home-info-box {
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid rgba(161, 161, 170, 0.22);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: grid;
  gap: var(--space-5);
  box-shadow: 0 30px 60px -45px rgba(24, 24, 27, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.home-info-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-primary-rgb), 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-info-box:hover,
.home-info-box:focus-within {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-primary-rgb), 0.45);
  box-shadow: 0 40px 75px -45px rgba(var(--accent-primary-rgb), 0.35);
  background: rgba(24, 24, 27, 0.85);
}

.home-info-box:hover::before,
.home-info-box:focus-within::before {
  opacity: 1;
}

.home-info-box__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.home-info-box__list {
  list-style: disc;
  padding-left: var(--space-6);
  margin: 0;
  font-size: 1rem;
  color: var(--site-text-secondary);
  line-height: 1.8;
}

.home-info-box__list li {
  margin-bottom: var(--space-3);
}

.home-info-box__text {
  font-size: 1rem;
  color: var(--site-text-secondary);
  line-height: 1.8;
  margin: 0 0 var(--space-4) 0;
}

.home-info-box__text:last-child {
  margin-bottom: 0;
}

.home-info-box__link {
  color: var(--accent-primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-primary-rgb), 0.4);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-info-box__link:hover,
.home-info-box__link:focus {
  color: var(--accent-primary);
  text-decoration-color: var(--accent-primary);
}

/* Light mode variants for info boxes */
[data-theme="light"] .home-info-box {
  background: var(--white);
  border-color: rgba(24, 24, 27, 0.12);
  box-shadow: 0 35px 65px -45px rgba(24, 24, 27, 0.25);
}

[data-theme="light"] .home-info-box:hover,
[data-theme="light"] .home-info-box:focus-within {
  border-color: rgba(var(--accent-primary-rgb), 0.35);
  box-shadow: 0 45px 80px -50px rgba(var(--accent-primary-rgb), 0.28);
  background: var(--neutral-50);
}

[data-theme="light"] .home-info-box__title {
  color: var(--neutral-900);
}

[data-theme="light"] .home-info-box__list,
[data-theme="light"] .home-info-box__text {
  color: var(--neutral-700);
}

[data-theme="light"] .home-info-box__link {
  color: var(--accent-primary-dark);
  text-decoration-color: rgba(107, 104, 160, 0.5);
}

[data-theme="light"] .home-info-box__link:hover,
[data-theme="light"] .home-info-box__link:focus {
  color: var(--accent-primary);
  text-decoration-color: var(--accent-primary);
}

/* Responsive adjustments for info boxes */
@media (max-width: 768px) {
  .home-info-boxes__grid {
    grid-template-columns: 1fr;
  }

  .home-info-box {
    padding: var(--space-6);
  }

  .home-info-box__title {
    font-size: 1.5rem;
  }
}

/* ========================================================================
   Promotional Boxes Component
   ======================================================================== */

.promo-boxes {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto var(--space-16);
  padding: 0;
}

.promo-boxes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .promo-boxes__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .promo-boxes__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.promo-box {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--gradient-card-dark);
  border: 1px solid var(--site-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  overflow: hidden;
}

.promo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.promo-box:hover,
.promo-box:focus {
  border-color: rgba(var(--accent-primary-rgb), 0.4);
  transform: translateY(-2px);
  box-shadow: var(--site-shadow-card);
}

.promo-box:hover::before,
.promo-box:focus::before {
  opacity: 1;
}

.promo-box__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.promo-box__icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.promo-box__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--site-text-primary);
  margin: 0;
  line-height: 1.3;
}

.promo-box__description {
  font-size: 0.875rem;
  color: var(--site-text-muted);
  margin: 0 0 var(--space-4);
  line-height: 1.5;
  flex-grow: 1;
}

.promo-box__cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.promo-box:hover .promo-box__cta,
.promo-box:focus .promo-box__cta {
  color: var(--accent-primary-light);
}

/* Individual promo box accents */
.promo-box--hostinger:hover,
.promo-box--hostinger:focus {
  border-color: rgba(139, 135, 197, 0.5);
}

.promo-box--install:hover,
.promo-box--install:focus {
  border-color: rgba(16, 185, 129, 0.5);
}

.promo-box--custom:hover,
.promo-box--custom:focus {
  border-color: rgba(245, 158, 11, 0.5);
}

.promo-box--browserstack:hover,
.promo-box--browserstack:focus {
  border-color: rgba(59, 130, 246, 0.5);
}

/* Light mode adjustments */
[data-theme="light"] .promo-box {
  background: var(--site-surface-card);
  border-color: var(--site-border);
}

[data-theme="light"] .promo-box::before {
  background: var(--gradient-accent-hover);
}

[data-theme="light"] .promo-box__title {
  color: var(--neutral-900);
}

[data-theme="light"] .promo-box__description {
  color: var(--neutral-600);
}

[data-theme="light"] .promo-box__cta {
  color: var(--accent-primary-dark);
}

[data-theme="light"] .promo-box:hover .promo-box__cta,
[data-theme="light"] .promo-box:focus .promo-box__cta {
  color: var(--accent-primary);
}

[data-theme="light"] .promo-box:hover,
[data-theme="light"] .promo-box:focus {
  border-color: rgba(139, 135, 197, 0.3);
  box-shadow: 0 10px 40px -15px rgba(24, 24, 27, 0.12);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .promo-boxes {
    margin-bottom: var(--space-12);
    padding: 0;
  }

  .promo-box {
    padding: var(--space-4);
  }

  .promo-box__header {
    gap: var(--space-2);
    margin-bottom: var(--space-2);
  }

  .promo-box__icon {
    font-size: 1.75rem;
  }

  .promo-box__title {
    font-size: 1rem;
  }

  .promo-box__description {
    font-size: 0.8125rem;
    margin-bottom: var(--space-3);
  }
}
[data-font-size-icon-static="true"][data-font-size-state="medium"] .font-size-icon__large {
  transform: scale(1.02);
}

.portfolio-filter,
.portfolio-subfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.portfolio-filter__tab,
.portfolio-subfilter__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.14);
  background: rgba(var(--accent-primary-rgb), 0.06);
  color: var(--site-text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-filter__tab:hover,
.portfolio-filter__tab:focus-visible,
.portfolio-subfilter__tab:hover,
.portfolio-subfilter__tab:focus-visible {
  color: var(--site-text-primary);
  border-color: rgba(var(--accent-primary-rgb), 0.28);
  background: rgba(var(--accent-primary-rgb), 0.12);
  box-shadow: 0 14px 32px -22px rgba(var(--accent-primary-rgb), 0.75);
  transform: translateY(-1px);
}

.portfolio-filter__tab--active,
.portfolio-subfilter__tab--active {
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.92), rgba(var(--accent-primary-rgb), 0.72));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 34px -24px rgba(var(--accent-primary-rgb), 0.9);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.14);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.08), rgba(15, 23, 42, 0) 22%),
    var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-primary-rgb), 0.28);
  box-shadow: 0 26px 60px -34px rgba(15, 23, 42, 0.65);
}

.portfolio-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(var(--accent-primary-rgb), 0.3), transparent 52%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.88));
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-card__media img,
.portfolio-card:focus-within .portfolio-card__media img {
  transform: scale(1.03);
}

.portfolio-card__media--empty {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.portfolio-card__placeholder {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.24) 42%, rgba(15, 23, 42, 0.84) 100%);
}

.portfolio-card__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card__placeholder-title {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.2;
}

.portfolio-card__placeholder-meta {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.35rem;
}

.portfolio-card__eyebrow,
.portfolio-detail__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.portfolio-card__category,
.portfolio-card__subcategory,
.portfolio-detail__category,
.portfolio-detail__subcategory {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-card__category,
.portfolio-detail__category {
  background: rgba(var(--accent-primary-rgb), 0.14);
  color: var(--accent-primary-light);
}

.portfolio-card__subcategory,
.portfolio-detail__subcategory {
  background: rgba(148, 163, 184, 0.14);
  color: var(--site-text-secondary);
}

.portfolio-card__title {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
}

.portfolio-card__title a {
  color: var(--site-text-primary);
  text-decoration: none;
}

.portfolio-card__title a:hover,
.portfolio-card__title a:focus-visible {
  color: var(--accent-primary-light);
}

.portfolio-card__summary {
  margin: 0;
  color: var(--site-text-secondary);
  line-height: 1.65;
}

.portfolio-card__tech,
.portfolio-detail__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portfolio-card__tag,
.portfolio-detail__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--site-border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--site-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.portfolio-detail__hero {
  margin-bottom: 2rem;
}

.portfolio-detail__hero-inner {
  display: grid;
  gap: 1rem;
}

.portfolio-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.16);
  border-radius: 999px;
  background: rgba(var(--accent-primary-rgb), 0.06);
  color: var(--site-text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.portfolio-detail__back:hover,
.portfolio-detail__back:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-primary-rgb), 0.28);
  background: rgba(var(--accent-primary-rgb), 0.12);
}

.portfolio-detail__back svg {
  flex-shrink: 0;
}

.portfolio-detail__title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.65rem);
  line-height: 1.02;
}

.portfolio-detail__summary {
  max-width: 46rem;
  margin: 0;
  color: var(--site-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.portfolio-detail__content {
  display: grid;
  gap: 2rem;
}

.portfolio-detail__description {
  max-width: 54rem;
}

.portfolio-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.portfolio-detail__stat,
.portfolio-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--site-border);
  background: var(--site-surface-card);
  text-decoration: none;
}

.portfolio-detail__stat {
  flex-direction: column;
  align-items: flex-start;
  min-width: 12rem;
}

.portfolio-detail__stat-label {
  color: var(--site-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-detail__stat-value {
  color: var(--site-text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.portfolio-detail__link {
  color: var(--site-text-primary);
  font-weight: 600;
}

.portfolio-detail__link:hover,
.portfolio-detail__link:focus-visible {
  border-color: rgba(var(--accent-primary-rgb), 0.22);
  color: var(--accent-primary-light);
}

.portfolio-detail__gallery {
  display: grid;
  gap: 1rem;
}

.portfolio-detail__gallery-heading {
  margin: 0;
  font-size: 1.25rem;
}

.portfolio-detail__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

.portfolio-detail__screenshot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.12);
  border-radius: 1.25rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
}

.portfolio-detail__screenshot-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.portfolio-detail__screenshot-button:focus-visible {
  outline: none;
}

.portfolio-detail__screenshot-button:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.65);
}

.portfolio-detail__screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.portfolio-detail__screenshot-button:hover img,
.portfolio-detail__screenshot-button:focus-visible img {
  transform: scale(1.03);
}

.portfolio-detail__screenshot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 35%, rgba(15, 23, 42, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.portfolio-detail__screenshot-button:hover .portfolio-detail__screenshot-overlay,
.portfolio-detail__screenshot-button:focus-visible .portfolio-detail__screenshot-overlay {
  opacity: 1;
}

.portfolio-detail__screenshot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.portfolio-detail__screenshot figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--site-text-secondary);
  font-size: 0.92rem;
}

[data-theme="light"] .portfolio-card {
  background:
    linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.09), rgba(255, 255, 255, 0.96) 20%),
    #fff;
  box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .portfolio-card:hover,
[data-theme="light"] .portfolio-card:focus-within {
  box-shadow: 0 24px 56px -30px rgba(15, 23, 42, 0.24);
}

@media (max-width: 767px) {
  .portfolio-filter,
  .portfolio-subfilter {
    gap: 0.55rem;
  }

  .portfolio-filter__tab,
  .portfolio-subfilter__tab {
    min-height: 2.5rem;
    padding: 0.62rem 0.9rem;
    font-size: 0.84rem;
  }

  .portfolio-card__body {
    padding: 1.1rem;
  }

  .portfolio-detail__title {
    font-size: 2rem;
  }

  .portfolio-detail__back {
    white-space: normal;
  }

  .portfolio-detail__meta {
    flex-direction: column;
  }
}

.rr-home {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0 auto;
  max-width: 76rem;
  padding: 0 0 2.5rem;
}

.rr-home__hero {
  background:
    linear-gradient(115deg, rgba(6, 10, 16, 0.9) 18%, rgba(7, 12, 21, 0.78) 56%, rgba(6, 11, 18, 0.95) 100%),
    url("/uploads/wordpress/1920x504_00025_.png") center/cover;
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.26);
}

.rr-home__hero::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  background:
    radial-gradient(circle at top right, rgba(149, 197, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
}

.rr-home__hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 7vw, 6rem);
  position: relative;
  z-index: 1;
}

.rr-home__eyebrow {
  color: var(--accent-primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.rr-home__title {
  color: var(--site-text-primary);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  max-width: 11ch;
}

.rr-home__lede,
.rr-home__section-copy,
.rr-home__contact-copy p:not(.rr-home__eyebrow) {
  color: var(--site-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1.25rem 0 0;
  max-width: 42rem;
}

.rr-home__actions,
.rr-home__section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.rr-home__button {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--site-border) 70%, transparent);
  border-radius: 999px;
  color: var(--site-text-primary);
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.rr-home__button:hover,
.rr-home__button:focus-visible {
  transform: translateY(-1px);
}

.rr-home__button--primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 78%, white), var(--accent-primary));
  border-color: transparent;
  color: #08101c;
}

.rr-home__button--secondary {
  background: color-mix(in srgb, var(--site-surface-card) 84%, transparent);
}

.rr-home__overview-grid,
.rr-home__service-grid,
.rr-home__testimonial-grid {
  display: grid;
  gap: 1.15rem;
}

.rr-home__overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rr-home__service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rr-home__testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rr-home__overview-card,
.rr-home__service-card,
.rr-home__testimonial {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-surface-card) 92%, white 8%), color-mix(in srgb, var(--site-surface-card) 98%, black 2%));
  border: 1px solid color-mix(in srgb, var(--site-border) 70%, transparent);
  border-radius: 1.5rem;
  padding: 1.35rem;
}

.rr-home__overview-card h2,
.rr-home__section-heading h2,
.rr-home__service-card h3,
.rr-home__contact-copy h2 {
  color: var(--site-text-primary);
  letter-spacing: -0.03em;
  margin: 0;
}

.rr-home__overview-card p,
.rr-home__service-card p {
  color: var(--site-text-secondary);
  line-height: 1.75;
  margin: 0.6rem 0 0;
}

.rr-home__card-kicker,
.rr-home__service-tag {
  color: var(--accent-primary-light);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.rr-home__overview-card {
  min-height: 100%;
}

.rr-home__overview-card--cta {
  align-items: flex-start;
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.rr-home__section {
  display: grid;
  gap: 1.4rem;
}

.rr-home__section--centered {
  justify-items: center;
  text-align: center;
}

.rr-home__section-heading {
  display: grid;
  gap: 0.4rem;
}

.theme-separator {
  background:
    linear-gradient(90deg,
      transparent 0%,
      var(--theme-separator-edge-resolved, var(--theme-separator-edge)) 18%,
      var(--theme-separator-core-resolved, var(--theme-separator-core)) 50%,
      var(--theme-separator-edge-resolved, var(--theme-separator-edge)) 82%,
      transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 1.25rem var(--theme-separator-glow-resolved, var(--theme-separator-glow));
  display: block;
  height: var(--theme-separator-height-resolved, var(--theme-separator-height));
  isolation: isolate;
  position: relative;
  width: min(100%, var(--theme-separator-max-width-resolved, var(--theme-separator-max-width)));
}

.theme-separator::after {
  background: linear-gradient(90deg, transparent, var(--theme-separator-glow-resolved, var(--theme-separator-glow)), transparent);
  border-radius: inherit;
  content: "";
  inset: -0.3rem 8%;
  filter: blur(0.85rem);
  opacity: 0.95;
  position: absolute;
  z-index: -1;
}

.rr-home__divider {
  justify-self: center;
  margin-inline: auto;
}

.block-separator {
  display: flex;
  justify-content: center;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
}

.block-separator .theme-separator {
  --theme-separator-max-width-resolved: var(--block-separator-max-width, var(--theme-separator-max-width));
  --theme-separator-height-resolved: var(--block-separator-height, var(--theme-separator-height));
}

[data-theme="dark"] .block-separator .theme-separator {
  --theme-separator-core-resolved: var(--block-separator-core-dark, var(--theme-separator-core));
  --theme-separator-edge-resolved: var(--block-separator-edge-dark, var(--theme-separator-edge));
  --theme-separator-glow-resolved: var(--block-separator-glow-dark, var(--theme-separator-glow));
}

[data-theme="light"] .block-separator .theme-separator {
  --theme-separator-core-resolved: var(--block-separator-core-light, var(--theme-separator-core));
  --theme-separator-edge-resolved: var(--block-separator-edge-light, var(--theme-separator-edge));
  --theme-separator-glow-resolved: var(--block-separator-glow-light, var(--theme-separator-glow));
}

.rr-home__testimonial {
  display: grid;
  gap: 0.95rem;
  min-height: 100%;
  text-align: center;
}

.rr-home__testimonial::before {
  color: color-mix(in srgb, var(--accent-primary-light) 85%, white 15%);
  content: "“";
  font-size: 2.6rem;
  line-height: 0.8;
}

.rr-home__testimonial blockquote {
  color: var(--site-text-primary);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.rr-home__testimonial-author,
.rr-home__testimonial-company {
  margin: 0;
}

.rr-home__testimonial-author {
  color: var(--site-text-primary);
  font-weight: 700;
}

.rr-home__testimonial-company {
  color: var(--site-text-secondary);
  font-size: 0.95rem;
}

.rr-home__testimonial-feature {
  display: grid;
  width: 100%;
}

.rr-home__testimonial--featured {
  margin: 0 auto;
  max-width: 58rem;
  padding: 1.8rem;
}

.rr-home__testimonial--featured blockquote {
  font-size: 1.06rem;
}

.rr-home__contact-strip {
  align-items: stretch;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-surface-card) 94%, white 6%), color-mix(in srgb, var(--site-surface-card) 98%, black 2%));
  border: 1px solid color-mix(in srgb, var(--site-border) 70%, transparent);
  border-radius: 1.8rem;
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
  overflow: hidden;
}

.rr-home__contact-art {
  background-image: url("/uploads/wordpress/contact-512x512_00005_.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 18rem;
}

.rr-home__contact-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 960px) {
  .rr-home__overview-grid,
  .rr-home__service-grid,
  .rr-home__testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rr-home__contact-strip {
    grid-template-columns: 1fr;
  }

  .rr-home__contact-art {
    min-height: 14rem;
  }
}

@media (max-width: 640px) {
  .rr-home {
    gap: 2rem;
  }

  .rr-home__hero-copy {
    padding: 1.6rem 1.3rem 2.2rem;
  }

  .rr-home__overview-grid,
  .rr-home__service-grid,
  .rr-home__testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.rr-services,
.rr-contact {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0 auto;
  max-width: min(1200px, calc(100vw - 2rem));
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.rr-services__hero {
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.rr-services__hero-inner {
  padding: clamp(1.5rem, 4vw, 3rem);
  min-height: clamp(18rem, 42vw, 28rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.rr-services__eyebrow,
.rr-contact__eyebrow {
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.rr-services__title,
.rr-contact__title {
  color: #f8fbff;
  letter-spacing: -0.04em;
  margin: 0.7rem 0 0;
  max-width: 44rem;
}

.rr-services__lede,
.rr-contact__lede {
  color: color-mix(in srgb, #f8fbff 82%, transparent);
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 1rem 0 0;
  max-width: 44rem;
}

.rr-services__hero-actions,
.rr-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.rr-services__button {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--site-border) 74%, transparent);
  border-radius: 999px;
  color: var(--site-text-primary);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.rr-services__button:hover,
.rr-services__button:focus-visible {
  transform: translateY(-1px);
}

.rr-services__button--primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-primary) 82%, white), var(--accent-primary));
  border-color: transparent;
  color: #08101c;
}

.rr-services__button--secondary {
  background: color-mix(in srgb, var(--site-surface-card) 86%, transparent);
}

.rr-services__intro-grid,
.rr-services__details-grid,
.rr-contact__highlights {
  display: grid;
  gap: 1.15rem;
}

.rr-services__intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rr-services__details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rr-services__card,
.rr-services__mini-card,
.rr-contact__card,
.rr-contact > section,
.rr-services__form-wrap > section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-surface-card) 92%, white 8%), color-mix(in srgb, var(--site-surface-card) 98%, black 2%));
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 1.6rem;
  box-shadow: 0 18px 50px rgba(2, 8, 20, 0.12);
}

.rr-services__card,
.rr-contact__card {
  padding: 1.35rem;
}

.rr-services__card h2,
.rr-services__coverage-copy h2,
.rr-services__mini-card h3,
.rr-services__form-intro h2,
.rr-contact__card h2 {
  color: var(--site-text-primary);
  letter-spacing: -0.03em;
  margin: 0;
}

.rr-services__card p,
.rr-services__coverage-copy p:not(.rr-services__eyebrow),
.rr-services__mini-card p,
.rr-services__form-intro p:not(.rr-services__eyebrow),
.rr-contact__card li,
.rr-contact__body p:not(.rr-contact__eyebrow),
.rr-services__card li {
  color: var(--site-text-secondary);
  line-height: 1.8;
}

.rr-services__card ul,
.rr-contact__card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.rr-services__card li + li,
.rr-contact__card li + li {
  margin-top: 0.5rem;
}

.rr-services__coverage {
  display: grid;
  gap: 1.25rem;
}

.rr-services__coverage-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rr-services__mini-card {
  padding: 1.2rem;
}

.rr-services__mini-card h3 {
  margin-bottom: 0.65rem;
}

.rr-services__form-wrap {
  display: grid;
  gap: 1rem;
}

.rr-services__form-intro {
  max-width: 42rem;
}

.rr-services__form-wrap > .site-form-embed {
  margin-top: 0;
}

.rr-services__form-wrap > section,
.rr-contact > section {
  margin-top: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.rr-contact__panel {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--site-surface-card) 94%, white 6%), color-mix(in srgb, var(--site-surface-card) 98%, black 2%));
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 2rem;
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr);
  overflow: hidden;
}

.rr-contact__art {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 24rem;
}

.rr-contact__body {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.rr-contact__title,
.rr-contact__lede {
  color: var(--site-text-primary);
  max-width: 40rem;
}

.rr-contact__highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .rr-services__intro-grid,
  .rr-services__details-grid,
  .rr-services__coverage-grid,
  .rr-contact__highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-brand--ryanrhode .rr-services__form-wrap {
    grid-template-columns: 1fr;
  }

  .rr-contact__panel {
    grid-template-columns: 1fr;
  }

  .rr-contact__art {
    min-height: 14rem;
  }
}

@media (max-width: 640px) {
  .rr-services,
  .rr-contact {
    max-width: calc(100vw - 1rem);
    padding-top: 0.5rem;
  }

  .rr-services__hero-inner {
    min-height: 15rem;
    padding: 1.25rem;
  }

  .rr-services__intro-grid,
  .rr-services__details-grid,
  .rr-services__coverage-grid,
  .rr-contact__highlights {
    grid-template-columns: 1fr;
  }
}

/* CMS page shells ------------------------------------------------------- */
.site-page-shell {
  display: grid;
  gap: 1.5rem;
}

.site-page-shell__body {
  min-width: 0;
}

.site-page-shell__meta {
  margin-top: 1rem;
}

/* Shared component blocks ----------------------------------------------- */
.block-hero,
.block-teaser {
  margin: 0 0 2rem;
}

.block-hero {
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
}

.block-hero__inner {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.block-hero__eyebrow,
.block-teaser__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.block-hero__title,
.block-teaser__title {
  margin: 0;
  color: var(--site-text-primary);
  letter-spacing: -0.03em;
}

.block-hero__description,
.block-teaser__description {
  margin: 0;
  max-width: 46rem;
  color: var(--site-text-secondary);
  line-height: 1.7;
}

.block-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.block-hero__cta,
.block-teaser__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.block-hero__cta:hover,
.block-teaser__link:hover,
.block-hero__cta:focus-visible,
.block-teaser__link:focus-visible {
  transform: translateY(-1px);
}

.block-hero__cta--primary,
.block-teaser__link {
  border: 1px solid transparent;
  background: var(--accent-primary);
  color: var(--neutral-50);
}

.block-hero__cta--secondary {
  border: 1px solid var(--site-border);
  background: transparent;
  color: var(--site-text-primary);
}

.block-teaser {
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.block-teaser__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.block-teaser__empty {
  border: 1px dashed var(--site-border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  color: var(--site-text-secondary);
}

.block-teaser-card {
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 1.15rem;
  background: color-mix(in srgb, var(--site-surface-card) 90%, transparent);
}

.block-teaser-card__image {
  display: block;
  aspect-ratio: 16 / 10;
}

.block-teaser-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.block-teaser-card__body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1rem 1.1rem;
}

.block-teaser-card__kicker,
.block-teaser-card__meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--site-text-muted);
}

.block-teaser-card__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--site-text-primary);
}

.block-teaser-card__title a {
  color: inherit;
  text-decoration: none;
}

.block-teaser-card__summary {
  margin: 0;
  color: var(--site-text-secondary);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .block-teaser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .block-teaser__grid {
    grid-template-columns: 1fr;
  }
}

/* RyanRhode editorial brand --------------------------------------------- */
.site-brand--ryanrhode {
  --font-sans: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-display: 'Newsreader', Georgia, serif;
  --site-surface-base: #111315;
  --site-surface-card: #171b1f;
  --site-surface-muted: #1f252a;
  --site-border: rgba(214, 205, 194, 0.14);
  --site-text-primary: #f2f5f7;
  --site-text-secondary: #c6ced5;
  --site-text-muted: #919ba4;
  --site-shadow-card: 0 22px 60px -42px rgba(0, 0, 0, 0.72);
}

[data-theme="light"] .site-brand--ryanrhode {
  --site-surface-base: #f7f8fa;
  --site-surface-card: #ffffff;
  --site-surface-muted: #eef1f4;
  --site-border: rgba(36, 40, 44, 0.14);
  --site-text-primary: #17191c;
  --site-text-secondary: #4a4f55;
  --site-text-muted: #6c7279;
  --site-shadow-card: 0 26px 65px -48px rgba(26, 28, 31, 0.22);
}

.site-brand--ryanrhode .site-body,
.site-brand--ryanrhode {
  background-color: var(--site-surface-base);
}

.site-brand--ryanrhode .site-logo,
.site-brand--ryanrhode .site-footer__logo,
.site-brand--ryanrhode .rr-home__title,
.site-brand--ryanrhode .rr-services__title,
.site-brand--ryanrhode .rr-contact__title,
.site-brand--ryanrhode .site-page-shell__title,
.site-brand--ryanrhode .block-hero__title,
.site-brand--ryanrhode .block-teaser__title,
.site-brand--ryanrhode h1,
.site-brand--ryanrhode h2,
.site-brand--ryanrhode h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

.site-brand--ryanrhode .site-header {
  background: rgba(17, 19, 21, 0.94);
  border-bottom: 1px solid rgba(214, 205, 194, 0.08);
  box-shadow: 0 14px 32px -26px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .site-brand--ryanrhode .site-header {
  background: rgba(247, 248, 250, 0.96);
  border-bottom-color: rgba(23, 25, 28, 0.1);
  box-shadow: 0 12px 26px -24px rgba(23, 25, 28, 0.14);
}

.site-brand--ryanrhode .site-logo {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.site-brand--ryanrhode .site-nav {
  gap: 1.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.site-brand--ryanrhode .site-nav__link,
.site-brand--ryanrhode .site-nav__summary,
.site-brand--ryanrhode .site-footer__heading {
  text-transform: uppercase;
}

.site-brand--ryanrhode .site-nav__link,
.site-brand--ryanrhode .site-nav__summary,
.site-brand--ryanrhode .site-nav__sublink {
  color: #c6ced5;
}

.site-brand--ryanrhode .site-nav__link:hover,
.site-brand--ryanrhode .site-nav__link:focus,
.site-brand--ryanrhode .site-nav__link:focus-visible,
.site-brand--ryanrhode .site-nav__summary:hover,
.site-brand--ryanrhode .site-nav__summary:focus,
.site-brand--ryanrhode .site-nav__summary:focus-visible,
.site-brand--ryanrhode .site-nav__sublink:hover,
.site-brand--ryanrhode .site-nav__sublink:focus,
.site-brand--ryanrhode .site-nav__sublink:focus-visible {
  color: #f4f7fa;
}

.site-brand--ryanrhode .site-footer__link {
  color: #b7c0c8;
}

.site-brand--ryanrhode .site-footer__link:hover,
.site-brand--ryanrhode .site-footer__link:focus,
.site-brand--ryanrhode .site-footer__link:focus-visible {
  color: #eef2f6;
}

.site-brand--ryanrhode .site-icon-button {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(214, 205, 194, 0.14);
}

[data-theme="light"] .site-brand--ryanrhode .site-icon-button {
  background: rgba(23, 25, 28, 0.03);
  border-color: rgba(23, 25, 28, 0.1);
}

.site-brand--ryanrhode .site-main {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.site-brand--ryanrhode .site-footer {
  background: #14181b;
  border-top-color: rgba(214, 205, 194, 0.12);
}

[data-theme="light"] .site-brand--ryanrhode .site-footer {
  background: #f3f5f7;
  border-top-color: rgba(23, 25, 28, 0.1);
}

.site-brand--ryanrhode .site-footer__inner {
  gap: 2.5rem 4rem;
}

.site-brand--ryanrhode .site-footer__group {
  min-width: 11rem;
}

.site-brand--ryanrhode .site-page-shell--prose,
.site-brand--ryanrhode .site-page-shell--full {
  max-width: 60rem;
  margin: 0 auto;
}

.site-brand--ryanrhode .site-page-shell--full {
  max-width: 76rem;
}

.site-brand--ryanrhode .site-page-shell__title {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: -0.04em;
}

.site-brand--ryanrhode .site-page-shell__body {
  color: var(--site-text-secondary);
}

.site-brand--ryanrhode .site-page-shell__body > * + * {
  margin-top: 1rem;
}

.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body p,
.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body li {
  font-size: 1.08rem;
  line-height: 1.78;
}

.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body h2 {
  margin-top: 2rem;
  margin-bottom: 0.35rem;
  font-size: 1.9rem;
}

.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body a {
  color: var(--link-color);
}

.site-brand--ryanrhode .site-page-shell--prose .site-page-shell__body blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(var(--accent-primary-rgb), 0.45);
  color: var(--site-text-primary);
}

.site-brand--ryanrhode .block-hero,
.site-brand--ryanrhode .block-teaser,
.site-brand--ryanrhode .site-form-embed,
.site-brand--ryanrhode .rr-home__overview-card,
.site-brand--ryanrhode .rr-home__service-card,
.site-brand--ryanrhode .rr-home__testimonial,
.site-brand--ryanrhode .rr-home__contact-strip,
.site-brand--ryanrhode .rr-services__card,
.site-brand--ryanrhode .rr-services__mini-card,
.site-brand--ryanrhode .rr-contact__card,
.site-brand--ryanrhode .rr-contact > section,
.site-brand--ryanrhode .rr-services__form-wrap > section,
.site-brand--ryanrhode .rr-contact__panel {
  background: var(--site-surface-card);
  border-color: var(--site-border);
  box-shadow: var(--site-shadow-card);
}

.site-brand--ryanrhode .site-form-embed {
  border-radius: 1.35rem;
}

.site-brand--ryanrhode .site-form-embed input,
.site-brand--ryanrhode .site-form-embed textarea,
.site-brand--ryanrhode .site-form-embed select {
  border-color: rgba(214, 205, 194, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .site-brand--ryanrhode .site-form-embed input,
[data-theme="light"] .site-brand--ryanrhode .site-form-embed textarea,
[data-theme="light"] .site-brand--ryanrhode .site-form-embed select {
  background: #fffcf8;
  border-color: rgba(23, 25, 28, 0.14);
}

.site-brand--ryanrhode .site-form-submit,
.site-brand--ryanrhode .rr-home__button--primary,
.site-brand--ryanrhode .rr-services__button--primary,
.site-brand--ryanrhode .block-hero__cta--primary,
.site-brand--ryanrhode .block-teaser__link {
  background: var(--accent-primary-dark);
  color: #f8f4ed;
}

.site-brand--ryanrhode .rr-home__button,
.site-brand--ryanrhode .rr-services__button,
.site-brand--ryanrhode .block-hero__cta {
  border-radius: 999px;
}

.site-brand--ryanrhode .rr-home__button--secondary,
.site-brand--ryanrhode .rr-services__button--secondary,
.site-brand--ryanrhode .block-hero__cta--secondary {
  background: transparent;
  color: var(--site-text-primary);
  border-color: var(--site-border);
}

.site-brand--ryanrhode .rr-home,
.site-brand--ryanrhode .rr-services,
.site-brand--ryanrhode .rr-contact {
  gap: 1.5rem;
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero {
  position: relative;
  overflow: hidden;
  background-color: #121519;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
}

.site-brand--ryanrhode .rr-home__hero {
  background-image: url("/uploads/wordpress/www.livingoceansfoundation.org_-1.png");
  background-position: center 24%;
}

.site-brand--ryanrhode .rr-services__hero {
  background-image: none;
  background-position: center;
}

.site-brand--ryanrhode .rr-home__hero::before,
.site-brand--ryanrhode .rr-services__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 20, 0.58);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__hero::before,
[data-theme="light"] .site-brand--ryanrhode .rr-services__hero::before {
  background: rgba(246, 240, 232, 0.62);
}

.site-brand--ryanrhode .rr-home__hero::after {
  display: none;
}

.site-brand--ryanrhode .rr-home__hero-copy,
.site-brand--ryanrhode .rr-services__hero-inner {
  position: relative;
  z-index: 1;
}

.site-brand--ryanrhode .rr-home__title,
.site-brand--ryanrhode .rr-services__title,
.site-brand--ryanrhode .rr-contact__title {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.site-brand--ryanrhode .rr-contact__title {
  max-width: 10ch;
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__title,
[data-theme="light"] .site-brand--ryanrhode .rr-services__title {
  color: #17191c;
}

.site-brand--ryanrhode .rr-home__lede,
.site-brand--ryanrhode .rr-services__lede,
.site-brand--ryanrhode .rr-contact__lede,
.site-brand--ryanrhode .rr-home__section-copy,
.site-brand--ryanrhode .rr-home__contact-copy p:not(.rr-home__eyebrow) {
  color: var(--site-text-secondary);
}

.site-brand--ryanrhode .rr-contact__panel {
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  border-radius: 1.5rem;
}

.site-brand--ryanrhode .rr-contact__art {
  background-image: url("/uploads/wordpress/livinglandscapes.design_-scaled.png");
  background-position: center;
  background-size: cover;
  min-height: 26rem;
  position: relative;
}

.site-brand--ryanrhode .rr-contact__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 22, 0.28);
}

[data-theme="light"] .site-brand--ryanrhode .rr-contact__art::after {
  background: rgba(246, 240, 232, 0.18);
}

.site-brand--ryanrhode .rr-home__contact-art {
  min-height: 15rem;
}

@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .site-brand--ryanrhode .rr-home__hero,
  .site-brand--ryanrhode .rr-services__hero,
  .site-brand--ryanrhode .rr-contact__art {
    background-attachment: fixed;
  }
}

@media (max-width: 960px) {
  .site-brand--ryanrhode .rr-contact__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-brand--ryanrhode .site-main {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .site-brand--ryanrhode .site-page-shell__title {
    font-size: 2.4rem;
  }
}

/* RyanRhode refinement pass: reduce boxed slabs, deepen dark mode, and rely on
   cleaner separators instead of stacked card backgrounds. */
.site-brand--ryanrhode {
  --site-surface-base: #0d0f11;
  --site-surface-card: #121518;
  --site-surface-muted: #171b1f;
  --site-border: rgba(214, 205, 194, 0.11);
  --site-text-primary: #f2f5f7;
  --site-text-secondary: #c6ced5;
  --site-text-muted: #919ba4;
  --site-shadow-card: none;
}

[data-theme="light"] .site-brand--ryanrhode {
  --site-surface-base: #f5f6f7;
  --site-surface-card: #ffffff;
  --site-surface-muted: #eef1f3;
  --site-border: rgba(31, 34, 37, 0.1);
  --site-text-primary: #181b1f;
  --site-text-secondary: #4d5359;
  --site-text-muted: #6d747c;
  --site-shadow-card: none;
}

.site-brand--ryanrhode .site-main {
  padding-top: 2.5rem;
}

.site-brand--ryanrhode .rr-home,
.site-brand--ryanrhode .rr-services,
.site-brand--ryanrhode .rr-contact {
  gap: 2rem;
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero,
.site-brand--ryanrhode .rr-contact__panel,
.site-brand--ryanrhode .site-form-embed,
.site-brand--ryanrhode .rr-home__contact-strip,
.site-brand--ryanrhode .block-hero,
.site-brand--ryanrhode .block-teaser {
  background: var(--site-surface-card);
  border: 1px solid var(--site-border);
  box-shadow: none;
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero {
  border-radius: 1.35rem;
}

.site-brand--ryanrhode .rr-home__hero::before {
  background: rgba(12, 15, 17, 0.64);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__hero::before {
  background: rgba(240, 233, 220, 0.3);
}

.site-brand--ryanrhode .rr-services__hero {
  background: #101315;
}

[data-theme="light"] .site-brand--ryanrhode .rr-services__hero {
  background: #f4f6f8;
}

.site-brand--ryanrhode .rr-services__hero::before {
  display: none;
}

.site-brand--ryanrhode .rr-services__hero-inner {
  justify-content: center;
  min-height: 15.5rem;
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.site-brand--ryanrhode .rr-services__hero-inner::before {
  content: "";
  display: block;
  width: 4rem;
  border-top: 2px solid rgba(var(--accent-primary-rgb), 0.58);
  margin-bottom: 1.15rem;
}

.site-brand--ryanrhode .rr-services__title {
  max-width: 10ch;
}

.site-brand--ryanrhode .rr-home__overview-grid,
.site-brand--ryanrhode .rr-home__service-grid,
.site-brand--ryanrhode .rr-home__testimonial-grid,
.site-brand--ryanrhode .rr-services__intro-grid,
.site-brand--ryanrhode .rr-services__details-grid,
.site-brand--ryanrhode .rr-services__coverage-grid,
.site-brand--ryanrhode .rr-contact__highlights {
  gap: 1.25rem;
}

.site-brand--ryanrhode .rr-home__section,
.site-brand--ryanrhode .rr-services__coverage,
.site-brand--ryanrhode .rr-services__form-wrap {
  border-top: 1px solid rgba(var(--accent-primary-rgb), 0.18);
  padding-top: 1.6rem;
}

.site-brand--ryanrhode .rr-home__section-heading,
.site-brand--ryanrhode .rr-services__coverage-copy,
.site-brand--ryanrhode .rr-services__form-intro {
  gap: 0.55rem;
}

.site-brand--ryanrhode .rr-home__overview-card,
.site-brand--ryanrhode .rr-home__service-card,
.site-brand--ryanrhode .rr-home__testimonial,
.site-brand--ryanrhode .rr-services__card,
.site-brand--ryanrhode .rr-services__mini-card,
.site-brand--ryanrhode .rr-contact__card {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(214, 205, 194, 0.1);
  border-radius: 1.05rem;
  box-shadow: none;
  padding: 1.3rem 1.25rem 1.35rem;
  position: relative;
}

.site-brand--ryanrhode .rr-home__overview-card::before,
.site-brand--ryanrhode .rr-home__service-card::before,
.site-brand--ryanrhode .rr-home__testimonial::before,
.site-brand--ryanrhode .rr-services__card::before,
.site-brand--ryanrhode .rr-services__mini-card::before,
.site-brand--ryanrhode .rr-contact__card::before {
  content: "";
  display: block;
  width: 2.6rem;
  border-top: 2px solid rgba(var(--accent-primary-rgb), 0.56);
  margin-bottom: 0.95rem;
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__overview-card,
[data-theme="light"] .site-brand--ryanrhode .rr-home__service-card,
[data-theme="light"] .site-brand--ryanrhode .rr-home__testimonial,
[data-theme="light"] .site-brand--ryanrhode .rr-services__card,
[data-theme="light"] .site-brand--ryanrhode .rr-services__mini-card,
[data-theme="light"] .site-brand--ryanrhode .rr-contact__card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(31, 34, 37, 0.08);
}

.site-brand--ryanrhode .rr-home__testimonial {
  padding-top: 1.6rem;
}

.site-brand--ryanrhode .rr-home__testimonial::before {
  position: static;
  opacity: 1;
}

.site-brand--ryanrhode .rr-home__testimonial blockquote {
  font-size: 1rem;
  line-height: 1.75;
}

.site-brand--ryanrhode .rr-home__contact-strip {
  align-items: stretch;
  border-radius: 1.3rem;
}

.site-brand--ryanrhode .rr-home__contact-art {
  background-position: center;
  background-size: cover;
}

.site-brand--ryanrhode .site-form-embed {
  border-radius: 1.05rem;
  background: #111417;
}

[data-theme="light"] .site-brand--ryanrhode .site-form-embed {
  background: #ffffff;
}

.site-brand--ryanrhode .site-form-embed input,
.site-brand--ryanrhode .site-form-embed textarea,
.site-brand--ryanrhode .site-form-embed select {
  background: #0d1012;
  border-color: rgba(214, 205, 194, 0.12);
}

[data-theme="light"] .site-brand--ryanrhode .site-form-embed input,
[data-theme="light"] .site-brand--ryanrhode .site-form-embed textarea,
[data-theme="light"] .site-brand--ryanrhode .site-form-embed select {
  background: #f7f9fb;
  border-color: rgba(31, 34, 37, 0.1);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__button--primary,
[data-theme="light"] .site-brand--ryanrhode .rr-services__button--primary,
[data-theme="light"] .site-brand--ryanrhode .site-form-submit,
[data-theme="light"] .site-brand--ryanrhode .block-hero__cta--primary,
[data-theme="light"] .site-brand--ryanrhode .block-teaser__link {
  background: #425563;
  border-color: #425563;
  color: #ffffff;
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__button--primary:hover,
[data-theme="light"] .site-brand--ryanrhode .rr-services__button--primary:hover,
[data-theme="light"] .site-brand--ryanrhode .site-form-submit:hover,
[data-theme="light"] .site-brand--ryanrhode .block-hero__cta--primary:hover,
[data-theme="light"] .site-brand--ryanrhode .block-teaser__link:hover,
[data-theme="light"] .site-brand--ryanrhode .rr-home__button--primary:focus,
[data-theme="light"] .site-brand--ryanrhode .rr-services__button--primary:focus,
[data-theme="light"] .site-brand--ryanrhode .site-form-submit:focus,
[data-theme="light"] .site-brand--ryanrhode .block-hero__cta--primary:focus,
[data-theme="light"] .site-brand--ryanrhode .block-teaser__link:focus {
  background: #536877;
  border-color: #536877;
  color: #ffffff;
}

.site-brand--ryanrhode .rr-home__button--primary,
.site-brand--ryanrhode .rr-services__button--primary,
.site-brand--ryanrhode .site-form-submit,
.site-brand--ryanrhode .block-hero__cta--primary,
.site-brand--ryanrhode .block-teaser__link {
  background: #495762;
  border-color: #495762;
  color: #f8f4ed;
}

.site-brand--ryanrhode .rr-home__button--secondary,
.site-brand--ryanrhode .rr-services__button--secondary,
.site-brand--ryanrhode .block-hero__cta--secondary {
  background: transparent;
}

.site-brand--ryanrhode .rr-contact__panel {
  align-items: stretch;
  border-radius: 1.3rem;
  overflow: hidden;
}

.site-brand--ryanrhode .rr-contact__art {
  background-image: url("/uploads/wordpress/www.livingoceansfoundation.org_-1.png");
  background-position: center;
}

.site-brand--ryanrhode .rr-contact__art::after {
  background: rgba(14, 17, 20, 0.42);
}

[data-theme="light"] .site-brand--ryanrhode .rr-contact__art::after {
  background: rgba(245, 246, 247, 0.12);
}

.site-brand--ryanrhode .rr-contact__body {
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

[data-theme="light"] .site-brand--ryanrhode .site-footer {
  background: #f3f5f7;
}

@media (max-width: 960px) {
  .site-brand--ryanrhode .rr-home__overview-grid,
  .site-brand--ryanrhode .rr-home__service-grid,
  .site-brand--ryanrhode .rr-home__testimonial-grid,
  .site-brand--ryanrhode .rr-services__coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-brand--ryanrhode .rr-home__overview-grid,
  .site-brand--ryanrhode .rr-home__service-grid,
  .site-brand--ryanrhode .rr-home__testimonial-grid,
  .site-brand--ryanrhode .rr-services__intro-grid,
  .site-brand--ryanrhode .rr-services__details-grid,
  .site-brand--ryanrhode .rr-services__coverage-grid,
  .site-brand--ryanrhode .rr-contact__highlights {
    grid-template-columns: 1fr;
  }

  .site-brand--ryanrhode .rr-home__hero,
  .site-brand--ryanrhode .rr-services__hero,
  .site-brand--ryanrhode .rr-contact__panel,
  .site-brand--ryanrhode .site-form-embed {
    border-radius: 1rem;
  }

  .site-brand--ryanrhode .rr-services__hero-inner {
    min-height: 13rem;
  }
}

/* Theme customizer token application ----------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: var(--theme-body-size, var(--font-size-base));
  line-height: var(--theme-body-line-height, 1.6);
  font-weight: var(--theme-body-weight, 400);
  letter-spacing: var(--theme-body-letter-spacing, 0);
}

h1 {
  font-family: var(--font-h1, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h1-size, var(--font-size-4xl));
  font-weight: var(--theme-h1-weight, 700);
  letter-spacing: var(--theme-h1-letter-spacing, -0.03em);
}

h2 {
  font-family: var(--font-h2, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h2-size, var(--font-size-3xl));
  font-weight: var(--theme-h2-weight, 700);
  letter-spacing: var(--theme-h2-letter-spacing, -0.02em);
}

h3 {
  font-family: var(--font-h3, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h3-size, var(--font-size-2xl));
  font-weight: var(--theme-h3-weight, 700);
  letter-spacing: var(--theme-h3-letter-spacing, -0.01em);
}

h4 {
  font-family: var(--font-h4, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h4-size, var(--font-size-xl));
  font-weight: var(--theme-h4-weight, 700);
  letter-spacing: var(--theme-h4-letter-spacing, 0);
}

h5 {
  font-family: var(--font-h5, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h5-size, var(--font-size-lg));
  font-weight: var(--theme-h5-weight, 700);
  letter-spacing: var(--theme-h5-letter-spacing, 0);
}

h6 {
  font-family: var(--font-h6, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h6-size, var(--font-size-base));
  font-weight: var(--theme-h6-weight, 700);
  letter-spacing: var(--theme-h6-letter-spacing, 0);
}

a {
  font-family: var(--font-link, var(--font-sans));
  font-weight: var(--theme-link-weight, 500);
}

.site-nav__link,
.site-nav__summary,
.site-nav__sublink {
  font-family: var(--font-nav, var(--font-sans));
  font-size: var(--theme-nav-size, 0.9rem);
  font-weight: var(--theme-nav-weight, 600);
  letter-spacing: var(--theme-nav-letter-spacing, 0.08em);
  text-transform: var(--theme-nav-transform, none);
}

.site-form-submit,
.rr-home__button,
.rr-services__button,
.block-hero__cta,
.block-teaser__link,
button,
.btn {
  font-family: var(--font-button, var(--font-sans));
  font-size: var(--theme-button-size, 0.95rem);
  font-weight: var(--theme-button-weight, 600);
  border-radius: var(--theme-button-radius, 999px);
}

.site-form-embed input,
.site-form-embed textarea,
.site-form-embed select {
  background: var(--theme-input-bg, inherit);
  border-color: var(--theme-input-border, var(--site-border));
}

.site-page-shell--prose blockquote {
  font-family: var(--font-display, var(--font-sans));
  font-size: var(--theme-blockquote-size, 1.1rem);
}

@media (max-width: 640px) {
  body {
    font-size: var(--theme-body-size-mobile, var(--theme-body-size, var(--font-size-base)));
  }

  h1 { font-size: var(--theme-h1-size-mobile, var(--theme-h1-size, var(--font-size-4xl))); }
  h2 { font-size: var(--theme-h2-size-mobile, var(--theme-h2-size, var(--font-size-3xl))); }
  h3 { font-size: var(--theme-h3-size-mobile, var(--theme-h3-size, var(--font-size-2xl))); }
  h4 { font-size: var(--theme-h4-size-mobile, var(--theme-h4-size, var(--font-size-xl))); }
  h5 { font-size: var(--theme-h5-size-mobile, var(--theme-h5-size, var(--font-size-lg))); }
  h6 { font-size: var(--theme-h6-size-mobile, var(--theme-h6-size, var(--font-size-base))); }
}

/* Frontmin hero overrides ------------------------------------------------ */
.site-brand--frontmin .frontmin-home {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 1.5rem) 0;
  display: grid;
  gap: 1.25rem;
}

.site-brand--frontmin .frontmin-home__hero {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
}

.site-brand--frontmin .frontmin-home__eyebrow {
  margin: 0;
  color: var(--site-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-brand--frontmin .frontmin-home__title {
  margin: 0.9rem 0 0;
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  color: var(--site-text-primary);
  text-wrap: balance;
}

.site-brand--frontmin .frontmin-home__summary {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: var(--site-text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-brand--frontmin .frontmin-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.site-brand--frontmin .frontmin-home__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  color: var(--site-text-primary);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-brand--frontmin .frontmin-home__action--primary {
  background: var(--site-text-primary);
  border-color: var(--site-text-primary);
  color: var(--site-surface-base);
}

.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--primary:hover,
.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--primary:focus,
.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--primary:focus-visible {
  background: var(--site-text-secondary);
  border-color: var(--site-text-secondary);
  color: var(--site-surface-base);
}

.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--secondary:hover,
.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--secondary:focus,
.site-brand--frontmin .frontmin-home__actions a.frontmin-home__action--secondary:focus-visible {
  background: var(--site-surface-muted);
  border-color: var(--site-border-hover);
  color: var(--site-text-primary);
}

.site-brand--frontmin .frontmin-home__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.site-brand--frontmin .frontmin-home__card {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  border: 1px solid var(--site-border);
  border-radius: 1.25rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
}

.site-brand--frontmin .frontmin-home__card-title {
  margin: 0;
  color: var(--site-text-primary);
  font-size: 1.1rem;
}

.site-brand--frontmin .frontmin-home__card-copy {
  margin: 0;
  color: var(--site-text-secondary);
  line-height: 1.7;
}

.site-brand--frontmin .frontmin-home__card-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 600;
}

.site-brand--frontmin .frontmin-home__card-link:hover,
.site-brand--frontmin .frontmin-home__card-link:focus-visible {
  color: var(--link-hover-color);
  text-decoration: underline;
}

.site-brand--frontmin .frontmin-home__inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-brand--frontmin .collection-hero--portfolio,
.site-brand--frontmin .collection-hero--blog,
.site-brand--frontmin .portfolio-detail__hero,
.site-brand--frontmin .blog-post__hero {
  margin-top: var(--space-10);
  border: 1px solid var(--site-border);
  border-radius: 1.5rem;
  background: var(--site-surface-card);
  box-shadow: var(--site-shadow-card);
}

.site-brand--frontmin .collection-hero--portfolio,
.site-brand--frontmin .collection-hero--blog {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.site-brand--frontmin .portfolio-detail__hero,
.site-brand--frontmin .blog-post__hero {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.site-brand--frontmin .collection-hero__content,
.site-brand--frontmin .portfolio-detail__hero-inner,
.site-brand--frontmin .blog-post__hero-inner {
  width: min(100%, 48rem);
}

.site-brand--frontmin .blog-post__hero-inner {
  gap: 1.25rem;
}

.site-brand--frontmin .blog-post__hero-glow,
.site-brand--frontmin .blog-post__hero-pattern {
  display: none;
}

.site-brand--frontmin .blog-post__hero-title {
  color: var(--site-text-primary);
  text-shadow: none;
}

.site-brand--frontmin .collection-hero__eyebrow,
.site-brand--frontmin .blog-post__hero-date,
.site-brand--frontmin .blog-post__hero-backlink,
.site-brand--frontmin .blog-post__hero-excerpt,
.site-brand--frontmin .portfolio-detail__summary {
  color: var(--site-text-muted);
}

.site-brand--frontmin .blog-post__hero-chip {
  background: var(--site-surface-muted);
  border-color: var(--site-border);
  color: var(--site-text-secondary);
}

.site-brand--frontmin .blog-post__hero-chip:hover,
.site-brand--frontmin .blog-post__hero-chip:focus-visible {
  background: var(--site-surface-card);
  border-color: var(--site-border-hover);
  color: var(--site-text-primary);
}

@media (max-width: 640px) {
  .site-brand--frontmin .frontmin-home__hero,
  .site-brand--frontmin .frontmin-home__card,
  .site-brand--frontmin .collection-hero--portfolio,
  .site-brand--frontmin .collection-hero--blog,
  .site-brand--frontmin .portfolio-detail__hero,
  .site-brand--frontmin .blog-post__hero {
    border-radius: 1.15rem;
  }

  .site-brand--frontmin .frontmin-home__actions {
    flex-direction: column;
  }

  .site-brand--frontmin .frontmin-home__action {
    width: 100%;
  }
}

/* RyanRhode final visual layer ------------------------------------------ */
.site-brand--ryanrhode .site-header__actions a,
.site-brand--ryanrhode .site-page-shell__body a,
.site-brand--ryanrhode .portfolio-detail__description a,
.site-brand--ryanrhode .portfolio-card__title a,
.site-brand--ryanrhode .blog-card__title a {
  color: var(--link-color);
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero,
.site-brand--ryanrhode .rr-contact__art,
.site-brand--ryanrhode .rr-home__contact-art,
.site-brand--ryanrhode .collection-hero--portfolio,
.site-brand--ryanrhode .collection-hero--blog,
.site-brand--ryanrhode .portfolio-detail__hero,
.site-brand--ryanrhode .blog-post__hero {
  background-repeat: no-repeat;
  background-size: cover;
}

.site-brand--ryanrhode .rr-home__hero {
  background-image: var(--theme-home-hero-image, url("/uploads/wordpress/www.livingoceansfoundation.org_-1.png"));
  background-position: center 34%;
  min-height: 37rem;
}

.site-brand--ryanrhode .rr-services__hero {
  background-image: var(--theme-services-hero-image, var(--theme-home-hero-image, url("/uploads/wordpress/www.livingoceansfoundation.org_-1.png")));
  background-position: center 30%;
}

.site-brand--ryanrhode .rr-contact__art,
.site-brand--ryanrhode .rr-home__contact-art {
  background-image: var(--theme-contact-image, var(--theme-home-hero-image, url("/uploads/wordpress/www.livingoceansfoundation.org_-1.png")));
  background-position: center;
  position: relative;
}

.site-brand--ryanrhode .rr-home__hero::before,
.site-brand--ryanrhode .rr-services__hero::before {
  background: var(--theme-hero-overlay, rgba(9, 14, 18, 0.4));
}

.site-brand--ryanrhode .rr-contact__art::after,
.site-brand--ryanrhode .rr-home__contact-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-contact-overlay, rgba(9, 14, 18, 0.34));
}

.site-brand--ryanrhode .rr-home__hero-copy,
.site-brand--ryanrhode .rr-services__hero-inner,
.site-brand--ryanrhode .rr-home__contact-copy,
.site-brand--ryanrhode .rr-contact__body {
  position: relative;
  z-index: 1;
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero,
.site-brand--ryanrhode .rr-home__contact-strip,
.site-brand--ryanrhode .rr-contact__panel,
.site-brand--ryanrhode .site-form-embed,
.site-brand--ryanrhode .rr-home__overview-card,
.site-brand--ryanrhode .rr-home__service-card,
.site-brand--ryanrhode .rr-home__testimonial,
.site-brand--ryanrhode .rr-services__card,
.site-brand--ryanrhode .rr-services__mini-card,
.site-brand--ryanrhode .rr-contact__card {
  border-radius: var(--theme-panel-radius, 1.35rem);
  box-shadow: var(--theme-card-shadow, none);
}

.site-brand--ryanrhode .rr-home__overview-card,
.site-brand--ryanrhode .rr-home__service-card,
.site-brand--ryanrhode .rr-home__testimonial,
.site-brand--ryanrhode .rr-services__card,
.site-brand--ryanrhode .rr-services__mini-card,
.site-brand--ryanrhode .rr-contact__card {
  border-radius: var(--theme-card-radius, 1.05rem);
}

.site-brand--ryanrhode .rr-home,
.site-brand--ryanrhode .rr-services,
.site-brand--ryanrhode .rr-contact {
  gap: calc(var(--theme-section-spacing, 4rem) * 0.45);
}

.site-brand--ryanrhode .rr-home__title,
.site-brand--ryanrhode .rr-services__title,
.site-brand--ryanrhode .rr-contact__title,
.site-brand--ryanrhode .site-page-shell__title {
  font-family: var(--font-h1, var(--font-display, var(--font-sans)));
  font-size: var(--theme-h1-size, clamp(3.2rem, 6vw, 5.4rem));
}

.site-brand--ryanrhode .rr-home__eyebrow,
.site-brand--ryanrhode .rr-services__eyebrow,
.site-brand--ryanrhode .rr-contact__eyebrow {
  font-family: var(--font-nav, var(--font-sans));
  font-size: var(--theme-eyebrow-size, 0.8rem);
  font-weight: var(--theme-eyebrow-weight, 700);
  letter-spacing: var(--theme-eyebrow-letter-spacing, 0.16em);
  text-transform: var(--theme-eyebrow-transform, uppercase);
}

.site-brand--ryanrhode .rr-home__button--primary,
.site-brand--ryanrhode .rr-services__button--primary,
.site-brand--ryanrhode .site-form-submit,
.site-brand--ryanrhode .block-hero__cta--primary,
.site-brand--ryanrhode .block-teaser__link {
  background: var(--theme-button-primary-bg, #495762);
  border-color: var(--theme-button-primary-bg, #495762);
  color: var(--theme-button-primary-text, #f8f4ed);
}

.site-brand--ryanrhode .rr-home__button--primary:hover,
.site-brand--ryanrhode .rr-services__button--primary:hover,
.site-brand--ryanrhode .site-form-submit:hover,
.site-brand--ryanrhode .block-hero__cta--primary:hover,
.site-brand--ryanrhode .block-teaser__link:hover {
  background: var(--theme-button-primary-hover, #5e6a74);
  border-color: var(--theme-button-primary-hover, #5e6a74);
}

.site-brand--ryanrhode .rr-home__button--secondary,
.site-brand--ryanrhode .rr-services__button--secondary,
.site-brand--ryanrhode .block-hero__cta--secondary {
  background: var(--theme-button-secondary-bg-dark, transparent);
  border-color: var(--theme-button-secondary-border, rgba(214, 205, 194, 0.22));
  color: var(--theme-button-secondary-text-dark, #f2f5f7);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__button--secondary,
[data-theme="light"] .site-brand--ryanrhode .rr-services__button--secondary,
[data-theme="light"] .site-brand--ryanrhode .block-hero__cta--secondary {
  background: var(--theme-button-secondary-bg-light, transparent);
  color: var(--theme-button-secondary-text-light, #17191c);
}

@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .site-brand--ryanrhode .rr-home__hero,
  .site-brand--ryanrhode .rr-services__hero,
  .site-brand--ryanrhode .rr-contact__art,
  .site-brand--ryanrhode .rr-home__contact-art {
    background-attachment: var(--theme-parallax-attachment, fixed);
  }
}

@media (max-width: 640px) {
  .site-brand--ryanrhode .rr-home__title,
  .site-brand--ryanrhode .rr-services__title,
  .site-brand--ryanrhode .rr-contact__title,
  .site-brand--ryanrhode .site-page-shell__title {
    font-size: var(--theme-h1-size-mobile, 2.7rem);
  }

  .site-brand--ryanrhode .rr-home__hero {
    min-height: 30rem;
  }
}

/* RyanRhode original-image restoration ---------------------------------- */
.site-brand--ryanrhode {
  --rr-hash-dark: rgba(255, 255, 255, 0.08);
  --rr-hash-light: rgba(19, 26, 34, 0.06);
  --rr-copy-dark: rgba(7, 10, 16, 0.62);
  --rr-copy-light: rgba(247, 249, 251, 0.88);
  --rr-copy-border-dark: rgba(255, 255, 255, 0.08);
  --rr-copy-border-light: rgba(20, 28, 36, 0.08);
}

.site-brand--ryanrhode .rr-home__hero,
.site-brand--ryanrhode .rr-services__hero,
.site-brand--ryanrhode .rr-contact__art,
.site-brand--ryanrhode .rr-home__contact-art {
  --rr-parallax-shift: 0px;
  --rr-base-x: center;
  --rr-base-y: 50%;
  --rr-hero-image: none;
  --rr-image-inset: -10rem;
  --rr-image-right-gap: 0rem;
  --rr-image-scale: 1.14;
  background: #10161c;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
  will-change: transform;
}

.site-brand--ryanrhode .rr-home__hero {
  --rr-hero-image: url("/assets/ryanrhode/home-hero.png");
  --rr-base-y: 34%;
  --rr-image-inset: -8rem;
  --rr-image-scale: 1.11;
  min-height: 35rem;
}

.site-brand--ryanrhode .rr-services__hero {
  --rr-hero-image: url("/assets/ryanrhode/services-hero.png");
  --rr-base-y: 42%;
  --rr-image-inset: -9rem;
  --rr-image-scale: 1.13;
  min-height: clamp(18rem, 42vw, 28rem);
  display: flex;
  align-items: center;
}

[data-theme="light"] .site-brand--ryanrhode .rr-services__hero {
  --rr-hero-image: url("/assets/ryanrhode/services-hero.png");
}

.site-brand--ryanrhode .rr-contact__art {
  --rr-hero-image: url("/assets/ryanrhode/contact-tall.png");
  --rr-base-y: 28%;
  --rr-image-inset: -11rem;
  --rr-image-scale: 1.16;
  background-size: cover;
}

.site-brand--ryanrhode .rr-home__contact-art {
  --rr-hero-image: url("/assets/ryanrhode/contact-square.png");
  --rr-base-y: 40%;
  --rr-image-inset: -4rem;
  --rr-image-scale: 1.08;
  background-size: cover;
}

.site-brand--ryanrhode .collection-hero--portfolio,
.site-brand--ryanrhode .collection-hero--blog,
.site-brand--ryanrhode .blog-post__hero {
  --rr-base-x: 68%;
  --rr-base-y: 34%;
  --rr-image-inset: -8rem;
  --rr-image-scale: 1.11;
}

.site-brand--ryanrhode .collection-hero--portfolio {
  --rr-hero-image: url("/assets/ryanrhode/portfolio-hero.png");
  --rr-base-x: 52%;
  --rr-base-y: 38%;
}

.site-brand--ryanrhode .collection-hero--blog {
  --rr-hero-image: url("/assets/ryanrhode/blog-hero.png");
  --rr-base-x: 54%;
  --rr-base-y: 36%;
}

.site-brand--ryanrhode .blog-post__hero {
  --rr-hero-image: url("/assets/ryanrhode/blog-post-hero.png");
  --rr-base-x: 62%;
  --rr-base-y: 38%;
}

.site-brand--ryanrhode .portfolio-detail__hero {
  --rr-hero-image: url("/assets/ryanrhode/portfolio-detail-hero.png");
  --rr-base-x: 64%;
  --rr-base-y: 42%;
  --rr-image-inset: 0rem;
  --rr-image-scale: 1;
}

.site-brand--ryanrhode .rr-contact__art {
  --rr-base-x: 42%;
  --rr-image-right-gap: 1.25rem;
  background: #070d13;
}

.site-brand--ryanrhode .rr-home__hero::after,
.site-brand--ryanrhode .rr-services__hero::after,
.site-brand--ryanrhode .rr-contact__art::before,
.site-brand--ryanrhode .rr-home__contact-art::before {
  content: "";
  display: block;
  position: absolute;
  top: var(--rr-image-inset);
  right: var(--rr-image-right-gap);
  bottom: var(--rr-image-inset);
  left: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--rr-hero-image);
  background-position: var(--rr-base-x) var(--rr-base-y);
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.14) brightness(1.18);
  transform: translate3d(0, var(--rr-parallax-shift), 0) scale(var(--rr-image-scale));
  transform-origin: center;
  will-change: transform;
}

.site-brand--ryanrhode .rr-home__hero::before,
.site-brand--ryanrhode .rr-services__hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.03), rgba(5, 9, 14, 0.28)),
    repeating-linear-gradient(135deg, var(--rr-hash-dark) 0 1px, transparent 1px 10px),
    rgba(6, 10, 15, 0.08);
}

.site-brand--ryanrhode .collection-hero--portfolio::before,
.site-brand--ryanrhode .collection-hero--blog::before,
.site-brand--ryanrhode .portfolio-detail__hero::before,
.site-brand--ryanrhode .blog-post__hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.02), rgba(5, 9, 14, 0.24)),
    repeating-linear-gradient(135deg, var(--rr-hash-dark) 0 1px, transparent 1px 10px),
    rgba(6, 10, 15, 0.08);
}

.site-brand--ryanrhode .collection-hero--portfolio .rr-hero-media,
.site-brand--ryanrhode .collection-hero--blog .rr-hero-media,
.site-brand--ryanrhode .portfolio-detail__hero .rr-hero-media,
.site-brand--ryanrhode .blog-post__hero .rr-hero-media {
  position: absolute;
  top: var(--rr-image-inset);
  right: var(--rr-image-right-gap);
  bottom: var(--rr-image-inset);
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.site-brand--ryanrhode .collection-hero--portfolio .rr-hero-media__image,
.site-brand--ryanrhode .collection-hero--blog .rr-hero-media__image,
.site-brand--ryanrhode .portfolio-detail__hero .rr-hero-media__image,
.site-brand--ryanrhode .blog-post__hero .rr-hero-media__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rr-base-x) var(--rr-base-y);
  transform: translate3d(0, var(--rr-parallax-shift), 0) scale(var(--rr-image-scale));
  transform-origin: center;
  will-change: transform;
  filter: saturate(1.14) brightness(1.18);
}

.site-brand--ryanrhode .collection-hero--portfolio::before,
.site-brand--ryanrhode .collection-hero--blog::before,
.site-brand--ryanrhode .portfolio-detail__hero::before,
.site-brand--ryanrhode .blog-post__hero::before {
  z-index: 2;
}

.site-brand--ryanrhode .rr-contact__art::after,
.site-brand--ryanrhode .rr-home__contact-art::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.03), rgba(5, 9, 14, 0.32)),
    repeating-linear-gradient(135deg, var(--rr-hash-dark) 0 1px, transparent 1px 10px),
    rgba(6, 10, 15, 0.12);
}

.site-brand--ryanrhode .rr-contact__art::after {
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.03), rgba(5, 9, 14, 0.32)),
    repeating-linear-gradient(135deg, var(--rr-hash-dark) 0 1px, transparent 1px 10px),
    rgba(6, 10, 15, 0.12);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__hero::before,
[data-theme="light"] .site-brand--ryanrhode .rr-services__hero::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(242, 245, 248, 0.18)),
    repeating-linear-gradient(135deg, var(--rr-hash-light) 0 1px, transparent 1px 10px),
    rgba(242, 245, 248, 0.05);
}

[data-theme="light"] .site-brand--ryanrhode .collection-hero--portfolio::before,
[data-theme="light"] .site-brand--ryanrhode .collection-hero--blog::before,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__hero::before,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(242, 245, 248, 0.18)),
    repeating-linear-gradient(135deg, var(--rr-hash-light) 0 1px, transparent 1px 10px),
    rgba(242, 245, 248, 0.05);
}

[data-theme="light"] .site-brand--ryanrhode .rr-contact__art::after,
[data-theme="light"] .site-brand--ryanrhode .rr-home__contact-art::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(242, 245, 248, 0.22)),
    repeating-linear-gradient(135deg, var(--rr-hash-light) 0 1px, transparent 1px 10px),
    rgba(242, 245, 248, 0.06);
}

[data-theme="light"] .site-brand--ryanrhode .rr-contact__art::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(242, 245, 248, 0.22)),
    repeating-linear-gradient(135deg, var(--rr-hash-light) 0 1px, transparent 1px 10px),
    rgba(242, 245, 248, 0.06);
}

.site-brand--ryanrhode .rr-home__hero-copy,
.site-brand--ryanrhode .rr-services__hero-inner,
.site-brand--ryanrhode .rr-contact__body,
.site-brand--ryanrhode .rr-home__contact-copy,
.site-brand--ryanrhode .collection-hero__content,
.site-brand--ryanrhode .portfolio-detail__hero-inner,
.site-brand--ryanrhode .blog-post__hero-inner {
  position: relative;
  isolation: isolate;
  z-index: 3;
}

.site-brand--ryanrhode .rr-home__hero-copy::before,
.site-brand--ryanrhode .rr-services__hero-inner::before,
.site-brand--ryanrhode .rr-contact__body::before,
.site-brand--ryanrhode .rr-home__contact-copy::before,
.site-brand--ryanrhode .collection-hero__content::before,
.site-brand--ryanrhode .portfolio-detail__hero-inner::before,
.site-brand--ryanrhode .blog-post__hero-inner::before {
  content: "";
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 1.2rem;
  background: var(--rr-copy-dark);
  border: 1px solid var(--rr-copy-border-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__hero-copy::before,
[data-theme="light"] .site-brand--ryanrhode .rr-services__hero-inner::before,
[data-theme="light"] .site-brand--ryanrhode .rr-contact__body::before,
[data-theme="light"] .site-brand--ryanrhode .rr-home__contact-copy::before,
[data-theme="light"] .site-brand--ryanrhode .collection-hero__content::before,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__hero-inner::before,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero-inner::before {
  background: var(--rr-copy-light);
  border-color: var(--rr-copy-border-light);
  box-shadow: 0 18px 44px rgba(31, 38, 44, 0.1);
}

.site-brand--ryanrhode .rr-home__hero-copy {
  max-width: 43rem;
  padding: clamp(2rem, 5vw, 3.4rem);
}

.site-brand--ryanrhode .rr-services__form-wrap {
  align-items: start;
  gap: 1.25rem;
  grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
}

.site-brand--ryanrhode .rr-services__form-intro {
  align-self: stretch;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-surface-card) 96%, white 4%), color-mix(in srgb, var(--site-surface-card) 99%, black 1%));
  border: 1px solid color-mix(in srgb, var(--site-border) 72%, transparent);
  border-radius: 1.35rem;
  box-shadow: 0 18px 50px rgba(2, 8, 20, 0.14);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.site-brand--ryanrhode .rr-services__form-intro h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.site-brand--ryanrhode .rr-services__form-wrap > .site-form-embed {
  border-radius: 1.35rem;
  margin-top: 0;
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.site-brand--ryanrhode .rr-services__form-wrap .site-form-embed form {
  gap: 1rem;
}

.site-brand--ryanrhode .rr-services__form-wrap .site-form-embed .calculator-result {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.site-brand--ryanrhode .collection-hero--portfolio,
.site-brand--ryanrhode .collection-hero--blog,
.site-brand--ryanrhode .portfolio-detail__hero,
.site-brand--ryanrhode .blog-post__hero {
  margin-top: var(--space-16);
  margin-bottom: 2rem;
  min-height: 24rem;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0d1319;
  box-shadow: none;
}

.site-brand--ryanrhode .portfolio-detail__hero {
  min-height: clamp(18rem, 24vw, 22rem);
  isolation: isolate;
  contain: paint;
  clip-path: inset(0 round 1.6rem);
}

.site-brand--ryanrhode .collection-hero--portfolio,
.site-brand--ryanrhode .collection-hero--blog {
  grid-template-columns: 1fr;
  padding: 0;
}

.site-brand--ryanrhode .collection-hero__content,
.site-brand--ryanrhode .portfolio-detail__hero-inner,
.site-brand--ryanrhode .blog-post__hero-inner {
  width: min(100%, 42rem);
  margin: clamp(1.25rem, 3vw, 2.4rem);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.site-brand--ryanrhode .portfolio-detail__hero-inner {
  width: min(100%, 44rem);
  margin: 1rem;
  padding: 1.15rem 1.4rem;
}

.site-brand--ryanrhode .portfolio-detail__title {
  font-size: clamp(2rem, 2.7vw, 2.7rem);
  line-height: 0.98;
  max-width: 16ch;
}

.site-brand--ryanrhode .portfolio-detail__summary {
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.site-brand--ryanrhode .collection-hero__title,
.site-brand--ryanrhode .portfolio-detail__title,
.site-brand--ryanrhode .blog-post__hero-title {
  color: #f2f5f7;
}

.site-brand--ryanrhode .collection-hero__description,
.site-brand--ryanrhode .portfolio-detail__summary,
.site-brand--ryanrhode .blog-post__hero-excerpt,
.site-brand--ryanrhode .blog-post__hero-date,
.site-brand--ryanrhode .blog-post__hero-backlink,
.site-brand--ryanrhode .collection-hero__eyebrow {
  color: rgba(232, 238, 244, 0.82);
}

[data-theme="light"] .site-brand--ryanrhode .collection-hero--portfolio,
[data-theme="light"] .site-brand--ryanrhode .collection-hero--blog,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__hero,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero {
  border-color: rgba(20, 28, 36, 0.08);
  background-color: #f4f6f8;
}

[data-theme="light"] .site-brand--ryanrhode .collection-hero__title,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__title,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero-title {
  color: #17191c;
}

[data-theme="light"] .site-brand--ryanrhode .collection-hero__description,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__summary,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero-excerpt,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero-date,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero-backlink,
[data-theme="light"] .site-brand--ryanrhode .collection-hero__eyebrow {
  color: rgba(23, 25, 28, 0.76);
}

.site-brand--ryanrhode .rr-contact__body {
  background: var(--rr-copy-dark);
  border-left: 1px solid var(--rr-copy-border-dark);
}

[data-theme="light"] .site-brand--ryanrhode .rr-contact__body {
  background: var(--rr-copy-light);
  border-left-color: var(--rr-copy-border-light);
}

.site-brand--ryanrhode .rr-services__hero-inner {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-height: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  width: min(100%, 42rem);
  max-width: 42rem;
  margin: clamp(1.2rem, 3vw, 2.4rem);
}

.site-brand--ryanrhode .rr-services__hero-inner::before {
  width: auto;
  border-top: 0;
  margin-bottom: 0;
}

.site-brand--ryanrhode .rr-contact__body::before {
  inset: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-brand--ryanrhode .rr-home__contact-strip {
  grid-template-columns: clamp(15rem, 18vw, 17rem) minmax(0, 1.18fr);
  overflow: hidden;
}

.site-brand--ryanrhode .rr-home__contact-art {
  --rr-base-x: 50%;
  --rr-image-right-gap: 0rem;
  --rr-image-inset: -4rem;
  --rr-image-scale: 1.08;
  min-height: 17rem;
  background: #070d13;
  overflow: hidden;
}

.site-brand--ryanrhode .rr-home__contact-copy {
  background: var(--rr-copy-dark);
  border-left: 1px solid var(--rr-copy-border-dark);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__contact-copy {
  background: var(--rr-copy-light);
  border-left-color: var(--rr-copy-border-light);
}

.site-brand--ryanrhode .rr-home__contact-copy::before {
  inset: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-brand--ryanrhode .rr-contact__art {
  min-height: 22rem;
}

.site-brand--ryanrhode .rr-home__title,
.site-brand--ryanrhode .rr-services__title,
.site-brand--ryanrhode .rr-contact__title {
  text-wrap: balance;
}

@media (max-width: 960px), (prefers-reduced-motion: reduce) {
  .site-brand--ryanrhode .rr-home__hero,
  .site-brand--ryanrhode .rr-services__hero,
  .site-brand--ryanrhode .rr-contact__art,
  .site-brand--ryanrhode .rr-home__contact-art,
  .site-brand--ryanrhode .collection-hero--portfolio,
  .site-brand--ryanrhode .collection-hero--blog,
  .site-brand--ryanrhode .portfolio-detail__hero,
  .site-brand--ryanrhode .blog-post__hero {
    --rr-parallax-shift: 0px;
  }

  .site-brand--ryanrhode .rr-home__hero::after,
  .site-brand--ryanrhode .rr-services__hero::after,
  .site-brand--ryanrhode .rr-contact__art::before,
  .site-brand--ryanrhode .rr-home__contact-art::before {
    transform: translate3d(0, 0, 0) scale(calc(var(--rr-image-scale) - 0.02));
  }

  .site-brand--ryanrhode .collection-hero--portfolio .rr-hero-media__image,
  .site-brand--ryanrhode .collection-hero--blog .rr-hero-media__image,
  .site-brand--ryanrhode .portfolio-detail__hero .rr-hero-media__image,
  .site-brand--ryanrhode .blog-post__hero .rr-hero-media__image {
    transform: translate3d(0, 0, 0) scale(calc(var(--rr-image-scale) - 0.02));
  }

  .site-brand--ryanrhode .collection-hero--portfolio,
  .site-brand--ryanrhode .collection-hero--blog,
  .site-brand--ryanrhode .portfolio-detail__hero,
  .site-brand--ryanrhode .blog-post__hero {
    background-image: var(--rr-hero-image);
    background-position: var(--rr-base-x) var(--rr-base-y);
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 640px) {
  .site-brand--ryanrhode .rr-home__hero {
    min-height: 29rem;
  }

  .site-brand--ryanrhode .collection-hero--portfolio,
  .site-brand--ryanrhode .collection-hero--blog,
  .site-brand--ryanrhode .portfolio-detail__hero,
  .site-brand--ryanrhode .blog-post__hero {
    min-height: 20rem;
  }

  .site-brand--ryanrhode .portfolio-detail__hero {
    --rr-image-inset: 0rem;
    --rr-image-scale: 1;
    min-height: 15.5rem;
  }

  .site-brand--ryanrhode .portfolio-detail__title {
    font-size: 2.3rem;
    max-width: none;
  }

  .site-brand--ryanrhode .rr-home__hero-copy,
  .site-brand--ryanrhode .rr-services__hero-inner,
  .site-brand--ryanrhode .rr-contact__body,
  .site-brand--ryanrhode .rr-home__contact-copy,
  .site-brand--ryanrhode .collection-hero__content,
  .site-brand--ryanrhode .portfolio-detail__hero-inner,
  .site-brand--ryanrhode .blog-post__hero-inner {
    padding: 1.2rem;
  }

  .site-brand--ryanrhode .rr-home__hero-copy::before,
  .site-brand--ryanrhode .rr-services__hero-inner::before,
  .site-brand--ryanrhode .rr-contact__body::before,
  .site-brand--ryanrhode .rr-home__contact-copy::before,
  .site-brand--ryanrhode .collection-hero__content::before,
  .site-brand--ryanrhode .portfolio-detail__hero-inner::before,
  .site-brand--ryanrhode .blog-post__hero-inner::before {
    inset: -0.55rem;
  }

  .site-brand--ryanrhode .rr-home__contact-copy {
    border-left: 0;
    border-top: 1px solid var(--rr-copy-border-dark);
  }

  [data-theme="light"] .site-brand--ryanrhode .rr-home__contact-copy {
    border-top-color: var(--rr-copy-border-light);
  }

  .site-brand--ryanrhode .rr-contact__art {
    min-height: 9rem;
    background-position: center 38%;
  }
}

.site-brand--ryanrhode .rr-home,
.site-brand--ryanrhode .rr-services,
.site-brand--ryanrhode .rr-contact {
  max-width: 76rem;
  width: 100%;
}

.site-brand--ryanrhode .rr-services,
.site-brand--ryanrhode .rr-contact {
  padding-top: 0;
}

.site-brand--ryanrhode .collection-hero--portfolio,
.site-brand--ryanrhode .collection-hero--blog,
.site-brand--ryanrhode .portfolio-detail__hero,
.site-brand--ryanrhode .blog-post__hero {
  margin-top: 0;
}

.site-brand--ryanrhode .rr-home__eyebrow,
.site-brand--ryanrhode .rr-services__eyebrow,
.site-brand--ryanrhode .rr-contact__eyebrow {
  color: var(--accent-primary-light);
  margin: 0 0 0.9rem;
}

.site-brand--ryanrhode .rr-services__title,
.site-brand--ryanrhode .rr-contact__title {
  margin: 0;
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .rr-services__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .rr-contact__eyebrow {
  color: var(--accent-primary-dark);
}

.site-brand--ryanrhode .rr-home__hero .rr-home__eyebrow,
.site-brand--ryanrhode .rr-services__hero .rr-services__eyebrow,
.site-brand--ryanrhode .rr-contact__body .rr-contact__eyebrow,
.site-brand--ryanrhode .rr-home__contact-copy .rr-home__eyebrow,
.site-brand--ryanrhode .collection-hero__content .collection-hero__eyebrow,
.site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__category,
.site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__subcategory,
.site-brand--ryanrhode .blog-post__hero .blog-post__hero-date,
.site-brand--ryanrhode .blog-post__hero .blog-post__hero-backlink {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .site-brand--ryanrhode .rr-home__hero .rr-home__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .rr-services__hero .rr-services__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .rr-contact__body .rr-contact__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .rr-home__contact-copy .rr-home__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .collection-hero__content .collection-hero__eyebrow,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__category,
[data-theme="light"] .site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__subcategory,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero .blog-post__hero-date,
[data-theme="light"] .site-brand--ryanrhode .blog-post__hero .blog-post__hero-backlink {
  color: rgba(255, 255, 255, 0.92);
}

.site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__subcategory,
.site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-brand--ryanrhode .rr-home__hero .rr-home__lede,
.site-brand--ryanrhode .rr-services__hero .rr-services__lede,
.site-brand--ryanrhode .rr-contact__body .rr-contact__lede,
.site-brand--ryanrhode .portfolio-detail__hero .portfolio-detail__summary,
.site-brand--ryanrhode .collection-hero__content .collection-hero__description,
.site-brand--ryanrhode .blog-post__hero .blog-post__hero-excerpt {
  color: rgba(247, 250, 252, 0.86);
}

.block-columns {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.block-columns--2-equal,
.block-columns--2-wide-left,
.block-columns--2-wide-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.block-columns--2-wide-left {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
}

.block-columns--2-wide-right {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
}

.block-columns--3-equal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.block-columns__column {
  min-width: 0;
}

.block-columns__column > :first-child {
  margin-top: 0;
}

.block-columns__column > :last-child {
  margin-bottom: 0;
}

.block-columns__column .block-columns {
  margin-block: 0;
}

@media (max-width: 900px) {
  .block-columns,
  .block-columns--2-equal,
  .block-columns--2-wide-left,
  .block-columns--2-wide-right,
  .block-columns--3-equal {
    grid-template-columns: minmax(0, 1fr);
  }
}
