:root {
  --background: 42 40% 96%;
  --foreground: 28 35% 12%;
  --primary: 24 78% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 142 30% 27%;
  --secondary-foreground: 0 0% 100%;
  --muted: 38 24% 88%;
  --muted-foreground: 28 16% 38%;
  --destructive: 0 72% 45%;
  --destructive-foreground: 0 0% 100%;
  --border: 34 24% 78%;
  --card: 0 0% 100%;
  --shadow-sm: 0 4px 14px rgba(73, 43, 18, 0.08);
  --shadow-md: 0 14px 34px rgba(73, 43, 18, 0.14);
  --shadow-lg: 0 24px 70px rgba(73, 43, 18, 0.20);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.8rem;
}
.dark {
  --background: 30 23% 8%;
  --foreground: 40 40% 94%;
  --primary: 27 88% 58%;
  --primary-foreground: 30 30% 8%;
  --secondary: 143 32% 42%;
  --secondary-foreground: 0 0% 100%;
  --muted: 28 18% 17%;
  --muted-foreground: 38 18% 72%;
  --destructive: 0 78% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 30 16% 25%;
  --card: 30 22% 12%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: hsl(var(--primary) / 0.22); }
.hero-pattern {
  background:
    radial-gradient(circle at 18% 18%, hsl(var(--primary) / 0.28), transparent 32%),
    radial-gradient(circle at 82% 20%, hsl(var(--secondary) / 0.20), transparent 28%),
    linear-gradient(135deg, hsl(34 70% 92%), hsl(42 45% 97%) 48%, hsl(128 24% 90%));
}
.dark .hero-pattern {
  background:
    radial-gradient(circle at 18% 18%, hsl(var(--primary) / 0.20), transparent 32%),
    radial-gradient(circle at 82% 20%, hsl(var(--secondary) / 0.18), transparent 28%),
    linear-gradient(135deg, hsl(30 24% 10%), hsl(35 20% 8%) 48%, hsl(142 22% 12%));
}
.photo-tile {
  background-image: linear-gradient(135deg, hsl(var(--primary) / 0.90), hsl(var(--secondary) / 0.86));
  position: relative;
  overflow: hidden;
}
.photo-tile::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 35%);
  transform: rotate(18deg);
}
.glass {
  background: hsl(var(--card) / 0.78);
  backdrop-filter: blur(18px);
}
.focus-ring:focus-visible {
  outline: 3px solid hsl(var(--primary) / 0.35);
  outline-offset: 3px;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.float-in { animation: floatIn .55s var(--transition-smooth) both; }