/* ============================================
   BASE — reset + tokens
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

/* Page always runs in dark mode — no light variant, no system-preference switch. */
:root {
  --color-bg: #0b1930;
  --color-surface: #101f3c;
  --color-text: #f3f0e8;
  --color-text-muted: #aab4cc;
  --color-text-faint: #6d7998;
  --color-primary: #6f94c6;
  --color-primary-deep: #16396f;
  --color-accent: #d8b767;
  --color-border: #223759;
  --icon-ring: rgba(216, 183, 103, 0.16);
  --icon-glow: rgba(111, 148, 198, 0.32);
}

:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.35rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-full: 9999px;
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

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

h1,
h2 {
  text-wrap: balance;
  line-height: 1.1;
}

p {
  text-wrap: pretty;
}

::selection {
  background: color-mix(in oklab, var(--color-primary) 25%, transparent);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

/* ============================================
   BACKDROP — subtle radial texture behind hero
   ============================================ */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 28%, var(--icon-glow), transparent 60%),
    var(--color-bg);
  transition: background var(--transition-interactive);
}

/* ============================================
   HERO / MAIN CONTENT
   ============================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--space-6) var(--space-16);
  gap: var(--space-8);
}

.icon-wrap {
  position: relative;
  width: clamp(160px, 26vw, 260px);
  height: clamp(160px, 26vw, 260px);
  display: grid;
  place-items: center;
}

.icon-ring {
  position: absolute;
  inset: -18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--icon-ring);
  animation: pulse-ring 4.8s ease-in-out infinite;
}

.icon-ring.delay {
  inset: -34px;
  animation-delay: 1.4s;
}

.icon-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  box-shadow: 0 18px 48px color-mix(in oklab, var(--color-primary) 45%, transparent);
  animation: pulse-icon 4.8s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.94);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.15;
  }
  100% {
    transform: scale(0.94);
    opacity: 0.7;
  }
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

@media (max-width: 480px) {
  .hero {
    gap: var(--space-6);
    padding: var(--space-16) var(--space-5) var(--space-10);
  }
}
