/* ==========================================================================
   BASE — design tokens, reset, typography, shared components
   Manoshakti Retreat
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap");

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Brand */
  --navy: #0e2a5a;
  --navy-deep: #0b1f45;
  --gold: #c7a86f;
  --gold-bright: #d4af37;
  --gold-soft: #cda567;
  --gold-deep: #8a6f3a;

  /* Surfaces */
  --cream: #fffbf7;
  --cream-light: #fffcf8;
  --sand: #f6f1e8;
  --sand-warm: #f7eddc;
  --white: #fff;

  /* Text */
  --ink: #1a1f2e;
  --muted: #5a6478;
  --muted-soft: #9aa3b2;
  --muted-cool: #8a90a2;
  --on-dark: #e8e6e1;

  /* Lines */
  --line-navy: rgba(14, 42, 90, 0.06);
  --line-black: rgba(0, 0, 0, 0.05);
  --line-gold: rgba(199, 168, 111, 0.2);
  --line-default: #e5e7eb;

  /* Type */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", serif;

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 26px;
  --r-3xl: 28px;
  --r-pill: 999px;
  --r-organic: 45% 75% 50% 60% / 45% 45% 75% 55%;
  --r-photo: 64px;

  /* Elevation */
  --sh-card: 0 12px 36px rgba(14, 42, 90, 0.07);
  --sh-card-sm: 0 10px 30px rgba(14, 42, 90, 0.06);
  --sh-card-hover: 0 18px 40px rgba(14, 42, 90, 0.1);
  --sh-media: 0 16px 40px rgba(14, 42, 90, 0.1);
  --sh-media-sm: 0 10px 24px rgba(14, 42, 90, 0.08);
  --sh-panel: 0 18px 48px rgba(14, 42, 90, 0.12);
  --sh-float: 0 18px 40px rgba(14, 42, 90, 0.12);
  --sh-hero: 0 24px 60px rgba(14, 42, 90, 0.14);
  --sh-gold: 0 8px 20px rgba(199, 168, 111, 0.35);
  --sh-gold-hover: 0 12px 28px rgba(199, 168, 111, 0.45);
  --sh-navy: 0 12px 30px rgba(14, 42, 90, 0.28);
  --sh-toast: 0 16px 40px rgba(0, 0, 0, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.15s;

  /* Section rhythm */
  --pad-lg: 90px;
  --pad-md: 84px;
  --pad-sm: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: hsla(39, 44%, 61%, 0.3);
}

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

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY PRIMITIVES
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* Gold italic display line — hero date, hero author, pull statements */
.display-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gold);
  font-size: 32px;
}

.display-gold--bold {
  font-weight: 700;
}

/* Navy italic display line — hero lede, "Have you ever felt..." */
.display-navy {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  font-size: 28px;
}

/* Section kicker above headings */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Larger kicker variant — see NOTES.md #1 */
.eyebrow--lg {
  font-size: 14px;
}

/* Kicker on dark backgrounds */
.eyebrow--on-dark {
  letter-spacing: 0.18em;
  font-weight: 400;
}

/* Kicker rendered as a soft navy pill */
.eyebrow--pill {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(14, 42, 90, 0.05);
  color: var(--navy);
  letter-spacing: 0.18em;
  font-weight: 400;
}

/* Section headline */
.section-title {
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.05;
  color: var(--navy);
}

.section-title--tight {
  line-height: 0.95;
  font-size: 38px;
}

.section-lede {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container--1150 { max-width: 1150px; }
.container--1100 { max-width: 1100px; }
.container--900  { max-width: 900px; }

.section {
  padding-block: var(--pad-lg);
}

.section--md { padding-block: var(--pad-md); }
.section--sm { padding-block: var(--pad-sm); }

/* Surface modifiers */
.section--cream { background: var(--cream); }
.section--cream-light { background: var(--cream-light); }
.section--sand { background: var(--sand); }
.section--white {
  background: var(--white);
  border-block: 1px solid var(--line-navy);
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-navy);
}

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

.btn--outline {
  background: var(--white);
  border: 1px solid var(--line-default);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--sand);
}

.btn--gold {
  height: 42px;
  padding-inline: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--sh-gold);
}

.btn--gold:hover {
  box-shadow: var(--sh-gold-hover);
  transform: translateY(-1px);
}

/* Full-width pill used inside plan cards */
.btn--plan {
  width: 100%;
  height: 44px;
  padding-inline: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  background: var(--white);
  border: 1px solid rgba(14, 42, 90, 0.15);
  color: var(--navy);
}

.btn--plan:hover {
  background: var(--sand);
}

.btn--plan.is-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(14, 42, 90, 0.25);
}

/* --------------------------------------------------------------------------
   6. SHARED COMPONENTS
   -------------------------------------------------------------------------- */

/* Soft outlined chip — credentials, themes */
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding-inline: 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(199, 168, 111, 0.3);
  background: var(--white);
  font-size: 11.5px;
  color: var(--navy);
}

.tag--theme {
  height: 32px;
  padding-inline: 16px;
  border-color: var(--gold);
  background: var(--cream);
  font-size: 12px;
  letter-spacing: 0.025em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Round check bullet */
.check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  color: var(--navy);
}

.check--sm {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  font-size: 10px;
}

.check--md {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  font-size: 11px;
}

/* Checked list item */
.check-list__item {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* Highlighted quote / callout panel */
.callout {
  border-radius: var(--r-lg);
  background: var(--sand);
  border: 1px solid var(--line-gold);
  padding: 20px;
}

/* Rounded 16:9 photo frame used in intro / about / reasons */
.photo-frame {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

/* Small numeric stat tile */
.stat-tile {
  border-radius: 14px;
  padding: 12px;
  background: var(--sand-warm);
}

.stat-tile__value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}

.stat-tile__label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* Bordered stat card (About section) */
.stat-card {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-black);
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-card__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.stat-card__label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* Thin centred rule */
.rule {
  height: 1px;
  width: 120px;
  margin-inline: auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(199, 168, 111, 0.6),
    transparent
  );
}

/* Animated gold→navy→gold gradient text */
.gradient-animated {
  background: linear-gradient(270deg, var(--gold), var(--navy), var(--gold));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 4px rgba(199, 168, 111, 0.25));
  animation: gradient-shift 5s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
}

/* Decorative blurred background orb */
.blob {
  position: absolute;
  border-radius: var(--r-pill);
  filter: blur(42px);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE PRIMITIVES
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  :root {
    --pad-lg: 120px;
    --pad-md: 110px;
    --pad-sm: 110px;
  }

  .container {
    padding-inline: 32px;
  }

  .display-gold { font-size: 40px; }
  .display-navy { font-size: 36px; }
  .section-title { font-size: 48px; }
  .section-title--tight { font-size: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
