/* ============================================================
   VYANA STUDIO — Design System
   Palette: Warm Cream · Sage Green · Dusty Terracotta · Charcoal
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --cream:       #FAF8F4;
  --cream-mid:   #F2EDE5;
  --cream-dark:  #E8E0D4;
  --sage:        #8A9E7F;
  --sage-light:  #B5C9A8;
  --sage-dark:   #6B7F62;
  --terra:       #C4956A;
  --terra-light: #D9B08C;
  --terra-dark:  #A67848;
  --charcoal:    #2A2A2A;
  --mid-gray:    #6B6B6B;
  --light-gray:  #ABABAB;
  --white:       #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  6rem;
  --spacing-2xl: 10rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-pill: 100px;

  --shadow-soft: 0 4px 24px rgba(42,42,42,0.06);
  --shadow-card: 0 8px 40px rgba(42,42,42,0.10);
  --shadow-lift: 0 16px 48px rgba(42,42,42,0.14);

  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent horizontal overflow on mobile */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

/* Decorative flanking lines */
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--terra);
  opacity: 0.55;
  flex-shrink: 0;
}

p {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

p.lead {
  font-size: 1.125rem;
  color: var(--charcoal);
  line-height: 1.85;
}

em {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05em;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.container--narrow {
  max-width: 760px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.section--alt {
  background-color: var(--cream-mid);
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--cream);
}

.section--dark p {
  color: var(--cream-dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header .eyebrow {
  margin-bottom: var(--spacing-sm);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 540px;
  margin-inline: auto;
}

.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--terra), var(--terra-light));
  margin: 1.25rem auto;
  border-radius: 2px;
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.125rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--terra);
  color: var(--white);
}

/* Slide-through shimmer on hover */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 30%,
    rgba(255,255,255,0.30) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn--primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(164,120,72,0.38);
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--outline {
  background: rgba(250,248,244,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--charcoal);
  border: 1.5px solid rgba(42,42,42,0.55);
}

.btn--outline:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,42,42,0.22);
}

.btn--sage {
  background: var(--sage);
  color: var(--white);
}

.btn--sage:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--ghost {
  background: transparent;
  color: var(--terra);
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--terra);
}

.btn--ghost:hover {
  color: var(--terra-dark);
  border-color: var(--terra-dark);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(42,42,42,0.07),
    0 4px 24px rgba(42,42,42,0.06);
}

/* Terracotta accent line that slides in from left when scrolled */
.nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--terra) 0%, var(--terra-light) 50%, transparent 100%);
  opacity: 0.35;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
  /* Makes the white PNG background transparent on light surfaces */
  mix-blend-mode: multiply;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.82;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--terra);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 1rem;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  display: block;
  transition: var(--transition);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ken Burns — clearly visible slow zoom + pan */
  animation: kenBurns 22s ease-in-out infinite alternate;
  transform-origin: 60% 50%;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0)  translate(0%,    0%);   }
  100% { transform: scale(1.11) translate(-3.0%, 1.5%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 3-layer cinematic composite:
     1) Left-to-right cream fade for text readability
     2) Bottom atmospheric warm haze (sits over the cloud valleys)
     3) Top vignette so nav text stays crisp */
  background:
    linear-gradient(
      100deg,
      rgba(250,248,244,0.90) 0%,
      rgba(250,248,244,0.70) 36%,
      rgba(250,248,244,0.20) 60%,
      transparent 80%
    ),
    linear-gradient(
      to top,
      rgba(248,243,232,0.55) 0%,
      rgba(248,243,232,0.22) 22%,
      transparent 42%
    ),
    linear-gradient(
      to bottom,
      rgba(30,22,12,0.18) 0%,
      transparent 18%
    );
}

/* ── Animated cloud mist layers ── */
.hero__mist {
  position: absolute;
  inset: 0;
  z-index: 2;    /* above overlay, below content */
  pointer-events: none;
  overflow: hidden;
}

.hero__mist-layer {
  position: absolute;
  border-radius: 50%;
}

/* Wide base mist at the very bottom — matches cloud valley */
.hero__mist-layer--1 {
  width: 150%; height: 32%;
  bottom: -4%; left: -25%;
  background: radial-gradient(ellipse 70% 60% at 50% 85%, rgba(255,255,255,0.20) 0%, transparent 100%);
  filter: blur(55px);
  animation: mist1 34s ease-in-out infinite;
}

/* Mid-right secondary puff */
.hero__mist-layer--2 {
  width: 80%; height: 24%;
  bottom: 14%; right: -8%;
  background: radial-gradient(ellipse 68% 52% at 50% 72%, rgba(255,252,248,0.16) 0%, transparent 100%);
  filter: blur(48px);
  animation: mist2 51s ease-in-out infinite;
}

/* Center wisp floating across the mountain peaks */
.hero__mist-layer--3 {
  width: 70%; height: 18%;
  bottom: 26%; left: 12%;
  background: radial-gradient(ellipse 64% 48% at 50% 62%, rgba(255,255,255,0.11) 0%, transparent 100%);
  filter: blur(60px);
  animation: mist3 43s ease-in-out infinite;
}

/* Trailing mist above base layer */
.hero__mist-layer--4 {
  width: 110%; height: 22%;
  bottom: 6%; left: -8%;
  background: radial-gradient(ellipse 78% 58% at 50% 88%, rgba(250,247,240,0.15) 0%, transparent 100%);
  filter: blur(65px);
  animation: mist4 62s ease-in-out infinite;
}

/* Subtle upper-right cloud accent */
.hero__mist-layer--5 {
  width: 55%; height: 16%;
  bottom: 34%; right: 2%;
  background: radial-gradient(ellipse 60% 44% at 50% 66%, rgba(255,255,255,0.09) 0%, transparent 100%);
  filter: blur(44px);
  animation: mist5 38s ease-in-out infinite;
}

@keyframes mist1 {
  0%, 100% { transform: translateX(0%)   scaleY(1);    opacity: 0.85; }
  28%       { transform: translateX(2.5%) scaleY(1.07); opacity: 1;    }
  65%       { transform: translateX(-1.8%) scaleY(0.95); opacity: 0.72; }
}
@keyframes mist2 {
  0%, 100% { transform: translateX(0%);  opacity: 0.78; }
  38%      { transform: translateX(-3.5%); opacity: 0.95; }
  76%      { transform: translateX(2.2%); opacity: 0.62; }
}
@keyframes mist3 {
  0%, 100% { transform: translateX(0%)   scaleX(1);    opacity: 0.68; }
  52%      { transform: translateX(4.5%) scaleX(1.05); opacity: 0.88; }
}
@keyframes mist4 {
  0%, 100% { transform: translateX(0%)    scaleY(1);    opacity: 0.60; }
  42%      { transform: translateX(-2.2%) scaleY(1.09); opacity: 0.80; }
  82%      { transform: translateX(1.8%)  scaleY(0.93); opacity: 0.52; }
}
@keyframes mist5 {
  0%, 100% { transform: translateX(0%);   opacity: 0.58; }
  58%      { transform: translateX(-3.8%); opacity: 0.74; }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.hero__eyebrow {
  margin-bottom: 1.25rem;
  /* In hero, left-align: show only a right-side line */
}

.hero__eyebrow::before { display: none; }  /* suppress left line */

.hero__title {
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 1.75rem;
}

.hero__title em {
  display: block;
  color: var(--terra);
  font-size: 0.8em;
}

.hero__description {
  font-size: 1.1rem;
  color: rgba(42,42,42,0.75);
  margin-bottom: 2.75rem;
  max-width: 480px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;  /* above the bottom fade */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--mid-gray);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg {
  opacity: 0.6;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%        { transform: translateX(-50%) translateY(6px); }
}

/* Bottom fade that bleeds the hero smoothly into the cream page */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  z-index: 3;
  pointer-events: none;
}

/* ── Subtle grain texture on the whole page for an organic, printed feel ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- Philosophy Strip ---------- */
.philosophy {
  background: var(--charcoal);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.philosophy__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.65;
}

.philosophy__text em {
  color: var(--terra-light);
  font-style: normal;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(42,42,42,0.04);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(42,42,42,0.13);
  border-color: rgba(196,149,106,0.14);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card__body {
  padding: 1.75rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--cream-mid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--terra);
}

.card__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.card__description {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.card__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.card__link:hover { gap: 0.75rem; }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* ---------- Courses ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--terra));
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.course-card__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.course-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.course-card__description {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.75;
}

/* ---------- Events ---------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.event-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.event-date {
  text-align: center;
  min-width: 60px;
}

.event-date__day {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--terra);
  line-height: 1;
}

.event-date__month {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.event-info__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.event-info__meta {
  font-size: 0.85rem;
  color: var(--mid-gray);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card);
}

.testimonial-card__quote {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--terra-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-mid);
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--mid-gray);
}

.stars {
  color: var(--terra);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--cream-mid);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--charcoal);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--sage);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
  /* Converts copper tones to warm cream for dark footer */
  filter: brightness(0) invert(1) sepia(0.18);
  opacity: 0.80;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--terra-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(250,248,244,0.6);
  line-height: 1.8;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(250,248,244,0.65);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(250,248,244,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(250,248,244,0.4);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250,248,244,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,244,0.6);
  transition: var(--transition);
}

.footer__social:hover {
  border-color: var(--terra-light);
  color: var(--terra-light);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--spacing-xl));
  padding-bottom: var(--spacing-xl);
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-mid) 100%);
  text-align: center;
}

.page-hero__eyebrow {
  margin-bottom: 1rem;
}

.page-hero__title {
  margin-bottom: 1rem;
}

.page-hero__description {
  max-width: 540px;
  margin-inline: auto;
}

/* ---------- About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__eyebrow { margin-bottom: 1rem; }

.about-intro__title { margin-bottom: 1.25rem; }

.about-intro__text     { margin-bottom: 1.5rem; }
.about-intro__subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-item {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.value-item__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.value-item__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.value-item__text {
  font-size: 0.875rem;
  color: var(--mid-gray);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 2.5rem;
}

.breadcrumb a {
  color: var(--terra);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--charcoal) 100%);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(250,248,244,0.7);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tag--sage {
  background: rgba(138,158,127,0.15);
  color: var(--sage-dark);
}

.tag--terra {
  background: rgba(196,149,106,0.15);
  color: var(--terra-dark);
}

/* ---------- FAQ Accordion ---------- */
.faq-group {
  margin-bottom: var(--spacing-lg);
}

.faq-group__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  text-align: left;
  transition: color var(--transition);
}

.faq-trigger:hover { color: var(--terra); }

.faq-trigger__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terra);
  transition: var(--transition);
}

.faq-item.open .faq-trigger__icon {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-body__inner {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-terra  { color: var(--terra); }
.text-sage   { color: var(--sage); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

/* ============================================================
   RESPONSIVE — Mobile-first
   Base styles are mobile, then we scale up for larger screens.
   ============================================================ */

/* ---------- Shared mobile adjustments ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-intro  { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Tablet (max 900px) ---------- */
@media (max-width: 900px) {

  /* Nav: collapse to hamburger */
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250,248,244,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.75rem 2rem;
    gap: 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: 0 8px 32px rgba(42,42,42,0.12);
    z-index: 999;
  }

  .nav__links li { width: 100%; }

  .nav__links .nav__link {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--cream-dark);
    letter-spacing: 0.08em;
  }

  .nav__links .nav__link::after { display: none; }

  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .nav__cta { margin-left: 0; margin-top: 1rem; width: 100%; text-align: center; justify-content: center; }

  /* Services detail alternating layout */
  .service-feature        { grid-template-columns: 1fr !important; gap: 2rem; direction: ltr !important; }
  .service-feature.reverse { direction: ltr !important; }

  /* Courses */
  .course-detail          { grid-template-columns: 1fr !important; gap: 2.5rem; direction: ltr !important; }
  .course-detail.reverse  { direction: ltr !important; }
  .course-detail__image   { position: static; aspect-ratio: 16/9; }
}

/* ---------- Mobile (max 640px) ---------- */
@media (max-width: 640px) {
  :root {
    --nav-height: 68px;
    --spacing-xl: 3.5rem;
    --spacing-lg: 2.5rem;
  }

  /* Typography scale down */
  h1 { font-size: clamp(2.4rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  h3 { font-size: 1.3rem; }
  p.lead { font-size: 1rem; }

  /* Nav logo smaller */
  .nav__logo-img { height: 44px; }

  /* Hero */
  .hero__content  { padding-top: 2rem; }
  .hero__description { font-size: 1rem; }
  .hero__actions  { flex-direction: column; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll   { display: none; }

  /* Sections */
  .section { padding-top: 3rem; padding-bottom: 3rem; }

  /* About / profile image */
  .about-intro { gap: 2rem; }
  .about-intro__image { aspect-ratio: 1/1; border-radius: var(--radius-md); }

  /* Services grid: 1 column */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .card { max-width: 100%; }

  /* Courses: 1 column */
  .courses-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .course-card { padding: 1.75rem 1.5rem; }
  .course-card__number { font-size: 3rem; }

  /* Events list */
  .events-list  { gap: 0.875rem; }
  .event-item   { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.25rem 1rem; }
  .event-item .btn { display: none; }

  /* Testimonials: 1 column */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 1.75rem 1.5rem; }

  /* Stats strip (testimonials page) */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat__number { font-size: 2.25rem; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .service-selector { grid-template-columns: 1fr 1fr; }

  /* Page hero */
  .page-hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    padding-bottom: 2.5rem;
    text-align: left;
  }
  .breadcrumb { display: none; }

  /* Footer */
  .footer__grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer__logo-img { height: 52px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* CTA banner */
  .cta-banner h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq-trigger  { font-size: 1rem; }
  .faq-group__title { font-size: 0.65rem; }

  /* Events full card */
  .events-full-card { grid-template-columns: 1fr !important; }
  .events-full-card__image { height: 180px; }
  .events-full-card__body { padding: 1.5rem; }
  .events-full-card__meta { gap: 0.75rem; }

  /* Course detail page */
  .course-number { font-size: 4rem; }
  .module-list li { font-size: 0.875rem; }

  /* Service includes */
  .service-includes { padding: 1rem 1.25rem; }
  .essential-oils   { grid-template-columns: 1fr !important; gap: 1rem; padding: 1.5rem; }

  /* Section header */
  .section-header { margin-bottom: 2rem; }
  .section-header p { font-size: 0.9rem; }

  /* Philosophy strip */
  .philosophy { padding: 2.5rem 0; }
  .philosophy__text { font-size: 1.1rem; }

  /* Free call card */
  .free-call-card { padding: 1.75rem 1.5rem; }

  /* Testimonial full (testimonials page) */
  .testimonials-masonry { grid-template-columns: 1fr; }
  .testimonial-full { padding: 1.75rem 1.5rem; }

  /* Buttons — larger tap targets on mobile */
  .btn { min-height: 48px; }
  .btn--ghost { min-height: 44px; }
}
