/* ============================================================
   Gupta Institute for Aesthetics
   Palette: warm cream + deep navy, serif display
   ============================================================ */

:root {
  --cream:        #f4efe5;
  --cream-deep:   #ece5d8;
  --ink:          #211f1b;
  --ink-soft:     #4f4a40;
  --navy:         #243a63;
  --navy-deep:    #15233f;
  --navy-soft:    #3c5680;
  --line:         #d8cfbe;
  --radius:       999px;
  --maxw:         1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.5rem; }
em { font-style: italic; }

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

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.eyebrow.light { color: rgba(244,239,229,0.65); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-pill {
  background: var(--navy);
  color: var(--cream);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
}
.btn-pill:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-light {
  background: var(--cream);
  color: var(--navy-deep);
}
.btn-light:hover { background: #fff; }

.link-underline {
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .2s ease;
}
.link-underline:hover { opacity: 0.6; }

/* ---------- Brand / monogram ---------- */
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 38px; }
.brand-monogram {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.18em;
  color: var(--navy);
  display: inline-flex;
}
.brand-monogram .mono-a { position: relative; top: 0.18em; }
.brand-monogram.small { font-size: 1.4rem; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(244,239,229,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; gap: 2rem; margin-left: auto; margin-right: 1.5rem; }
.nav a {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav a:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: sticky;
  top: 65px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 1.8rem clamp(1.2rem, 4vw, 3rem) 2.2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { font-size: 1.1rem; }
.mobile-menu .btn-pill { align-self: flex-start; }
.mobile-call {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.hero-left { text-align: right; }
.hero-right { text-align: left; }
.hero-text h1 { color: var(--ink); }
.hero-text em { color: var(--navy-soft); }

.hero-portrait {
  width: clamp(200px, 28vw, 320px);
  aspect-ratio: 3 / 4;
  background: var(--cream-deep);
  border-radius: 3px;
  overflow: hidden;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Intro ---------- */
.intro {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.intro-lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.intro-lead strong { font-weight: 600; }

/* ---------- Pillars ---------- */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.pillar {
  background: var(--cream);
  text-align: center;
  padding: 2.6rem 1.6rem;
  color: var(--navy-soft);
}
.pillar-mark { display: flex; justify-content: center; margin-bottom: 1.1rem; color: var(--navy-soft); }
.pillar h3 { color: var(--ink); margin-bottom: 0.5rem; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }

/* ---------- Services ---------- */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--cream-deep);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-media { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-body { padding: 2rem 2rem 2.2rem; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { color: var(--navy-deep); margin-bottom: 0.5rem; }
.feature-desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.2rem; }
.feature-body ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.feature-body li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

/* Pricing */
.pricing {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.5rem;
  align-items: stretch;
}
.pricing-feature {
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.pricing-feature .eyebrow { color: rgba(244,239,229,0.7); }
.price-big {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1;
  margin: 0.4rem 0 0.6rem;
}
.price-note { font-size: 0.85rem; color: rgba(244,239,229,0.7); margin: 0; }

.addon-grid {
  background: var(--cream-deep);
  border-radius: 4px;
  padding: 2rem;
}
.addon-title {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 1.4rem;
}
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.addon {
  background: var(--cream);
  border-radius: 4px;
  padding: 1.4rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.addon-name { font-size: 0.9rem; line-height: 1.3; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.addon-price { font-family: var(--serif); font-size: 1.9rem; color: var(--navy-deep); }
.addon-sub { font-size: 0.78rem; color: var(--ink-soft); }

.services-note { text-align: center; margin-top: 2.4rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about {
  background: var(--navy);
  color: var(--cream);
}
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-text { max-width: 560px; }
.about h2 { color: var(--cream); margin-bottom: 1.4rem; }
.about p { color: rgba(244,239,229,0.82); margin-bottom: 1.2rem; }
.about strong { color: var(--cream); font-weight: 500; }
.about .btn-light { margin-top: 1rem; }
.about-media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Book ---------- */
.book {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem);
}
.book-intro { color: var(--ink-soft); margin-top: 0.6rem; }
.book-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.scheduler {
  background: var(--cream-deep);
  border-radius: 4px;
  min-height: 420px;
  display: flex;
}
#scheduler-embed { width: 100%; }
#scheduler-embed:empty { display: none; }
.scheduler-fallback {
  margin: auto;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 360px;
}
.scheduler-fallback h3 { color: var(--navy-deep); margin-bottom: 0.6rem; }
.scheduler-fallback p { color: var(--ink-soft); }
.scheduler-fallback .btn-pill { margin: 1rem 0 1.4rem; }
.scheduler-hint { font-size: 0.82rem; color: var(--ink-soft); opacity: 0.85; }

.contact-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: 4px;
  padding: 2.4rem 2rem;
}
.contact-card h3 { color: var(--cream); margin-bottom: 0.6rem; }
.contact-card p { color: rgba(244,239,229,0.8); font-size: 0.95rem; }
.contact-line {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(244,239,229,0.18);
  margin-top: 1rem;
}
.contact-line:hover .contact-value { opacity: 0.7; }
.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244,239,229,0.6);
}
.contact-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--cream);
  transition: opacity .2s ease;
}
.contact-hours {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(244,239,229,0.6);
}

/* ---------- Visit ---------- */
.visit { background: var(--cream-deep); }
.visit-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.visit-block h3 { color: var(--navy-deep); font-size: 1.2rem; margin-bottom: 0.6rem; }
.visit-block p { color: var(--ink-soft); }
.visit-cta {
  text-align: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}
.visit-cta h2 { margin-bottom: 1.6rem; }
.visit-cta em { color: var(--navy-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244,239,229,0.75);
  padding: 2.6rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--cream); }
.footer-brand .brand-monogram { color: var(--cream); }
.footer-brand .brand-name { font-size: 1rem; }
.footer-nav { display: flex; gap: 1.6rem; }
.footer-nav a { font-size: 0.88rem; }
.footer-nav a:hover { color: var(--cream); }
.footer-fine {
  margin: 0;
  margin-left: auto;
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ---------- Sticky mobile book bar ---------- */
.mobile-book-bar {
  display: none;
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 60;
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(27,50,37,0.28);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.4rem;
  }
  .hero-left, .hero-right { text-align: center; }
  .hero-portrait { order: -1; width: clamp(200px, 60vw, 280px); }

  .pillars { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .addon-name { min-height: 0; }
  .book-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; aspect-ratio: 4 / 3; max-height: 320px; }
  .visit-inner { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }

  .footer-fine { margin-left: 0; text-align: left; width: 100%; }

  .mobile-book-bar { display: block; }
  body { padding-bottom: 5rem; }
}

@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
