/* ============================================
   AURA — landing page
   Premium dark / glassmorphism / minimal
   ============================================ */

:root {
  --bg: #08080c;
  --bg-elev: #0f0f16;
  --text: #f3efe8;
  --text-muted: #a7a1af;
  --text-faint: #6f6a7a;

  --gold: #d9b76a;
  --gold-soft: #e8cf9a;
  --rose: #c4527b;
  --violet: #6b5bd6;

  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-hover: rgba(217, 183, 106, 0.45);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Ambient background ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  will-change: transform;
}

.glow--gold {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -100px;
  background: var(--gold);
  animation: drift1 22s ease-in-out infinite alternate;
}

.glow--rose {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -80px;
  background: var(--rose);
  animation: drift2 26s ease-in-out infinite alternate;
}

.glow--violet {
  width: 380px;
  height: 380px;
  top: 40%;
  left: 50%;
  background: var(--violet);
  opacity: 0.22;
  animation: drift3 30s ease-in-out infinite alternate;
}

@keyframes drift1 {
  to { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes drift2 {
  to { transform: translate(-50px, -30px) scale(1.15); }
}
@keyframes drift3 {
  to { transform: translate(-80px, 50px) scale(1.05); }
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) 24px clamp(40px, 7vw, 64px);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--gold-soft) 0%, var(--text) 45%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.3s forwards;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Cards grid ---------- */

.cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px clamp(64px, 10vw, 110px);
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(28px);
  animation: cardIn 0.8s var(--ease) forwards;
  animation-delay: calc(0.55s + var(--delay) * 0.12s);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 18px 50px -18px rgba(217, 183, 106, 0.35), 0 0 0 1px rgba(217, 183, 106, 0.08);
}

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1720, #221a24);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.92) contrast(1.03);
}

.card:hover .card__img {
  transform: scale(1.06);
}

.card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0) 45%, rgba(8, 8, 12, 0.75) 100%);
  pointer-events: none;
}

.card__status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 8px;
  border-radius: var(--radius-full);
  background: rgba(8, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.card__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fdc8c;
  box-shadow: 0 0 0 0 rgba(111, 220, 140, 0.6);
  animation: pulseDot 2.2s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(111, 220, 140, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(111, 220, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 220, 140, 0); }
}

/* fallback state before real photos are uploaded */
.card__media--fallback .card__img {
  opacity: 0;
}

.card__media--fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(217, 183, 106, 0.16), transparent 55%),
    linear-gradient(160deg, #1c1822, #241b28 60%, #1a1520);
}

.card__media--fallback::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  opacity: 0.28;
  background: currentColor;
  color: var(--gold-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-9 2.2-9 6v2h18v-2c0-3.8-4.6-6-9-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-9 2.2-9 6v2h18v-2c0-3.8-4.6-6-9-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.card__body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-align: center;
}

/* ---------- CTA button ---------- */

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 45%, var(--rose) 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: #17110a;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(217, 183, 106, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.015);
  background-position: 100% 50%;
  box-shadow: 0 16px 34px -12px rgba(217, 183, 106, 0.7);
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.cta-btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* ---------- Footer / SEO text ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px clamp(36px, 6vw, 56px);
  text-align: center;
}

.seo-text {
  margin: 0 0 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
  font-weight: 300;
}

.legal {
  margin: 0;
  font-size: 11px;
  color: var(--text-faint);
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* ---------- Reduced motion ---------- */

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

/* ---------- Reveal-on-scroll (enhanced via JS) ---------- */

.card.is-hidden {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
}

.card.is-visible {
  animation: cardIn 0.8s var(--ease) forwards;
}
