/* ── SHRUTI LABS — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --bg:        oklch(16% 0.06 35);
  --bg2:       oklch(20% 0.07 32);
  --bg3:       oklch(24% 0.08 30);
  --gold:      oklch(78% 0.16 75);
  --gold-dim:  oklch(62% 0.13 70);
  --gold-pale: oklch(88% 0.11 80);
  --rose:      oklch(60% 0.20 25);
  --text:      oklch(93% 0.015 85);
  --text-muted:oklch(65% 0.015 85);
  --border:    oklch(25% 0.03 25);
  --ff-head:   'Cormorant Garamond', Georgia, serif;
  --ff-body:   'DM Sans', system-ui, sans-serif;
  --nav-h:     64px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--ff-body); font-size: 16px;
  line-height: 1.7; overflow-x: hidden;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
p { line-height: 1.75; }

.eyebrow {
  font-family: var(--ff-body); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.75rem;
}

.gold-line { width: 48px; height: 1px; background: var(--gold); margin: 1.2rem 0; }
.gold-line-c { margin: 1.2rem auto; }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.section-pad-lg { padding: 8rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: oklch(10% 0.02 25);
  border: none; padding: 0.8rem 2rem;
  font-family: var(--ff-body); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-pale); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); padding: 0.8rem 2rem;
  font-family: var(--ff-body); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold); padding: 0.8rem 2rem;
  font-family: var(--ff-body); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.btn-ghost:hover { background: oklch(72% 0.14 65 / 0.1); }

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#site-nav.scrolled {
  background: oklch(9% 0.03 25 / 0.94);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--ff-head); font-size: 1.35rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.05em;
  text-decoration: none; display: flex; align-items: center; gap: 0.6rem;
  flex-shrink: 0; white-space: nowrap;
}
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; line-height: 1;
}
.nav-links {
  display: flex; gap: 0; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; padding: 0 0.7rem; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-links .nav-book a {
  color: var(--gold); border: 1px solid oklch(72% 0.14 65 / 0.5);
  margin-left: 0.6rem; padding: 0 0.9rem; height: 32px; border-radius: 2px;
  border-bottom: none; white-space: nowrap;
}
.nav-links .nav-book a:hover { background: oklch(72% 0.14 65 / 0.1); }

/* ── HAMBURGER + MOBILE ── */
.nav-hamburger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 1.5px; background: var(--gold); display: block;
}
#mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: oklch(9% 0.03 25 / 0.97);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: var(--ff-head); font-size: 2.2rem; font-weight: 400;
  color: var(--text); text-decoration: none; transition: color 0.2s;
}
#mobile-nav a:hover, #mobile-nav a.active { color: var(--gold); }
#mobile-nav .close-btn {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.12;
  background: radial-gradient(ellipse at 20% 50%, var(--gold) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin: 0.5rem 0 1rem; }
.page-header p { color: var(--text-muted); max-width: 580px; font-size: 1.05rem; }

/* ── FOOTER ── */
#site-footer {
  background: oklch(7% 0.025 25);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-muted); font-size: 0.86rem;
  margin-top: 0.8rem; max-width: 260px; line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--ff-head); font-size: 0.95rem;
  color: var(--gold-dim); margin-bottom: 1rem; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.84rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: var(--text-muted);
}
.footer-sanskrit {
  font-family: var(--ff-head); font-style: italic;
  color: var(--gold-dim); font-size: 0.88rem;
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── CARDS ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 2rem; transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }

.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── QUOTE ── */
.blockquote {
  border-left: 2px solid var(--gold); padding: 1rem 1.5rem;
  margin: 2rem 0; font-family: var(--ff-head); font-style: italic;
  font-size: 1.2rem; color: var(--text); line-height: 1.6;
}
.blockquote cite {
  font-style: normal; font-size: 0.78rem; color: var(--gold-dim);
  display: block; margin-top: 0.5rem; font-family: var(--ff-body);
}

/* ── FORMS ── */
.form-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field label {
  display: block; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.45rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem;
  font-family: var(--ff-body); font-size: 0.9rem;
  outline: none; border-radius: 0; transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold-dim);
}
.form-field textarea { height: 110px; resize: vertical; }
.form-field select { appearance: none; cursor: pointer; }
.form-field select option { background: var(--bg2); }

/* ── MARQUEE ── */
.marquee-strip {
  overflow: hidden; padding: 0.9rem 0; white-space: nowrap;
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-inner { display: inline-flex; gap: 3rem; animation: marquee 35s linear infinite; }
.marquee-item { font-family: var(--ff-head); font-style: italic; font-size: 0.9rem; color: var(--gold-dim); }
.marquee-sep { color: var(--rose); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.7rem; text-align: center; }
  .section-pad { padding: 4rem 0; }
}
