/**
 * VEDA — original Tunai theme for Ayurveda & holistic-healing houses.
 * "Sun-warmed apothecary": turmeric & saffron over warm sand, forest-green
 * herbals, espresso ink. Signature motifs — hand-drawn tulsi / lotus /
 * mortar-and-pestle line art, sun-ray half circles behind section heads,
 * dosha triple-dot bullets, stitched (dashed) borders on every card, soft
 * paper grain. Fraunces display, Nunito body. Scoped under .veda-theme.
 */

.veda-theme {
  --vd-sand: #f8f1e4;
  --vd-sand-deep: #efe3cc;
  --vd-paper: #fdf8ec;
  --vd-ink: #33291c;
  --vd-muted: #7d6f58;
  --vd-ochre: #b0762a;
  --vd-ochre-deep: #8a5a1e;
  --vd-ochre-lift: #d1a15c;
  --vd-ochre-soft: rgba(176, 118, 42, 0.12);
  --vd-ochre-line: rgba(176, 118, 42, 0.32);
  --vd-on-ochre: #fdf6e8;
  --vd-green: #41563b;
  --vd-green-soft: rgba(65, 86, 59, 0.13);
  --vd-green-line: rgba(65, 86, 59, 0.3);
  --vd-line: rgba(65, 46, 18, 0.16);
  --vd-shadow:
    0 1px 2px rgba(63, 46, 22, 0.05),
    0 12px 32px rgba(138, 90, 30, 0.1);
  --fx-accent: var(--vd-ochre);
  --fx-spot: rgba(176, 118, 42, 0.1);
  --vd-display: Fraunces, Lora, Georgia, "Times New Roman", serif;
  --vd-sans: Nunito, ui-sans-serif, system-ui, sans-serif;

  color-scheme: light;
  background: var(--vd-sand);
  color: var(--vd-ink);
  font-family: var(--vd-sans);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 118, 42, 0.45) #f8f1e4;
}

.veda-theme *,
.veda-theme *::before,
.veda-theme *::after {
  box-sizing: border-box;
}

.veda-theme img {
  max-width: 100%;
  display: block;
}

.veda-theme :where(a) {
  color: inherit;
  text-decoration: none;
}

.veda-theme ::selection {
  background: var(--vd-ochre);
  color: var(--vd-on-ochre);
}

.veda-theme a:focus-visible,
.veda-theme button:focus-visible {
  outline: 2px solid var(--vd-ochre);
  outline-offset: 3px;
  border-radius: 8px;
}

.vd-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Sun-warmed atmosphere: two saffron light pools, a green shade pocket, and
   the faintest paper grain laid as hairline scan-lines + speckle. */
.veda-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 56% 42% at 84% 4%, rgba(209, 161, 92, 0.14), transparent),
    radial-gradient(ellipse 44% 36% at 6% 90%, rgba(65, 86, 59, 0.08), transparent),
    radial-gradient(ellipse 30% 22% at 44% 48%, rgba(176, 118, 42, 0.05), transparent),
    repeating-linear-gradient(0deg, rgba(63, 46, 22, 0.014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(63, 46, 22, 0.01) 0 1px, transparent 1px 4px);
}

/* Every in-flow child rides above the grain and the fixed deco layer.
   :where() keeps this at single-class specificity, so later rules like
   .vd-nav can still restate their own position/z-index without !important. */
.veda-theme > *:not(:where(.vd-deco)) {
  position: relative;
  z-index: 1;
}

/* ── Dosha triple-dot — vata · pitta · kapha ─────────────────────────────── */
.vd-dosha {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vd-dosha i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vd-ochre);
}

.vd-dosha i:nth-child(2) {
  background: var(--vd-green);
  width: 9px;
  height: 9px;
}

.vd-dosha i:nth-child(3) {
  background: var(--vd-ochre-lift);
}

.vd-dosha--hero {
  margin-top: 40px;
  gap: 10px;
}

.vd-dosha--hero i {
  width: 9px;
  height: 9px;
  box-shadow: 0 2px 8px rgba(176, 118, 42, 0.35);
}

.vd-dosha--hero i:nth-child(2) {
  width: 12px;
  height: 12px;
}

.vd-dosha--member {
  margin-top: 14px;
  justify-content: center;
}

.vd-dosha--member i {
  width: 5px;
  height: 5px;
}

.vd-dosha--member i:nth-child(2) {
  width: 7px;
  height: 7px;
}

/* ── Eyebrow ─────────────────────────────────────────────────────────────── */
.vd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vd-green);
}

.vd-eyebrow::before {
  content: "";
  width: 34px;
  height: 0;
  border-top: 2px dashed var(--vd-ochre-line);
}

/* ── Buttons: turmeric fill with a stitched hem / ghost herbal line ──────── */
.vd-btn {
  position: relative;
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(160deg, var(--vd-ochre-lift), var(--vd-ochre) 55%, var(--vd-ochre-deep));
  color: var(--vd-on-ochre);
  font-family: var(--vd-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 238, 0.35),
    0 10px 26px -12px rgba(138, 90, 30, 0.55);
  transition:
    box-shadow 0.25s,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

/* The stitch: a dashed thread running just inside the button's hem. */
.vd-btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(253, 246, 232, 0.55);
  border-radius: 999px;
  pointer-events: none;
}

.vd-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 238, 0.4),
    0 16px 34px -12px rgba(138, 90, 30, 0.6);
}

.vd-btn:focus-visible {
  outline: 2px solid var(--vd-ochre-deep);
  outline-offset: 3px;
}

.vd-btn--ghost {
  background: transparent;
  color: var(--vd-green);
  box-shadow: inset 0 0 0 1.5px var(--vd-green-line);
}

.vd-btn--ghost::after {
  border-color: var(--vd-green-line);
  opacity: 0.6;
}

.vd-btn--ghost:hover {
  background: var(--vd-green);
  color: var(--vd-sand);
  box-shadow: 0 14px 30px -14px rgba(65, 86, 59, 0.55);
}

.vd-btn--ghost:hover::after {
  border-color: rgba(248, 241, 228, 0.5);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.vd-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 30px;
  background: rgba(253, 248, 236, 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px dashed var(--vd-ochre-line);
  box-shadow: 0 14px 36px -30px rgba(138, 90, 30, 0.5);
}

.vd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: 21px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vd-logo-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The sun token: a turmeric disc ringed by hand-cut conic rays. */
.vd-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 54%, var(--vd-ochre) 0 31%, transparent 33%),
    repeating-conic-gradient(
      from -6deg,
      var(--vd-ochre-line) 0deg 5deg,
      transparent 5deg 20deg
    );
  border: 1px dashed var(--vd-ochre-line);
  box-shadow: inset 0 0 0 4px var(--vd-paper);
}

.vd-nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vd-nav-links a {
  color: var(--vd-muted);
  padding-bottom: 5px;
  border-bottom: 2px dashed transparent;
  transition:
    color 0.25s,
    border-bottom-color 0.25s;
}

.vd-nav-links a:hover,
.vd-nav-links a:focus-visible {
  color: var(--vd-ochre);
  border-bottom-color: var(--vd-ochre-line);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.vd-hero {
  position: relative;
  padding: 100px 0 92px;
  overflow: hidden;
}

.vd-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.vd-hero h1 {
  margin: 0 0 20px;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: calc(clamp(42px, 6vw, 80px) * var(--tx-scale, 1));
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.vd-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--vd-ochre);
}

.vd-hero-motto {
  margin: 0 0 36px;
  color: var(--vd-muted);
  font-size: 17.5px;
  max-width: 46ch;
}

.vd-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Photo in an arched apothecary window: full-round top, stitched double rim,
   the sun-ray fan peeking out behind its shoulder, a tulsi sprig at the foot. */
.vd-hero-art {
  position: relative;
  width: min(100%, 440px);
  margin-left: auto;
}

.vd-hero-rays {
  position: absolute;
  top: -66px;
  left: 50%;
  translate: -50% 0;
  width: 78%;
  color: var(--vd-ochre);
  opacity: 0.5;
}

.vd-hero-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 22px 22px;
  border: 1.5px solid var(--vd-ochre-line);
  padding: 10px;
  background: var(--vd-paper);
  box-shadow: var(--vd-shadow);
}

/* Inner stitch — the dashed thread between rim and photo. */
.vd-hero-arch::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 5;
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: 999px 999px 18px 18px;
  pointer-events: none;
}

.vd-hero-arch .theme-hero,
.vd-hero-arch img {
  border-radius: 999px 999px 14px 14px;
}

.vd-hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vd-hero-sprig {
  position: absolute;
  right: -26px;
  bottom: -20px;
  width: 84px;
  color: var(--vd-green);
  opacity: 0.85;
  filter: drop-shadow(0 8px 16px rgba(65, 86, 59, 0.25));
}

/* ── Saffron ticker ──────────────────────────────────────────────────────── */
.vd-marquee {
  padding: 15px 0;
  background: linear-gradient(180deg, var(--vd-ochre-soft), rgba(176, 118, 42, 0.04));
  border-block: 1px dashed var(--vd-ochre-line);
  font-family: var(--vd-display);
  font-size: 17px;
  color: var(--vd-green);
}

.vd-marquee em {
  font-style: normal;
  padding: 0 18px;
  white-space: nowrap;
}

/* Dosha dots as separators between ticker phrases. */
.vd-marquee em::after {
  content: "\2022 \2022 \2022";
  margin-left: 34px;
  color: var(--vd-ochre);
  font-family: var(--vd-sans);
  font-size: 10px;
  letter-spacing: 5px;
  vertical-align: middle;
  opacity: 0.75;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.vd-section {
  padding: 104px 0;
}

/* Alt band: paper shelf with stitched top & bottom hems. */
.vd-section--alt {
  background: linear-gradient(180deg, var(--vd-paper), var(--vd-sand-deep) 140%);
  border-block: 1px dashed var(--vd-ochre-line);
}

.vd-sec-head {
  position: relative;
  max-width: 620px;
  margin-bottom: 54px;
  padding-top: 18px;
}

/* The sun-ray half circle rising behind every section head. */
.vd-sec-rays {
  position: absolute;
  top: -12px;
  left: -34px;
  width: 130px;
  color: var(--vd-ochre);
  opacity: 0.22;
  pointer-events: none;
}

.vd-sec-head h2 {
  margin: 0;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.vd-sec-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--vd-ochre);
}

.vd-sec-note {
  margin: 14px 0 0;
  color: var(--vd-muted);
  font-size: 15px;
  max-width: 52ch;
}

/* ── Services: stitched remedy cards ─────────────────────────────────────── */
.vd-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.vd-svc {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 26px 24px;
  background: var(--vd-paper);
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(63, 46, 22, 0.04);
  transition:
    translate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

/* A faint herbal wash pools in the card's far corner. */
.vd-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 70% at 96% 0%, var(--vd-green-soft), transparent 68%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.vd-svc:hover,
.vd-svc:focus-visible {
  translate: 0 -4px;
  border-color: var(--vd-ochre);
  background: #fffbf1;
  box-shadow: var(--vd-shadow);
}

.vd-svc:hover::before,
.vd-svc:focus-visible::before {
  opacity: 1;
}

.vd-dosha--svc {
  flex: 0 0 auto;
  margin-top: 9px;
  flex-direction: column;
  gap: 5px;
}

.vd-dosha--svc i {
  width: 6px;
  height: 6px;
}

.vd-dosha--svc i:nth-child(2) {
  width: 8px;
  height: 8px;
}

.vd-svc-main {
  min-width: 0;
}

.vd-svc-name {
  display: block;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.vd-svc-meta {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vd-muted);
}

.vd-svc-tail {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.vd-svc-price {
  display: block;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--vd-green);
}

.vd-svc-book {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vd-ochre);
  opacity: 0;
  translate: -6px 0;
  transition:
    opacity 0.25s,
    translate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vd-svc:hover .vd-svc-book,
.vd-svc:focus-visible .vd-svc-book {
  opacity: 1;
  translate: 0 0;
}

/* ── Gallery: arched apothecary windows, stitched mats ───────────────────── */
.vd-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.vd-photo {
  position: relative;
  flex: 1 1 230px;
  max-width: 262px;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  padding: 9px;
  background: var(--vd-paper);
  border: 1.5px solid var(--vd-ochre-line);
  border-radius: 999px 999px 16px 16px;
  box-shadow: 0 14px 30px -20px rgba(138, 90, 30, 0.45);
  transition:
    translate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}

/* Every other window flips its arch to the bottom — a woven rhythm. */
.vd-photo:nth-child(even) {
  border-radius: 16px 16px 999px 999px;
  margin-top: 30px;
}

/* Inner stitch on the mat. */
.vd-photo::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 4;
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: inherit;
  pointer-events: none;
}

.vd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 10px 10px;
}

.vd-photo:nth-child(even) img {
  border-radius: 10px 10px 999px 999px;
}

.vd-photo:hover {
  translate: 0 -6px;
  border-color: var(--vd-ochre);
  box-shadow: var(--vd-shadow);
}

/* ── Team: healers under arched portraits ────────────────────────────────── */
.vd-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.vd-member {
  position: relative;
  flex: 1 1 230px;
  max-width: 258px;
  padding: 30px 24px 26px;
  text-align: center;
  background: var(--vd-paper);
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: 18px;
  transition:
    translate 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s,
    box-shadow 0.28s;
}

.vd-member:hover {
  translate: 0 -5px;
  border-color: var(--vd-green-line);
  box-shadow: var(--vd-shadow);
}

.vd-member-arch {
  position: relative;
  display: block;
  width: 116px;
  height: 138px;
  margin: 0 auto 18px;
  padding: 6px;
  border: 1.5px solid var(--vd-ochre-line);
  border-radius: 999px 999px 12px 12px;
  background: var(--vd-sand);
  transition: border-color 0.28s;
}

.vd-member-arch::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px dashed var(--vd-ochre-line);
  border-radius: 999px 999px 10px 10px;
  pointer-events: none;
}

.vd-member-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 8px 8px;
}

.vd-member:hover .vd-member-arch {
  border-color: var(--vd-ochre);
}

.vd-member h3 {
  margin: 0 0 4px;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.vd-member p {
  margin: 0;
  color: var(--vd-muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Classes: the day's remedies, listed on ruled paper ──────────────────── */
.vd-classes {
  max-width: 840px;
  margin: 0 auto;
}

.vd-class {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 10px;
  border-bottom: 1.5px dashed var(--vd-ochre-line);
  border-radius: 12px;
  transition:
    background 0.25s,
    padding 0.25s;
}

/* A turmeric thread draws down the row's edge on hover. */
.vd-class::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--vd-ochre), var(--vd-ochre-lift));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vd-class:hover,
.vd-class:focus-visible {
  background: linear-gradient(90deg, var(--vd-ochre-soft), transparent 70%);
  padding-left: 20px;
}

.vd-class:hover::before,
.vd-class:focus-visible::before {
  transform: scaleY(1);
}

.vd-class-main {
  min-width: 0;
}

.vd-class b {
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.vd-class-when {
  display: block;
  margin-top: 3px;
  color: var(--vd-muted);
  font-size: 13.5px;
}

.vd-class-seats {
  padding: 6px 16px;
  border: 1.5px dashed var(--vd-green-line);
  border-radius: 999px;
  color: var(--vd-green);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vd-class-seats.is-full {
  border-color: var(--vd-line);
  color: var(--vd-muted);
}

/* ── Visit: the dispensary counter ───────────────────────────────────────── */
.vd-visit {
  padding: 104px 0;
}

.vd-visit-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
  padding: 56px 52px;
  background: var(--vd-paper);
  border: 1.5px solid var(--vd-ochre-line);
  border-radius: 26px;
  box-shadow: var(--vd-shadow);
  overflow: hidden;
}

/* Inner stitched hem + a sunrise glow in the panel's top corner. */
.vd-visit-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: 19px;
  pointer-events: none;
}

.vd-visit-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 70% at 92% 0%, rgba(209, 161, 92, 0.2), transparent 70%),
    radial-gradient(40% 56% at 4% 100%, var(--vd-green-soft), transparent 70%);
  pointer-events: none;
}

.vd-visit-info {
  position: relative;
  z-index: 1;
}

.vd-visit-panel h2 {
  margin: 0 0 18px;
  font-family: var(--vd-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.vd-visit-panel h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--vd-ochre);
}

.vd-visit-panel p {
  margin: 0 0 8px;
  color: var(--vd-muted);
}

.vd-visit-info a:not(.vd-btn) {
  color: var(--vd-ink);
  border-bottom: 2px dashed var(--vd-ochre-line);
  transition:
    color 0.25s,
    border-bottom-color 0.25s;
}

.vd-visit-info a:not(.vd-btn):hover {
  color: var(--vd-ochre);
  border-bottom-color: var(--vd-ochre);
}

.vd-outlets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14px;
}

.vd-outlets li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.vd-outlets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vd-ochre-lift);
}

.veda-theme .vd-outlets a {
  color: var(--vd-muted);
  border-bottom: 0;
}

.veda-theme .vd-outlets a:hover {
  color: var(--vd-green);
}

.vd-visit-cta {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.vd-visit-mortar {
  width: 110px;
  color: var(--vd-green);
  opacity: 0.8;
}

/* ── View-all control (ThemeGallery / ThemeTeam) — a stitched pill ───────── */
.veda-theme .theme-view-more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 44px auto 0;
  padding: 13px 30px;
  background: transparent;
  border: 1.5px dashed var(--vd-ochre-line);
  border-radius: 999px;
  color: var(--vd-green);
  font-family: var(--vd-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.veda-theme .theme-view-more:hover {
  color: var(--vd-ochre);
  border-color: var(--vd-ochre);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(138, 90, 30, 0.5);
}

.veda-theme .theme-view-more-icon {
  display: inline-flex;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.vd-footer {
  border-top: 1px dashed var(--vd-ochre-line);
  padding: 30px 0 42px;
  color: var(--vd-muted);
  font-size: 13.5px;
}

.vd-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vd-footer-social {
  display: flex;
  gap: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
}

.vd-footer a:hover {
  color: var(--vd-ochre);
}

/* ── Motion ──────────────────────────────────────────────────────────────── */
.tfx .veda-theme [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  filter: blur(3px);
  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
}

.tfx .veda-theme [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

.veda-theme .vd-hero-copy > * {
  animation: vd-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.veda-theme .vd-hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.veda-theme .vd-hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.veda-theme .vd-hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

.veda-theme .vd-hero-copy > *:nth-child(5) {
  animation-delay: 0.32s;
}

.veda-theme .vd-hero-art {
  animation: vd-arch-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@keyframes vd-rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}

@keyframes vd-arch-in {
  from {
    opacity: 0;
    scale: 0.94;
    translate: 0 18px;
  }
}

/* ── Detail polish ───────────────────────────────────────────────────────── */
.vd-hero h1,
.vd-sec-head h2,
.vd-visit-panel h2 {
  text-wrap: balance;
}

/* Specificity guard: `.veda-theme a` inherits ink; re-state button colours. */
.veda-theme .vd-btn {
  color: var(--vd-on-ochre);
}

.veda-theme .vd-btn--ghost {
  color: var(--vd-green);
}

.veda-theme .vd-btn--ghost:hover {
  color: var(--vd-sand);
}

/* ── Ambient deco: pollen, sprigs, lotus buds, sun fans, apothecary corners ─
   A fixed full-viewport layer sitting under every lifted child (the child-lift
   rule above skips .vd-deco, so it stays at the root's own paint level, above
   the ::before grain, below all content). Base offsets use `transform`;
   keyframes animate the independent `translate`/`rotate` so the two compose. */
.vd-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Turmeric pollen drifting up through the sunlight. */
.vd-pollen {
  position: absolute;
  bottom: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(176, 118, 42, 0.55);
  box-shadow: 0 0 8px 2px rgba(209, 161, 92, 0.3);
  opacity: 0;
  animation: vd-pollen-rise linear infinite;
}

.vd-pollen--1 {
  left: 6%;
  animation-duration: 21s;
}

.vd-pollen--2 {
  left: 14%;
  width: 3.5px;
  height: 3.5px;
  animation-duration: 27s;
  animation-delay: -9s;
}

.vd-pollen--3 {
  left: 24%;
  animation-duration: 23s;
  animation-delay: -14s;
  background: rgba(65, 86, 59, 0.4);
  box-shadow: 0 0 8px 2px rgba(65, 86, 59, 0.2);
}

.vd-pollen--4 {
  left: 33%;
  width: 3px;
  height: 3px;
  animation-duration: 29s;
  animation-delay: -5s;
}

.vd-pollen--5 {
  left: 42%;
  animation-duration: 24s;
  animation-delay: -18s;
}

.vd-pollen--6 {
  left: 51%;
  width: 3.5px;
  height: 3.5px;
  animation-duration: 31s;
  animation-delay: -11s;
  background: rgba(65, 86, 59, 0.4);
  box-shadow: 0 0 8px 2px rgba(65, 86, 59, 0.2);
}

.vd-pollen--7 {
  left: 59%;
  animation-duration: 22s;
  animation-delay: -7s;
}

.vd-pollen--8 {
  left: 67%;
  width: 3px;
  height: 3px;
  animation-duration: 28s;
  animation-delay: -16s;
}

.vd-pollen--9 {
  left: 75%;
  animation-duration: 25s;
  animation-delay: -3s;
}

.vd-pollen--10 {
  left: 83%;
  width: 3.5px;
  height: 3.5px;
  animation-duration: 30s;
  animation-delay: -20s;
  background: rgba(65, 86, 59, 0.4);
  box-shadow: 0 0 8px 2px rgba(65, 86, 59, 0.2);
}

.vd-pollen--11 {
  left: 90%;
  animation-duration: 23.5s;
  animation-delay: -13s;
}

.vd-pollen--12 {
  left: 96%;
  width: 3px;
  height: 3px;
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes vd-pollen-rise {
  0% {
    translate: 0 0;
    opacity: 0;
  }

  12% {
    opacity: 0.8;
  }

  50% {
    translate: 16px -52vh;
    opacity: 0.4;
  }

  85% {
    opacity: 0.65;
  }

  100% {
    translate: -12px -108vh;
    opacity: 0;
  }
}

/* Faint sun fans resting on the page edges. */
.vd-deco-sun {
  position: absolute;
  color: var(--vd-ochre);
  animation: vd-sun-breathe ease-in-out infinite alternate;
}

.vd-deco-sun--1 {
  top: 16%;
  right: -60px;
  width: 240px;
  opacity: 0.1;
  animation-duration: 12s;
}

.vd-deco-sun--2 {
  bottom: 8%;
  left: -70px;
  width: 200px;
  opacity: 0.08;
  animation-duration: 15s;
  animation-delay: -6s;
  transform: rotate(180deg);
}

@keyframes vd-sun-breathe {
  from {
    scale: 1;
  }

  to {
    scale: 1.06;
  }
}

/* Tulsi sprigs swaying in the margins. */
.vd-deco-sprig {
  position: absolute;
  color: var(--vd-green);
  transform-origin: 50% 100%;
  animation: vd-sway ease-in-out infinite;
}

.vd-deco-sprig--1 {
  top: 34%;
  left: 1.5%;
  width: 62px;
  opacity: 0.22;
  animation-duration: 9s;
}

.vd-deco-sprig--2 {
  top: 60%;
  right: 2%;
  width: 50px;
  opacity: 0.18;
  animation-duration: 11s;
  animation-delay: -4s;
  transform: scaleX(-1);
}

/* Lotus buds standing quietly along the foot of the page. */
.vd-deco-lotus {
  position: absolute;
  color: var(--vd-ochre);
  transform-origin: 50% 100%;
  animation: vd-sway ease-in-out infinite;
}

.vd-deco-lotus--1 {
  bottom: -8px;
  left: 22%;
  width: 44px;
  opacity: 0.2;
  animation-duration: 10s;
  animation-delay: -2s;
}

.vd-deco-lotus--2 {
  bottom: -8px;
  right: 26%;
  width: 36px;
  opacity: 0.16;
  animation-duration: 12s;
  animation-delay: -7s;
}

@keyframes vd-sway {
  0%,
  100% {
    rotate: -2.5deg;
  }

  50% {
    rotate: 2.5deg;
  }
}

/* The apothecary corners: mortar & pestle, and a turmeric root. */
.vd-deco-mortar {
  position: absolute;
  bottom: 20px;
  right: 3%;
  width: 120px;
  color: var(--vd-green);
  opacity: 0.2;
}

.vd-deco-root {
  position: absolute;
  top: 76px;
  left: 2%;
  width: 120px;
  color: var(--vd-ochre);
  opacity: 0.18;
  transform: rotate(-8deg);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vd-hero-grid {
    gap: 44px;
  }

  .vd-nav-links {
    gap: 20px;
  }

  .vd-services {
    gap: 18px;
  }

  .vd-deco-sprig--1,
  .vd-deco-root {
    display: none;
  }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
.vd-mobile-bar {
  display: none;
}

@media (max-width: 880px) {
  .vd-nav-links,
  .vd-nav > .vd-btn {
    display: none;
  }

  .vd-hero {
    padding: 56px 0 64px;
  }

  .vd-hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .vd-hero-art {
    margin: 0 auto;
  }

  .vd-hero-rays {
    top: -48px;
  }

  .vd-dosha--hero {
    margin-top: 30px;
  }

  .vd-section,
  .vd-visit {
    padding: 72px 0;
  }

  .vd-services {
    grid-template-columns: 1fr;
  }

  .vd-photo:nth-child(even) {
    margin-top: 0;
  }

  .vd-photo,
  .vd-member {
    max-width: none;
  }

  .vd-visit-panel {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .vd-visit-cta {
    justify-items: start;
  }

  .vd-visit-mortar {
    display: none;
  }

  .vd-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    justify-content: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(253, 248, 236, 0.94);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-top: 1px dashed var(--vd-ochre-line);
    box-shadow: 0 -14px 34px rgba(138, 90, 30, 0.14);
  }

  .vd-mobile-bar .vd-btn {
    width: 100%;
    text-align: center;
  }

  .vd-footer {
    padding-bottom: 112px;
  }

  .vd-deco-sun--1,
  .vd-deco-mortar {
    display: none;
  }
}

@media (max-width: 560px) {
  .vd-wrap {
    padding: 0 20px;
  }

  .vd-hero h1 {
    font-size: calc(clamp(38px, 11vw, 54px) * var(--tx-scale, 1));
  }

  .vd-hero-arch {
    aspect-ratio: 1 / 1.15;
  }

  .vd-hero-sprig {
    right: -8px;
    width: 64px;
  }

  .vd-sec-rays {
    left: -18px;
    width: 100px;
  }

  .vd-svc {
    padding: 22px 18px;
  }

  .vd-svc-tail {
    margin-left: 34px;
    flex-basis: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
  }

  .vd-svc {
    flex-wrap: wrap;
  }

  .vd-class-seats {
    margin-left: auto;
  }

  .vd-marquee {
    font-size: 15px;
  }

  .vd-deco-sun--2,
  .vd-deco-lotus--2 {
    display: none;
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .veda-theme .vd-hero-copy > *,
  .veda-theme .vd-hero-art {
    animation: none;
  }

  .tfx .veda-theme [data-reveal] {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition: none;
  }

  .vd-deco * {
    animation: none;
  }
}
