/* =============================================
   RAICREATES — MAIN STYLESHEET
   Dark editorial luxury with organic warmth
   ============================================= */

/* ---- Reset & Variables ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0d0d0d;
  --dark:        #141414;
  --dark-mid:    #1e1c1a;
  --card-bg:     #1c1a18;
  --border:      rgba(255,255,255,0.08);
  --gold:        #c9a96e;
  --gold-light:  rgba(201,169,110,0.15);
  --coral:       #e07560;
  --coral-light: rgba(224,117,96,0.15);
  --sage:        #8aab96;
  --sage-light:  rgba(138,171,150,0.15);
  --cream:       #f5efe6;
  --white:       #ffffff;
  --text-main:   #e8e0d5;
  --text-muted:  #c8bfb4;
  --text-faint:  #9e9589;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-italic:  'Playfair Display', Georgia, serif;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:       1200px;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
}

.section-title em, h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-italic);
}

.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-desc {
  max-width: 560px;
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}
.section-header.centered .section-desc { margin: 1rem auto 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: #dbbf7d; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: #dbbf7d; }

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1rem;
}

/* ======================== NAV ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
  padding: 0.5rem 1.2rem;
}
.nav-links .nav-cta:hover { background: #dbbf7d; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all var(--transition);
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(224,117,96,0.07) 0%, transparent 50%),
              var(--black);
}

.paint-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobPulse 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: rgba(201,169,110,0.2); top: -10%; right: 5%; animation-delay: 0s; }
.blob-2 { width: 350px; height: 350px; background: rgba(224,117,96,0.18); bottom: 10%; left: 10%; animation-delay: 3s; }
.blob-3 { width: 250px; height: 250px; background: rgba(138,171,150,0.15); top: 40%; right: 30%; animation-delay: 6s; }

@keyframes blobPulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(10px, -15px); }
  66% { transform: scale(0.97) translate(-8px, 10px); }
}

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

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.hero-title .line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) { animation-delay: 0.6s; }

.italic-gold {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-italic);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.85s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  animation: fadeUp 0.9s 1.1s forwards;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-faint);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { width: 40px; opacity: 0.4; }
  50% { width: 20px; opacity: 0.8; }
}

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

/* ======================== PROOF BAR ======================== */
.proof-bar {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.proof-bar .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.proof-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.proof-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--gold); line-height: 1.1; }
.stat-desc { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* ======================== PILLARS ======================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg);
}

.pillar-card[data-color="coral"]::before { background: radial-gradient(circle at top left, rgba(224,117,96,0.08), transparent 60%); }
.pillar-card[data-color="gold"]::before { background: radial-gradient(circle at top left, rgba(201,169,110,0.1), transparent 60%); }
.pillar-card[data-color="sage"]::before { background: radial-gradient(circle at top left, rgba(138,171,150,0.08), transparent 60%); }

.pillar-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); }
.pillar-card:hover::before { opacity: 1; }

.pillar-card.featured {
  background: linear-gradient(135deg, #1e1b15 0%, #211d16 100%);
  border-color: rgba(201,169,110,0.3);
}

.pillar-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.pillar-icon svg { width: 32px; height: 32px; }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.pillar-link {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  transition: letter-spacing var(--transition);
}
.pillar-card:hover .pillar-link { letter-spacing: 0.06em; }

/* ======================== ABOUT STRIP ======================== */
.about-strip {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.about-strip-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-strip-text .btn { margin-top: 1rem; }

.paint-frame {
  aspect-ratio: 4/5;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.paint-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paint-swatch {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.s1 { width: 150px; height: 150px; background: rgba(201,169,110,0.3); top: 0; right: 0; }
.s2 { width: 100px; height: 100px; background: rgba(224,117,96,0.25); bottom: 20%; left: 10%; }
.s3 { width: 80px; height: 80px; background: rgba(138,171,150,0.2); top: 30%; left: 30%; }
.paint-circle {
  width: 200px; height: 200px;
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50%;
  position: absolute;
}

.paint-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  text-align: center;
  position: relative;
  z-index: 2;
  line-height: 1.6;
  padding: 1rem;
}

/* ======================== PROGRAMS ======================== */
.programs-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.program-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.program-row:last-child { border-bottom: none; }
.program-row:hover { background: rgba(255,255,255,0.02); }

.featured-row {
  background: linear-gradient(135deg, rgba(201,169,110,0.06) 0%, var(--card-bg) 100%);
}

.program-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--dark);
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  text-align: center;
}

.gold-tag { color: var(--gold); background: var(--gold-light); }

.program-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.program-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.program-price { text-align: right; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--cream); }
.price-period { font-size: 0.8rem; color: var(--text-faint); margin-left: 2px; }

/* ======================== QUIZ CTA ======================== */
.quiz-cta {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quiz-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.quiz-blob {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  filter: blur(40px);
}

.quiz-cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.quiz-cta-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ======================== TESTIMONIALS ======================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-testi {
  background: linear-gradient(135deg, #1e1b15 0%, var(--card-bg) 100%);
  border-color: rgba(201,169,110,0.25);
}

.testi-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.1em; }

.testi-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  flex-shrink: 0;
}

.testi-author div { display: flex; flex-direction: column; }
.testi-author strong { font-size: 0.88rem; color: var(--cream); font-weight: 500; }
.testi-author span { font-size: 0.78rem; color: var(--text-faint); }

/* ======================== NEWSLETTER ======================== */
.newsletter { }
.newsletter-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 4rem;
  align-items: center;
}

.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.newsletter-text p { color: var(--text-muted); font-size: 0.95rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  grid-column: 2;
  grid-row: 1;
}

.newsletter-input {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.85rem 1.5rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 260px;
  transition: border-color var(--transition);
  outline: none;
}
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-input::placeholder { color: var(--text-faint); }

.newsletter-fine {
  font-size: 0.75rem;
  color: var(--text-faint);
  grid-column: 2;
  grid-row: 2;
  text-align: center;
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}

.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-faint); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 75%; background: var(--dark-mid); padding: 5rem 2rem 2rem; border-left: 1px solid var(--border); gap: 0.25rem; z-index: 999; transition: transform var(--transition); transform: translateX(100%); }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-links a { font-size: 1rem; padding: 0.75rem 1rem; }
  .hero-content { padding: 0 1.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
  .newsletter-card { grid-template-columns: 1fr; }
  .newsletter-form { grid-column: 1; width: 100%; }
  .newsletter-fine { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .proof-bar .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .quiz-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero-title { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .program-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
