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

@keyframes astroFadeIn {
	from {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroFadeOut {
	from {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroSlideFromRight {
	from {
		transform: translateX(100%);
	}
}

@keyframes astroSlideFromLeft {
	from {
		transform: translateX(-100%);
	}
}

@keyframes astroSlideToRight {
	to {
		transform: translateX(100%);
	}
}

@keyframes astroSlideToLeft {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	[data-astro-transition-scope] {
		animation: none !important;
	}
}
/* Route announcer */
	.astro-route-announcer {
		position: absolute;
		left: 0;
		top: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
		height: 1px;
	}.share-dialog[data-astro-cid-3hjxc4jv] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-dialog[data-astro-cid-3hjxc4jv][hidden] {
  display: none;
}

.share-dialog__backdrop[data-astro-cid-3hjxc4jv] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000080;
  animation: .2s ease-out fadeIn;
}

.share-dialog__container[data-astro-cid-3hjxc4jv] {
  position: relative;
  background: var(--sl-color-neutral-0);
  border-radius: 28px;
  box-shadow: 0 4px 8px 3px #00000026, 0 1px 3px #0000004d;
  max-width: 480px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  animation: .3s cubic-bezier(.4, 0, .2, 1) slideUp;
}

.share-dialog__header[data-astro-cid-3hjxc4jv] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--sl-color-neutral-200);
}

.share-dialog__title[data-astro-cid-3hjxc4jv] {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
  color: var(--sl-color-neutral-900);
}

.share-dialog__close[data-astro-cid-3hjxc4jv] {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-color-neutral-600);
  transition: background-color .2s;
}

.share-dialog__close[data-astro-cid-3hjxc4jv]:hover {
  background-color: var(--sl-color-neutral-100);
  color: var(--sl-color-neutral-900);
}

.share-dialog__body[data-astro-cid-3hjxc4jv] {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-dialog__preview-card[data-astro-cid-3hjxc4jv] {
  border: 1px solid var(--sl-color-neutral-200);
  border-radius: 16px;
  padding: 12px;
  background: var(--sl-color-neutral-0);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-dialog__og-image[data-astro-cid-3hjxc4jv] {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
  background: var(--sl-color-neutral-0);
  border-radius: 12px;
  display: block;
}

.share-dialog__og-image[data-astro-cid-3hjxc4jv][hidden] {
  display: none;
}

.share-dialog__og-title[data-astro-cid-3hjxc4jv] {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sl-color-primary-700, #0f766e);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.share-dialog__og-title[data-astro-cid-3hjxc4jv][hidden] {
  display: none;
}

.share-dialog__og-description[data-astro-cid-3hjxc4jv] {
  margin: 0;
  font-size: .875rem;
  color: var(--sl-color-neutral-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.share-dialog__og-title[data-astro-cid-3hjxc4jv] + .share-dialog__og-description[data-astro-cid-3hjxc4jv] {
  margin-top: -12px;
}

.share-dialog__og-description[data-astro-cid-3hjxc4jv][hidden] {
  display: none;
}

.share-dialog__url-row[data-astro-cid-3hjxc4jv] {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sl-color-neutral-100);
  border-radius: 100px;
  padding: 8px 8px 8px 14px;
}

.share-dialog__url-icon[data-astro-cid-3hjxc4jv] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--sl-color-neutral-500);
  font-size: 1rem;
}

.share-dialog__url-text[data-astro-cid-3hjxc4jv] {
  flex: 1;
  font-size: .8125rem;
  color: var(--sl-color-neutral-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.share-dialog__copy-action[data-astro-cid-3hjxc4jv] {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-dialog__copy-toast[data-astro-cid-3hjxc4jv] {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sl-color-neutral-900);
  color: var(--sl-color-neutral-0);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .75rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px #0000002e;
}

.share-dialog__copy-toast[data-astro-cid-3hjxc4jv][hidden] {
  display: none;
}

.share-dialog__copy-btn[data-astro-cid-3hjxc4jv] {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--sl-color-primary-600, #1a73e8);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s, transform .2s;
}

.share-dialog__copy-btn[data-astro-cid-3hjxc4jv]:hover {
  background: var(--sl-color-primary-500, #2fbcbc);
}

.share-dialog__copy-btn[data-astro-cid-3hjxc4jv]:active {
  transform: scale(.96);
}

.share-dialog__copy-btn[data-astro-cid-3hjxc4jv] sl-icon[data-astro-cid-3hjxc4jv] {
  font-size: 1rem;
}

.share-dialog__platforms[data-astro-cid-3hjxc4jv] {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 4px 0 8px;
}

.share-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background-color .2s;
  min-width: 72px;
}

.share-platform:hover {
  background: var(--sl-color-neutral-100);
}

.share-platform__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-platform__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-platform--twitter .share-platform__icon {
  background: #000;
}

.share-platform--twitter .share-platform__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.share-platform--svg .share-platform__icon {
  border-radius: 0;
  background: none;
  overflow: visible;
}

.share-platform--svg .share-platform__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.share-platform__label {
  font-size: .75rem;
  color: var(--sl-color-neutral-700);
  text-align: center;
  white-space: nowrap;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (width <= 600px) {
  .share-dialog__container[data-astro-cid-3hjxc4jv] {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    animation: .3s cubic-bezier(.4, 0, .2, 1) slideUpMobile;
  }

  @keyframes slideUpMobile {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }
}
/* ============================================================
   Self-hosted variable fonts
   All three are WOFF2 variable fonts — single file per style.
   font-display: swap — text renders in fallback immediately,
   swaps to custom font once loaded (minimal FOUT with similar metrics).
   ============================================================ */

@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/Mulish-Variable.woff2") format("woff2 supports variations"),
       url("/assets/fonts/Mulish-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mulish";
  src: url("/assets/fonts/Mulish-Italic-Variable.woff2") format("woff2 supports variations"),
       url("/assets/fonts/Mulish-Italic-Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   Font custom properties
   --font-content  → Mulish for all body/content text
   --font-ui       → system stack (toolbar, nav, menus, buttons)
   ============================================================ */

:root {
  --font-content: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: var(--sl-font-sans);
}
/**
 * Custom Shoelace Theme
 * 
 * Overrides Shoelace's default palette with custom brand colors.
 * Uses Material Design 3 tonal palette pattern (50-950 scale).
 * 
 * Primary: Teal - main brand color (toolbar, buttons)
 * Secondary: Orange - accent/supporting color (links, active states)
 */

:root,
:host,
.sl-theme-light {
  /* ============================================
     Primary Palette - Teal
     Modern teal with good contrast and vibrancy
     ============================================ */
  --sl-color-primary-50: hsl(180 65% 97%);
  --sl-color-primary-100: hsl(180 60% 92%);
  --sl-color-primary-200: hsl(180 58% 84%);
  --sl-color-primary-300: hsl(180 56% 72%);
  --sl-color-primary-400: hsl(180 54% 60%);
  --sl-color-primary-500: hsl(180 52% 48%);
  --sl-color-primary-600: hsl(180 58% 38%);   /* Main brand color */
  --sl-color-primary-700: hsl(180 60% 30%);
  --sl-color-primary-800: hsl(180 62% 23%);
  --sl-color-primary-900: hsl(180 64% 16%);
  --sl-color-primary-950: hsl(180 66% 10%);

  /* ============================================
     Secondary Palette - Orange
     Warm orange for accents (previous primary)
     ============================================ */
  --sl-color-secondary-50: hsl(26 95% 95%);
  --sl-color-secondary-100: hsl(23 92% 90%);
  --sl-color-secondary-200: hsl(21 89% 82%);
  --sl-color-secondary-300: hsl(19 84% 72%);
  --sl-color-secondary-400: hsl(16 79% 62%);
  --sl-color-secondary-500: hsl(14 72% 52%);
  --sl-color-secondary-600: hsl(12 69% 44%);  /* Main accent color */
  --sl-color-secondary-700: hsl(10 66% 37%);
  --sl-color-secondary-800: hsl(10 60% 30%);
  --sl-color-secondary-900: hsl(8 52% 24%);
  --sl-color-secondary-950: hsl(7 45% 16%);
}
/**
 * Semantic Theme Tokens
 * 
 * Maps color roles to specific palette positions, making it easy to:
 * - Understand intent (toolbar vs link vs accent)
 * - Change palette assignments without touching component CSS
 * - Support customer color customization
 * 
 * Based on Material Design 3 color role system but adapted for flexibility.
 */

html:root {
   --site-bg-image: url('/assets/images/site/background.webp');
   --site-logo-mask-image: url('/assets/images/logos/lisa-deighan.svg');
}

:root {

  /* ============================================
     Brand & Accent Colors
     ============================================ */
  
  /* Primary brand color (teal) - main interactive elements */
  --color-primary: var(--sl-color-primary-600);
  --color-primary-hover: var(--sl-color-primary-700);
  --color-primary-active: var(--sl-color-primary-800);
  --color-primary-subtle: var(--sl-color-primary-50);
  --color-on-primary: var(--sl-color-neutral-0);
  
  /* Secondary accent color (orange) - supporting elements */
  --color-secondary: var(--sl-color-secondary-600);
  --color-secondary-hover: var(--sl-color-secondary-700);
  --color-secondary-active: var(--sl-color-secondary-800);
  --color-secondary-subtle: var(--sl-color-secondary-50);
  --color-on-secondary: var(--sl-color-neutral-0);

  /* ============================================
     UI Role Assignments
     ============================================ */
  
  /* Toolbar */
  --color-toolbar-bg: var(--color-primary);
  --color-toolbar-text: var(--color-on-primary);
  --color-toolbar-icon: var(--color-on-primary);
  
  /* Buttons */
  --color-button-primary: var(--color-primary);
  --color-button-primary-hover: var(--color-primary-hover);
  --color-button-primary-text: var(--color-on-primary);
  
  /* Links */
  --color-link: var(--sl-color-secondary-500);
  --color-link-hover: var(--sl-color-secondary-600);
  
  /* Navigation */
  --color-nav-bg: var(--sl-color-neutral-0);
  --color-nav-text: var(--sl-color-neutral-600);
  --color-nav-border: var(--sl-color-neutral-200);
  --color-nav-active: var(--sl-color-secondary-500);
  --color-nav-active-bg: var(--color-secondary-subtle);
  
  /* FAB (Floating Action Button) */
  --color-fab-bg: var(--sl-color-secondary-400);
  --color-fab-hover-bg: var(--sl-color-secondary-400);
  --color-fab-text: var(--sl-color-neutral-0);
  
  /* Interactive elements (filter pills, cards, etc.) */
  --color-interactive: var(--sl-color-secondary-500);
  --color-interactive-hover: var(--sl-color-secondary-600);
  --color-interactive-active: var(--sl-color-secondary-500);
  
  /* ============================================
     Surface & Background Colors
     ============================================ */
  
  --color-surface: var(--sl-color-neutral-0);
  --color-surface-variant: var(--sl-color-neutral-50);
  --color-surface-elevated: var(--sl-color-neutral-0);
  --color-on-surface: var(--sl-color-neutral-900);
  --color-on-surface-variant: var(--sl-color-neutral-600);
  
  /* Borders & dividers */
  --color-border: var(--sl-color-neutral-200);
  --color-divider: var(--sl-color-neutral-200);
}

/* ============================================
   Dark Theme Overrides
   ============================================ */

.sl-theme-dark {
  /* Surface colors invert */
  --color-surface: var(--sl-color-neutral-900);
  --color-surface-variant: var(--sl-color-neutral-800);
  --color-surface-elevated: var(--sl-color-neutral-850);
  --color-on-surface: var(--sl-color-neutral-50);
  --color-on-surface-variant: var(--sl-color-neutral-400);
  
  /* Borders & dividers in dark mode */
  --color-border: var(--sl-color-neutral-800);
  --color-divider: var(--sl-color-neutral-800);
  
  /* Navigation in dark mode */
  --color-nav-bg: var(--sl-color-neutral-900);
  --color-nav-text: var(--sl-color-neutral-400);
  --color-nav-border: var(--sl-color-neutral-700);
  
  /* FAB in dark mode - lighter for contrast */
  --color-fab-bg: var(--sl-color-secondary-500);
  --color-fab-hover-bg: var(--sl-color-secondary-600);
  --color-fab-text: var(--sl-color-neutral-0);
  
  /* Primary/secondary colors stay the same but may need adjustment for contrast */
  /* Uncomment and adjust if teal/orange need darkening in dark mode: */
  /* --color-primary: var(--sl-color-primary-500); */
  /* --color-secondary: var(--sl-color-secondary-500); */
}

/* ============================================
   Usage Notes
   ============================================ */

/*
  Component CSS should reference semantic tokens, not palette positions:
  
  ✅ Good:
    background: var(--color-toolbar-bg);
    color: var(--color-link);
  
  ❌ Avoid:
    background: var(--sl-color-primary-600);
    color: var(--sl-color-secondary-600);
  
  This allows palette assignments to change without touching components.
  
  Customer Customization:
  - Override --sl-color-primary-* and --sl-color-secondary-* in themes-shoelace.css
  - Or override semantic tokens directly for specific role changes
  - Example: --color-toolbar-bg: var(--sl-color-secondary-600); (orange toolbar)
*/

/* ============================================
   Quick Theming Experiments
   ============================================ */

/*
  Current setup (teal primary, orange secondary):
  - Toolbar: teal background (primary)
  - Nav rail/bar: neutral background (light/dark)
  - FAB: orange background (secondary)
  - Links/filters: orange (secondary)
  - Active nav: orange (secondary)
  
  Easy experiments to try:
  
  1. Match nav to toolbar (teal):
     --color-nav-bg: var(--color-primary);
     --color-nav-text: var(--color-on-primary);
     --color-nav-border: var(--sl-color-primary-700);
  
  2. Orange nav:
     --color-nav-bg: var(--color-secondary);
     --color-nav-text: var(--color-on-secondary);
     --color-nav-border: var(--sl-color-secondary-700);
  
  3. Make everything teal:
     --color-fab-bg: var(--color-primary);
     --color-interactive: var(--color-primary);
     --color-nav-active: var(--color-primary);
  
  4. Make everything orange:
     --color-toolbar-bg: var(--color-secondary);
     --color-nav-bg: var(--color-secondary);
     --color-button-primary: var(--color-secondary);
  
  5. Dark nav even in light mode:
     --color-nav-bg: var(--sl-color-neutral-900);
     --color-nav-text: var(--sl-color-neutral-50);
     --color-nav-border: var(--sl-color-neutral-800);
*/
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --site-max-width: 1200px;
  --page-wrapper-max-width: 980px;
  --page-hero-max-width: 800px;
  --page-content-max-width: 900px;
  --about-media-col-width: 280px;
  --mobile-toolbar-height: 56px;
  --desktop-toolbar-height: 64px;
  --mobile-nav-item-min-height: 64px;
  --mobile-nav-vertical-padding: var(--sl-spacing-2x-small);
  --mobile-nav-height: calc(var(--mobile-nav-item-min-height) + (var(--mobile-nav-vertical-padding) * 2));
  --site-bg-image: none;
  --site-bg-size: 20%;
  --site-logo-mask-image: none;
  /* On screens wider than --site-max-width, this is the margin on each side.
     max(0px, ...) keeps it at 0 on narrow screens so nothing shifts. */
  --site-frame-offset: max(0px, calc((100vw - var(--site-max-width)) / 2));
}

@media (min-width: 1920px) {
  :root {
    --site-max-width: 1480px;
    --page-wrapper-max-width: 1180px;
    --page-hero-max-width: 920px;
    --page-content-max-width: 1080px;
    --about-media-col-width: 340px;
  }
}

html {
  font-size: 16px;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--sl-color-neutral-100);
  background-image: var(--site-bg-image);
  background-repeat: repeat;
  background-size: var(--site-bg-size, 20%);
  background-attachment: fixed;
}

body {
  max-width: var(--site-max-width);
  margin-inline: auto;
  margin-block: 0;
  height: 100dvh;
  overflow-y: auto;
  background: var(--sl-color-neutral-0);
  color: var(--sl-color-neutral-900);
  font-family: var(--font-ui, var(--sl-font-sans));
  line-height: 1.6;
  box-shadow: var(--sl-shadow-large);
  /* Thin scrollbar — sits inside the white card, not the browser chrome */
  scrollbar-width: thin;
  scrollbar-color: var(--sl-color-neutral-300) transparent;
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: var(--sl-color-neutral-300);
  border-radius: 3px;
}

/* Content area uses Mulish; UI chrome (toolbar/nav/footer) inherits --font-ui */
main {
  font-family: var(--font-content);
}

.brand-logo {
  display: inline-block;
  width: 11rem;
  aspect-ratio: 232.37 / 64.75;
  background-color: currentColor;
  -webkit-mask-image: var(--site-logo-mask-image);
  mask-image: var(--site-logo-mask-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.brand-logo--home {
  width: min(78vw, 16.5rem);
  color: var(--color-primary);
}

.brand-logo--about {
  width: min(70vw, 12rem);
  color: var(--color-primary);
}

.brand-logo--drawer {
  width: 9.5rem;
  color: var(--sl-color-neutral-0);
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--sl-color-neutral-400);
}

.sl-theme-dark body {
  background: var(--sl-color-neutral-900);
  color: var(--sl-color-neutral-50);
}

.sl-theme-dark html {
  background: var(--sl-color-neutral-950);
  background-image: var(--site-bg-image);
  background-repeat: repeat;
  background-size: var(--site-bg-size, 20%);
  background-attachment: fixed;
}

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

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

/* main {
  padding-block: var(--sl-spacing-2x-large);
} */

.container {
  width: 100%;
  max-width: var(--container-max-width, 100%);
  margin-inline: auto;
  padding-inline: var(--sl-spacing-medium);
  flex: 1;
}

/* Mobile content padding system - change this one value to adjust all mobile spacing */
@media (max-width: 767px) {
  :root {
    --mobile-content-padding: 8px;
  }

  main {
    padding-block: var(--mobile-content-padding);
  }

  .container {
    padding-inline: var(--mobile-content-padding);
  }
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* fallback for older browsers */
  min-height: 100dvh; /* dynamic viewport height - accounts for mobile browser UI */
  padding-top: 64px;
}

.app-toolbar {
  display: flex;
  align-items: center;
  gap: var(--toolbar-gap, var(--sl-spacing-medium));
  position: fixed;
  top: 0;
  left: var(--site-frame-offset);
  right: var(--site-frame-offset);
  min-height: var(--toolbar-height, 64px);
  padding: var(--toolbar-padding-block, var(--sl-spacing-small)) var(--toolbar-padding-inline, var(--sl-spacing-medium));
  background: var(--color-toolbar-bg);
  color: var(--color-toolbar-text);
  box-shadow: var(--sl-shadow-medium);
  z-index: 100;
  view-transition-name: none;
}

.app-toolbar__leading,
.app-toolbar__actions {
  display: flex;
  align-items: center;
  gap: var(--toolbar-actions-gap, var(--sl-spacing-small));
}

.app-toolbar__title {
  margin: 0;
  flex: 1;
  color: var(--color-toolbar-text);
  font-size: var(--toolbar-title-size, var(--sl-font-size-large));
}

.app-toolbar sl-icon-button::part(base) {
  color: var(--color-toolbar-icon);
  font-size: var(--toolbar-icon-size, 1.5rem);
}

/* Shoelace custom elements set their own display via shadow DOM :host styles,
   which overrides the browser's default [hidden] { display: none } rule.
   Force it explicitly so the hidden attribute actually hides these elements. */
sl-icon-button[hidden] {
  display: none !important;
}

.nav-rail {
  display: none;
  position: fixed;
  left: var(--site-frame-offset);
  top: 0;
  bottom: 0;
  width: 80px;
  background: var(--color-nav-bg);
  border-right: 1px solid var(--color-nav-border);
  z-index: 50;
  view-transition-name: none;
  /* hamburger pinned top, nav icons centred in remaining space */
  display: none;
  flex-direction: column;
  align-items: stretch;
}

.nav-rail__header {
  min-height: 64px;
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  z-index: 1;
}

.nav-rail__header sl-icon-button::part(base) {
  color: var(--color-nav-text);
}

.nav-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-rail__separator {
  list-style: none;
  padding: var(--sl-spacing-x-small) var(--sl-spacing-small);
  min-height: calc((2 * var(--sl-spacing-x-small)) + 1px);
  display: flex;
  align-items: center;
}

.nav-rail__separator-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-nav-border);
}

.nav-rail__link {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-nav-text);
  gap: var(--sl-spacing-2x-small);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-rail__link:hover,
.nav-rail__link:active {
  color: var(--color-nav-active);
  text-decoration: none;
}

.nav-rail__link--active {
  color: var(--color-nav-active);
}

.nav-rail__icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-rail__label {
  font-size: 0.75rem;
}

.nav-rail__link--active .nav-rail__label {
  font-weight: 700;
}

.nav-rail__icon,
.nav-bar__icon,
.app-sidenav__icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex: none;
}

.nav-icon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-badge__badge[hidden] {
  display: none;
}

.nav-icon-badge__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.28rem;
  transform: translate(32%, -26%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sl-border-radius-pill);
  background: var(--sl-color-danger-600, #c81e1e);
  color: var(--sl-color-neutral-0, #ffffff);
  border: 2px solid var(--color-nav-bg);
  font-size: 0.78rem;
  font-weight: 900;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.nav-icon-badge--dot .nav-icon-badge__badge {
  min-width: 0.625rem;
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
}

.nav-bar__icon-container,
.app-sidenav__icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pill background using pseudo-element on container */
.nav-rail__link:hover .nav-rail__icon-container::before,
.nav-rail__link--active .nav-rail__icon-container::before,
.nav-bar__link:hover .nav-bar__icon-container::before,
.nav-bar__link--active .nav-bar__icon-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + var(--sl-spacing-x-large));
  height: calc(100% + var(--sl-spacing-medium));
  border-radius: var(--sl-border-radius-pill);
  z-index: -1;
  transition: background-color 0.2s ease;
}

/* Hover pill matches selected background */
.nav-rail__link:hover .nav-rail__icon-container::before,
.nav-bar__link:hover .nav-bar__icon-container::before {
  background: var(--color-nav-active-bg);
}

/* Active pill - theme colored background */
.nav-rail__link--active .nav-rail__icon-container::before,
.nav-bar__link--active .nav-bar__icon-container::before {
  background: var(--color-nav-active-bg);
}

.nav-bar {
  position: fixed;
  left: var(--site-frame-offset);
  right: var(--site-frame-offset);
  bottom: 0;
  border-top: 1px solid var(--color-nav-border);
  background: var(--color-nav-bg);
  z-index: 50;
  view-transition-name: none;
}

.nav-bar__list {
  list-style: none;
  margin: 0;
  padding: var(--mobile-nav-vertical-padding);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nav-bar__link {
  min-height: var(--mobile-nav-item-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-nav-text);
  gap: var(--sl-spacing-3x-small);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-bar__link:hover,
.nav-bar__link:active {
  color: var(--color-nav-active);
  text-decoration: none;
}

.nav-bar__link--active {
  color: var(--color-nav-active);
}

.nav-bar__label {
  font-size: 0.75rem;
}

.nav-bar__link--active .nav-bar__label {
  font-weight: 700;
}

.app-sidenav::part(base) {
  z-index: 9999;
  left: var(--site-frame-offset, 0px);
  right: var(--site-frame-offset, 0px);
}

.app-sidenav::part(panel) {
  left: 0;
}

.app-sidenav::part(body) {
  padding: 0;
}

.app-sidenav {
  --header-spacing: var(--toolbar-padding-inline, var(--sl-spacing-medium));
}

.app-sidenav::part(header) {
  height: var(--toolbar-height, 64px);
  min-height: var(--toolbar-height, 64px);
  padding: 0;
  background: var(--color-primary);
  color: var(--sl-color-neutral-0);
  box-sizing: border-box;
}

.app-sidenav::part(title) {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  color: var(--sl-color-neutral-0);
}

.app-sidenav::part(close-button) {
  color: var(--sl-color-neutral-0);
  font-size: var(--toolbar-icon-size, 1.5rem);
  line-height: 1;
}

.app-sidenav::part(close-button__base) {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: none;
}

.app-sidenav::part(close-button__base):hover,
.app-sidenav::part(close-button__base):focus-visible,
.app-sidenav::part(close-button__base):active {
  color: var(--sl-color-neutral-0);
  background: transparent;
}

.app-sidenav__signature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  line-height: 1;
  color: var(--sl-color-neutral-0);
}

.app-sidenav__nav {
  display: flex;
  flex-direction: column;
  padding: var(--sl-spacing-medium) 0;
}

.app-sidenav__item {
  display: flex;
  align-items: center;
  gap: var(--sl-spacing-medium);
  margin: 0 var(--sl-spacing-small);
  padding: var(--sl-spacing-small) var(--sl-spacing-medium);
  border-radius: var(--sl-border-radius-pill);
  color: var(--sl-color-neutral-700);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.app-sidenav__item:hover,
.app-sidenav__item:active {
  background: var(--color-nav-active-bg);
  color: var(--color-nav-active);
  text-decoration: none;
}

.app-sidenav__item--active {
  background: var(--color-nav-active-bg);
  color: var(--color-nav-active);
  font-weight: 700;
}

.app-sidenav__label {
  flex: 1;
}

.app-sidenav__item-badge {
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sl-border-radius-pill);
  background: var(--sl-color-danger-600, #c81e1e);
  color: var(--sl-color-neutral-0, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.app-sidenav__item-badge[hidden] {
  display: none;
}

.site-footer {
  background: transparent;
  color: var(--sl-color-neutral-500);
  padding: var(--sl-spacing-medium) var(--sl-spacing-large);
  font-size: var(--sl-font-size-small);
}

.site-footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sl-spacing-medium);
}

.site-footer__legal {
  text-align: center;
  flex: 1;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sl-spacing-x-small);
  margin-bottom: var(--sl-spacing-x-small);
}

.site-footer__links a {
  color: var(--sl-color-neutral-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--sl-color-primary-600);
  text-decoration: underline;
}

.site-footer__separator {
  color: var(--sl-color-neutral-400);
  user-select: none;
}

.site-footer__copyright,
.site-footer__company {
  margin: 0;
  color: var(--sl-color-neutral-500);
  font-size: 0.875rem;
}

.site-footer__company-sep {
  margin: 0 var(--sl-spacing-3x-small);
  user-select: none;
}

.site-footer__company + .site-footer__copyright {
  margin-top: var(--sl-spacing-3x-small);
}

.site-footer__social {
  display: flex;
  gap: var(--sl-spacing-small);
  align-items: center;
}

.site-footer__social-link {
  color: var(--sl-color-neutral-600);
  font-size: 1.5rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__social-link:hover {
  color: var(--sl-color-primary-600);
}

/* Hide footer on any viewport when a FAB action is present (portfolio, workshops) */
body[data-fab-icon]:not([data-fab-icon=""]) .site-footer {
  display: none;
}

/* Mobile: left-align legal, right-align social */
@media (max-width: 599px) {

  .site-footer__content {
    justify-content: space-between;
  }

  .site-footer__legal {
    text-align: left;
    flex: 0 1 auto;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__company-part {
    display: block;
  }

  .site-footer__company-part:not(:first-child) {
    margin-top: 2px;
  }

  .site-footer__company-sep {
    display: none;
  }
}

@media (min-width: 600px) {
  body {
    padding-left: 80px;
    padding-bottom: 0;
  }

  .app-toolbar {
    left: calc(80px + var(--site-frame-offset));
  }

  #nav-toolbar-menu-btn {
    display: none;
  }

  .nav-rail {
    display: flex;
  }

  .nav-bar {
    display: none;
  }
}

@media (min-width: 600px) and (max-height: 500px) and (orientation: landscape) {
  .nav-rail__list {
    top: calc(64px + 56px + (2 * var(--sl-spacing-small)));
    left: 0;
    right: 0;
    bottom: var(--sl-spacing-2x-small);
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: var(--sl-spacing-small) 0;
    scrollbar-width: thin;
  }

  /* Reclaim FAB space on pages where FAB is not active. */
  body[data-fab-icon=""] .nav-rail__list {
    top: calc(64px + var(--sl-spacing-small));
  }
}

@media (max-width: 599px) {
  body {
    padding-top: 56px;
    padding-bottom: 76px;
  }

  .app-toolbar {
    min-height: var(--toolbar-height, 56px);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 860px) and (orientation: landscape) {
  body:has(.about-wrapper) .site-footer,
  body:has(.contact-wrapper) .site-footer {
    padding-top: var(--sl-spacing-x-small);
    padding-bottom: var(--sl-spacing-x-small);
  }

  body:has(.about-wrapper) .site-footer__links,
  body:has(.contact-wrapper) .site-footer__links {
    margin-bottom: 2px;
  }

  body:has(.about-wrapper) .site-footer__copyright,
  body:has(.contact-wrapper) .site-footer__copyright {
    font-size: 0.8125rem;
  }

  body:has(.about-wrapper) .site-footer__social-link,
  body:has(.contact-wrapper) .site-footer__social-link {
    font-size: 1.375rem;
  }
}

.sl-theme-dark .site-footer {
  color: var(--sl-color-neutral-400);
}

.sl-theme-dark .site-footer__links a {
  color: var(--sl-color-neutral-400);
}

.sl-theme-dark .site-footer__links a:hover {
  color: var(--sl-color-primary-400);
}

.sl-theme-dark .site-footer__separator {
  color: var(--sl-color-neutral-600);
}

.sl-theme-dark .site-footer__copyright,
.sl-theme-dark .site-footer__company {
  color: var(--sl-color-neutral-500);
}

.sl-theme-dark .site-footer__social-link {
  color: var(--sl-color-neutral-400);
}

.sl-theme-dark .site-footer__social-link:hover {
  color: var(--sl-color-primary-400);
}
.btn {
  display: inline-block;
  padding: var(--sl-spacing-x-small) var(--sl-spacing-large);
  border-radius: var(--sl-border-radius-medium);
  background: var(--sl-color-primary-600);
  border: 1px solid transparent;
  color: var(--sl-color-neutral-0);
}

.btn:hover {
  background: var(--sl-color-primary-700);
  color: var(--sl-color-neutral-0);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--sl-color-primary-600);
  border-color: var(--sl-color-primary-600);
}

.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sl-spacing-medium);
}

.feature-card {
  background: var(--sl-color-neutral-50);
  border: 1px solid var(--sl-color-neutral-200);
  border-radius: var(--sl-border-radius-medium);
  padding: var(--sl-spacing-medium);
  box-shadow: var(--sl-shadow-medium);
}

.feature-card__icon {
  color: var(--color-interactive);
}

/* M3 Snackbar
   - Mobile: centered above nav-bar, full-ish width
   - Desktop (nav-rail): bottom-right, fixed width
   - Uses M3 inverse surface colours (neutral-900/neutral-0) which
     automatically invert in dark mode via Shoelace token scale */
.m3-snackbar {
  position: fixed;
  bottom: calc(80px + var(--sl-spacing-medium));  /* clear the nav-bar */
  left: var(--sl-spacing-medium);
  right: var(--sl-spacing-medium);
  max-width: 400px;
  margin-inline: auto;
  z-index: 9000;

  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--sl-spacing-small) var(--sl-spacing-medium);
  border-radius: var(--sl-border-radius-medium);

  background: var(--sl-color-neutral-900);
  color: var(--sl-color-neutral-0);
  font-size: var(--sl-font-size-small);

  opacity: 0;
  transform: translateY(calc(100% + var(--sl-spacing-large)));
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

.m3-snackbar--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.m3-snackbar--error {
  background: var(--sl-color-danger-700);
}

@media (min-width: 600px) {
  /* Desktop: bottom-right, no nav-bar to clear */
  .m3-snackbar {
    bottom: var(--sl-spacing-x-large);
    left: auto;
    right: calc(var(--site-frame-offset, 0px) + var(--sl-spacing-x-large));
    margin-inline: 0;
    width: 360px;
    max-width: none;
  }
}

/* ─── Shoelace Toast Alert Positioning ─────────────────────────────────────── */

/* Override Shoelace's default top-right positioning
   - Mobile: centered, matching content width with margins
   - Desktop: bottom-left clear of nav-rail, matching content width
   - OK to overlay nav-bar on mobile - content stays visible */
.sl-toast-stack {
  position: fixed;
  bottom: var(--sl-spacing-medium);  /* minimal clearance, can overlay nav-bar */
  left: 50%;
  transform: translateX(-50%);
  top: auto !important;
  right: auto !important;
  z-index: 9000;
  width: calc(100% - 16px);  /* match mobile content padding with margins */
  max-width: 520px;  /* reasonable max for readability */
}

/* Mobile: use mobile content padding for consistency */
@media (max-width: 767px) {
  .sl-toast-stack {
    width: calc(100% - (var(--mobile-content-padding, 8px) * 2));
  }
}

/* Desktop: position bottom-left clear of nav-rail, match content padding */
@media (min-width: 600px) {
  .sl-toast-stack {
    bottom: var(--sl-spacing-medium);
    left: calc(80px + var(--site-frame-offset, 0px) + var(--sl-spacing-medium));
    transform: none;
    width: 520px;
    right: calc(var(--site-frame-offset, 0px) + var(--sl-spacing-medium));
  }
}

/* Stack multiple toasts with spacing */
.sl-toast-stack sl-alert:not(:last-child) {
  margin-bottom: var(--sl-spacing-small);
}

/* Analytics consent banner
   - Persistent (no auto-dismiss) — stays until accept/decline.
   - Mobile: bottom bar above the nav-bar.
   - Desktop (nav-rail): bottom bar, left side, clear of the rail. */
.consent-banner {
  position: fixed;
  bottom: 80px;
  left: var(--sl-spacing-medium);
  right: var(--sl-spacing-medium);
  z-index: 9500;

  display: flex;
  flex-direction: column;
  gap: var(--sl-spacing-small);
  padding: var(--sl-spacing-small);
  border: 1px solid var(--sl-color-neutral-300);
  border-radius: var(--sl-border-radius-medium);

  background: linear-gradient(180deg, var(--sl-color-neutral-50) 0%, var(--sl-color-neutral-100) 100%);
  color: var(--sl-color-neutral-700);
  box-shadow: var(--sl-shadow-large);

  opacity: 0;
  transform: translateY(calc(100% + var(--sl-spacing-large)));
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.consent-banner__message {
  margin: 0;
  font-size: var(--sl-font-size-small);
  line-height: 1.4;
}

.consent-banner__message a {
  color: var(--color-link, var(--sl-color-secondary-500));
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  gap: var(--sl-spacing-x-small);
}

.consent-banner__btn {
  flex: 1 1 0;
  padding: var(--sl-spacing-2x-small) var(--sl-spacing-small);
  border-radius: var(--sl-border-radius-medium);
  border: 1px solid var(--sl-color-primary-600);
  background: var(--sl-color-primary-600);
  color: var(--sl-color-neutral-0);
  font-size: var(--sl-font-size-small);
  font-weight: var(--sl-font-weight-medium);
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.consent-banner__btn:hover {
  opacity: 0.85;
}

@media (min-width: 600px) {
  .consent-banner {
    bottom: var(--sl-spacing-x-large);
    left: calc(80px + var(--site-frame-offset, 0px) + var(--sl-spacing-medium));
    right: auto;
    width: 420px;
    flex-direction: column;
  }
}


.noscript-banner {
  display: none;
  background: var(--sl-color-warning-200);
  color: var(--sl-color-neutral-900);
  text-align: center;
  padding: var(--sl-spacing-small);
  font-size: var(--sl-font-size-small);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
/* FAB is fixed-position chrome — loaded globally via BaseLayout */

m3-fab-button {
  display: block;
  position: fixed;
  /* Mobile: sit above the nav-bar (76px tall) */
  bottom: calc(76px + var(--sl-spacing-large));
  right: calc(var(--site-frame-offset, 0px) + var(--sl-spacing-large));
  z-index: 200;
}
m3-fab-button[hidden] {
  display: none !important;
}

.m3-fab__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--color-fab-bg);
  color: var(--color-fab-text);
  box-shadow: var(--sl-shadow-large);
  transition: box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.m3-fab__button:hover {
  background: var(--color-fab-hover-bg);
  box-shadow: var(--sl-shadow-x-large);
  transform: translateY(-2px);
}

.m3-fab__button:active {
  transform: translateY(0);
  box-shadow: var(--sl-shadow-medium);
}

.m3-fab__icon {
  font-size: 1.5rem;
}

/* Hide FAB on mobile when the detail pane is active (share button is in the toolbar instead) */
@media (max-width: 599px) {
  body[data-fab-hide="true"] m3-fab-button {
    display: none !important;
  }
}

/* Desktop: nav-rail visible — FAB sits below the hamburger, centred in the 80px rail */
@media (min-width: 600px) {
  m3-fab-button {
    top: calc(64px + var(--sl-spacing-small));
    left: calc(var(--site-frame-offset, 0px) + (80px - 56px) / 2);
    bottom: auto;
    right: auto;
    z-index: 999;
  }
}
/**
 * View Transitions - Centralized Configuration
 * 
 * Defines consistent page transition behavior across all layouts.
 * Applied to both BaseLayout and SplitPanelLayout for uniform UX.
 */

/* Enable view transitions for navigation */
@view-transition {
  navigation: auto;
}

/* ─── Chrome Elements (Navigation) ──────────────────────────────────────────── */

/* Assign transition names to navigation elements so they're extracted from root */
.nav-rail {
  view-transition-name: nav-rail;
}

.nav-bar {
  view-transition-name: nav-bar;
}

.app-toolbar {
  view-transition-name: app-toolbar;
}

/* Prevent animation on chrome elements - they should remain static */
::view-transition-old(nav-rail),
::view-transition-new(nav-rail),
::view-transition-old(nav-bar),
::view-transition-new(nav-bar),
::view-transition-old(app-toolbar),
::view-transition-new(app-toolbar) {
  animation: none;
}

/* Ensure navigation chrome always paints above page content */
::view-transition-group(nav-bar),
::view-transition-group(nav-rail),
::view-transition-group(app-toolbar) {
  z-index: 100;
}

/* ─── Root (Background/Body) ────────────────────────────────────────────────── */

/* Keep root static - no background animation during transition */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}

/* ─── Main Content Area ─────────────────────────────────────────────────────── */

/* Assign transition name to main content container */
main {
  view-transition-name: main-content;
}

/* Fade out old page content */
::view-transition-old(main-content) {
  animation: page-fade-out 200ms ease-out forwards;
}

/* Fade in new page content */
::view-transition-new(main-content) {
  animation: page-fade-in 250ms ease-out forwards;
}

/* ─── Form Pages with Reveal Pattern ────────────────────────────────────────── */

/* Pages with hydration-based reveals (contact, unsubscribe, privacy-request)
   start at opacity:0 and reveal after Shoelace components load. Extract these
   sections from the main-content transition so they can handle their own reveal
   timing without conflicting with the page transition fade. */
.contact-layout[data-pending],
.unsubscribe[data-pending],
.privacy-request[data-pending] {
  view-transition-name: pending-section;
}

/* No animation on pending sections - they start hidden and reveal via JS */
::view-transition-old(pending-section),
::view-transition-new(pending-section) {
  animation: none;
}

/* ─── Keyframes ─────────────────────────────────────────────────────────────── */

@keyframes page-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
