:root {
  --radius: 0.5rem;

  /* Deep midnight base with warm gold + teal accents */
  --background: oklch(0.16 0.02 250);
  --foreground: oklch(0.97 0.01 90);
  --card: oklch(0.20 0.025 250);
  --card-foreground: oklch(0.97 0.01 90);
  --popover: oklch(0.20 0.025 250);
  --popover-foreground: oklch(0.97 0.01 90);

  --primary: oklch(0.78 0.14 80);          /* warm gold */
  --primary-foreground: oklch(0.16 0.02 250);
  --secondary: oklch(0.25 0.03 250);
  --secondary-foreground: oklch(0.97 0.01 90);
  --muted: oklch(0.24 0.025 250);
  --muted-foreground: oklch(0.72 0.02 90);
  --accent: oklch(0.65 0.10 180);          /* teal accent */
  --accent-foreground: oklch(0.10 0.02 250);
  --destructive: oklch(0.60 0.22 25);
  --destructive-foreground: oklch(0.97 0.01 90);
  --border: oklch(0.30 0.02 250 / 60%);
  --input: oklch(0.28 0.02 250);
  --ring: oklch(0.78 0.14 80);

  --gold: oklch(0.78 0.14 80);
  --gold-foreground: oklch(0.16 0.02 250);
  --teal: oklch(0.65 0.10 180);
  --teal-foreground: oklch(0.10 0.02 250);

  --shadow-glow: 0 30px 80px -20px oklch(0.78 0.14 80 / 25%);

  --font-display: "Cormorant Garamond", "Instrument Serif", serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: url('../images/cursor-site.svg') 8 10, auto;
}

body {
  margin: 0;
  line-height: 1.5;
}

/* Custom cursor for interactive elements */
a, button, [role="button"], input[type="submit"], select, .cursor-pointer, .nav-link, .btn-press, .hover-lift {
  cursor: url('../images/cursor-site-pointer.svg') 8 4, pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  background-image: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: inherit;
  appearance: none;
  -webkit-appearance: none;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Utilities */
.container-x {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 80rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-x {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.text-balance { text-wrap: balance; }

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: oklch(0.78 0.14 80 / 80%);
  font-weight: 500;
}

.glass-card {
  background: oklch(1 0 0 / 4%);
  backdrop-filter: blur(12px);
  border: 1px solid oklch(1 0 0 / 8%);
}

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

.focus\:not-sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
}

/* Basic Tailwind replacements for layout & styling used in the project */
.min-h-screen { min-height: 100vh; }
.min-h-\[100svh\] { min-height: 100svh; }
.min-h-\[60svh\] { min-height: 60svh; }
.min-h-\[80svh\] { min-height: 80svh; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .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-2 { grid-column: span 2 / span 2; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:text-base { font-size: 1rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; }
  .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-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-8xl { font-size: 6rem; }
}

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-inset-4 { top: -1rem; right: -1rem; bottom: -1rem; left: -1rem; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.top-full { top: 100%; }
.-top-3 { top: -0.75rem; }
.-top-32 { top: -8rem; }
.bottom-6 { bottom: 1.5rem; }
.-bottom-32 { bottom: -8rem; }
.left-1\/2 { left: 50%; }
.left-full { left: 100%; }
.right-6 { right: 1.5rem; }
.-right-32 { right: -8rem; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-32 { margin-top: 8rem; }
.-mt-20 { margin-top: -5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

@media (min-width: 768px) {
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-20 { padding: 5rem; }
  .md\:py-36 { padding-top: 9rem; padding-bottom: 9rem; }
}

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-[10px] { font-size: 10px; }

@media (min-width: 768px) {
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-8xl { font-size: 6rem; }
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[1\.1\] { line-height: 1.1; }
.text-center { text-align: center; }

/* Colors */
.text-primary { color: var(--primary); }
.text-primary\/10 { color: oklch(0.78 0.14 80 / 10%); }
.text-primary\/30 { color: oklch(0.78 0.14 80 / 30%); }
.text-primary\/40 { color: oklch(0.78 0.14 80 / 40%); }
.text-primary\/60 { color: oklch(0.78 0.14 80 / 60%); }
.text-primary\/80 { color: oklch(0.78 0.14 80 / 80%); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-foreground { color: var(--foreground); }
.text-foreground\/60 { color: rgba(247, 247, 247, 0.6); color: oklch(0.97 0.01 90 / 60%); }
.text-foreground\/70 { color: rgba(247, 247, 247, 0.7); color: oklch(0.97 0.01 90 / 70%); }
.text-foreground\/80 { color: rgba(247, 247, 247, 0.8); color: oklch(0.97 0.01 90 / 80%); }
.text-foreground\/85 { color: rgba(247, 247, 247, 0.85); color: oklch(0.97 0.01 90 / 85%); }
.text-foreground\/90 { color: rgba(247, 247, 247, 0.9); color: oklch(0.97 0.01 90 / 90%); }
.text-muted-foreground { color: var(--muted-foreground); }

.bg-background { background-color: var(--background); }
.bg-background\/70 { background-color: oklch(0.16 0.02 250 / 70%); }
.bg-background\/80 { background-color: oklch(0.16 0.02 250 / 80%); }
.bg-background\/95 { background-color: rgba(15, 18, 30, 0.95); }
.bg-primary { background-color: var(--primary); }
.bg-primary\/10 { background-color: oklch(0.78 0.14 80 / 10%); }
.bg-primary\/20 { background-color: oklch(0.78 0.14 80 / 20%); }
.bg-primary\/90 { background-color: oklch(0.78 0.14 80 / 90%); }
.bg-accent\/20 { background-color: oklch(0.65 0.10 180 / 20%); }
.bg-card { background-color: var(--card); }
.bg-card\/20 { background-color: oklch(0.20 0.025 250 / 20%); }
.bg-card\/30 { background-color: oklch(0.20 0.025 250 / 30%); }
.bg-card\/40 { background-color: oklch(0.20 0.025 250 / 40%); }
.bg-card\/50 { background-color: oklch(0.20 0.025 250 / 50%); }
.bg-card\/60 { background-color: oklch(0.20 0.025 250 / 60%); }
.bg-muted\/30 { background-color: oklch(0.24 0.025 250 / 30%); }
.bg-popover\/95 { background-color: rgba(25, 30, 45, 0.95); }
.bg-input\/40 { background-color: oklch(0.28 0.02 250 / 40%); }
.bg-transparent { background-color: transparent; }

/* Gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.bg-gradient-to-bl { background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-background { --tw-gradient-from: var(--background); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-background\/85 { --tw-gradient-from: oklch(0.16 0.02 250 / 85%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-background\/70 { --tw-gradient-from: oklch(0.16 0.02 250 / 70%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-background\/95 { --tw-gradient-from: oklch(0.16 0.02 250 / 95%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary { --tw-gradient-from: var(--primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary\/5 { --tw-gradient-from: oklch(0.78 0.14 80 / 5%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary\/20 { --tw-gradient-from: oklch(0.78 0.14 80 / 20%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary\/15 { --tw-gradient-from: oklch(0.78 0.14 80 / 15%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-accent\/20 { --tw-gradient-from: oklch(0.65 0.10 180 / 20%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-card { --tw-gradient-from: var(--card); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

.from-yellow-500\/10 { --tw-gradient-from: oklch(0.85 0.15 90 / 10%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-yellow-600\/5 { --tw-gradient-to: oklch(0.75 0.15 90 / 5%); }
.from-orange-500\/10 { --tw-gradient-from: oklch(0.75 0.15 60 / 10%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-orange-600\/5 { --tw-gradient-to: oklch(0.65 0.15 60 / 5%); }

.via-background\/40 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0.16 0.02 250 / 40%), var(--tw-gradient-to, transparent); }
.via-background\/60 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0.16 0.02 250 / 60%), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.via-card { --tw-gradient-stops: var(--tw-gradient-from), var(--card), var(--tw-gradient-to, transparent); }

.to-background { --tw-gradient-to: var(--background); }
.to-background\/40 { --tw-gradient-to: oklch(0.16 0.02 250 / 40%); }
.to-transparent { --tw-gradient-to: transparent; }
.to-accent { --tw-gradient-to: var(--accent); }
.to-accent\/5 { --tw-gradient-to: oklch(0.65 0.10 180 / 5%); }
.to-accent\/20 { --tw-gradient-to: oklch(0.65 0.10 180 / 20%); }
.to-primary\/10 { --tw-gradient-to: oklch(0.78 0.14 80 / 10%); }

/* Borders & Radius */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-transparent { border-color: transparent; }
.border-border { border-color: var(--border); }
.border-border\/60 { border-color: oklch(0.30 0.02 250 / 36%); } /* 60% of 60% approx */
.border-border\/40 { border-color: oklch(0.30 0.02 250 / 24%); }
.border-primary { border-color: var(--primary); }
.border-primary\/15 { border-color: oklch(0.78 0.14 80 / 15%); }
.border-primary\/20 { border-color: oklch(0.78 0.14 80 / 20%); }
.border-primary\/50 { border-color: oklch(0.78 0.14 80 / 50%); }
.last\:border-0:last-child { border-width: 0; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Sizing */
.w-0 { width: 0px; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-20 { height: 5rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.w-64 { width: 16rem; }
.w-96 { width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.min-w-\[220px\] { min-width: 220px; }
.min-w-\[240px\] { min-width: 240px; }

/* Misc */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.blur-3xl { filter: blur(64px); }
.blur-\[100px\] { filter: blur(100px); }
.opacity-0 { opacity: 0; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.shadow-\[var\(--shadow-glow\)\] { box-shadow: var(--shadow-glow); }
.shadow-\[0_-10px_40px_rgba\(0\,0\,0\,0\.1\)\] { box-shadow: 0 -10px 40px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur { backdrop-filter: blur(8px); }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-video { aspect-ratio: 16 / 9; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-full { transform: translateY(100%); }
.translate-y-0 { transform: translateY(0); }
.translate-x-1\/2 { transform: translateX(50%); }
.drop-shadow-\[var\(--shadow-glow\)\] { filter: drop-shadow(0 0 15px oklch(0.78 0.14 80 / 40%)); }

/* Transitions & Effects */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Hover states */
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:border-border:hover { border-color: var(--border); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-primary\/10:hover { background-color: oklch(0.78 0.14 80 / 10%); }
.hover\:bg-card\/50:hover { background-color: oklch(0.20 0.025 250 / 50%); }
.hover\:bg-card\/80:hover { background-color: oklch(0.20 0.025 250 / 80%); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .group-hover\:text-primary\/60 { color: oklch(0.78 0.14 80 / 60%); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-90 { opacity: 0.9; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:bg-primary { background-color: var(--primary); }
.group:hover .group-hover\:text-primary-foreground { color: var(--primary-foreground); }
.hover\:border-primary\/50:hover { border-color: oklch(0.78 0.14 80 / 50%); }
.hover\:gap-3:hover { gap: 0.75rem; }

/* Form inputs */
input:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--primary);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1rem;
  height: 1rem;
}
.resize-none { resize: none; }

/* Focus states */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary:focus { border-color: var(--primary); }

/* Large text utility */
.text-\[12rem\] { font-size: 12rem; }

/* Group utility - no styles needed, just used as a selector hook */
.group { /* selector hook */ }

/* Animations System (AnimateIn equivalent) */
.animate-in {
  opacity: 0;
  transition-property: all;
  transition-duration: 1200ms;
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-in[data-animate="up"] { transform: translateY(3rem); }
.animate-in[data-animate="down"] { transform: translateY(-3rem); }
.animate-in[data-animate="left"] { transform: translateX(-3rem); }
.animate-in[data-animate="right"] { transform: translateX(3rem); }
.animate-in[data-animate="none"] { transform: translate(0); }

.animate-in.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Premium Animations */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-shimmer {
  background: linear-gradient(90deg, var(--primary) 0%, oklch(0.9 0.1 90) 50%, var(--primary) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.btn-press:active {
  transform: scale(0.97);
}

/* Page Transition Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
}

.page-loader.hidden-loader {
  opacity: 0;
  visibility: hidden;
}

.pulse-logo {
  animation: pulseLogo 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 15px oklch(0.78 0.14 80 / 40%)); }
  50% { opacity: .7; transform: scale(0.95); filter: drop-shadow(0 0 5px oklch(0.78 0.14 80 / 20%)); }
}

/* Nav Dropdown — Desktop */
.nav-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Nav Sub-dropdown (nested level) */
.nav-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
}

.nav-dropdown-sub:hover .nav-submenu,
.nav-dropdown-sub:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-dropdown-sub:hover .nav-sub-chevron {
    transform: rotate(90deg);
}

/* ===== Mobile Menu — Bulletproof Colors ===== */
#mobile-menu {
    background-color: #0f121e !important;
    color: #f0f0f0 !important;
}

#mobile-menu a,
#mobile-menu button,
#mobile-menu span {
    color: inherit !important;
}

#mobile-menu .mobile-dropdown-toggle {
    color: rgba(240, 240, 240, 0.9) !important;
}

#mobile-menu .mobile-dropdown-menu a,
#mobile-menu .mobile-dropdown-sub button {
    color: rgba(240, 240, 240, 0.7) !important;
}

#mobile-menu .mobile-sub-menu a {
    color: rgba(240, 240, 240, 0.6) !important;
}

#mobile-menu a:hover,
#mobile-menu button:hover {
    color: var(--primary) !important;
}

#mobile-menu .border-b {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#mobile-menu .border-l-2 {
    border-color: rgba(212, 175, 55, 0.2) !important;
}

/* Light theme override for mobile menu */
[data-theme="light"] #mobile-menu {
    background-color: #faf8f3 !important;
    color: #1a1a2e !important;
}

[data-theme="light"] #mobile-menu a,
[data-theme="light"] #mobile-menu button,
[data-theme="light"] #mobile-menu span {
    color: inherit !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown-toggle {
    color: rgba(26, 26, 46, 0.9) !important;
}

[data-theme="light"] #mobile-menu .mobile-dropdown-menu a,
[data-theme="light"] #mobile-menu .mobile-dropdown-sub button {
    color: rgba(26, 26, 46, 0.7) !important;
}

[data-theme="light"] #mobile-menu .mobile-sub-menu a {
    color: rgba(26, 26, 46, 0.6) !important;
}

[data-theme="light"] #mobile-menu a:hover,
[data-theme="light"] #mobile-menu button:hover {
    color: var(--primary) !important;
}

[data-theme="light"] #mobile-menu .border-b {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #mobile-menu .border-l-2 {
    border-color: rgba(180, 140, 40, 0.2) !important;
}

/* Nav Dropdown — Mobile */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.is-open {
    max-height: 800px;
}

.mobile-dropdown-toggle .mobile-chevron {
    transition: transform 0.2s ease;
}

.mobile-dropdown-toggle.is-open .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-sub-menu.is-open {
    max-height: 400px;
}

.mobile-sub-toggle .mobile-sub-chevron {
    transition: transform 0.2s ease;
}

.mobile-sub-toggle.is-open .mobile-sub-chevron {
    transform: rotate(180deg);
}

/* Nav Link Hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:hover::after, .nav-link.active-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Pills — fade only, no transform to avoid conflict with absolute positioning */
@keyframes pillFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-pill {
  opacity: 0;
  animation: pillFadeIn 0.8s ease forwards;
  animation-delay: var(--pill-delay, 0.8s);
}
.pointer-events-auto { pointer-events: auto; }
.justify-end { justify-content: flex-end; }

/* Video Modal Player Styles */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: oklch(0.16 0.02 250 / 85%);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
  visibility: hidden;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 56rem; /* 896px */
  margin-left: 1rem;
  margin-right: 1rem;
  aspect-ratio: 16 / 9;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5), var(--shadow-glow);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.is-open .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  padding: 0.5rem;
  border-radius: 9999px;
  background-color: oklch(0.16 0.02 250 / 80%);
  color: var(--foreground);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.05);
  box-shadow: 0 0 15px oklch(0.78 0.14 80 / 40%);
}

.video-iframe-container {
  width: 100%;
  height: 100%;
  background-color: #000000;
}

.video-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Custom Play Button Overlay for Video Cards */
.video-card-play-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-card:hover .video-card-play-btn {
  transform: scale(1.1);
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

/* ===== Theme Transition Helper ===== */
html.theme-transitioning {
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html.theme-transitioning body,
html.theme-transitioning #site-header,
html.theme-transitioning #mobile-menu,
html.theme-transitioning #audio-player-ui,
html.theme-transitioning #scroll-to-top,
html.theme-transitioning .page-loader,
html.theme-transitioning .video-modal,
html.theme-transitioning footer,
html.theme-transitioning .glass-card {
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              fill 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              stroke 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== Light Theme ===== */
[data-theme="light"] {
  --background: oklch(0.985 0.005 90);
  --foreground: oklch(0.14 0.02 250);
  --card: oklch(0.975 0.008 90);
  --card-foreground: oklch(0.14 0.02 250);
  --popover: oklch(0.975 0.008 90);
  --popover-foreground: oklch(0.14 0.02 250);

  --primary: oklch(0.68 0.15 75);
  --primary-foreground: oklch(0.985 0.005 90);
  --secondary: oklch(0.93 0.01 90);
  --secondary-foreground: oklch(0.14 0.02 250);
  --muted: oklch(0.94 0.01 90);
  --muted-foreground: oklch(0.45 0.02 250);
  --accent: oklch(0.55 0.10 180);
  --accent-foreground: oklch(0.985 0.005 90);
  --destructive: oklch(0.60 0.22 25);
  --destructive-foreground: oklch(0.985 0.005 90);
  --border: oklch(0.82 0.01 90 / 50%);
  --input: oklch(0.90 0.01 90);
  --ring: oklch(0.68 0.15 75);

  --gold: oklch(0.68 0.15 75);
  --gold-foreground: oklch(0.985 0.005 90);
  --teal: oklch(0.55 0.10 180);
  --teal-foreground: oklch(0.985 0.005 90);

  --shadow-glow: 0 30px 80px -20px oklch(0.68 0.15 75 / 12%);
}

/* --- Light theme: hardcoded background utilities --- */
[data-theme="light"] .bg-background\/70 { background-color: oklch(0.985 0.005 90 / 70%); }
[data-theme="light"] .bg-background\/80 { background-color: oklch(0.985 0.005 90 / 80%); }
[data-theme="light"] .bg-background\/95 { background-color: rgba(252, 252, 252, 0.95); background-color: oklch(0.985 0.005 90 / 95%); }

/* --- Light theme: hardcoded card utilities --- */
[data-theme="light"] .bg-card\/30 { background-color: oklch(0.975 0.008 90 / 30%); }
[data-theme="light"] .bg-card\/40 { background-color: oklch(0.975 0.008 90 / 40%); }
[data-theme="light"] .bg-card\/50 { background-color: oklch(0.975 0.008 90 / 50%); }
[data-theme="light"] .bg-card\/60 { background-color: oklch(0.975 0.008 90 / 60%); }
[data-theme="light"] .bg-muted\/30 { background-color: oklch(0.94 0.01 90 / 30%); }
[data-theme="light"] .hover\:bg-card\/50:hover { background-color: oklch(0.93 0.01 90 / 60%); }
[data-theme="light"] .hover\:bg-card\/80:hover { background-color: oklch(0.93 0.01 90 / 80%); }

/* --- Light theme: popover / input --- */
[data-theme="light"] .bg-popover\/95 { background-color: rgba(250, 250, 250, 0.95); background-color: oklch(0.975 0.008 90 / 95%); }
[data-theme="light"] .bg-input\/40 { background-color: oklch(0.90 0.01 90 / 40%); }

/* --- Light theme: text color utilities --- */
[data-theme="light"] .text-foreground\/60 { color: oklch(0.14 0.02 250 / 60%); }
[data-theme="light"] .text-foreground\/70 { color: oklch(0.14 0.02 250 / 70%); }
[data-theme="light"] .text-foreground\/80 { color: oklch(0.14 0.02 250 / 80%); }
[data-theme="light"] .text-foreground\/85 { color: oklch(0.14 0.02 250 / 85%); }
[data-theme="light"] .text-foreground\/90 { color: oklch(0.14 0.02 250 / 90%); }
[data-theme="light"] .text-primary\/30 { color: oklch(0.68 0.15 75 / 30%); }
[data-theme="light"] .text-primary\/80 { color: oklch(0.68 0.15 75 / 80%); }

/* --- Light theme: primary bg utilities --- */
[data-theme="light"] .bg-primary\/10 { background-color: oklch(0.68 0.15 75 / 10%); }
[data-theme="light"] .bg-primary\/20 { background-color: oklch(0.68 0.15 75 / 20%); }
[data-theme="light"] .bg-primary\/90 { background-color: oklch(0.68 0.15 75 / 90%); }

/* --- Light theme: border utilities --- */
[data-theme="light"] .border-border\/60 { border-color: oklch(0.82 0.01 90 / 30%); }
[data-theme="light"] .border-border\/40 { border-color: oklch(0.82 0.01 90 / 20%); }
[data-theme="light"] .border-primary\/20 { border-color: oklch(0.68 0.15 75 / 20%); }
[data-theme="light"] .border-primary\/50 { border-color: oklch(0.68 0.15 75 / 50%); }

/* --- Light theme: gradient utilities --- */
[data-theme="light"] .from-background\/85 { --tw-gradient-from: oklch(0.985 0.005 90 / 85%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .from-background\/70 { --tw-gradient-from: oklch(0.985 0.005 90 / 70%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .via-background\/60 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0.985 0.005 90 / 60%), var(--tw-gradient-to, transparent); }
[data-theme="light"] .to-background\/40 { --tw-gradient-to: oklch(0.985 0.005 90 / 40%); }
[data-theme="light"] .from-primary\/5 { --tw-gradient-from: oklch(0.68 0.15 75 / 5%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .from-primary\/15 { --tw-gradient-from: oklch(0.68 0.15 75 / 15%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .from-primary\/20 { --tw-gradient-from: oklch(0.68 0.15 75 / 20%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .to-primary\/10 { --tw-gradient-to: oklch(0.68 0.15 75 / 10%); }
[data-theme="light"] .from-accent\/20 { --tw-gradient-from: oklch(0.55 0.10 180 / 20%); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
[data-theme="light"] .to-accent\/5 { --tw-gradient-to: oklch(0.55 0.10 180 / 5%); }
[data-theme="light"] .to-accent\/20 { --tw-gradient-to: oklch(0.55 0.10 180 / 20%); }

/* --- Light theme: special components --- */
[data-theme="light"] .glass-card {
  background: oklch(0 0 0 / 4%);
  border: 1px solid oklch(0 0 0 / 8%);
}
[data-theme="light"] .eyebrow {
  color: oklch(0.68 0.15 75 / 80%);
}
[data-theme="light"] .video-modal {
  background-color: oklch(0.14 0.02 250 / 70%);
}
[data-theme="light"] .video-modal-close {
  background-color: oklch(0.985 0.005 90 / 80%);
  color: var(--foreground);
  border: 1px solid var(--border);
}
[data-theme="light"] .video-modal-close:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
[data-theme="light"] .pulse-logo {
  animation: pulseLogoLight 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulseLogoLight {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 15px oklch(0.68 0.15 75 / 30%)); }
  50% { opacity: .7; transform: scale(0.95); filter: drop-shadow(0 0 5px oklch(0.68 0.15 75 / 15%)); }
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 5%);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  perspective: 600px;
}

.theme-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 12px oklch(0.78 0.14 80 / 20%);
}

[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 0 12px oklch(0.68 0.15 75 / 20%);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon,
.theme-toggle-mobile .icon-sun,
.theme-toggle-mobile .icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
}

.theme-toggle .icon-moon {
  transform: rotateY(180deg) scale(0.5);
  opacity: 0;
}

[data-theme="light"] .theme-toggle .icon-sun {
  transform: rotateY(-180deg) scale(0.5);
  opacity: 0;
}

[data-theme="light"] .theme-toggle .icon-moon {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
}

.theme-toggle:active {
  transform: scale(0.9);
}

/* Mobile toggle icon swap */
.theme-toggle-mobile {
  cursor: pointer;
  transition: color 0.3s ease;
}

.theme-toggle-mobile:hover {
  color: var(--primary);
}

.theme-toggle-mobile .icon-sun,
.theme-toggle-mobile .icon-moon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.theme-toggle-mobile .icon-moon {
  display: none;
  transform: scale(0.5) rotate(-90deg);
  opacity: 0;
}

[data-theme="light"] .theme-toggle-mobile .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle-mobile .icon-moon {
  display: flex;
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.theme-toggle-mobile:active {
  transform: scale(0.97);
}

/* ===== View Transitions for Theme Switch ===== */
@keyframes theme-circle-reveal {
  from { clip-path: circle(0% at var(--theme-x, 50%) var(--theme-y, 50%)); }
  to { clip-path: circle(100% at var(--theme-x, 50%) var(--theme-y, 50%)); }
}

::view-transition-old(root) {
  animation: 0.4s ease-in both fade-out;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: 0.5s ease-out both theme-circle-reveal;
}

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

