@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

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

:root {
  --cream: #fbf4e3;
  --warm-white: #fffdf6;
  --saffron: #e07b2a;
  --deep-saf: #45220e;
  --golden: #c9962a;
  --maroon: #8b2635;
  --deep-brown: #45220e;
  --mid-brown: #7a3b1c;
  --light-brown: #9b6040;
  --text: #28140a;
  --text-mid: #6b3a1f;
  --text-light: #a07050;
  --border: rgba(196, 88, 26, 0.15);
  --border-strong: rgba(196, 88, 26, 0.28);
  --shadow-soft: 0 18px 50px rgba(74, 32, 8, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: 'Jost', sans-serif;
}

body.app-body {
  height: 100vh;
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(196, 88, 26, 0.3);
  border-radius: 10px;
}

/* Shared motif */
.mandala-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.088;
}

.mandala-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(69, 34, 14, 0.62) 0 1deg, transparent 1deg 15deg),
    repeating-radial-gradient(circle, transparent 0 18px, rgba(69, 34, 14, 0.72) 19px 20px, transparent 21px 36px);
  animation: spin 80s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Navbar */
.nav,
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  padding: 18px 64px;
  background: rgba(251, 244, 227, 0.88);
  backdrop-filter: blur(16px);
}

.nav-logo,
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-logo {
  align-items: flex-start;
  gap: 0;
}

.brand-logo,
.nav-logo-img {
  display: block;
  width: 176px;
  max-width: 28vw;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-logo-name,
.brand-name {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--deep-brown);
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-logo-tag,
.brand-kicker {
  margin-top: 3px;
  color: var(--text-light);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-logo + .brand-text,
.nav-logo-img + .brand-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--saffron);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn-ghost {
  border-color: #45220e;
  color: #45220e;
  background: transparent;
}

.nav-actions .btn-primary {
  border-color: #45220e;
  color: #fff;
  background: #45220e;
}

.btn,
.btn-ghost,
.btn-primary,
.btn-cta,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn,
.btn-ghost,
.btn-outline {
  border: 1px solid rgba(69, 34, 14, 0.28);
  color: var(--deep-brown);
  background: transparent;
}

.btn,
.btn-ghost {
  min-height: 39px;
  padding: 9px 22px;
  font-size: 12px;
}

.btn-outline {
  min-height: 48px;
  padding: 14px 36px;
  font-size: 13px;
}

.btn:hover,
.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.btn.primary,
.btn-primary,
.btn-cta {
  border: 0;
  color: #fff;
  background: var(--deep-brown);
}

.btn.primary,
.btn-primary {
  min-height: 39px;
  padding: 10px 26px;
  font-size: 12px;
}

.btn-cta {
  min-height: 48px;
  padding: 14px 36px;
  font-size: 13px;
}

.btn.primary:hover,
.btn-primary:hover,
.btn-cta:hover {
  color: #fff;
  background: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(69, 34, 14, 0.22);
}

.btn-full,
.btn.full {
  width: 100%;
}

/* Landing */
.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: 120px 64px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(224, 123, 42, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(201, 150, 42, 0.07) 0%, transparent 55%),
    var(--cream);
}

.hero-mandala {
  right: -8%;
  top: 50%;
  width: 680px;
  height: 680px;
  transform: translateY(-50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow,
.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--saffron);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.hero-eyebrow::after,
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--saffron);
  opacity: 0.4;
}

.hero-name {
  margin-bottom: 6px;
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.88;
}

.hero-name span {
  color: var(--saffron);
}

.hero-tagline {
  margin-bottom: 36px;
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
}

.hero-divider {
  width: 60px;
  height: 1px;
  margin-bottom: 32px;
  background: linear-gradient(to right, var(--golden), transparent);
}

.hero-quote {
  margin-bottom: 48px;
  border-left: 2px solid var(--golden);
  padding-left: 20px;
  color: var(--text-mid);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 2vw, 21px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
}

.hero-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--text-light);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: floatDown 2s ease-in-out infinite;
}

@keyframes floatDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--saffron), transparent);
}

.section {
  padding: 100px 64px;
}

.section.compact {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-inner,
.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title,
.section-heading {
  margin-bottom: 20px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 300;
  line-height: 1.15;
}

.section-body,
.section-copy,
.lead {
  max-width: 560px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.85;
}

.about-sec {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}

.about-grid,
.story-grid,
.two-column {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.about-img,
.visual-card {
  position: relative;
  display: flex;
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 42%, rgba(224, 123, 42, 0.08), transparent 32%),
    linear-gradient(160deg, rgba(224, 123, 42, 0.12), rgba(201, 150, 42, 0.08));
}

.about-img::before,
.visual-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(196, 88, 26, 0.08);
}

.about-img-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--text-light);
  font-family: 'Cinzel', serif;
  font-size: 15px;
  line-height: 2;
  text-align: center;
}

.about-img-lotus {
  display: block;
  margin-bottom: 16px;
  color: var(--saffron);
  font-size: 52px;
  opacity: 0.5;
}

.baba-sec .about-grid {
  grid-template-columns: 4.8fr 7.2fr;
}

.baba-portrait {
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 34%, rgba(224, 123, 42, 0.07), transparent 26%),
    linear-gradient(160deg, rgba(251, 244, 227, 0.78), rgba(255, 253, 246, 0.95));
}

.baba-portrait .about-img-inner {
  color: var(--text-light);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2.05;
}

.baba-portrait .about-img-lotus {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 0 auto 30px;
  border: 1px solid rgba(224, 123, 42, 0.22);
  border-radius: 50%;
  font-size: 0;
}

.baba-portrait .about-img-lotus::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--golden) 0 3px, transparent 4px),
    repeating-conic-gradient(rgba(224, 123, 42, 0.22) 0 12deg, transparent 13deg 30deg);
}

.about-text .section-body,
.story-grid .section-body {
  max-width: 100%;
}

.about-text p + p,
.story-grid p + p {
  margin-top: 18px;
}

.about-stats,
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat,
.info-item {
  border: 1px solid var(--border);
  padding: 22px 24px;
  background: rgba(224, 123, 42, 0.05);
}

.stat-n,
.info-item b {
  margin-bottom: 4px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 30px;
}

.stat-l,
.info-item p {
  color: var(--text-light);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.teachings-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.teaching-card,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 28px 24px;
  background: transparent;
  transition: all 0.3s;
}

.teaching-card::after,
.card::after,
.event-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.35s;
}

.teaching-card:hover,
.card:hover,
.event-card:hover {
  border-color: rgba(196, 88, 26, 0.3);
  transform: translateY(-3px);
}

.teaching-card:hover::after,
.card:hover::after,
.event-card:hover::after {
  width: 100%;
}

.small-symbol,
.teaching-mark {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border: 1px solid rgba(224, 123, 42, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--golden) 0 3px, transparent 4px),
    repeating-conic-gradient(rgba(224, 123, 42, 0.18) 0 8deg, transparent 9deg 24deg);
}

.card h3,
.teaching-card h3,
.event-card h3,
.event-title {
  margin-bottom: 10px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.card p,
.teaching-card p,
.event-card p {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.7;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 30px 28px;
  background: transparent;
  transition: all 0.3s;
}

.event-date {
  margin-bottom: 14px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.event-loc {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 12px;
}

.event-tag,
.chip {
  display: inline-block;
  border: 1px solid rgba(224, 123, 42, 0.3);
  padding: 4px 10px;
  color: var(--saffron);
  background: transparent;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.trust-sec {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}

.quote-panel {
  border-left: 2px solid var(--golden);
  padding-left: 28px;
}

.quote-panel p {
  color: var(--text-mid);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  line-height: 1.45;
}

.quote-panel small {
  display: block;
  margin-top: 14px;
  color: var(--text-light);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.trust-item {
  border: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

.gallery-sec {
  padding: 100px 64px;
  background: var(--deep-brown);
}

.gallery-sec .section-label {
  color: var(--golden);
}

.gallery-sec .section-title {
  color: var(--cream);
}

.gallery-sec .section-body {
  color: rgba(251, 244, 227, 0.65);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 48px auto 0;
}

.gallery-card,
.photo-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(251, 244, 227, 0.08);
  cursor: pointer;
}

.gallery-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-bg,
.photo-tile:hover .gallery-card-bg {
  transform: scale(1.07);
}

.gallery-card::before,
.photo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.14;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34px, rgba(251, 244, 227, 0.55) 35px 36px, transparent 37px),
    repeating-conic-gradient(rgba(251, 244, 227, 0.32) 0 2deg, transparent 2deg 18deg);
}

.gallery-card-overlay,
.photo-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 44px 16px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(28, 10, 4, 0.85));
}

.gc-title {
  margin-bottom: 3px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
}

.gc-date {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.newsletter-sec {
  border-top: 1px solid var(--border);
  background: var(--warm-white);
}

.newsletter-wrap,
.newsletter {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.nl-input,
.fi,
.field input,
.field textarea,
.field select,
.login-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 13px 18px;
  color: var(--text);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-input:focus,
.fi:focus,
.field input:focus,
.field textarea:focus,
.field select:focus,
.login-field input:focus,
.chat-input-box:focus-within {
  border-color: var(--saffron);
}

.nl-input::placeholder,
.fi::placeholder,
.field input::placeholder,
.field textarea::placeholder,
.login-field input::placeholder {
  color: var(--text-light);
}

.contact-sec {
  border-top: 1px solid var(--border);
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  display: flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 123, 42, 0.18);
  background: rgba(224, 123, 42, 0.08);
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 15px;
}

.contact-detail {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

textarea.fi {
  min-height: 110px;
  resize: vertical;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 56px 64px;
  background: var(--text);
}

.footer-logo-name {
  color: var(--golden);
  font-family: 'Cinzel', serif;
  font-size: 22px;
}

.footer-logo-tag {
  margin-top: 6px;
  color: rgba(251, 244, 227, 0.3);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(251, 244, 227, 0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--golden);
}

.footer-copy {
  color: rgba(251, 244, 227, 0.2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Auth and onboarding */
.auth-page,
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-left,
.login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
  background: var(--deep-brown);
}

.auth-left .brand-logo,
.login-panel .brand-logo {
  width: 220px;
  max-width: 70%;
  margin-bottom: 28px;
  filter: brightness(1.35) saturate(0.85);
  mix-blend-mode: screen;
}

.auth-left-content .nav-logo-name,
.login-panel .nav-logo-name {
  color: var(--golden);
  font-size: 28px;
}

.auth-left-content .nav-logo-tag,
.login-panel .nav-logo-tag {
  color: rgba(251, 244, 227, 0.42);
  margin-bottom: 28px;
}

.auth-left-content,
.login-panel > * {
  position: relative;
  z-index: 2;
  text-align: center;
}

.auth-left-logo,
.login-panel h1 {
  margin-bottom: 20px;
  color: var(--golden);
  font-family: 'Cinzel', serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
}

.login-panel h1 {
  max-width: 420px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
}

.auth-left-quote,
.login-panel p {
  max-width: 320px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(251, 244, 227, 0.75);
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.75;
  text-align: center;
}

.auth-left-mandala,
.panel-motif {
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  opacity: 0.06;
}

.auth-left-mandala::before,
.panel-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, var(--cream) 0 1deg, transparent 1deg 15deg),
    repeating-radial-gradient(circle, transparent 0 18px, var(--cream) 19px 20px, transparent 21px 36px);
}

.auth-right,
.login-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--warm-white);
}

.auth-form-wrap,
.login-card {
  width: 100%;
  max-width: 380px;
}

.auth-back,
.page-topline a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  border: 0;
  padding: 0;
  color: var(--text-light);
  background: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.auth-back:hover,
.page-topline a:hover {
  color: var(--saffron);
}

.page-topline {
  display: flex;
  gap: 18px;
}

.auth-title,
.login-card h2 {
  margin-bottom: 6px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.12;
}

.auth-sub,
.login-card .hint,
.msg {
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

.form-group,
.login-field,
.field {
  margin-bottom: 18px;
}

.form-label,
.login-field label,
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-mid);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.login-row,
.login-actions {
  display: flex;
  gap: 12px;
}

.login-row > * {
  flex: 1;
}

.err,
.ok {
  display: none;
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.5;
}

.err { color: #9f2f24; }
.ok { color: #276a45; }

.ob-page,
.begin-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px 64px 64px;
  background: var(--cream);
}

.ob-bg,
.begin-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.04;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, #c4581a 0 1deg, transparent 1deg 15deg),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 18px, #c4581a 19px 20px, transparent 21px 36px);
}

.ob-wrap,
.begin-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.ob-brand,
.begin-brand {
  margin-bottom: 44px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 20px;
}

.ob-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 52px;
}

.ob-dot {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(196, 88, 26, 0.15);
}

.ob-dot.done {
  background: var(--saffron);
}

.ob-step,
.step-card {
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
  animation: stepIn 0.4s ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.ob-question,
.step-card h2 {
  margin-bottom: 8px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 300;
  line-height: 1.3;
}

.ob-hint,
.step-card .section-copy {
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

.step-num {
  margin-bottom: 14px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.span-2 {
  grid-column: 1 / -1;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.chip-row,
.ob-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  padding: 9px 13px;
  font-size: 10px;
}

.selectable-chips .chip {
  cursor: pointer;
}

.chip.selected {
  border-color: var(--deep-brown);
  color: #fff;
  background: var(--deep-brown);
}

.family-members {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.family-card {
  border: 1px solid var(--border);
  padding: 18px;
  background: rgba(255, 253, 246, 0.68);
}

.check-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  color: var(--text-mid);
  font-size: 13px;
}

.check-row input {
  width: auto;
  accent-color: var(--deep-brown);
}

/* Chat */
.chat-page,
.app-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  height: 100vh;
  overflow: hidden;
}

.chat-sidebar,
.app-sidebar {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 28px 20px;
  background: var(--text);
}

.chat-sb-logo {
  color: var(--golden);
  font-family: 'Cinzel', serif;
  font-size: 20px;
}

.chat-sb-tag,
.side-head {
  margin-top: 3px;
  margin-bottom: 28px;
  color: rgba(251, 244, 227, 0.3);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.chat-sidebar .brand-logo,
.app-sidebar .brand-logo {
  width: 150px;
  max-width: 100%;
  margin-bottom: 8px;
  filter: brightness(1.35) saturate(0.8);
  mix-blend-mode: screen;
}

.chat-new-btn,
.app-sidebar .btn.primary {
  width: 100%;
  border: 1px solid rgba(201, 150, 42, 0.3);
  border-radius: 2px;
  padding: 11px;
  color: var(--golden);
  background: rgba(201, 150, 42, 0.08);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.chat-new-btn:hover,
.app-sidebar .btn.primary:hover {
  background: rgba(201, 150, 42, 0.15);
}

.side-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.side-actions.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.side-actions .btn,
.side-actions .btn-ghost {
  border-color: rgba(251, 244, 227, 0.12);
  color: rgba(251, 244, 227, 0.54);
  box-shadow: none;
}

.side-actions .btn-ghost {
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 10px;
}

.profile-mini {
  margin-top: 14px;
  border-top: 1px solid rgba(251, 244, 227, 0.08);
  padding-top: 12px;
}

.profile-mini-name {
  overflow: hidden;
  color: rgba(251, 244, 227, 0.72);
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-mini-meta {
  margin-bottom: 3px;
  color: rgba(251, 244, 227, 0.28);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chat-hist-label,
.side-head {
  margin-top: 28px;
  margin-bottom: 12px;
  color: rgba(251, 244, 227, 0.28);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.chat-hist-list,
.chatlist {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.chat-hist-item,
.chatitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 3px;
  padding: 11px 12px;
  color: rgba(251, 244, 227, 0.55);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-hist-item:hover,
.chatitem:hover,
.chatitem.active {
  color: var(--cream);
  background: rgba(251, 244, 227, 0.06);
}

.chatitem-main {
  min-width: 0;
  flex: 1;
}

.chatitem .title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-chat {
  flex-shrink: 0;
  border: 0;
  padding: 2px 0;
  color: rgba(251, 244, 227, 0.28);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-chat:hover {
  color: var(--golden);
}

.chatmeta {
  margin-top: 4px;
  color: rgba(251, 244, 227, 0.28);
  font-size: 10px;
}

.chat-sb-footer,
.side-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(251, 244, 227, 0.08);
  padding-top: 18px;
}

.side-note {
  color: rgba(251, 244, 227, 0.4);
  font-size: 11px;
  line-height: 1.6;
}

.chat-main,
.app-main {
  display: flex;
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
}

.chat-header,
.app-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 18px 32px;
  background: var(--warm-white);
}

.chat-header-left,
.app-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--saffron);
  background: rgba(224, 123, 42, 0.08);
  font-family: 'Cinzel', serif;
}

.chat-header-title,
.app-title h1 {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
}

.chat-header-sub,
.app-title p,
.trust-pill {
  color: var(--text-light);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--saffron);
}

.chat-messages,
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 36px 32px;
  background:
    radial-gradient(ellipse 50% 45% at 80% 20%, rgba(224, 123, 42, 0.06), transparent 60%),
    var(--cream);
}

.chat-welcome,
.empty-state {
  max-width: 680px;
  margin: 7vh auto 0;
  text-align: center;
}

.chat-loading {
  max-width: 420px;
  margin: 16vh auto 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.chat-loading-mark {
  margin-bottom: 8px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 24px;
}

.chat-welcome-mark {
  margin-bottom: 18px;
  color: var(--saffron);
  font-family: 'Cinzel', serif;
  font-size: 38px;
}

.chat-welcome-title,
.empty-state h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 300;
}

.chat-welcome-sub,
.empty-state p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.8;
}

.chips,
.starter-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.starter,
.chips .chip {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 11px 14px;
  color: var(--text-mid);
  background: rgba(255, 253, 246, 0.55);
  font-size: 12px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  transition: all 0.2s;
}

.starter:hover,
.chips .chip:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.starter b {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
}

.starter span {
  color: var(--text-light);
  font-size: 12px;
}

.message,
.bubble {
  display: flex;
  width: fit-content;
  max-width: 76%;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.message.user,
.bubble.user {
  max-width: 66%;
  margin-left: auto;
  flex-direction: row-reverse;
}

.msg-av {
  display: flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 13px;
}

.msg-av.ai {
  color: var(--saffron);
  background: rgba(224, 123, 42, 0.1);
}

.msg-av.me {
  color: var(--cream);
  background: var(--mid-brown);
}

.msg-bubble,
.bubble:not(.message) .text {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 16px;
  color: var(--text-mid);
  background: var(--warm-white);
  font-size: 14px;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 24px rgba(74, 32, 8, 0.045);
}

.user .msg-bubble,
.bubble.user:not(.message) .text {
  border-color: rgba(224, 123, 42, 0.2);
  color: var(--deep-brown);
  background: rgba(224, 123, 42, 0.12);
  box-shadow: none;
}

.role {
  display: none;
}

.plain-content {
  white-space: pre-wrap;
}

.answer-content {
  display: grid;
  gap: 10px;
}

.answer-heading,
.answer-subheading {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.25;
}

.answer-heading {
  margin-top: 2px;
  font-size: 23px;
}

.answer-subheading {
  font-size: 19px;
}

.answer-paragraph {
  color: var(--text-mid);
  line-height: 1.72;
}

.answer-list {
  display: grid;
  gap: 7px;
  margin-left: 18px;
  color: var(--text-mid);
  line-height: 1.65;
}

.answer-divider {
  height: 1px;
  border: 0;
  background: var(--border);
}

.answer-strong {
  color: var(--deep-brown);
  font-weight: 600;
}

.typing-indicator {
  color: var(--text-light);
  font-style: italic;
}

.source-refs,
.review-request {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.source-refs-title {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.source-ref-item {
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.5;
}

.review-request {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.5;
}

.review-request-btn {
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 7px 10px;
  color: var(--deep-brown);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-request-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.review-request-btn:disabled {
  cursor: default;
  opacity: 0.6;
}

.chat-input-area,
.app-composer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  background: var(--warm-white);
}

.chat-input-box,
.composer-inner {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.chat-input,
.app-composer textarea {
  flex: 1;
  max-height: 130px;
  border: 0;
  padding: 4px 0;
  color: var(--text);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  resize: none;
}

.chat-input::placeholder,
.app-composer textarea::placeholder {
  color: var(--text-light);
}

.send-btn,
.app-composer .btn.primary {
  display: flex;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  padding: 0;
  color: #fff;
  background: var(--saffron);
  font-size: 0;
  transition: background 0.2s;
}

.send-btn::before,
.app-composer .btn.primary::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  clip-path: polygon(0 44%, 100% 0, 58% 100%, 45% 58%);
}

.send-btn:hover,
.app-composer .btn.primary:hover {
  background: var(--deep-saf);
}

.send-btn:disabled,
.app-composer .btn.primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.chat-disc,
.composer-note,
.error {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
}

.error {
  display: none;
  color: #9f2f24;
}

@media (max-width: 1100px) {
  .teachings-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav,
  .site-nav {
    padding: 14px 22px;
  }

  .brand-logo,
  .nav-logo-img {
    width: 132px;
    max-width: 46vw;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section,
  .gallery-sec,
  .ob-page,
  .begin-shell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-mandala {
    right: -240px;
    width: 520px;
    height: 520px;
  }

  .about-grid,
  .story-grid,
  .two-column,
  .contact-grid,
  .auth-page,
  .login-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .auth-left,
  .login-panel {
    min-height: 42vh;
  }

  .events-grid,
  .gallery-grid,
  .about-stats,
  .info-strip {
    grid-template-columns: 1fr 1fr;
  }

  .chat-page,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .chat-sidebar,
  .app-sidebar {
    max-height: 36vh;
  }

  .chat-main,
  .app-main {
    height: 64vh;
  }
}

@media (max-width: 620px) {
  .hero-name {
    font-size: 76px;
  }

  .hero-actions,
  .actions,
  .newsletter-form,
  .login-row,
  .login-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-ghost,
  .btn-primary,
  .btn-cta,
  .btn-outline {
    width: 100%;
  }

  .teachings-grid,
  .card-grid,
  .events-grid,
  .gallery-grid,
  .about-stats,
  .info-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .auth-right,
  .login-content,
  .auth-left,
  .login-panel {
    padding: 42px 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 24px;
  }

  .chat-header,
  .app-header,
  .chat-input-area,
  .app-composer,
  .chat-messages,
  .messages {
    padding-right: 18px;
    padding-left: 18px;
  }

  .message,
  .bubble {
    max-width: 94%;
  }

  .message.user,
  .bubble.user {
    max-width: 88%;
  }

  .msg-av {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 12px;
  }
}
