@charset "UTF-8";
/* ==========================================================================
   Sri Kousika Nadi Jothidam
   Palette sampled from the practice's own palm-leaf photograph.
   Fonts are self-hosted — no third-party request, nothing to block.
   ========================================================================== */

@font-face {
  font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif Tamil"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/noto-serif-tamil-tamil-400-normal.woff2") format("woff2");
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: "Noto Serif Tamil"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/noto-serif-tamil-tamil-600-normal.woff2") format("woff2");
  unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC;
}

:root {
  /* Ground — the dark, oiled leaf */
  --ink:      #2A0F03;
  --ink-2:    #381605;
  --ink-3:    #48200A;
  --bark:     #4E1102;

  /* Leaf body */
  --sienna:   #A72302;
  --ember:    #CF3B06;

  /* Action + highlight */
  --saffron:  #F57C00;
  --saffron-d:#D96A00;
  --gold:     #E9B44C;

  /* Light bands */
  --paper:    #F7EFE2;
  --paper-2:  #EDDFC9;
  --paper-3:  #DFCBAC;

  /* Text */
  --on-dark:      #F7EFE2;
  --on-dark-soft: #CCAE8D;
  --on-light:     #2E1608;
  --on-light-soft:#6B4526;

  --line-dark:  rgba(233, 180, 76, .18);
  --line-light: rgba(78, 17, 2, .16);

  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tamil: "Noto Serif Tamil", "Latha", serif;

  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 3px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------- reset + base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;   /* clips the off-canvas drawer, which is position:fixed */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, iframe { max-width: 100%; display: block; }
figure { margin: 0; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.ta { font-family: var(--tamil); }

::selection { background: var(--saffron); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: .75rem; top: -100px; z-index: 200;
  background: var(--saffron); color: #fff;
  padding: .7rem 1.1rem; font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus { top: .75rem; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 780px; }

.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band-light { background: var(--paper); color: var(--on-light); }
.band-light p { color: var(--on-light-soft); }
.band-dark  { background: var(--ink); }
.band-dark-2{ background: var(--ink-2); }

/* Inscribed-line texture: the ruled marks a stylus leaves on a leaf. */
.ruled::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 13px,
    var(--line-dark) 13px 14px
  );
  opacity: .5; mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 65%, transparent);
}
.band-light.ruled::before {
  background: repeating-linear-gradient(to bottom, transparent 0 13px, var(--line-light) 13px 14px);
  opacity: .35;
}
.ruled > * { position: relative; }

/* The section marker: a short stylus rule, used instead of an eyebrow label. */
.rule {
  width: 46px; height: 2px; background: var(--saffron);
  border: 0; margin: 0 0 1.6rem;
}
.rule--center { margin-inline: auto; }

.lede { font-size: 1.18rem; color: var(--on-dark-soft); max-width: 60ch; }
.band-light .lede { color: var(--on-light-soft); }

.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .58rem;
  padding: .92rem 1.6rem;
  font: 600 1rem/1 var(--body);
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--go { background: var(--saffron); color: var(--ink); }
.btn--go:hover { background: var(--saffron-d); }

.btn--wa { background: #158443; color: #fff; }
.btn--wa:hover { background: #0E6B35; }

.btn--line { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--line:hover { background: var(--gold); color: var(--ink); }

.band-light .btn--line { border-color: var(--bark); color: var(--bark); }
.band-light .btn--line:hover { background: var(--bark); color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------------------------------------------------------------- header */
.topbar {
  background: var(--bark);
  font-size: .86rem;
  color: var(--on-dark-soft);
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-block: .45rem;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-set { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; }
@media (max-width: 720px) {
  .topbar .wrap { justify-content: center; }
  .topbar-set:first-child { display: none; }   /* repeated in the footer */
}

.site-head {
  position: sticky; top: 0; z-index: 60;
  /* No backdrop-filter here. It makes this element a containing block for any
     position:fixed descendant, which traps the mobile menu inside the header
     instead of letting it fill the screen. The background is 96% opaque, so the
     blur was doing almost nothing anyway. */
  background: rgba(42, 15, 3, .96);
  border-bottom: 1px solid var(--line-dark);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 74px;
}
.brand { flex: none; margin-right: auto; }
.brand img { width: clamp(180px, 26vw, 236px); }

.nav { display: flex; align-items: center; gap: clamp(.7rem, 1.7vw, 1.55rem); }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500;
  color: var(--on-dark); padding: .45rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--saffron); }
.nav > .btn { display: none; }   /* drawer only — see the breakpoint below */

.head-cta { display: flex; gap: .55rem; flex: none; }
.head-cta .btn { padding: .7rem 1.1rem; font-size: .93rem; }

.burger {
  display: none; flex: none;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--radius); color: var(--on-dark); cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px;
  background: currentColor; margin-inline: auto;
  transition: transform .22s var(--ease), opacity .15s var(--ease);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after  { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .head-cta .btn--line { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--ink-2);
    border-left: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 5.5rem 1.6rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s;
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: none; visibility: visible; }
  .nav a {
    font-size: 1.1rem; padding: 1rem 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--saffron); }
  .nav > .btn { display: inline-flex; margin-top: 1.4rem; justify-content: center; }
}

.scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(20, 7, 1, .68);
  opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease), visibility .24s;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6.5rem);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(167, 35, 2, .38), transparent 62%),
    var(--ink);
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  display: grid; gap: clamp(2.2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
}
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

.hero-place {
  font-size: .87rem; letter-spacing: .04em;
  color: var(--gold); margin-bottom: 1.3rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { font-size: clamp(1.06rem, 1.6vw, 1.24rem); margin-bottom: 2rem; }
.hero .btn-row { margin-bottom: 2.4rem; }

/* Leaf panel: a single bound leaf, lit from the edge. */
.leaf-panel {
  border: 1px solid var(--line-dark);
  padding: 12px; background: var(--ink-2);
}
.leaf-panel img { width: 100%; display: block; }
.leaf-panel picture { display: block; border-bottom: 3px solid var(--saffron); }
.leaf-cap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--on-dark-soft);
  padding: .8rem 2px 0;
}

/* --------------------------------------------------------- counters band */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}
.stat { background: var(--ink); padding: 1.9rem 1.4rem; }
.stat b {
  display: block; font-family: var(--body); font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.02em;
  font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1;
  color: var(--gold); margin-bottom: .3rem;
}
.stat span { font-size: .92rem; color: var(--on-dark-soft); }

/* ------------------------------------------------------------- two-up */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.split--portrait { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 820px) { .split--portrait { grid-template-columns: 1fr; } }

.framed { position: relative; }
.framed img { width: 100%; }
.framed::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--saffron); z-index: 0;
}
.framed picture { position: relative; z-index: 1; display: block; }

.quote {
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.4; color: var(--gold);
  border-left: 2px solid var(--saffron);
  padding: .25rem 0 .25rem 1.35rem; margin: 2rem 0 1rem;
  max-width: 40ch;
}
.band-light .quote { color: var(--bark); }
.quote cite { display: block; font: 500 .88rem/1.5 var(--body); color: var(--on-dark-soft); margin-top: .85rem; font-style: normal; }
.band-light .quote cite { color: var(--on-light-soft); }

/* ------------------------------------------------------------- the marks */
.marks { display: grid; gap: 1.6rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 2.6rem; }
.mark h3 { color: var(--gold); margin-bottom: .35rem; }
.band-light .mark h3 { color: var(--bark); }
.mark p { font-size: .95rem; color: var(--on-dark-soft); }
.band-light .mark p { color: var(--on-light-soft); }
.mark { border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.band-light .mark { border-top-color: var(--line-light); }

/* ----------------------------------------------------------- the process */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 2.8rem; }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 1.6rem;
  padding: 1.9rem 0; border-top: 1px solid var(--line-light);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step-n {
  counter-increment: step;
  font: 600 1.55rem/1 var(--body); letter-spacing: .02em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--saffron); padding-top: .35rem;
}
.step-n::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .35rem; font-size: 1.4rem; }
.step p { margin: 0; font-size: 1rem; }
@media (max-width: 560px) {
  .step { grid-template-columns: 54px 1fr; gap: 1rem; }
  .step-n { font-size: 1.25rem; padding-top: .4rem; }
}

/* -------------------------------------------------------------- services */
.services { display: grid; gap: 1.6rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.8rem; }
@media (max-width: 1040px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
}
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-body { padding: 1.5rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.service h3 { margin-bottom: .1rem; }
.service .ta { display: block; font-size: .95rem; color: var(--saffron); margin-bottom: .8rem; }
.service p { font-size: .96rem; color: var(--on-dark-soft); }
.service ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.service li { font-size: .92rem; color: var(--on-dark-soft); padding: .4rem 0 .4rem 1.2rem; position: relative; border-top: 1px solid var(--line-dark); }
.service li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--saffron); }
.service .btn { margin-top: 1.4rem; align-self: flex-start; }

/* ==========================================================================
   The bound leaf stack — the twelve chapters.
   This is the one place the page raises its voice.
   ========================================================================== */
.bundle { position: relative; margin-top: 3rem; }

.leaf {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper) 16%, var(--paper) 84%, var(--paper-3) 100%);
  color: var(--on-light);
  border: 1px solid rgba(78, 17, 2, .22);
  margin-bottom: 7px;
  box-shadow: 0 1px 0 rgba(78, 17, 2, .18);
}
.leaf[open] { background: var(--paper); }

.leaf > summary {
  display: grid; grid-template-columns: 66px 1fr auto; align-items: center;
  gap: .9rem; padding: 1.05rem 1.25rem 1.05rem 0;
  cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(1.08rem, 1.9vw, 1.32rem);
  line-height: 1.25;
}
.leaf > summary::-webkit-details-marker { display: none; }
.leaf > summary:hover { background: rgba(245, 124, 0, .07); }

/* the punched hole and the chapter number sit in the left gutter */
.leaf-no {
  display: grid; place-items: center; gap: 2px;
  align-self: stretch;
  border-right: 1px solid rgba(78, 17, 2, .18);
  font: 500 .82rem/1 var(--body); color: var(--sienna);
  padding: .1rem 0;
}
.leaf-hole {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 1px 2px rgba(0,0,0,.7);
  margin-bottom: 4px;
}
.leaf-no b { font: 600 1.05rem/1 var(--body); color: var(--bark); font-variant-numeric: lining-nums tabular-nums; }

.leaf-open {
  flex: none; width: 26px; height: 26px; position: relative;
  border: 1px solid rgba(78, 17, 2, .3); border-radius: 50%;
}
.leaf-open::before, .leaf-open::after {
  content: ""; position: absolute; inset: 50% 6px auto 6px; height: 1.5px;
  background: var(--bark); transform: translateY(-50%);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.leaf-open::after { transform: translateY(-50%) rotate(90deg); }
.leaf[open] .leaf-open { background: var(--saffron); border-color: var(--saffron); }
.leaf[open] .leaf-open::before, .leaf[open] .leaf-open::after { background: #fff; }
.leaf[open] .leaf-open::after { transform: translateY(-50%) rotate(0); }

.leaf-text {
  padding: .2rem 1.6rem 1.5rem 66px;
  font-size: 1rem; color: var(--on-light-soft);
}
.leaf-text p { max-width: 72ch; }
@media (max-width: 620px) {
  .leaf > summary { grid-template-columns: 42px 1fr auto; gap: .7rem; padding-right: 1rem; }
  .leaf-no b { font-size: 1.1rem; }
  .leaf-hole { width: 10px; height: 10px; }
  .leaf-text { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ---------------------------------------------------------- testimonials */
.voices { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 2.6rem; }
.voice {
  border: 1px solid var(--line-dark); padding: 1.7rem 1.5rem;
  background: var(--ink-2); display: flex; flex-direction: column;
}
.voice blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; color: var(--on-dark); }
.voice footer { margin-top: auto; font-size: .88rem; color: var(--on-dark-soft); }
.voice footer b { display: block; color: var(--gold); font-weight: 600; font-size: .96rem; }

/* ------------------------------------------------------------------- FAQ */
.faq { margin-top: 2.4rem; border-top: 1px solid var(--line-light); }
.band-dark .faq, .band-dark-2 .faq { border-top-color: var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-light); }
.band-dark .faq details, .band-dark-2 .faq details { border-bottom-color: var(--line-dark); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-size: 1.22rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 1.05rem;
  font: 400 1.6rem/1 var(--display); color: var(--saffron);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--saffron); }
.faq-a { padding: 0 2.5rem 1.4rem 0; }
.faq-a p { font-size: 1rem; }

/* -------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.4rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.field .req { color: var(--saffron); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem/1.5 var(--body);
  padding: .82rem .95rem;
  color: var(--on-light); background: #fff;
  border: 1px solid var(--paper-3); border-radius: var(--radius);
}
.band-dark .field input, .band-dark .field textarea, .band-dark .field select,
.band-dark-2 .field input, .band-dark-2 .field textarea, .band-dark-2 .field select {
  background: var(--ink); color: var(--on-dark); border-color: var(--line-dark);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--saffron); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field small { display: block; margin-top: .35rem; font-size: .82rem; color: var(--on-light-soft); }
.hp {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.note {
  padding: 1rem 1.2rem; margin-bottom: 1.6rem;
  border-left: 3px solid var(--saffron); background: rgba(245, 124, 0, .1);
  font-size: .97rem;
}
.note--bad { border-left-color: #C62828; background: rgba(198, 40, 40, .1); }

.info-card { border: 1px solid var(--line-light); padding: 1.7rem 1.5rem; }
.band-dark .info-card, .band-dark-2 .info-card { border-color: var(--line-dark); background: var(--ink-2); }
.info-item { padding: 1.05rem 0; border-top: 1px solid var(--line-light); }
.band-dark .info-item, .band-dark-2 .info-item { border-top-color: var(--line-dark); }
.info-item:first-of-type { border-top: 0; padding-top: 0; }
.info-item h3 { font-family: var(--body); font-size: .82rem; font-weight: 700; letter-spacing: .05em; color: var(--saffron); margin-bottom: .4rem; }
.info-item a { text-decoration: none; }
.info-item a:hover { color: var(--saffron); }
.info-item address { font-style: normal; line-height: 1.7; }

.map { border: 1px solid var(--line-dark); margin-top: 2.5rem; }
.map iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; display: block; filter: saturate(.85); }

/* ------------------------------------------------------------ breadcrumb */
.crumb {
  background: var(--ink-2); border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}
.crumb h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: .7rem; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; font-size: .9rem; color: var(--on-dark-soft); }
.crumb li + li::before { content: "/"; margin-right: .5rem; color: var(--sienna); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--gold); }

/* ------------------------------------------------------------ final CTA */
.closer {
  position: relative; text-align: center;
  padding-block: clamp(3.6rem, 8vw, 6rem);
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
}
.closer h2 { max-width: 18ch; margin-inline: auto; }
.closer .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--bark); padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .95rem; }
.foot-grid { display: grid; gap: 2.4rem; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h3 { font-family: var(--body); font-size: .84rem; font-weight: 700; letter-spacing: .06em; color: var(--gold); margin-bottom: 1rem; }
.site-foot img { width: 210px; margin-bottom: 1.1rem; }
.site-foot p { color: var(--on-dark-soft); font-size: .93rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .6rem; }
.site-foot a { text-decoration: none; color: var(--on-dark-soft); }
.site-foot a:hover { color: var(--gold); }
.site-foot address { font-style: normal; color: var(--on-dark-soft); line-height: 1.7; }
.foot-base {
  margin-top: 3rem; border-top: 1px solid var(--line-dark);
  padding-block: 1.3rem; font-size: .86rem; color: var(--on-dark-soft);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* ------------------------------------------------------- floating action */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #158443; color: #fff; text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .42);
  transition: transform .18s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
/* the floating button would otherwise sit on top of the open drawer */
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------- jadhagam */
.chart-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr);
  aspect-ratio: 1; width: 100%; max-width: 460px;
  border: 2px solid var(--saffron); background: var(--ink-2);
}
.cell {
  border: 1px solid var(--line-dark);
  padding: clamp(.2rem, .9vw, .42rem);
  font-size: clamp(.56rem, 1.85vw, .72rem);
  line-height: 1.3; min-width: 0; overflow: hidden;
}
.cell b {
  display: block; font-family: var(--body); font-weight: 500;
  font-size: .85em; color: var(--sienna); margin-bottom: .15em;
}
.cell .body { display: block; white-space: nowrap; }
.cell .pl { color: var(--gold); font-weight: 600; }
.cell .dg { opacity: .72; font-size: .9em; font-variant-numeric: lining-nums; }
.cell--mid { border: 0; background: transparent; display: grid; place-items: center; text-align: center; padding: .6rem; }
.cell--mid span { font-family: var(--display); font-size: 1rem; color: var(--gold); line-height: 1.35; }
.cell[data-lagna="1"] { background: rgba(245, 124, 0, .16); }

.readout { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 1.6rem; }
.readout div { background: var(--ink-2); padding: .95rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.readout dt { font-size: .88rem; color: var(--on-dark-soft); margin: 0; }
.readout dd { margin: 0; font-weight: 600; color: var(--gold); }

/* ------------------------------------------------------------ animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Tiles — the nadi lineages and the specialist consultations.
   Header strip over a paper body, so they read as the same family as the
   leaf stack rather than as a separate widget.
   ========================================================================== */
.tiles {
  display: grid; gap: 1.1rem; margin-top: 2.6rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  display: flex; flex-direction: column;
  border: 1px solid rgba(78, 17, 2, .22);
  background: var(--paper);
  color: var(--on-light);
  overflow: hidden;
}
.tile-head {
  background: var(--bark); color: var(--paper);
  padding: .85rem 1.1rem;
  border-left: 4px solid var(--saffron);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem;
}
.tile-head h3 {
  font-family: var(--display); font-size: 1.18rem;
  margin: 0; line-height: 1.2;
}
.tile-head .ta { font-size: .88rem; color: var(--gold); }
.tile-body { padding: 1rem 1.1rem 1.15rem; }
.tile-body p { margin: 0; font-size: .95rem; color: var(--on-light-soft); }

/* --------------------------------------------------- free consultation ---- */
.offer {
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(233,180,76,.10), rgba(233,180,76,.03));
  padding: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  max-width: 680px; margin-inline: auto;
}
.band-light .offer { background: linear-gradient(180deg, rgba(245,124,0,.10), rgba(245,124,0,.03)); border-color: rgba(245,124,0,.45); }
.offer h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .7rem; }
.num { font-family: var(--body); font-weight: 600; letter-spacing: -.02em; }
.offer p { margin-inline: auto; margin-bottom: 1.5rem; font-size: 1.02rem; }
.offer .btn { justify-content: center; }
.offer .fineprint { font-size: .85rem; margin-top: 1.1rem; margin-bottom: 0; opacity: .8; }

/* An odd last tile spans the row rather than leaving a hole. */
@media (min-width: 761px) {
  .tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ==========================================================================
   Lineage frame — all nine siddhars inside one mount.
   Cells with no photograph yet fall back to a nameplate, so the frame is
   never broken-looking while portraits are still being gathered.
   ========================================================================== */
.lineage {
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
  padding: clamp(.9rem, 2.2vw, 1.5rem);
  margin-top: 2.4rem;
}
.band-light .lineage { border-color: rgba(78,17,2,.28); background: rgba(78,17,2,.05); }

.lineage-inner {
  border: 2px solid var(--saffron);
  padding: clamp(.7rem, 1.8vw, 1.2rem);
  display: grid; gap: clamp(.6rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 620px) { .lineage-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.saint { text-align: center; }
.saint-mount {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(233,180,76,.45);
  background: linear-gradient(165deg, var(--ink-3), var(--bark));
  display: grid; place-items: center;
  overflow: hidden;
}
.band-light .saint-mount { background: linear-gradient(165deg, var(--paper-2), var(--paper-3)); }
.saint-mount img { width: 100%; height: 100%; object-fit: cover; }

/* nameplate shown until a photograph is supplied */
.saint-plate {
  display: grid; place-items: center; gap: .35rem;
  padding: .8rem .5rem; width: 100%;
}
.saint-plate .ta {
  font-size: clamp(.82rem, 2.1vw, 1.05rem);
  color: var(--gold); line-height: 1.35;
}
.band-light .saint-plate .ta { color: var(--bark); }
.saint-plate .mark-rule { width: 22px; height: 1px; background: var(--saffron); }

.saint figcaption {
  margin-top: .5rem;
  font-size: clamp(.72rem, 1.8vw, .86rem);
  font-weight: 500; color: var(--on-dark-soft);
  line-height: 1.3;
}
.band-light .saint figcaption { color: var(--on-light-soft); }

/* Compact variant: no photographs uploaded yet. */
.lineage--plates .lineage-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lineage--plates .saint-mount { aspect-ratio: auto; min-height: 0; padding: .9rem .5rem; }
.lineage--plates .saint figcaption { margin-top: .4rem; }
@media (max-width: 620px) { .lineage--plates .lineage-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Each portrait arrives already framed and garlanded, so the cell drops its own
   border and background and simply gives the artwork room. */
.saint-mount--art {
  aspect-ratio: 1 / 1;
  border: 0; background: none;
}
.saint-mount--art img { width: 100%; height: 100%; object-fit: contain; }
.lineage--plates .saint-mount--art { aspect-ratio: 1 / 1; padding: 0; }

.lineage-note {
  margin-top: 1.1rem; font-size: .85rem;
  color: var(--on-dark-soft); text-align: center;
}
.band-light /* Compact variant: no photographs uploaded yet. */
.lineage--plates .lineage-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lineage--plates .saint-mount { aspect-ratio: auto; min-height: 0; padding: .9rem .5rem; }
.lineage--plates .saint figcaption { margin-top: .4rem; }
@media (max-width: 620px) { .lineage--plates .lineage-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Each portrait arrives already framed and garlanded, so the cell drops its own
   border and background and simply gives the artwork room. */
.saint-mount--art {
  aspect-ratio: 1 / 1;
  border: 0; background: none;
}
.saint-mount--art img { width: 100%; height: 100%; object-fit: contain; }
.lineage--plates .saint-mount--art { aspect-ratio: 1 / 1; padding: 0; }

.lineage-note { color: var(--on-light-soft); }

/* ==========================================================================
   Type-ahead place picker.
   ========================================================================== */
.combo { position: relative; }

.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0;
  margin: .25rem 0 0; padding: .25rem;
  list-style: none;
  max-height: 300px; overflow-y: auto;
  background: var(--ink); color: var(--on-dark);
  border: 1px solid var(--saffron);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}
.band-light .combo-list { background: #fff; color: var(--on-light); border-color: var(--saffron); }

.combo-list [role="option"] {
  padding: .6rem .7rem; cursor: pointer; border-radius: 2px;
  display: flex; flex-direction: column; gap: .1rem;
}
.combo-list [role="option"]:hover,
.combo-list [role="option"].is-active { background: rgba(245, 124, 0, .22); }

.combo-name { font-size: .98rem; font-weight: 500; }
.combo-name b { color: var(--gold); font-weight: 700; }
.band-light .combo-name b { color: var(--sienna); }
.combo-sub { font-size: .8rem; color: var(--on-dark-soft); }
.band-light .combo-sub { color: var(--on-light-soft); }

.combo-none { padding: .8rem .7rem; font-size: .9rem; color: var(--on-dark-soft); }
.band-light .combo-none { color: var(--on-light-soft); }

.field small em { font-style: normal; color: var(--gold); }
.band-light .field small em { color: var(--sienna); }

/* ==========================================================================
   Three generations — a descending line with a node per generation.
   ========================================================================== */
.gens { position: relative; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.gens::before {
  content: ""; position: absolute; left: 7px; top: .55rem; bottom: .55rem;
  width: 2px; background: linear-gradient(var(--saffron), rgba(245,124,0,.15));
}
.gen { position: relative; padding: 0 0 1.9rem 2.1rem; }
.gen:last-child { padding-bottom: 0; }
.gen::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--saffron);
}
.band-dark .gen::before, .band-dark-2 .gen::before { background: var(--ink); }
.gen:last-child::before { background: var(--saffron); }

.gen-role {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sienna); margin-bottom: .2rem;
}
.band-dark .gen-role, .band-dark-2 .gen-role { color: var(--gold); }
.gen-name {
  font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.2; margin: 0 0 .15rem;
}
.gen-name .ta { display: block; font-size: .9rem; color: var(--sienna); margin-top: .2rem; }
.band-dark .gen-name .ta, .band-dark-2 .gen-name .ta { color: var(--saffron); }
.gen p { margin: .55rem 0 0; font-size: .97rem; }
