/* ============================================
   Anu Rajah - Public Site Design System
   Premium editorial aesthetic inspired by ginaknox.co
   ============================================ */

:root {
  --bg: #f5f0e8;
  --bg-alt: #ebe4d8;
  --panel: #1f1b17;
  --accent: #c4a97d;
  --text: #1f1b17;
  --text-soft: #7a7168;
  --line: rgba(31, 27, 23, 0.1);
  --white: #ffffff;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --container: 1200px;
  --narrow: 820px;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(31, 27, 23, 0.06);
  --transition: 220ms ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

/* ---- Layout ---- */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 48px), var(--narrow));
  margin: 0 auto;
}

/* ---- Sections ---- */
.section {
  padding: 120px 0;
}
.section[style*="--section-text"] h1,
.section[style*="--section-text"] h2,
.section[style*="--section-text"] h3,
.section[style*="--section-text"] h4,
.section[style*="--section-text"] p,
.section[style*="--section-text"] li,
.section[style*="--section-text"] span,
.section[style*="--section-text"] a {
  color: var(--section-text) !important;
}

.section-dark {
  background: var(--panel);
  color: var(--white);
}

.section-dark .hero-subtext,
.section-dark .image-text-body,
.section-dark .cta-body,
.section-dark .text-content-body,
.section-dark .stat-description,
.section-dark .testimonial-author span {
  color: rgba(255, 255, 255, 0.72);
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}

.brand-logo {
  max-height: 44px;
  width: auto;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--accent); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--text);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover {
  background: #3a3530;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--text);
  color: var(--white);
  border: 1.5px solid var(--text);
}
.btn-primary:hover { background: #3a3530; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.4); }

/* Dark section button overrides */
.section-dark .btn-primary {
  background: var(--white);
  color: var(--text);
  border-color: var(--white);
}
.section-dark .btn-primary:hover { background: #f4eee5; }

.section-dark .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.section-dark .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* ---- Hero Section ---- */
.section-hero {
  padding: 100px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-subtext {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---- Image + Text Section ---- */
.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.image-text-grid.image-right .image-text-image-wrap { order: 2; }
.image-text-grid.image-right .image-text-content { order: 1; }

.image-text-image {
  width: 100%;
  height: auto;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-text-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.image-text-body {
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}

.image-text-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin: 24px 0 8px;
}

.image-text-body p { margin-bottom: 16px; }

.image-text-body a {
  font-weight: 700;
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 2px;
}

/* ---- Image Gallery Section ---- */
.gallery-grid {
  display: grid;
  gap: 20px;
}

.gallery-cols-2 { grid-template-columns: 1fr 1fr; }
.gallery-cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---- CTA Section ---- */
.section-cta {
  text-align: center;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-body {
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.cta-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Text Content Section ---- */
.text-content-body {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text);
}

.text-content-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 32px 0 12px;
}

.text-content-body p { margin-bottom: 18px; }

.text-content-body a {
  font-weight: 600;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.text-content-body a:hover { color: var(--accent); }

.text-content-body ul,
.text-content-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.text-content-body li + li { margin-top: 8px; }

/* ---- Stats Section ---- */
.section-stats { text-align: center; }

.stats-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }

.section-dark .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-description {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---- Testimonials Section ---- */
.testimonials-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }

.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---- Section Headline (shared) ---- */
.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Video Responsive ---- */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---- Video + Text Section ---- */
.video-text-video-wrap { min-width: 0; }

/* ---- YouTube Section ---- */
.youtube-grid {
  display: grid;
  gap: 24px;
}
.youtube-cols-1 { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.youtube-cols-2 { grid-template-columns: 1fr 1fr; }
.youtube-cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.video-caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* ---- Spotify Section ---- */
.spotify-embed iframe {
  width: 100%;
  border-radius: 12px;
}

/* ---- Twitter / Instagram Embeds ---- */
.twitter-embed,
.instagram-embed {
  display: flex;
  justify-content: center;
}

.twitter-embed > *,
.instagram-embed > * {
  max-width: 550px;
  width: 100%;
}

/* ---- FAQ Section ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent); }

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-soft);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.section-dark .faq-item {
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .faq-item[open] {
  border-color: rgba(255, 255, 255, 0.25);
}

/* ---- Pricing Section ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-highlighted {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
  position: relative;
}

.section-dark .pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .pricing-highlighted {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-description {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  width: 100%;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.pricing-features li::before {
  content: '\2713';
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.section-dark .pricing-features li {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---- Logo Bar Section ---- */
.logo-bar-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-bar-item img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-bar-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.section-dark .logo-bar-item img {
  filter: grayscale(100%) brightness(2);
}
.section-dark .logo-bar-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ---- Image Fit Classes ---- */
.img-fit-contain { object-fit: contain !important; }
.img-fit-natural { object-fit: none !important; max-height: 100%; width: auto !important; margin: 0 auto; }

/* ---- Ghost Button ---- */
.btn-ghost {
  background: transparent !important;
  border: 2px solid currentColor;
}
.btn-ghost:hover {
  opacity: 0.8;
}

/* ---- Testimonial Avatar ---- */
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--panel);
  color: var(--white);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand .brand {
  color: var(--white);
  font-size: 1.3rem;
}

.footer-tagline {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
}
.footer-social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social-link svg { display: block; }

.footer-newsletter {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}
.footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--white);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsletter-form .btn {
  padding: 12px 24px;
  white-space: nowrap;
}

.footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--white); }

/* ---- Bottom Banner ---- */
body.has-banner { padding-bottom: 80px; }

.site-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-banner.is-collapsed {
  transform: translateY(calc(100% - 32px));
}

.banner-handle {
  display: flex;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}
.banner-handle span {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  display: block;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 16px;
  flex-wrap: wrap;
  text-align: center;
}

.banner-text {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.banner-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.banner-countdown span {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 28px;
  text-align: center;
}
.banner-countdown .cd-label {
  background: none;
  padding: 0 2px;
  min-width: auto;
  font-size: 0.78rem;
  opacity: 0.7;
}

.banner-btn {
  white-space: nowrap;
  padding: 10px 24px !important;
  font-size: 0.88rem !important;
}

.banner-mobile-only { display: none; }
.banner-desktop-only { display: block; }

@media (max-width: 768px) {
  .banner-mobile-only { display: block; }
  .banner-desktop-only { display: none; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .section { padding: 90px 0; }

  .hero-grid,
  .image-text-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-text-grid.image-right .image-text-image-wrap { order: 0; }
  .image-text-grid.image-right .image-text-content { order: 0; }

  .stats-grid { grid-template-columns: 1fr; }
  .gallery-cols-3 { grid-template-columns: 1fr 1fr; }
  .youtube-cols-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(245, 240, 232, 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }

  .main-nav.is-open { display: flex; }

  .hero-headline {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-image { min-height: 320px; }

  .image-text-image { min-height: 300px; }

  .gallery-cols-2,
  .gallery-cols-3 {
    grid-template-columns: 1fr;
  }

  .gallery-item img { min-height: 280px; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .youtube-cols-2,
  .youtube-cols-3 { grid-template-columns: 1fr; }

  .logo-bar-grid { gap: 24px; }
  .logo-bar-item img { max-height: 36px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-legal { flex-direction: column; gap: 8px; }
}
