/* Deep Glassmorphism — Premium theme */
.brand--text { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.footer__brand { font-weight: 700; letter-spacing: 0.02em; }

:root {
  --bg: #101018;
  --text: #f4edf8;
  --muted: #a89ab8;
  --card: rgba(20, 20, 36, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --primary: #ec5fae;   /* pink */
  --primary-ink: #241320;
  --accent: #f5e9ff;    /* pearlescent */
  --amber-glow: rgba(236, 95, 174, 0.45);
  --burnt-glow: rgba(245, 233, 255, 0.35);
  --glass-blur: 20px;
  --glass-border: rgba(255, 255, 255, 0.16);
  --inner-glow: rgba(245, 233, 255, 0.12);
}

/* Mesh gradient background */
body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(236, 95, 174, 0.22), transparent 50%),
    radial-gradient(ellipse 90% 70% at 90% 20%, rgba(245, 233, 255, 0.18), transparent 45%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(156, 163, 175, 0.18), transparent 40%);
  min-height: 100vh;
}

.section--alt {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(236, 95, 174, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(245, 233, 255, 0.16), transparent 60%);
}

/* Glassmorphism card with "hole" effect and outer glow */
.neu-glass-card {
  position: relative;
  background: rgba(19, 16, 22, 0.45);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow:
    inset 0 2px 24px -8px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.neu-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Outer glow (deep-glow) */
.deep-glow {
  box-shadow:
    inset 0 2px 24px -8px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.04),
    0 0 40px -8px var(--amber-glow),
    0 0 80px -16px var(--burnt-glow);
}

.neu-glass-card.deep-glow:hover {
  box-shadow:
    inset 0 2px 24px -8px rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.06),
    0 0 50px -6px var(--amber-glow),
    0 0 100px -12px var(--burnt-glow);
}

/* Refraction / inner glow */
.neu-glass-card .inner-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, var(--inner-glow), transparent 60%);
  pointer-events: none;
}

/* Gem icon capsule with neon backlight */
.gem-capsule {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 16, 22, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.gem-capsule .gem-icon {
  position: relative;
  z-index: 1;
  color: var(--primary);
  filter: drop-shadow(0 0 6px var(--amber-glow));
  transition: filter 0.35s ease, color 0.35s ease;
}

.gem-capsule::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, var(--amber-glow), transparent 70%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.35s ease;
  z-index: 0;
}

.gem-capsule:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 24px -4px var(--amber-glow), inset 0 0 20px -8px var(--inner-glow);
}

.gem-capsule:hover::after {
  opacity: 0.8;
}

.gem-capsule:hover .gem-icon {
  color: #f5e9ff;
  filter: drop-shadow(0 0 12px var(--amber-glow));
}

/* Hero v2 — editorial centered */
.hero-v2 {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-v2__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(236, 95, 174, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(245, 233, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-v2__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero-v2__eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.hero-v2__title {
  font-size: clamp(2.5rem, 6vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-v2__line {
  display: block;
}

.hero-v2__line--accent {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-v2__lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.hero-v2__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-v2__link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.hero-v2__link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-v2__rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-v2__rail span {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.5;
  animation: heroRail 2s ease-in-out infinite;
}

.hero-v2__rail span:nth-child(1) { animation-delay: 0s; }
.hero-v2__rail span:nth-child(2) { animation-delay: 0.15s; }
.hero-v2__rail span:nth-child(3) { animation-delay: 0.3s; }
.hero-v2__rail span:nth-child(4) { animation-delay: 0.45s; }
.hero-v2__rail span:nth-child(5) { animation-delay: 0.6s; }
.hero-v2__rail span:nth-child(6) { animation-delay: 0.75s; }
.hero-v2__rail span:nth-child(7) { animation-delay: 0.9s; }
.hero-v2__rail span:nth-child(8) { animation-delay: 1.05s; }
.hero-v2__rail span:nth-child(9) { animation-delay: 1.2s; }
.hero-v2__rail span:nth-child(10) { animation-delay: 1.35s; }

@keyframes heroRail {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__rail span { animation: none; opacity: 0.5; }
}

/* Hero stars canvas container (legacy) */
.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-stars canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Floating animation for hero elements */
.float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.float-medium {
  animation: floatMedium 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(6px); }
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-slow, .float-medium { animation: none; }
  .tilt-card { transform: none !important; }
}

/* Tilt refraction overlay (light reflection on glass) */
.tilt-refraction {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    transparent 50%,
    rgba(255,255,255,0.02) 100%
  );
  pointer-events: none;
  opacity: 0.6;
}

/* Fonts */
.font-inter { font-family: 'Inter', system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Technical details (numbers, tags, dates) */
.tech-text { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9em; }

/* Geography / map section */
.geo-wrap { max-width: 720px; margin-inline: auto; }
.geo-card { padding: 1.5rem; }
.geo-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
}
.geo-icon { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--primary); }
.geo-map {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
  aspect-ratio: 16 / 10;
}
.geo-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.geo-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.geo-link:hover { color: var(--primary); border-bottom-color: var(--primary); }
