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

:root {
  --gold:       #c8922a;
  --gold-light: #e8b96a;
  --teal:       #3d7a72;
  --teal-dark:  #2d5e58;
  --terra:      #b85c38;
  --ivory:      #fdf8f0;
  --parchment:  #f0e6d3;
  --dark:       #2a2118;
  --muted:      #5c4f42;
  --white:      #ffffff;
  --radius:     10px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--ivory); color: var(--dark); font-size: 16px; line-height: 1.7; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 0.3rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
a { text-decoration: none; color: inherit; }

.section-label {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.section-sub { color: var(--muted); margin-bottom: 2rem; font-size: 0.97rem; }
.section-head { margin-bottom: 2.5rem; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 5%;
  background: rgba(253,248,240,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,146,42,0.2);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(42,33,24,0.12); }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--teal); display: flex; align-items: baseline; gap: 0.4rem; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark); transition: color var(--transition); }
.nav-links a:hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* ── HERO ── */
#hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: url('https://images.unsplash.com/photo-1602192509154-0b900ee1f851?w=1800&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,16,10,0.7) 0%, rgba(22,16,10,0.55) 50%, rgba(22,16,10,0.72) 100%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 680px; padding: 0 1.5rem; }
.hero-sub { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.hero-content h1 { font-size: clamp(3.2rem, 7vw, 5.8rem); line-height: 1.0; margin-bottom: 1.1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.95); font-weight: 300; max-width: 500px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: var(--teal); color: var(--white); border: none; border-radius: 50px; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.83rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.65); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── STATS BAND ── */
.stats-band {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  background: var(--dark); padding: 1.6rem 5%; gap: 0;
}
.stat { text-align: center; padding: 0.5rem 2.5rem; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold-light); line-height: 1; }
.stat-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(253,248,240,0.5); margin-top: 0.2rem; }
.stat-sep { width: 1px; height: 36px; background: rgba(200,146,42,0.25); }

/* ── STORY ── */
#story { background: var(--parchment); padding: 5rem 5%; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.story-imgs { position: relative; }
.story-img-main { width: 100%; border-radius: var(--radius); display: block; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 20px 50px rgba(42,33,24,0.22); }
.story-img-inset {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 45%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 4px solid var(--parchment);
  box-shadow: 0 8px 24px rgba(42,33,24,0.2);
}
.story-text h2 { margin-bottom: 0.4rem; }
.instructor-title {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem; opacity: 0.9;
}
.story-text p { color: var(--muted); margin-bottom: 0.9rem; font-size: 0.95rem; }
.story-text em { color: var(--teal); font-style: italic; }
.story-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.story-tags span { font-size: 0.8rem; padding: 0.35rem 0.9rem; background: rgba(200,146,42,0.12); border: 1px solid rgba(200,146,42,0.28); border-radius: 50px; color: var(--gold); }

/* ── PARALLAX BAND ── */
.parallax-band {
  height: 280px; background-attachment: fixed; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: rgba(22,16,10,0.72);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem;
}
.parallax-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.5vw, 2rem); color: var(--white); font-style: italic; max-width: 700px; line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.parallax-source { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.8rem; }

/* ── CLASSES ── */
#classes { background: var(--ivory); padding: 5rem 5%; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(42,33,24,0.08); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42,33,24,0.15); }
.card-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,33,24,0.5) 0%, transparent 60%); }
.card-badge {
  position: absolute; bottom: 0.7rem; left: 0.8rem; z-index: 1;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--teal); color: var(--white); padding: 0.25rem 0.7rem; border-radius: 50px;
}
.card-badge--terra { background: var(--terra); }
.card-body { padding: 1.2rem 1.4rem 1.5rem; }
.card-mal { font-size: 0.78rem; color: #a07520; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.card-mal-en { font-style: italic; color: var(--muted); font-size: 0.75rem; letter-spacing: 0; }
.card-body p { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0 0.8rem; }
.card-body ul { list-style: none; font-size: 0.83rem; color: var(--teal-dark); }
.card-body ul li::before { content: '✦  '; font-size: 0.6rem; vertical-align: middle; }

/* ── SCHEDULE ── */
#schedule { background: var(--dark); padding: 5rem 5%; }
#schedule .section-label { color: var(--gold-light); }
#schedule h2 { color: var(--ivory); }
#schedule .section-sub { color: rgba(253,248,240,0.72); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
table { width: 100%; border-collapse: collapse; background: #1e1710; }
thead { background: var(--teal); }
th { padding: 0.9rem 1.3rem; text-align: left; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: rgba(255,255,255,0.9); }
td { padding: 0.9rem 1.3rem; font-size: 0.9rem; color: rgba(253,248,240,0.88); border-bottom: 1px solid rgba(255,255,255,0.07); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(61,122,114,0.12); color: var(--ivory); }
td:nth-child(3) { color: var(--gold-light); font-weight: 500; }

.level-pill { display: inline-block; font-size: 0.72rem; padding: 0.2rem 0.65rem; border-radius: 50px; background: rgba(61,122,114,0.3); color: #7ec4bc; letter-spacing: 0.05em; }
.level-pill--adv { background: rgba(184,92,56,0.3); color: #e09070; }

/* ── CONTACT ── */
#contact { background: var(--parchment); padding: 5rem 5%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; max-width: 1050px; margin: 0 auto; }
.contact-left h2 { margin-bottom: 0.8rem; }
.contact-left > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.contact-detail { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.contact-detail i { color: var(--teal); width: 16px; }
.socials { display: flex; gap: 0.7rem; margin: 1.4rem 0; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ivory); border: 1px solid rgba(200,146,42,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--teal);
  transition: background var(--transition), color var(--transition);
}
.socials a:hover { background: var(--teal); color: var(--white); }
.contact-img-wrap { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.contact-img-wrap img { width: 100%; height: 180px; object-fit: cover; display: block; }

.contact-form {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 8px 32px rgba(42,33,24,0.1);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 0.3rem; color: var(--dark); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.8rem 1rem; border: 1px solid rgba(42,33,24,0.13);
  border-radius: 8px; font-family: 'Jost', sans-serif; font-size: 0.93rem;
  background: var(--ivory); color: var(--dark); outline: none;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea { resize: vertical; }

/* ── FADE-UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TRUST BAND ── */
.trust-band {
  background: var(--parchment);
  border-bottom: 1px solid rgba(200,146,42,0.2);
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
}
.trust-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-right: 1rem;
}
.trust-badges { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--dark);
  background: var(--white); border: 1px solid rgba(200,146,42,0.25);
  padding: 0.4rem 1rem; border-radius: 50px;
}
.trust-badge i { color: var(--teal); font-size: 0.85rem; }

/* ── WHY IPSWICH ── */
#why-ipswich { background: var(--dark); padding: 5rem 5%; }
.why-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: center; max-width: 1100px; margin: 0 auto;
}
.why-text .section-label { color: var(--gold-light); }
.why-text h2 { color: var(--ivory); margin-bottom: 1.2rem; }
.why-text p { color: rgba(253,248,240,0.75); font-size: 0.95rem; margin-bottom: 0.9rem; }
.why-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.why-stat {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-num {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: var(--gold-light); line-height: 1;
  margin-bottom: 0.4rem;
}
.why-desc { font-size: 0.88rem; color: rgba(253,248,240,0.65); line-height: 1.6; }
.why-desc em { color: rgba(253,248,240,0.45); font-style: normal; }

/* ── AYURVEDA ── */
#ayurveda { background: var(--parchment); padding: 5rem 5%; }
.centered { text-align: center; }
.ayur-intro {
  max-width: 780px; margin: 0 auto 3rem;
  text-align: center;
}
.ayur-intro p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.9rem; }
.ayur-intro em { color: var(--teal); font-style: italic; }
.ayur-doshas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }

/* ── PRICING ── */
#pricing { background: var(--ivory); padding: 5rem 5%; }
.pricing-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.pricing-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(42,33,24,0.08);
  box-shadow: 0 4px 20px rgba(42,33,24,0.06);
  display: flex; flex-direction: column; gap: 0.5rem;
  position: relative;
}
.pricing-card--featured {
  background: var(--teal); color: var(--white);
  border-color: var(--teal);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(61,122,114,0.35);
}
.pricing-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 1rem; border-radius: 50px; white-space: nowrap;
}
.pricing-type {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem;
}
.pricing-card--featured .pricing-type { color: rgba(255,255,255,0.7); }
.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; line-height: 1; color: var(--dark); margin-bottom: 0.5rem;
}
.pricing-price span { font-size: 1rem; color: var(--muted); }
.pricing-card--featured .pricing-price { color: var(--white); }
.pricing-card--featured .pricing-price span { color: rgba(255,255,255,0.65); }
.pricing-card ul { list-style: none; flex: 1; margin-bottom: 1.2rem; }
.pricing-card ul li {
  font-size: 0.88rem; color: var(--muted);
  padding: 0.4rem 0; border-bottom: 1px solid rgba(42,33,24,0.06);
}
.pricing-card ul li::before { content: '✓  '; color: var(--teal); }
.pricing-card--featured ul li { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.1); }
.pricing-card--featured ul li::before { color: var(--gold-light); }
.pricing-card--featured .btn {
  background: var(--white); color: var(--teal);
}
.pricing-card--featured .btn:hover { background: var(--ivory); }

/* ── FAQ ── */
#faq { background: var(--parchment); padding: 5rem 5%; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(42,33,24,0.08);
  overflow: hidden;
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.4rem;
  font-family: 'Jost', sans-serif; font-size: 0.97rem; font-weight: 500;
  color: var(--dark); text-align: left;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(200,146,42,0.05); }
.faq-q i {
  color: var(--gold); font-size: 0.8rem; flex-shrink: 0; margin-left: 1rem;
  transition: transform var(--transition);
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.4rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.4rem 1.2rem; }
.faq-a p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

/* ── MAP ── */
.contact-map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(42,33,24,0.1); }

/* ── FOOTER ── */
footer { background: #1a140e; color: rgba(253,248,240,0.6); text-align: center; padding: 1.8rem; font-size: 0.83rem; }
.footer-mal { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold-light); margin-bottom: 0.3rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .story-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ayur-doshas { grid-template-columns: repeat(2, 1fr); }
  .story-img-inset { display: none; }
  .parallax-band { background-attachment: scroll; }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--ivory); border-top: 1px solid rgba(200,146,42,0.2); padding: 0.8rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.75rem 5%; }
  section { padding: 3.5rem 5%; }
  #story { padding: 3.5rem 5%; }
  .stats-band { gap: 0; }
  .stat { padding: 0.5rem 1.2rem; }
  .stat-sep { display: none; }
  .parallax-band { height: 220px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-label { display: none; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.6rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .stats-band { flex-direction: column; gap: 0.8rem; padding: 1.5rem 5%; }
  .stat-sep { display: none; }
  .stat { padding: 0; }
  th:nth-child(4), td:nth-child(4) { display: none; }
  .contact-form { padding: 1.4rem; }
}
