:root {
  /* ── Colors (HSL values) ── */
  --background: 30 33% 98%;
  --foreground: 222 30% 12%;

  /* Nude / blush luxury palette */
  --primary: 36 45% 52%; /* soft gold */
  --primary-foreground: 30 33% 98%;

  --secondary: 24 35% 94%; /* warm beige */
  --secondary-foreground: 222 30% 12%;

  --accent: 345 45% 92%; /* light pink */
  --accent-foreground: 222 30% 12%;

  --muted: 24 24% 92%;
  --muted-foreground: 222 12% 42%;

  --destructive: 0 72% 52%;
  --border: 24 18% 86%;
  --ring: 36 45% 52%;

  --card: 0 0% 100%;
  --card-foreground: 222 30% 12%;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px 0 hsl(var(--foreground) / 0.06);
  --shadow-md: 0 10px 20px -12px hsl(var(--foreground) / 0.18), 0 2px 6px -4px hsl(var(--foreground) / 0.10);
  --shadow-lg: 0 18px 40px -22px hsl(var(--foreground) / 0.22), 0 8px 18px -14px hsl(var(--foreground) / 0.12);
  --shadow-elegant: 0 18px 50px -22px hsl(var(--primary) / 0.45);

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.78));
  --gradient-subtle: linear-gradient(135deg, hsl(var(--background)), hsl(var(--secondary)));
  --gradient-hero: radial-gradient(1200px 600px at 20% 10%, hsl(var(--accent) / 0.75), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, hsl(var(--primary) / 0.22), transparent 60%),
    linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary)));

  /* ── Transitions ── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Border Radius ── */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* ── Typography ── */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-serif: Fraunces, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  /* ── Layout ── */
  --container: 72rem;
}

.dark, [data-theme="dark"] {
  --background: 222 30% 10%;
  --foreground: 30 33% 98%;
  --secondary: 222 22% 14%;
  --secondary-foreground: 30 33% 98%;
  --accent: 345 25% 18%;
  --accent-foreground: 30 33% 98%;
  --muted: 222 18% 16%;
  --muted-foreground: 30 10% 72%;
  --border: 222 16% 22%;
  --card: 222 22% 12%;
  --card-foreground: 30 33% 98%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

::selection {
  background: hsl(var(--accent));
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-md);
  transform: translateY(-140%);
  transition: transform var(--transition-smooth);
  z-index: 60;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.container-app {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.title-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px hsl(var(--ring) / 0.25);
}

/* Subtle fade-in utility (used by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero background pattern */
.hero-sheen {
  position: relative;
  overflow: hidden;
}

.hero-sheen::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 35%, hsl(var(--primary) / 0.12) 50%, transparent 65%);
  transform: translateX(-30%) rotate(8deg);
  animation: sheen 10s linear infinite;
  pointer-events: none;
}

@keyframes sheen {
  0% { transform: translateX(-35%) rotate(8deg); }
  100% { transform: translateX(35%) rotate(8deg); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
  .hero-sheen::after { animation: none; }
}
