/* ============================================
   ARCHANGEL CENTERS / DARK LUXURY HOMEPAGE
   Black + Gold. Cinematic. Restrained. Expensive.
   ============================================ */

:root {
  --ink: #0d0d0d;
  --ink-deep: #050505;
  --gold: #C9A84C;
  --gold-bright: #E2C26C;
  --gold-dark: #9C7F2E;
  --cream: #f5efe4;
  --cream-warm: #faf5ec;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--ink);
  color: var(--cream);
  font-weight: 300;
  letter-spacing: 0.005em;
}

/* ===== Display serif headlines ===== */
.display-serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-feature-settings: 'liga' 1, 'kern' 1;
}

.italic-display {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ===== Subtle grid texture overlay ===== */
.hero-grid {
  background-image:
    linear-gradient(rgba(201,168,76,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.5) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
}

/* ===== Reveal animations (GSAP enhanced; CSS fallback) ===== */
.reveal,
.reveal-img {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in,
.reveal-img.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* If JS fails, force everything visible after first paint */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Marquee ===== */
.marquee {
  animation: marquee 38s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Press logos ===== */
.press-logo {
  filter: grayscale(100%) brightness(0.45);
  opacity: 0.65;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.press-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== Program cards (dark) ===== */
.program-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid rgba(201,168,76,0.18);
  padding: 2.25rem 1.75rem 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.program-card:hover {
  border-color: rgba(201,168,76,0.55);
  background: linear-gradient(180deg, rgba(201,168,76,0.06), rgba(255,255,255,0.01));
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1);
}
.program-card:hover::before { opacity: 1; }

.program-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.program-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 1.25rem;
  margin-top: auto;
  transition: color 0.3s ease;
}
.program-card:hover .program-link { color: var(--gold-bright); }

/* ===== Addiction grid cards (light) ===== */
.addiction-card {
  background: var(--cream-warm);
  padding: 2.5rem 2rem 2.25rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: default;
}
.addiction-card:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.addiction-card:hover h3 { color: var(--gold) !important; }
.addiction-card:hover p { color: rgba(245,239,228,0.75) !important; }
.addiction-card:hover .addiction-num { color: var(--gold); }

.addiction-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  transition: color 0.5s ease;
}

/* ===== Approach steps ===== */
.approach-step {
  background: var(--ink);
  padding: 3rem 2rem 2.5rem;
  position: relative;
  transition: background 0.5s ease;
}
.approach-step:hover { background: #131210; }

.approach-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

/* ===== Testimonial cards ===== */
.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3rem 2.25rem 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -25px rgba(0,0,0,0.8);
}

.quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.45;
  font-weight: 500;
}

/* ===== Location cards ===== */
.location-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.location-card:hover {
  transform: translateY(-4px);
}

/* ===== Inputs ===== */
input::placeholder { font-weight: 300; letter-spacing: 0.01em; }
input:focus { outline: none; }

/* ===== Nav dropdown polish ===== */
header nav a, header nav button {
  position: relative;
}
header nav > a::after,
header nav > div > button::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
header nav > a:hover::after,
header nav > div:hover > button::after {
  transform: scaleX(1);
}

/* ===== Selection ===== */
::selection { background: var(--gold); color: var(--ink); }

/* ===== Scrollbar (subtle gold accent) ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.35); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== Mobile niceties ===== */
@media (max-width: 768px) {
  .display-serif { letter-spacing: -0.005em; }
  .marquee { animation-duration: 28s; }
  .program-card { padding: 1.75rem 1.5rem; }
  .testimonial-card { padding: 2.5rem 1.75rem 1.75rem; }
  .quote-mark { font-size: 4.5rem; top: 0.25rem; left: 1rem; }
}

/* Force smooth iframe + prevent CLS */
iframe { background: var(--ink-deep); }
img { display: block; max-width: 100%; height: auto; }
