/* samith.fun site styles */
:root {
  /* ASTRA brand kit: ink navy, paper cream, saffron, gold, wine, teal and sunny yellow on warm white */
  --ink: #1c060a;
  --deep: #3d0c14;
  --deep-2: #5a1220;
  --emerald: #a3242f;   /* clay, for accent text (variable name kept from the first palette) */
  --accent: #a8721b;
  --accent-2: #c6a45b;
  --gold: #e2a93b;
  --mint: #f3e2d2;      /* sandal, for small labels on dark */
  --cream: #fbf4e8;
  --tint: #f8ecdf;
  --text: #2a1416;
  --muted: #6e5658;
  --line: #ead8ca;
  --white: #fff;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 60px -24px rgba(61, 12, 20, .38);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); color: var(--deep); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }

/* Progress bar */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--mint)); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 22px 0 10px;
}
.header-inner {
  width: min(1180px, 100% - 48px); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: gap .35s var(--ease);
}
.wordmark {
  font-family: var(--head); font-weight: 800; font-size: 1.5rem; letter-spacing: .26em;
  text-transform: uppercase; text-decoration: none; color: var(--white); white-space: nowrap;
}
.wordmark span { color: var(--accent-2); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .86); padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.nav-cta { padding: 9px 20px; border-radius: 999px; background: var(--gold); color: var(--deep); }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--accent-2); color: var(--deep); }
.nav-toggle { display: none; }

.site-header.is-stuck { background: rgba(40, 8, 13, .94); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); padding: 12px 0; }
.site-header.is-stuck .header-inner { flex-direction: row; justify-content: space-between; gap: 24px; }
.site-header.is-stuck .wordmark { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow, .link .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(5px); }
.btn-primary { background: linear-gradient(135deg, #e8c876, #cc9c3c); color: var(--deep); box-shadow: 0 14px 30px -12px rgba(212, 169, 78, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(212, 169, 78, .75); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* Hero */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: radial-gradient(ellipse 70% 80% at 24% 48%, #8f2030 0%, #5a1220 38%, #33090f 72%, var(--ink) 100%);
  min-height: min(920px, 100svh);
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -80px; background: #1f6b66; animation: drift 16s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; right: 22%; bottom: 6%; background: #c79a3c; opacity: .2; animation: drift 21s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 260px; height: 260px; left: 44%; top: 16%; background: #e2a93b; opacity: .3; animation: drift 19s ease-in-out infinite alternate; }
@keyframes drift { from { translate: 0 0; } to { translate: 40px -30px; } }
.ghost {
  position: absolute; left: 40%; top: 46%; translate: 0 -50%;
  font-family: var(--head); font-weight: 900; font-size: clamp(6rem, 13vw, 12rem); letter-spacing: .02em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07); white-space: nowrap; user-select: none;
}
.ghost span { display: inline-block; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ghost span.is-out { opacity: 0; transform: translateY(18px); }

.hero-inner {
  position: relative; width: min(1240px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 12px;
  min-height: calc(min(920px, 100svh) - 150px);
}
.hero-portrait { align-self: end; position: relative; }
.hero-portrait img {
  width: 100%; max-width: 560px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 20%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%);
  mask-composite: intersect;
  animation: portrait-in 1.3s var(--ease) both;
  will-change: transform;
}
@keyframes portrait-in { from { opacity: 0; transform: translateY(30px) scale(1.03); } to { opacity: 1; transform: none; } }

.hero-copy { align-self: center; padding: 0 0 190px 12px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 22px; }
.eyebrow i { font-style: normal; color: rgba(255, 255, 255, .4); margin: 0 4px; }
.hero-title { font-weight: 500; }
.hero-lead { display: block; font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.2; color: rgba(255, 255, 255, .92); letter-spacing: .01em; }
.rotator { display: grid; margin-top: 12px; font-weight: 900; font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; overflow: hidden; padding-bottom: .1em; }
.rotator .word { grid-area: 1 / 1; opacity: 0; transform: translateY(105%); transition: transform .8s var(--ease), opacity .6s var(--ease); }
.rotator .word.is-on { opacity: 1; transform: none; }
.rotator .word.is-off { opacity: 0; transform: translateY(-105%); }
.rotator em { font-style: normal; color: var(--accent-2); }
.hero-sub { margin: 24px 0 32px; max-width: 34em; font-size: 1.12rem; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-in { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: calc(.25s + var(--d) * .13s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 13vw, 180px); z-index: 2; }
.wave-back { fill: rgba(255, 255, 255, .14); animation: sway 9s ease-in-out infinite alternate; }
.wave-front { fill: var(--white); }
@keyframes sway { from { transform: translateX(-2%); } to { transform: translateX(2%); } }

/* Start card */
.start { position: relative; z-index: 5; margin-top: -120px; padding: 0 24px; }
.start-card {
  width: min(940px, 100%); margin-inline: auto; text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f8ecdf 100%);
  border: 2px solid var(--deep-2); border-radius: 28px; padding: 34px 36px 26px;
  box-shadow: var(--shadow);
}
.start-card h2 { font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep-2); line-height: 1.35; }
.start-card h2 strong { font-weight: 900; color: var(--deep); font-size: 1.15em; }
.start-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin: 22px 0 14px; }
.start-fields input {
  font: inherit; padding: 14px 20px; border-radius: 999px; border: 1.5px solid #e2cbb9; background: var(--white); color: var(--text); min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.start-fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(163, 36, 47, .18); }
.start-fields input.is-bad { border-color: #d43a3a; }
.start-note { margin: 0; font-size: .86rem; color: var(--muted); }

/* Sections */
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.kicker { font-family: var(--head); font-weight: 800; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker.light { color: var(--mint); }
.display { font-weight: 900; font-size: clamp(1.8rem, 4vw, 3.1rem); text-transform: uppercase; letter-spacing: .005em; color: var(--deep); margin-bottom: 22px; text-wrap: balance; }
.display.left { text-align: left; }
.display.light { color: var(--white); }
.hl-accent { color: var(--accent); }
.hl-emerald { color: var(--emerald); }
.hl-light { color: var(--gold); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 46em; margin-inline: auto; }

/* Problem */
.problem { padding-top: clamp(64px, 8vw, 110px); background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--tint), transparent 70%); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.pain {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pain:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.pain-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--tint); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s; }
.pain:hover .pain-icon { background: var(--deep-2); }
.pain-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--emerald); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.pain-icon svg .fill { fill: var(--accent); stroke: none; }
.pain-icon svg .dots { stroke-width: 4; }
.pain:hover .pain-icon svg { stroke: var(--accent-2); }
.pain h3 { font-size: 1.14rem; font-weight: 800; color: var(--deep); margin-bottom: 10px; }
.pain p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Marquee */
.marquee { background: var(--deep); color: var(--white); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-size: .92rem; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marquee b { color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Story */
.story { background: var(--white); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-copy p { color: var(--text); }
.pull {
  margin: 26px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent);
  font-family: var(--head); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--emerald);
}
.proof { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proof li { background: var(--tint); border-radius: 14px; padding: 14px 16px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.proof strong { display: block; font-family: var(--head); font-weight: 800; color: var(--deep); font-size: 1rem; }
.split-media { position: relative; }
.frame { border-radius: 120px 24px 120px 24px; overflow: hidden; border: 3px solid var(--gold); padding: 10px; background: var(--white); box-shadow: var(--shadow); }
.frame img { border-radius: 110px 16px 110px 16px; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 62% 50%; width: 100%; transition: transform 1.2s var(--ease); }
.split-media:hover .frame img { transform: scale(1.04); }
.frame-tag {
  position: absolute; left: -18px; bottom: 34px; background: var(--deep); color: var(--white); border-radius: 16px; padding: 14px 20px;
  font-size: .82rem; line-height: 1.35; max-width: 220px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite;
}
.frame-tag span { display: block; font-family: var(--head); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-size: .74rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Work */
.work { background: var(--cream); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.work-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--deep-2), var(--deep)); color: rgba(255, 255, 255, .82); border-radius: 24px; padding: 38px 32px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 169, 78, .38), transparent 65%); transition: transform .6s var(--ease); pointer-events: none;
}
.work-card:hover { transform: translateY(-10px); box-shadow: 0 34px 60px -28px rgba(28, 6, 10, .8); }
.work-card:hover::before { transform: translate(-30px, -40px) scale(1.2); }
.work-num { font-family: var(--head); font-weight: 900; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); margin-bottom: 20px; }
.work-role { font-family: var(--head); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.work-card h3 { font-size: 1.55rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.work-for { font-weight: 700; color: var(--accent-2); margin-bottom: 14px; }
.work-card p:not(.work-role):not(.work-for) { font-size: 1rem; }
.link { position: relative; margin-top: auto; padding-top: 12px; font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--white); }
.link:hover { color: var(--accent-2); }

/* Plan */
.plan { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 64px 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 30px; left: 16.66%; right: 16.66%; height: 3px; border-radius: 3px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--accent), var(--emerald)); transform: scaleX(var(--p)); transform-origin: 0 50%; }
.step { position: relative; text-align: center; padding: 0 14px; }
.step-dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--line); color: var(--muted);
  font-family: var(--head); font-weight: 900; font-size: 1.3rem; transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease);
}
.step.is-lit .step-dot { background: var(--deep-2); border-color: var(--gold); color: var(--white); transform: scale(1.08); }
.step h3 { font-size: 1.3rem; font-weight: 800; color: var(--deep); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

/* Outcomes */
.outcomes, .contact { background: linear-gradient(180deg, var(--deep) 0%, #24070c 100%); color: rgba(255, 255, 255, .8); overflow: hidden; }
.rays {
  position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; opacity: .5; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .09) 0deg 5deg, transparent 5deg 12deg);
  -webkit-mask-image: radial-gradient(circle, transparent 46%, #000 47%, #000 68%, transparent 69%);
  mask-image: radial-gradient(circle, transparent 46%, #000 47%, #000 68%, transparent 69%);
  animation: spin 80s linear infinite;
}
.rays-left { right: auto; left: -220px; top: auto; bottom: -220px; }
@keyframes spin { to { transform: rotate(360deg); } }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid rgba(255, 255, 255, .14); }
.outcome { padding: 40px 34px 34px; border-right: 1px solid rgba(255, 255, 255, .14); transition: background .4s; }
.outcome:last-child { border-right: 0; }
.outcome:hover { background: rgba(255, 255, 255, .04); }
.outcome-num { display: block; font-family: var(--head); font-weight: 900; font-size: .9rem; letter-spacing: .2em; color: var(--accent-2); margin-bottom: 18px; }
.outcome h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.outcome p { margin: 0; }
.stakes { margin: 44px auto 0; max-width: 40em; text-align: center; font-size: 1.08rem; font-style: italic; color: rgba(255, 255, 255, .7); padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* Awards */
.awards { background: var(--white); }
.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 54px; }
.award { margin: 0; background: var(--cream); border-radius: 22px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.award:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.award-img { display: block; width: 100%; padding: 0; border: 0; background: var(--deep); overflow: hidden; cursor: zoom-in; }
.award-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.award-img:hover img { transform: scale(1.06); opacity: .92; }
.award figcaption { padding: 22px 26px 26px; }
.award h3 { font-size: 1.1rem; font-weight: 800; color: var(--deep); margin-bottom: 6px; }
.award p { margin: 0; color: var(--muted); font-size: .98rem; }
.certs { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 30px; align-items: center; margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.certs-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.certs-copy p:last-child { color: var(--muted); margin: 0; }
.cert { margin: 0; }
.cert .award-img { border-radius: 14px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 34px -22px rgba(61, 12, 20, .5); }
.cert .award-img img { aspect-ratio: 16 / 11; object-fit: contain; background: var(--white); }
.cert figcaption { margin-top: 12px; font-family: var(--head); font-weight: 700; font-size: .84rem; color: var(--deep); text-align: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; position: relative; }
.contact-copy { padding-top: 12px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; }
.contact-list li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-list span { flex: 0 0 96px; font-family: var(--head); font-weight: 800; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); }
.contact-list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.form-card { background: var(--white); color: var(--text); border-radius: 26px; padding: clamp(26px, 3.4vw, 42px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); margin-bottom: 8px; }
.field label small { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: .9em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fbf4e8; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3242f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(163, 36, 47, .18); }
.field .is-bad, .check input.is-bad { border-color: #d43a3a; box-shadow: 0 0 0 4px rgba(212, 58, 58, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); border-radius: 4px; }
.check a { color: var(--emerald); font-weight: 700; }
.captcha { margin-bottom: 20px; min-height: 0; }
.captcha-local { margin: 0; padding: 14px 16px; border: 1.5px dashed #e2cbb9; border-radius: 12px; font-size: .88rem; color: var(--muted); background: #fbf4e8; }
.form-status { margin: 14px 0 0; font-size: .94rem; font-weight: 600; min-height: 1.4em; color: #b3261e; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done svg { width: 76px; height: 76px; margin: 0 auto 20px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-done svg circle { stroke: var(--line); }
.form-done svg path { stroke-dasharray: 46; stroke-dashoffset: 46; animation: tick .6s .2s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.form-done h3 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; color: var(--deep); margin-bottom: 10px; }
.form-done p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 72px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 18px 0 0; max-width: 26em; }
.site-footer .wordmark { font-size: 1.2rem; }
.site-footer h4 { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.footer-grid div > a:not(.wordmark) { display: block; text-decoration: none; padding: 5px 0; transition: color .2s, transform .2s; }
.footer-grid div > a:not(.wordmark):hover { color: var(--white); transform: translateX(4px); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.footer-base p { margin: 0; }
.footer-base a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-base a:hover { color: var(--accent-2); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(28, 6, 10, .94); display: grid; place-items: center; padding: 24px; animation: fade .25s both; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; border-radius: 12px; animation: zoom .35s var(--ease) both; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 1.8rem; line-height: 1; }
.lightbox-close:hover { background: var(--gold); color: var(--deep); }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(.94); } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Legal + simple pages */
.page-simple .site-header { position: sticky; top: 0; background: var(--deep); padding: 14px 0; }
.page-simple .header-inner { flex-direction: row; justify-content: space-between; }
.page-simple .wordmark { font-size: 1.1rem; }
.legal-hero { background: linear-gradient(180deg, var(--deep), var(--deep-2)); color: var(--white); padding: 64px 0 56px; }
.legal-hero h1 { font-weight: 900; font-size: clamp(1.9rem, 4.4vw, 3rem); text-transform: uppercase; }
.legal-hero .back { display: inline-block; margin-bottom: 18px; font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); text-decoration: none; }
.legal-hero .back:hover { color: var(--white); }
.legal { padding: 56px 0 96px; }
.legal .container { width: min(820px, 100% - 48px); }
.legal h2 { font-size: 1.35rem; font-weight: 800; color: var(--deep); margin: 2.2em 0 .7em; }
.legal h3 { font-size: 1.05rem; font-weight: 800; color: var(--emerald); margin: 1.6em 0 .5em; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .35em; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.legal code { font-family: inherit; font-weight: 700; color: var(--emerald); overflow-wrap: anywhere; }
.legal a { color: var(--emerald); font-weight: 700; }
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--tint), transparent 70%); }
.thanks h1 { font-weight: 900; font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.thanks p { color: var(--muted); max-width: 32em; margin: 0 auto 28px; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { gap: 22px; }
  .hero-copy { padding-bottom: 170px; }
  .pain-grid, .work-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-inline: 8px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { max-width: 520px; margin-inline: auto; }
  .certs { grid-template-columns: 1fr 1fr; }
  .certs-copy { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header, .site-header.is-stuck { padding: 14px 0; }
  .header-inner, .site-header.is-stuck .header-inner { flex-direction: row; justify-content: space-between; }
  .wordmark { font-size: 1.05rem; letter-spacing: .2em; }
  .nav-toggle { display: grid; gap: 5px; width: 46px; height: 46px; padding: 12px 10px; background: transparent; border: 0; position: relative; z-index: 3; }
  .nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 26px; background: rgba(40, 8, 13, .98);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1rem; }
  .page-simple .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; flex-direction: row; }
  .page-simple .nav a { font-size: .72rem; }

  .hero { padding-top: 96px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { order: 1; padding: 6px 0 0; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-portrait { order: 2; margin-top: 20px; }
  .hero-portrait img { max-width: 380px; }
  .rotator { justify-items: center; }
  .ghost { display: none; }
  .start { margin-top: -70px; padding: 0 16px; }
  .start-card { padding: 26px 20px 22px; border-radius: 22px; }
  .start-fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin-inline: auto; }
  .steps::before, .steps::after { display: none; }
  .award-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .proof { grid-template-columns: 1fr; }
  .frame-tag { left: 8px; bottom: 18px; }
  .display.left, .contact-copy { text-align: left; }
}

@media (max-width: 560px) {
  .container, .container.narrow, .header-inner, .hero-inner { width: calc(100% - 36px); }
  .eyebrow { font-size: .62rem; letter-spacing: .14em; }
  .btn { padding: 15px 24px; font-size: .76rem; }
  .hero-actions .btn { width: 100%; }
  .certs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .frame { border-radius: 80px 20px 80px 20px; }
  .frame img { border-radius: 70px 12px 70px 12px; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-list span { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

.form-done:focus { outline: none; }

/* ===== Samith additions ===== */
[lang="sa"] { font-family: "Tiro Devanagari Sanskrit", serif; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Hero portrait: photo or fallback glyph */
.hero-portrait img { aspect-ratio: 3 / 4; object-fit: cover; max-width: 480px; }
.portrait-fallback { position: relative; display: grid; place-items: center; width: min(440px, 86%); aspect-ratio: 1; margin: 0 auto 150px; animation: portrait-in 1.3s var(--ease) both; }
.portrait-fallback::before, .portrait-fallback::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(237, 208, 138, .5); }
.portrait-fallback::after { inset: 9%; border-style: dashed; border-color: rgba(239, 231, 216, .45); animation: spin 60s linear infinite; }
.portrait-fallback span { font-size: clamp(9rem, 20vw, 15rem); line-height: 1; color: var(--accent-2); }

/* Swara keyboard in the start card */
.keys { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: 24px 0 18px; }
.key {
  height: 132px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; padding: 0 0 14px;
  border: 1.5px solid #e2cbb9; border-radius: 6px 6px 16px 16px; background: linear-gradient(180deg, #fff 30%, #f3e2d2 100%); color: var(--deep);
  box-shadow: 0 6px 0 #e2cbb9; transition: transform .1s, box-shadow .1s, background .15s, border-color .15s; touch-action: manipulation;
}
.key b { font-size: 1.9rem; line-height: 1.2; }
.key span { font-family: var(--head); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.key:hover { border-color: var(--gold); }
.key.on, .key:active { transform: translateY(5px); box-shadow: 0 1px 0 #e2cbb9; background: linear-gradient(180deg, #e6d3a3, #d4a94e); border-color: var(--accent); }
.key.on span, .key:active span { color: var(--deep); }
.start-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 16px; }
.start-actions .btn { padding: 13px 24px; }
.btn-line { border-color: var(--deep-2); color: var(--deep); background: transparent; }
.btn-line:hover { background: var(--deep-2); color: var(--white); }
.btn-line[aria-pressed="true"] { background: var(--deep-2); color: var(--accent-2); }

/* Background animation: floating swaras and notes */
.floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floaters span {
  position: absolute; left: var(--x); bottom: -12%; font-size: var(--s); line-height: 1; color: var(--accent-2); opacity: 0;
  animation: float-up var(--t) linear infinite; animation-delay: var(--dl); will-change: transform;
}
.floaters span:nth-child(3n) { color: var(--mint); }
@keyframes float-up {
  0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; }
  12% { opacity: var(--o); }
  50% { transform: translate3d(26px, -560px, 0) rotate(calc(var(--r) * .5)); }
  88% { opacity: var(--o); }
  100% { transform: translate3d(-10px, -1120px, 0) rotate(var(--r)); opacity: 0; }
}
.outcomes .container { position: relative; z-index: 1; }
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 0 12px; opacity: .14; pointer-events: none; }
.eq i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold), var(--emerald)); transform-origin: 50% 100%; animation: eq var(--t) ease-in-out infinite alternate; animation-delay: var(--dl); }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* Raga picker */
.ragas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 10px; }
.raga {
  font-family: var(--head); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid #e2cbb9; background: var(--white); color: var(--deep-2);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.raga:hover { border-color: var(--gold); transform: translateY(-2px); }
.raga.is-on { background: var(--deep-2); border-color: var(--gold); color: var(--accent-2); }
.raga-note { margin: 0; min-height: 1.6em; font-size: .95rem; font-weight: 600; color: var(--emerald); }
.ragas ~ .keys { margin-top: 14px; }
.key.is-skip, .key.is-skip:hover { opacity: .3; box-shadow: none; transform: translateY(5px); cursor: not-allowed; border-color: #e2cbb9; }

/* Shloka card */
.shloka-card {
  position: relative; background: linear-gradient(160deg, var(--deep-2), var(--deep)); color: rgba(255, 255, 255, .84);
  border: 3px solid var(--gold); border-radius: 120px 24px 120px 24px; padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px); box-shadow: var(--shadow);
}
.shloka-card .kicker { color: var(--mint); }
.shloka-card .deva { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.9; color: var(--accent-2); margin-bottom: 18px; }
.shloka-card .meaning { margin: 0; font-style: italic; }

/* Four loves */
.work-grid.four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-grid.four .work-card { padding: 34px 26px 30px; }
.work-grid.four .work-card h3 { font-size: 1.35rem; }
.work-card p:last-child { margin-bottom: 0; }

/* Flip cards */
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.flip {
  height: 140px; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); color: var(--deep);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.flip:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flip .f { font-size: 2rem; }
.flip .b { display: none; font-family: var(--head); font-weight: 800; font-size: 1.05rem; line-height: 1.5; }
.flip .b em { display: block; font-family: var(--body); font-style: normal; font-weight: 500; color: var(--mint); }
.flip.open { background: var(--deep-2); color: var(--white); border-color: var(--gold); }
.flip.open .f { display: none; }
.flip.open .b { display: block; }
.flip-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }

/* Photos */
.photo-grid { columns: 3 260px; column-gap: 24px; margin-top: 54px; }
.photo { break-inside: avoid; margin: 0 0 24px; border-radius: 22px; overflow: hidden; background: var(--cream); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.photo:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo .award-img img { aspect-ratio: auto; }
.photo[hidden], .soon[hidden] { display: none; }
.photo-grid:empty { display: none; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-top: 44px; }
.soon { text-align: center; background: var(--cream); border: 2px dashed #e2cbb9; border-radius: 22px; padding: 44px 28px; }
.soon .pain-icon { margin-inline: auto; background: var(--white); }
.soon h3 { font-size: 1.14rem; font-weight: 800; color: var(--deep); margin-bottom: 8px; }
.soon p { margin: 0; color: var(--muted); font-size: .98rem; }

.site-footer .footer-grid { grid-template-columns: 2fr 1fr; }
.site-footer [lang="sa"] { color: var(--accent-2); font-size: 1.3rem; }

@media (max-width: 1020px) {
  .work-grid.four { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 860px) {
  .portrait-fallback { width: min(260px, 70%); margin-bottom: 90px; }
  .hero-portrait img { margin-bottom: 0; }
  .keys { grid-template-columns: repeat(4, 1fr); }
  .key { height: 104px; }
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .shloka-card { border-radius: 80px 20px 80px 20px; }
}
@media (max-width: 560px) {
  .start-actions { gap: 8px; }
  .start-actions .btn { flex: 1 1 30%; padding: 12px 10px; font-size: .68rem; letter-spacing: .06em; }
  .start-actions .btn .arrow { display: none; }
  .raga { padding: 9px 12px; font-size: .64rem; }
  .key { height: 92px; }
  .start-card h2 { font-size: .95rem; }
  .work-grid.four { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* Love cards: icons instead of numbers */
.love-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: rgba(237, 208, 138, .12); border: 2px solid var(--gold); transition: transform .5s var(--ease), background .4s; }
.love-icon span { font-size: 2.4rem; line-height: 1; color: var(--accent-2); }
.love-icon svg { width: 38px; height: 38px; fill: none; stroke: var(--accent-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.love-icon svg .solid { fill: var(--accent-2); stroke: none; }
.work-card.love:hover .love-icon { transform: rotate(-8deg) scale(1.1); background: rgba(237, 208, 138, .22); }
.work-card .love-word { margin-top: auto; padding-top: 18px; font-size: .88rem; color: var(--mint); border-top: 1px solid rgba(255, 255, 255, .14); }
.work-card.love > p:nth-last-child(2) { margin-bottom: 18px; }
.love-word [lang="sa"] { font-size: 1.3rem; color: var(--accent-2); margin-right: 6px; }

/* Practice room */
.lede.light { color: rgba(255, 255, 255, .78); }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 54px; align-items: start; position: relative; }
.panel { text-align: left; }
.panel .kicker { margin-bottom: 8px; }
.panel-title { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--deep); margin-bottom: 14px; }
.panel-now { margin: 0 0 6px; font-weight: 600; color: var(--emerald); min-height: 1.6em; }
.panel-now strong { color: var(--deep); }
.panel-label { display: block; margin: 20px 0 10px; font-family: var(--head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.panel-label strong { color: var(--accent); font-size: 1.15em; }
.panel-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.panel .btn-block { margin-top: 24px; }
.panel .btn[aria-pressed="true"] { background: var(--deep-2); color: var(--accent-2); box-shadow: none; }
.shruti-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.shruti {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 2px 8px; border-radius: 14px; border: 1.5px solid #e2cbb9; background: var(--white); color: var(--deep);
  font-family: var(--head); font-weight: 900; font-size: 1.05rem; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.shruti small { font-family: var(--body); font-weight: 600; font-size: .7rem; color: var(--muted); }
.shruti:hover { border-color: var(--gold); transform: translateY(-2px); }
.shruti.is-on { background: var(--deep-2); border-color: var(--gold); color: var(--accent-2); }
.shruti.is-on small { color: var(--mint); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.slider { width: 100%; accent-color: var(--emerald); height: 28px; }
.tala-now { display: flex; align-items: center; gap: 16px; margin: 16px 0; padding: 16px 20px; border-radius: 18px; background: var(--tint); }
.tala-ico { font-size: 2.6rem; line-height: 1; display: inline-block; }
.tala-ico.pop { animation: pop .22s var(--ease); }
@keyframes pop { 0% { transform: scale(1.45); } 100% { transform: scale(1); } }
.tala-act { font-family: var(--head); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; color: var(--deep); }
.beats { display: flex; flex-wrap: wrap; gap: 8px; }
.beat {
  flex: 1 1 0; min-width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 2px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white);
  transition: background .12s, border-color .12s, transform .12s;
}
.beat.g-start:not(:first-child) { margin-left: 10px; }
.beat b { font-size: 1.35rem; line-height: 1.2; font-weight: 400; }
.beat small { font-family: var(--head); font-weight: 800; font-size: .7rem; color: var(--muted); }
.beat.is-now { background: linear-gradient(180deg, #e6d3a3, #d4a94e); border-color: var(--accent); transform: translateY(-4px); }
.beat.is-now small { color: var(--deep); }
@media (max-width: 1020px) { .room-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
@media (max-width: 560px) {
  .shruti-grid { grid-template-columns: repeat(4, 1fr); }
  .beat { min-width: 34px; }
  .beat.g-start:not(:first-child) { margin-left: 4px; }
  .beats { gap: 5px; }
}

/* Dropdowns for raga and tala */
.pick { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 10px; }
.pick.left { justify-content: flex-start; margin-top: 0; }
.pick label { font-family: var(--head); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.select {
  flex: 0 1 320px; min-width: 0; font: inherit; font-weight: 700; color: var(--deep); background-color: var(--white); border: 1.5px solid #e2cbb9; border-radius: 999px; padding: 12px 44px 12px 20px;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3242f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.pick.left .select { flex: 1 1 auto; }
.select:hover { border-color: var(--gold); }
.select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(163, 36, 47, .18); }
.pick ~ .keys { margin-top: 14px; }
.room { margin-top: clamp(56px, 7vw, 90px); }
.beats.many .beat { flex: 0 0 calc((100% - 48px) / 7); }
.beats.many .beat.g-start:not(:first-child) { margin-left: 0; border-left: 4px solid var(--gold); }
@media (max-width: 560px) {
  .pick { flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
  .pick.left { text-align: left; }
  .select { flex: none; width: 100%; }
  .beats.many .beat { flex: 0 0 calc((100% - 20px) / 5); }
}

/* ===== Themed backgrounds: strings, instruments, lotus, Samskritam ===== */
.strings { position: absolute; left: 0; right: 0; top: 30%; width: 100%; height: 38%; pointer-events: none; opacity: .22; }
.strings path { fill: none; stroke: var(--accent-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.strings path:nth-child(2n) { stroke: var(--mint); }
.hero-tanpura { position: absolute; right: -4%; top: 6%; width: min(46vw, 620px); height: auto; fill: none; stroke: rgba(237, 208, 138, .13); stroke-width: .7; stroke-linecap: round; pointer-events: none; animation: sway-slow 12s ease-in-out infinite alternate; transform-origin: 30% 70%; }
@keyframes sway-slow { from { rotate: -3deg; } to { rotate: 3deg; } }
.floaters .ico svg { width: calc(var(--s) * 1.7); height: calc(var(--s) * 1.7); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* lotus mandala instead of plain rays */
.rays {
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23edd08a' stroke-width='1'><path transform='rotate(0 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(30 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(60 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(90 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(120 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(150 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(180 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(210 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(240 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(270 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(300 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(330 100 100)' d='M100 100C82 66 82 34 100 8c18 26 18 58 0 92z'/><path transform='rotate(15 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(45 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(75 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(105 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(135 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(165 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(195 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(225 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(255 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(285 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(315 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><path transform='rotate(345 100 100)' d='M100 100C90 80 90 62 100 46c10 16 10 34 0 54z'/><circle cx='100' cy='100' r='97'/><circle cx='100' cy='100' r='44'/></svg>") center / contain no-repeat;
  -webkit-mask-image: none; mask-image: none; opacity: .28; width: 620px; height: 620px;
}

/* big Samskritam word behind each light section */
.section[data-mark] { overflow: hidden; }
.section[data-mark]::after {
  content: attr(data-mark); position: absolute; right: -1%; top: 3%; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: "Tiro Devanagari Sanskrit", serif; font-size: clamp(6rem, 17vw, 15rem); line-height: 1.25; color: var(--emerald); opacity: .055;
  animation: mark-drift 16s ease-in-out infinite alternate;
}
.section[data-mark]:nth-of-type(even)::after { right: auto; left: -1%; }
@keyframes mark-drift { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
.section[data-mark] > .container { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-tanpura { width: 90vw; right: -30%; top: 30%; }
  .rays { width: 380px; height: 380px; }
}

/* Hero in Samskritam and English */
.hero-deva { display: block; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.4; color: var(--accent-2); margin-bottom: 10px; }
.hero-lead { font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.4; color: rgba(255, 255, 255, .86); }
.rotator { margin-top: 8px; font-size: clamp(2rem, 4.4vw, 3.9rem); }
.rotator .word small { display: block; margin-top: 10px; font-size: max(.38em, 1.1rem); line-height: 1.5; color: var(--mint); }

/* Lighter English type */
.display, .rotator, .panel-title, .certs-title, .tala-act, .legal-hero h1, .thanks h1 { font-weight: 700; }
.display { letter-spacing: .01em; }
.rotator { letter-spacing: .02em; }
.wordmark { font-weight: 700; }
.btn, .nav a, .kicker, .raga, .panel-label, .pick label { font-weight: 700; }
.pain h3, .work-card h3, .step h3, .outcome h3, .soon h3, .proof strong, .pull, .shruti, .flip .b, .start-card h2, .start-card h2 strong, .step-dot { font-weight: 700; }
.start-card h2 { font-weight: 600; }

.footer-base .visits strong { color: var(--accent-2); font-family: var(--head); }

/* Logo: name in Samskritam */
.logo { display: inline-flex; align-items: center; gap: 14px; letter-spacing: 0; text-transform: none; }
.logo span { color: inherit; font-weight: inherit; }
.logo-mark { position: relative; width: 58px; height: 58px; display: grid; place-items: center; flex: none; transition: width .35s var(--ease), height .35s var(--ease); }
.logo-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark .dash { stroke: var(--mint); stroke-width: 1; stroke-dasharray: 2 4; opacity: .7; transform-origin: 28px 28px; animation: spin 40s linear infinite; }
.logo-mark .head { fill: var(--gold); stroke: none; }
.logo-mark b { position: relative; font-size: 2rem; line-height: 1; font-weight: 400; color: var(--accent-2); }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; }
.logo-text b { font-size: 2.1rem; line-height: 1.25; font-weight: 400; color: var(--white); transition: font-size .35s var(--ease); }
.logo-text small { font-family: var(--head); font-weight: 700; font-size: .6rem; letter-spacing: .36em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.logo-text small i { font-style: normal; color: var(--accent-2); }
.logo:hover .logo-mark b { color: var(--white); }
.site-header.is-stuck .logo-mark { width: 44px; height: 44px; }
.site-header.is-stuck .logo-mark b { font-size: 1.5rem; }
.site-header.is-stuck .logo-text b { font-size: 1.55rem; }
.site-footer .logo-mark { width: 50px; height: 50px; }
.site-footer .logo-text b { font-size: 1.8rem; }
@media (max-width: 860px) {
  .logo { gap: 10px; }
  .logo-mark, .site-header.is-stuck .logo-mark { width: 42px; height: 42px; }
  .logo-mark b, .site-header.is-stuck .logo-mark b { font-size: 1.45rem; }
  .logo-text b, .site-header.is-stuck .logo-text b { font-size: 1.5rem; }
  .logo-text small { font-size: .52rem; letter-spacing: .28em; }
}

/* Guitars and keyboards in the dark sections (replaces the turning mandala) */
.instruments { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: rgba(237, 208, 138, .17); }
.instruments svg { position: absolute; fill: none; stroke: currentColor; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.ins-guitar { right: -70px; top: -50px; width: 480px; height: 480px; animation: sway-slow 11s ease-in-out infinite alternate; transform-origin: 30% 75%; }
.ins-guitar.small { right: auto; left: 4%; top: auto; bottom: 8%; width: 190px; height: 190px; color: rgba(239, 231, 216, .16); animation-duration: 8s; }
.ins-keys { left: -60px; top: 18%; width: 560px; height: 233px; stroke-width: .5; rotate: -10deg; animation: bob 7s ease-in-out infinite; }
.instruments.mirror .ins-guitar { right: auto; left: -90px; top: auto; bottom: -70px; scale: -1 1; }
.instruments.mirror .ins-guitar.small { left: auto; right: 5%; bottom: auto; top: 9%; }
.instruments.mirror .ins-keys { left: auto; right: -80px; top: 10%; rotate: 9deg; }
.room .container { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .ins-guitar { width: 300px; height: 300px; }
  .ins-keys { width: 360px; height: 150px; }
}

[hidden] { display: none !important; }
/* strings behind light sections */
.strings-light { position: absolute; left: 0; right: 0; top: 14%; height: 190px; z-index: 0; pointer-events: none; }
.strings-light.low { top: auto; bottom: 10%; }
.strings-light svg { width: 100%; height: 100%; display: block; }
.strings-light path { fill: none; stroke: var(--emerald); stroke-opacity: .2; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.strings-light path:nth-child(2) { stroke: var(--gold); stroke-opacity: .42; }

/* Storyline: from one Sa to the stage */
.path { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.chapter {
  position: relative; display: flex; flex-direction: column; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.chapter:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.chapter-deva { margin: 0; font-size: 2.5rem; line-height: 1.35; color: var(--emerald); }
.chapter-tag { margin: 2px 0 16px; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.chapter h3 { font-size: 1.2rem; font-weight: 700; color: var(--deep); margin-bottom: 10px; }
.chapter p:not(.chapter-deva):not(.chapter-tag) { margin: 0; color: var(--muted); font-size: 1rem; }
.chapter-link { margin-top: auto; padding-top: 18px; font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--emerald); }
.chapter-link:hover { color: var(--accent); }
.chapter-link .arrow { display: inline-block; transition: transform .25s var(--ease); }
.chapter-link:hover .arrow { transform: translateX(5px); }
.chapter::after { content: "\2192"; position: absolute; right: -24px; top: 50%; translate: 0 -50%; font-size: 1.2rem; color: var(--gold); }
.chapter:nth-child(3n)::after { display: none; }
.chapter.final { background: linear-gradient(160deg, var(--deep-2), var(--deep)); border-color: var(--gold); }
.chapter.final .chapter-deva { color: var(--accent-2); }
.chapter.final .chapter-tag { color: var(--mint); }
.chapter.final h3 { color: var(--white); }
.chapter.final p:not(.chapter-deva):not(.chapter-tag) { color: rgba(255, 255, 255, .8); }
.chapter.final .chapter-link { color: var(--accent-2); }
.path-end { margin: 40px auto 0; max-width: 36em; font-style: italic; color: var(--muted); }

/* Gurus */
.gurus { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.gurus-salute { margin: 0 0 6px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.4; color: var(--emerald); }
.guru-grid { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.guru { flex: 0 1 260px; background: var(--tint); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.guru:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.guru b { display: block; font-size: 1.4rem; line-height: 1.45; color: var(--deep); }
.guru span { display: block; margin-top: 4px; font-family: var(--head); font-weight: 600; font-size: .86rem; color: var(--muted); }

@media (max-width: 1020px) {
  .path { grid-template-columns: 1fr 1fr; }
  .chapter:nth-child(3n)::after { display: block; }
  .chapter:nth-child(2n)::after { display: none; }
}
@media (max-width: 700px) {
  .path { grid-template-columns: 1fr; gap: 34px; }
  .chapter::after, .chapter:nth-child(2n)::after, .chapter:nth-child(3n)::after { display: block; content: "\2193"; right: auto; left: 50%; top: auto; bottom: -30px; translate: -50% 0; }
  .chapter:last-child::after { display: none; }
  .guru { flex: 1 1 100%; }
}

/* Photo carousel */
.carousel { position: relative; margin-top: 46px; }
.photo-grid {
  columns: auto; display: flex; gap: 20px; margin-top: 0; padding: 12px 6px 26px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.photo-grid::-webkit-scrollbar { display: none; }
.photo { flex: 0 0 auto; margin: 0; height: clamp(320px, 56vh, 540px); scroll-snap-align: center; }
.photo .award-img { height: 100%; width: auto; }
.photo .award-img img { height: 100%; width: auto; max-width: 84vw; aspect-ratio: auto; object-fit: cover; }
.js .photo.reveal { opacity: 1; transform: none; }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold);
  background: var(--deep-2); color: var(--accent-2); font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), background .2s;
}
.car-btn:hover { background: var(--deep); transform: scale(1.08); }
.car-prev { left: -18px; }
.car-next { right: -18px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.car-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); transition: background .2s, transform .2s; }
.car-dots button.is-on { background: var(--emerald); transform: scale(1.3); }
@media (max-width: 700px) {
  .photo { height: 62vh; max-height: 460px; }
  .car-btn { width: 44px; height: 44px; font-size: 1.15rem; }
  .car-prev { left: -8px; } .car-next { right: -8px; }
}

/* Samskritam lines beside the English in the gurus section */
.sa-line { display: block; font-size: 1.22rem; line-height: 1.7; color: var(--emerald); margin: -6px 0 18px; }
.display .sa-line, .sa-head { display: block; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.6; color: var(--emerald); margin: 0 0 20px; }
.pull .sa-line { margin: 8px 0 0; font-size: 1.3rem; color: var(--accent); }
.proof li span[lang="sa"] { display: block; margin-top: 4px; font-size: 1.08rem; color: var(--emerald); }

.photo .award-img img { aspect-ratio: 4 / 5; }

/* Hero photo with its background removed */
.hero-portrait img.cutout {
  aspect-ratio: auto; object-fit: contain; max-width: 520px;
  -webkit-mask-image: none; mask-image: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)) drop-shadow(0 0 60px rgba(226, 169, 59, .16));
}

/* Carousel: whole photos only, three across (two on tablets, one on phones) */
.photo-grid { gap: 22px; padding: 12px 0 26px; scroll-snap-type: x mandatory; }
.photo { flex: 0 0 calc((100% - 44px) / 3); height: auto; scroll-snap-align: start; }
.photo .award-img { width: 100%; height: auto; }
.photo .award-img img { width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; }
.car-prev { left: -27px; }
.car-next { right: -27px; }
@media (max-width: 1020px) { .photo { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 700px) {
  .photo { flex-basis: 100%; height: auto; max-height: none; }
  .car-prev { left: -10px; } .car-next { right: -10px; }
}

/* Shloka card, second design: centred, framed, with a lotus and the transliteration */
.shloka-card {
  position: relative; text-align: center; border-radius: 28px; border: 0; padding: clamp(44px, 5vw, 64px) clamp(26px, 3.4vw, 46px) clamp(38px, 4.4vw, 54px);
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #7a1a2b 0%, var(--deep-2) 45%, var(--deep) 100%);
  box-shadow: var(--shadow);
}
.shloka-card::before { content: ""; position: absolute; inset: 12px; border-radius: 19px; border: 1.5px solid rgba(226, 169, 59, .75); pointer-events: none; }
.shloka-card::after { content: ""; position: absolute; inset: 18px; border-radius: 14px; border: 1px solid rgba(226, 169, 59, .28); pointer-events: none; }
.shloka-lotus { width: 58px; height: 58px; margin: 0 auto 14px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shloka-card .kicker { margin-bottom: 20px; }
.shloka-card .deva { font-size: clamp(1.3rem, 1.95vw, 1.65rem); line-height: 2; margin-bottom: 14px; }
.shloka-roman { margin: 0; font-size: .95rem; line-height: 1.8; font-style: italic; color: rgba(255, 255, 255, .62); }
.shloka-rule { display: block; width: 86px; height: 2px; margin: 24px auto 20px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.shloka-card .meaning { max-width: 26em; margin-inline: auto; font-style: normal; color: rgba(255, 255, 255, .88); }

/* Pull quote without the vertical line */
.pull {
  position: relative; margin: 28px 0; padding: 24px 28px 22px 76px; border-left: 0; border-radius: 20px; background: var(--tint);
}
.pull::before {
  content: "\201C"; position: absolute; left: 22px; top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; color: var(--gold);
}
.pull .sa-line { margin: 8px 0 0; }
@media (max-width: 560px) { .pull { padding: 54px 22px 20px; } .pull::before { left: 20px; top: 2px; font-size: 4rem; } }

/* Hero photo: smaller, with a slow float and a glowing halo behind it */
.hero-portrait { display: grid; place-items: end center; }
.hero-portrait::before {
  content: ""; grid-area: 1 / 1; align-self: center; width: min(400px, 78%); aspect-ratio: 1; border-radius: 50%; translate: 0 -8%;
  background: radial-gradient(circle, rgba(226, 169, 59, .34) 0%, rgba(226, 169, 59, .12) 45%, transparent 70%);
  box-shadow: 0 0 0 1.5px rgba(198, 164, 91, .35), 0 0 0 22px rgba(198, 164, 91, .06), 0 0 0 46px rgba(198, 164, 91, .03);
  animation: halo 6s ease-in-out infinite;
}
.hero-portrait img.cutout { grid-area: 1 / 1; position: relative; max-width: min(360px, 78%); animation: portrait-in 1.3s var(--ease) both, hero-float 7s ease-in-out 1.3s infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes halo { 0%, 100% { scale: 1; opacity: .85; } 50% { scale: 1.07; opacity: 1; } }
@media (max-width: 860px) { .hero-portrait img.cutout { max-width: min(250px, 66%); } .hero-portrait::before { width: min(270px, 70%); } }

/* Hero figure: halo sits behind the head, and the whole figure floats */
.hero-portrait::before { display: none; }
.hero-figure { grid-area: 1 / 1; position: relative; width: min(360px, 78%); animation: portrait-in 1.3s var(--ease) both, hero-float 7s ease-in-out 1.3s infinite; }
.hero-figure::before {
  content: ""; position: absolute; left: 40%; top: 13.5%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 169, 59, .42) 0%, rgba(226, 169, 59, .14) 48%, transparent 72%);
  box-shadow: 0 0 0 1.5px rgba(198, 164, 91, .45), 0 0 0 18px rgba(198, 164, 91, .07), 0 0 0 38px rgba(198, 164, 91, .035);
  animation: halo 6s ease-in-out infinite;
}
.hero-portrait .hero-figure img.cutout { position: relative; display: block; width: 100%; max-width: none; animation: none; }
@media (max-width: 860px) { .hero-figure { width: min(250px, 66%); } }

/* Flip cards: a real flip on tap, and a small nudge so they look tappable */
.flip-grid { perspective: 900px; }
.flip { transform-style: preserve-3d; }
.flip.turn { animation: flip-turn .42s ease-in-out; }
@keyframes flip-turn { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(.96); } 100% { transform: rotateY(0); } }
.flip .f, .flip .b { display: block; }
.flip .b { display: none; }
.flip.open .b { display: block; animation: face-in .25s ease-out; }
.flip:not(.open) .f { animation: face-in .25s ease-out; }
@keyframes face-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.flip::after { content: ""; position: absolute; }
.flip { position: relative; overflow: hidden; }
.flip::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(226, 169, 59, .22), transparent); animation: shine 5s ease-in-out infinite;
}
.flip:nth-child(2)::before { animation-delay: .5s; } .flip:nth-child(3)::before { animation-delay: 1s; }
.flip:nth-child(4)::before { animation-delay: 1.5s; } .flip:nth-child(5)::before { animation-delay: 2s; } .flip:nth-child(6)::before { animation-delay: 2.5s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.flip:active { transform: scale(.97); }

/* header logo: Devanagari name only */
.site-header .logo-text small { display: none; }

/* Story cards: a soft gold glow that passes from card to card */
.chapter { animation: chapter-glow 7.2s ease-in-out infinite; }
.chapter:nth-child(1) { animation-delay: 0s; } .chapter:nth-child(2) { animation-delay: 1.2s; } .chapter:nth-child(3) { animation-delay: 2.4s; }
.chapter:nth-child(4) { animation-delay: 3.6s; } .chapter:nth-child(5) { animation-delay: 4.8s; } .chapter:nth-child(6) { animation-delay: 6s; }
@keyframes chapter-glow {
  0%, 22%, 100% { box-shadow: 0 0 0 0 rgba(226, 169, 59, 0); border-color: var(--line); }
  10% { box-shadow: 0 0 0 2px rgba(226, 169, 59, .55), 0 14px 44px -6px rgba(226, 169, 59, .55); border-color: var(--gold); }
}
.chapter.final { animation-name: chapter-glow-final; }
@keyframes chapter-glow-final {
  0%, 22%, 100% { box-shadow: 0 0 0 0 rgba(226, 169, 59, 0); }
  10% { box-shadow: 0 0 0 2px rgba(198, 164, 91, .8), 0 16px 50px -4px rgba(226, 169, 59, .7); }
}
.chapter:hover { box-shadow: 0 0 0 2px rgba(226, 169, 59, .6), 0 18px 50px -8px rgba(226, 169, 59, .6); border-color: var(--gold); }

/* Phone menu: a blurred header traps the full-screen menu inside the header bar, so use a solid header on phones */
@media (max-width: 860px) {
  .site-header, .site-header.is-stuck { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-stuck { background: rgba(40, 8, 13, .98); }
  .nav { inset: 0; width: 100vw; height: 100vh; height: 100dvh; background: #2b080e; gap: 6px; padding: 90px 24px 40px; overflow-y: auto; }
  .nav a { font-size: 1.05rem; padding: 14px 10px; width: 100%; max-width: 320px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 16px; border-bottom: 0; padding: 14px 20px; }
  .header-inner > .logo { position: relative; z-index: 3; }
}

/* Story cards under "Who helps me": step arrows tie the four into one line of thought */
.proof li { position: relative; }
.proof li strong { font-size: 1.12rem; }

/* Footer lines */
.footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-base .powered a { text-decoration: underline; text-underline-offset: 3px; }

/* Phones: centred card text and tighter spacing */
@media (max-width: 700px) {
  .chapter, .work-card, .work-grid.four .work-card, .proof li, .guru, .panel-note { text-align: center; }
  .chapter { padding: 24px 22px 22px; align-items: center; }
  .chapter-deva { font-size: 2.1rem; }
  .work-card { align-items: center; padding: 30px 24px 26px; }
  .love-icon { margin-inline: auto; margin-bottom: 16px; }
  .work-card .love-word { width: 100%; }
  .split-copy, .display.left { text-align: center; }
  .sa-head, .sa-line { text-align: center; }
  .pull { margin: 18px 0; padding: 40px 18px 16px; text-align: center; }
  .pull::before { left: 50%; translate: -50% 0; top: 0; font-size: 3.4rem; }
  .pull .sa-line { margin-top: 4px; }
  .proof { gap: 10px; margin-top: 20px; }
  .proof li { padding: 14px 14px 12px; }
  .proof li:not(:last-child)::after { content: "\2193"; position: absolute; left: 50%; bottom: -13px; translate: -50% 0; z-index: 1; font-size: .9rem; line-height: 1; color: var(--gold); background: var(--white); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; }
  .split { gap: 30px; }
  .gurus { margin-top: 44px; }
  .guru { padding: 14px 14px 12px; }
  .guru-grid { gap: 10px; margin-top: 20px; }
  .section { padding: 60px 0; }
  .path { gap: 30px; margin-top: 36px; }
  .footer-base { align-items: center; text-align: center; }
  .site-footer .footer-grid { text-align: center; }
  .site-footer .logo { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .shloka-card { padding: 38px 20px 34px; }
  .shloka-card .deva { font-size: 1.12rem; }
  .shloka-roman { font-size: .82rem; }
}

/* ===== Veda section ===== */
.veda .container { position: relative; z-index: 1; }
.veda .split { align-items: center; }
.veda .split-copy p { color: rgba(255, 255, 255, .84); }
.veda .sa-head.veda-sa { color: var(--accent-2); }
.inline-sa { color: var(--accent-2); font-size: 1.2em; }
.panel-label.light { color: var(--mint); margin-top: 26px; }
.veda-bg { display: grid; place-items: center; }
.veda-bg span { font-size: min(70vw, 620px); line-height: 1; color: rgba(198, 164, 91, .05); translate: -24% 2%; animation: halo 9s ease-in-out infinite; }
.svaras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 22px; }
.svara-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px 14px; border-radius: 18px; border: 1.5px solid rgba(226, 169, 59, .55);
  background: rgba(255, 255, 255, .06); color: var(--white); transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.svara-btn b { font-size: 1.5rem; line-height: 1.5; font-weight: 400; color: var(--accent-2); }
.svara-btn span { font-family: var(--head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.svara-btn:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.svara-btn.on { background: linear-gradient(180deg, #e6d3a3, #d4a94e); border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(226, 169, 59, .25), 0 14px 40px -8px rgba(226, 169, 59, .7); transform: translateY(-4px); }
.svara-btn.on b, .svara-btn.on span { color: var(--deep); }
.svara-btn:nth-child(1) { margin-top: 18px; } .svara-btn:nth-child(3) { margin-bottom: 18px; }   /* low, middle, high as steps */
.veda .shloka-card .deva { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }

/* five love cards */
.work-grid.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.work-grid.five .work-card { padding: 30px 20px 26px; }
.work-grid.five .work-card h3 { font-size: 1.2rem; }
.work-grid.five .work-card p:not(.work-role):not(.love-word) { font-size: .95rem; }
@media (max-width: 1180px) { .work-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1020px) { .work-grid.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid.five { grid-template-columns: 1fr; } }
.proof li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ===== Dropdown in the site style ===== */
.dd { position: relative; flex: 0 1 320px; min-width: 0; }
.pick.left .dd { flex: 1 1 auto; }
.dd-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-btn {
  width: 100%; text-align: left; font: inherit; font-weight: 700; color: var(--deep); background-color: var(--white); border: 1.5px solid #e2cbb9; border-radius: 999px; padding: 12px 44px 12px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3242f' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; transition: border-color .2s, box-shadow .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 169, 59, .18); }
.dd-list {
  position: fixed; z-index: 400; margin: 0; padding: 8px; list-style: none; overflow-y: auto; background: var(--white); border: 1.5px solid var(--gold); border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(28, 6, 10, .55); animation: dd-in .18s var(--ease);
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } }
.dd-list li { padding: 11px 16px; border-radius: 12px; font-family: var(--body); font-weight: 700; color: var(--deep); cursor: pointer; text-align: left; }
.dd-list li:hover, .dd-list li:focus-visible { background: var(--tint); outline: none; }
.dd-list li[aria-selected="true"] { background: var(--deep-2); color: var(--accent-2); }
.dd-list .dd-title { display: none; }
.dd-back { position: fixed; inset: 0; z-index: 399; background: rgba(28, 6, 10, .6); animation: fade .2s both; }
.dd-list.sheet {
  left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 72vh; border-radius: 26px 26px 0 0; border-width: 2px 0 0; padding: 10px 14px 28px;
  animation: sheet-in .28s var(--ease);
}
@keyframes sheet-in { from { transform: translateY(100%); } }
.dd-list.sheet .dd-title {
  display: block; position: sticky; top: -10px; margin: 0 -14px 6px; padding: 20px 18px 12px; background: var(--white); cursor: default; text-align: center;
  font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); border-radius: 26px 26px 0 0;
}
.dd-list.sheet .dd-title::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--line); margin: -8px auto 14px; }
.dd-list.sheet li:not(.dd-title) { padding: 15px 18px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; text-align: center; }
.dd-list.sheet li[aria-selected="true"] { border-radius: 14px; border-bottom-color: transparent; }

@media (max-width: 700px) {
  .veda .split-copy, .veda .display.left { text-align: center; }
  .svaras { gap: 8px; }
  .svara-btn { padding: 14px 4px 12px; }
  .svara-btn b { font-size: 1.2rem; }
  .svara-btn span { font-size: .58rem; letter-spacing: .04em; }
  .pick .dd { flex: none; width: 100%; }
}

/* Tala hand icons */
.hand { display: block; width: 100%; height: 100%; }
.hand .palm, .hand .fin { fill: #fff; stroke: var(--deep-2); stroke-width: 1.6; }
.hand .lit { fill: var(--gold); stroke: var(--accent); }
.hand .spark, .hand .line { fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hand .line { stroke: var(--deep-2); stroke-width: 1.4; opacity: .45; }
.hand .dot { fill: #e2cbb9; }
.beat b { width: 30px; height: 30px; font-size: 0; line-height: 0; }
.beat.is-now .hand .palm, .beat.is-now .hand .fin { stroke: var(--deep); }
.beat.is-now .hand .lit { fill: var(--deep-2); stroke: var(--deep); }
.beat.is-now .hand .dot { fill: var(--deep-2); }
.tala-ico { width: 58px; height: 58px; font-size: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 26px; height: 26px; }
@media (max-width: 560px) { .beat b { width: 24px; height: 24px; } .legend { justify-content: center; } }

/* Love cards: centred text on every screen */
.work-card.love { text-align: center; align-items: center; }
.work-card.love .love-icon { margin-inline: auto; }
.work-card.love .love-word { width: 100%; }

/* Phones: thicker dancing bars before the footer */
@media (max-width: 700px) {
  .eq { gap: 5px; height: 110px; opacity: .2; padding: 0 8px; }
  .eq i:nth-child(n+19) { display: none; }
  .eq i { border-radius: 6px 6px 0 0; }
}

.footer-base .powered a { text-decoration: none; }
.footer-base .powered a:hover { color: var(--accent-2); }

/* Hero tags: a dotted line on wide screens, small pills on phones */
.eyebrow.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.eyebrow.tags span { white-space: nowrap; }
.eyebrow.tags span + span::before { content: "·"; margin: 0 10px; color: rgba(255, 255, 255, .4); }
@media (max-width: 860px) {
  .eyebrow.tags { justify-content: center; gap: 8px; margin-bottom: 20px; }
  .eyebrow.tags span { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(198, 164, 91, .45); background: rgba(255, 255, 255, .06); font-size: .64rem; letter-spacing: .12em; color: var(--accent-2); }
  .eyebrow.tags span + span::before { display: none; }
}

/* logo: Devanagari name only, in the footer as well */
.logo-text small { display: none; }

/* ===== "Who helps me", rebuilt: message, quote + shloka, story strip ===== */
.story .sa-head { margin-bottom: 14px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; margin-top: 50px; }
.quote-card {
  position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--tint); border: 1px solid var(--line);
}
.quote-card::before { content: "\201C"; font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: .7; height: 44px; color: var(--gold); }
.q-sa { margin: 8px 0 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.55; color: var(--emerald); }
.q-rule { display: block; width: 70px; height: 2px; margin: 18px 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.q-en { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; text-transform: uppercase; letter-spacing: .03em; color: var(--deep); }
.quote-card figcaption { margin-top: 18px; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.duo .shloka-card { display: flex; flex-direction: column; justify-content: center; }

.iam { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px -30px rgba(61, 12, 20, .35); }
.iam li { position: relative; padding: 28px 14px 26px; text-align: center; border-right: 1px solid var(--line); transition: background .3s; }
.iam li:last-child { border-right: 0; }
.iam li:first-child { border-radius: 24px 0 0 24px; } .iam li:last-child { border-radius: 0 24px 24px 0; }
.iam li:hover { background: var(--tint); }
.iam b { display: block; font-size: 1.7rem; line-height: 1.5; font-weight: 400; color: var(--emerald); }
.iam strong { display: block; margin-top: 4px; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.iam span { display: block; margin-top: 8px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.iam li:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -12px; top: 50%; translate: 0 -50%; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; line-height: 1; color: var(--accent); background: var(--white); border: 1px solid var(--gold);
}
@media (max-width: 1020px) {
  .iam { grid-template-columns: repeat(3, 1fr); }
  .iam li:nth-child(3) { border-right: 0; } .iam li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .iam li:nth-child(3)::after { display: none; }
  .iam li, .iam li:first-child, .iam li:last-child { border-radius: 0; }
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; gap: 22px; margin-top: 34px; } }
@media (max-width: 700px) {
  .iam { grid-template-columns: 1fr; margin-top: 26px; }
  .iam li, .iam li:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px 20px; }
  .iam li:last-child { border-bottom: 0; }
  .iam li:not(:last-child)::after, .iam li:nth-child(3)::after { display: grid; content: "\2193"; right: auto; left: 50%; top: auto; bottom: -12px; translate: -50% 0; }
  .iam b { font-size: 1.5rem; }
  .quote-card { padding: 34px 20px 30px; }
}

/* story strip is four steps now */
.iam { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .iam { grid-template-columns: repeat(2, 1fr); } .iam li:nth-child(3) { border-right: 1px solid var(--line); } .iam li:nth-child(2n) { border-right: 0; } .iam li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .iam li:nth-child(3) { border-bottom: 0; } .iam li:nth-child(2)::after { display: none; } .iam li:nth-child(3)::after { display: grid; } }
@media (max-width: 700px) { .iam { grid-template-columns: 1fr; } .iam li, .iam li:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); } .iam li:last-child { border-bottom: 0; } .iam li:nth-child(2)::after { display: grid; } }

/* YouTube link */
.yt-ico { width: 22px; height: 16px; flex: none; }
.yt-ico rect { fill: #e62117; }
.yt-ico path { fill: #fff; }
.yt-row { margin: 34px 0 0; }
.btn-yt { background: var(--deep-2); color: var(--white); border-color: var(--gold); box-shadow: 0 14px 30px -14px rgba(61, 12, 20, .6); }
.btn-yt:hover { background: var(--deep); transform: translateY(-2px); }
.btn-yt .yt-ico { width: 28px; height: 20px; }
.yt-link { display: inline-flex !important; align-items: center; gap: 8px; }
.nav a.yt-link::after { display: none; }
.site-footer .yt-link { display: flex !important; }
@media (max-width: 860px) { .nav a.yt-link { justify-content: center; } }

/* Matrudevo bhava, pitrudevo bhava, acharyadevo bhava: before the gurus */
.deva-bhava { list-style: none; padding: 0; margin: 0 auto clamp(40px, 5vw, 60px); max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.deva-bhava li { position: relative; padding: 6px 18px; text-align: center; }
.deva-bhava li + li::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.deva-bhava b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.5; font-weight: 400; color: var(--emerald); }
.deva-bhava span { display: block; font-style: italic; font-size: .92rem; color: var(--muted); }
.deva-bhava em { display: block; margin-top: 8px; font-style: normal; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 700px) {
  .deva-bhava { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .deva-bhava li + li::before { left: 30%; right: 30%; top: -9px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
}

/* ===== "Who helps me" as one story: who comes first, who they are, what they teach, what I do ===== */
.story-step {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin: clamp(48px, 6vw, 72px) 0 0; text-align: center;
  font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.story-step::before, .story-step::after { content: ""; flex: 0 1 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.story-step::after { background: linear-gradient(90deg, var(--gold), transparent); }
.helpers { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.helper {
  position: relative; text-align: center; padding: 34px 22px 30px; border-radius: 24px; color: rgba(255, 255, 255, .84);
  background: linear-gradient(160deg, var(--deep-2), var(--deep)); border: 1.5px solid rgba(226, 169, 59, .55); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.helper:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px rgba(226, 169, 59, .6), 0 22px 50px -10px rgba(226, 169, 59, .5); }
.helper b { display: block; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.5; font-weight: 400; color: var(--accent-2); }
.helper-roman { display: block; font-style: italic; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.helper strong { display: block; margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.helper p { margin: 8px 0 0; font-size: 1rem; }
.helper:not(:last-child)::after { content: "\2192"; position: absolute; right: -24px; top: 50%; translate: 0 -50%; font-size: 1.2rem; color: var(--gold); }
.helper.is-guru::before { content: ""; position: absolute; left: 50%; bottom: -34px; width: 1px; height: 34px; background: linear-gradient(180deg, var(--gold), transparent); }
.story .gurus { margin-top: 44px; }
.story .duo { margin-top: 28px; }
.story .iam { margin-top: 28px; }
@media (max-width: 860px) {
  .helpers { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin-inline: auto; }
  .helper:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -27px; translate: -50% 0; }
  .helper.is-guru::before { display: none; }
  .story-step { font-size: .7rem; letter-spacing: .14em; gap: 10px; }
}
/* footer: YouTube link centred with the rest on phones */
@media (max-width: 700px) { .site-footer .yt-link { justify-content: center; } }

/* Mother, father, gurus cards: same light look as the guru name cards */
.helper { background: var(--tint); border: 1px solid var(--line); color: var(--muted); box-shadow: none; }
.helper:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-6px); }
.helper b { color: var(--emerald); }
.helper-roman { color: var(--muted); }
.helper strong { color: var(--deep); }

/* Link band to a note page */
.note-link {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; padding: clamp(26px, 3.4vw, 40px) 24px; text-decoration: none; text-align: center;
  background: linear-gradient(90deg, #e6d3a3, #e2a93b 50%, #e6d3a3); color: var(--deep); transition: filter .25s;
}
.note-link:hover { filter: brightness(1.05); }
.note-link-deva { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.4; color: var(--deep-2); }
.note-link-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.note-link-text strong { font-family: var(--head); font-weight: 700; font-size: clamp(.95rem, 1.5vw, 1.15rem); }
.note-link-text em { font-style: normal; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-2); }
.note-link-go { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--deep-2); color: var(--accent-2); font-size: 1.3rem; transition: transform .25s var(--ease); }
.note-link:hover .note-link-go { transform: translateX(6px); }
@media (max-width: 700px) { .note-link-text { text-align: center; } }

/* ===== Note pages (Vishnu Sahasranama) ===== */
.page-note .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; flex-direction: row; width: auto; height: auto; padding: 0; gap: 22px; overflow: visible; }
.page-note .nav a { width: auto; max-width: none; border-bottom: 0; padding: 6px 0; font-size: .72rem; }
.note-hero { position: relative; overflow: hidden; color: var(--white); text-align: center; padding: clamp(56px, 8vw, 96px) 0 clamp(50px, 7vw, 80px); background: radial-gradient(ellipse 80% 90% at 50% 0%, #8f2030 0%, #5a1220 45%, #33090f 85%); }
.note-hero .back { display: inline-block; margin-bottom: 22px; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); text-decoration: none; }
.note-hero .back:hover { color: var(--white); }
.note-deva { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.4; color: var(--accent-2); }
.note-hero h1 { font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.note-sub { margin: 12px 0 0; font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); }
.note { padding: clamp(44px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); background: var(--cream); }
.note .container.narrow { width: min(760px, 100% - 48px); }
.note p { font-size: 1.1rem; line-height: 1.8; color: var(--text); }
.note-lead { font-size: 1.28rem !important; line-height: 1.75 !important; color: var(--deep) !important; }
.note h2 { margin: 2.2em 0 .7em; font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); text-transform: uppercase; letter-spacing: .02em; color: var(--deep); }
.note h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; margin-top: 12px; background: var(--gold); }
.note .inline-sa { color: var(--emerald); font-size: 1.15em; }
.note-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.note-steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; font-size: 1.05rem; line-height: 1.65; }
.note-steps li::before { content: counter(s); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-2); color: var(--accent-2); font-family: var(--head); font-weight: 700; font-size: .95rem; }
.note-steps strong { color: var(--deep); }
.note-card { margin: 34px 0; }
.note-card .meaning { color: rgba(255, 255, 255, .88) !important; font-size: 1.02rem !important; }
.note-card .deva { color: var(--accent-2) !important; }
.note-card .kicker { color: var(--mint) !important; font-size: .76rem !important; }
.note-verse { text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.6rem) !important; line-height: 2 !important; color: var(--emerald) !important; padding: 22px 16px; margin: 22px 0; background: var(--tint); border-radius: 20px; border: 1px solid var(--line); }
.name-box { margin: 18px 0 8px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px -32px rgba(61, 12, 20, .4); }
.name-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.name-chip { padding: 9px 16px 7px; border-radius: 999px; border: 1.5px solid #e2cbb9; background: var(--cream); color: var(--deep); font-size: 1.15rem; line-height: 1.5; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.name-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.name-chip.is-on { background: var(--deep-2); border-color: var(--gold); color: var(--accent-2); }
.name-out { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--tint); text-align: center; min-height: 104px; }
.name-out .name-roman { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem !important; color: var(--emerald) !important; }
.name-out .name-mean { margin: 6px 0 0; font-size: 1.05rem !important; line-height: 1.6 !important; }
.note-end { margin-top: 44px; text-align: center; }
.page-note .site-footer { padding-top: 34px; }
.page-note .footer-base { margin-top: 0; border-top: 0; padding-top: 0; align-items: center; text-align: center; }
@media (max-width: 700px) {
  .page-note .nav { gap: 12px; }
  .page-note .nav a { font-size: .6rem; letter-spacing: .08em; }
  .page-note .nav a:nth-child(n+3) { display: none; }
  .note p { font-size: 1.04rem; }
  .note-lead { font-size: 1.14rem !important; }
  .note-steps li { padding: 14px 14px 14px 54px; }
  .note-steps li::before { left: 12px; top: 13px; }
  .name-box { padding: 16px; }
}

/* Mother and father as small cards, then one acharya panel that holds every guru */
.parents { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; text-align: center; }
.parents .guru { position: relative; }
.parents .guru b { color: var(--emerald); }
.parents .guru:first-child::after { content: "\2192"; position: absolute; right: -31px; top: 50%; translate: 0 -50%; font-size: 1.1rem; color: var(--gold); }
.acharya { position: relative; margin-top: 46px; padding: clamp(26px, 3.4vw, 40px) clamp(16px, 3vw, 36px) clamp(24px, 3vw, 36px); text-align: center; background: var(--tint); border: 1px solid var(--line); border-radius: 28px; }
.acharya::before { content: "\2193"; position: absolute; left: 50%; top: -35px; translate: -50% 0; font-size: 1.1rem; color: var(--gold); }
.acharya .gurus-salute { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.acharya .guru-grid { margin-top: 22px; }
.acharya .guru { background: var(--white); }
@media (max-width: 700px) {
  .parents { gap: 34px; max-width: 460px; margin-inline: auto; }
  .parents .guru:first-child::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -29px; translate: -50% 0; }
  .acharya { margin-top: 40px; border-radius: 22px; }
  .acharya::before { top: -32px; }
}

/* Sliders: an up or down swipe that starts on a bar scrolls the page and leaves the bar alone */
.slider { touch-action: pan-y; }

/* ===== Light look: the hero and header are light; saffron is the one strong colour ===== */
.hero { color: var(--text); background: radial-gradient(ellipse 70% 80% at 24% 48%, #fff 0%, #fbf7ee 45%, #f3e2d2 100%); }
.orb-1 { background: #e2a93b; opacity: .5; } .orb-2 { background: #c6a45b; opacity: .45; } .orb-3 { background: #e2a93b; opacity: .18; }
.ghost { -webkit-text-stroke: 1.5px rgba(61, 12, 20, .08); }
.hero .strings { opacity: .5; } .hero .strings path { stroke: #e2a93b; } .hero .strings path:nth-child(2n) { stroke: #a3242f; }
.hero .floaters span { color: #e2a93b; } .hero .floaters span:nth-child(3n) { color: #a3242f; }
.hero-deva { color: var(--emerald) !important; }
.hero-lead { color: var(--deep); }
.rotator { color: var(--deep); } .rotator em { color: var(--gold); } .rotator small { color: var(--emerald) !important; }
.hero-sub { color: var(--muted); }
.eyebrow { color: var(--accent); }
.wave-back { fill: rgba(226, 169, 59, .16); }
.hero-figure::before { filter: none; }
.pl-mark span { color: #a3242f !important; } .pl-word { color: #3d0c14 !important; }

.site-header .nav a { color: var(--deep); }
.site-header .nav a:hover, .site-header .nav a.is-active { color: var(--emerald); }
.site-header .nav a.nav-cta, .site-header .nav a.nav-cta:hover { color: var(--deep); }
.site-header .logo-text b { color: var(--deep); }
.site-header .logo-mark b { color: var(--emerald); }
.site-header .logo:hover .logo-mark b { color: var(--deep); }
.site-header .logo-mark .dash { stroke: var(--emerald); }
.site-header.is-stuck { background: rgba(255, 250, 242, .95); box-shadow: 0 10px 30px -18px rgba(61, 12, 20, .35); }
@media (max-width: 860px) {
  .nav-toggle span { background: var(--deep); }
  .site-header, .site-header.is-stuck { background: #fbf4e8; }
  .nav { background: #fbf4e8; }
  .nav a { border-bottom-color: rgba(61, 12, 20, .12); }
}

/* Light look, part 2: the former dark bands (practice room, Veda, closing) are light too. Only the footer stays dark. */
.outcomes, .contact { background: linear-gradient(180deg, #f8ecdf 0%, #f3e2d2 100%); color: var(--text); }
.contact .display.light, .outcomes .display.light { color: var(--deep); }
.contact .kicker.light, .outcomes .kicker.light { color: var(--accent); }
.contact .hl-light, .outcomes .hl-light { color: var(--gold); }
.contact .lede, .outcomes .lede, .contact > .container > p, .outcomes p { color: var(--muted); }
.rays { background: repeating-conic-gradient(from 0deg, rgba(226, 169, 59, .16) 0deg 5deg, transparent 5deg 12deg); }
.outcome-grid, .outcome { border-color: rgba(61, 12, 20, .14); }
.outcome:hover { background: rgba(255, 255, 255, .5); }
.outcome-num { color: var(--emerald); } .outcome h3 { color: var(--deep); }
.veda .split-copy p { color: var(--muted); }
.veda .sa-head.veda-sa { color: var(--emerald); }
.veda-bg span { color: rgba(226, 169, 59, .09); }
.svara-btn { background: var(--white); border-color: var(--line); }
.svara-btn b { color: var(--emerald); } .svara-btn span { color: var(--muted); }
.svara-btn:hover { background: var(--white); }
.marquee { background: var(--gold); color: var(--deep); }

/* ===== samith.fun content: engine section, plans, lead form ===== */
.hero-copy .hero-actions { margin-top: 4px; }
.hero-sub { margin-bottom: 22px; }
.engine .sa-head { color: var(--emerald); margin-bottom: 14px; }
.engine .path { margin-top: 40px; }
.acharya-line { margin: 14px auto 0; max-width: 40em; color: var(--muted); }
.work-card.price { gap: 4px; }
.work-card.price .love-word { margin: 2px 0 10px; }
.price-amt { margin: 0 0 8px; font-family: var(--head); font-size: .86rem; letter-spacing: .04em; color: var(--muted); }
.price-amt b { display: block; font-weight: 900; font-size: 2rem; line-height: 1.1; color: var(--deep); letter-spacing: 0; }
.lead-form { margin: 34px auto 0; max-width: 520px; display: grid; gap: 16px; text-align: left; padding: clamp(22px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 7px; font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
.lead-form label small { font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.lead-form input, .lead-form select { font: inherit; font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 13px 16px; border-radius: 14px; border: 1.5px solid #e2cbb9; background: var(--cream); color: var(--text); min-width: 0; width: 100%; transition: border-color .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 169, 59, .2); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-note { margin: 0; font-size: .86rem; color: var(--muted); text-align: center; }
.lead-msg { margin: 0; min-height: 1.4em; text-align: center; font-weight: 700; }
.lead-msg.ok { color: #1f7a45; } .lead-msg.bad { color: #b3261e; }
/* Plan cards: light, with the price as the loudest thing on the card */
.work-card.price, .work-grid.four .work-card.price { background: var(--white); color: var(--muted); border: 1px solid var(--line); box-shadow: 0 18px 50px -32px rgba(61, 12, 20, .4); text-align: center; align-items: center; padding: 30px 22px 28px; }
.work-card.price::before, .work-card.price::after { display: none; }
.work-card.price .work-role { color: var(--accent); }
.work-card.price h3 { color: var(--deep); }
.work-card.price .love-word { color: var(--emerald); border: 0; padding: 0; width: auto; }
.work-card.price .love-word span { color: var(--emerald); font-size: 1.3rem; }
.work-card.price p { color: var(--muted); }
.work-card.price .price-amt b { color: var(--deep); }
.work-card.price:hover { transform: translateY(-6px); border-color: var(--gold); }

/* ===== ASTRA blended into the page: opening card, logo, live app window ===== */
.astra-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px 28px; text-align: left; }
.astra-emblem { width: 96px; height: 96px; object-fit: contain; }
.astra-card h2 { margin: 0 0 6px; }
.astra-card .start-note { margin: 0; }
.astra-card .start-actions { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.astra-logo { display: block; margin: 0 auto 14px; height: 60px; width: auto; }
.app-window { margin-top: 40px; border-radius: 22px; overflow: hidden; background: var(--white); border: 1.5px solid var(--deep-2); box-shadow: 0 40px 90px -40px rgba(61, 12, 20, .55); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--deep); color: var(--white); font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); opacity: .9; }
.app-bar i:nth-child(2) { background: var(--accent-2); } .app-bar i:nth-child(3) { background: #1f6b66; }
.app-bar span { margin-left: 10px; flex: 1; }
.app-bar a { color: var(--accent-2); text-decoration: none; white-space: nowrap; }
.app-bar a:hover { color: var(--white); }
.app-window iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.engine .story-step { margin-bottom: 0; }
@media (max-width: 760px) {
  .astra-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .astra-card .start-actions { width: 100%; }
  .app-window iframe { height: 76vh; }
  .app-bar span { font-size: .64rem; }
}

/* ===== One brand kit for samith.fun and astra.samith.fun (same values as the app) ===== */
:root {
  --accent-2: #c6a45b;
}
.rotator em, .hl-accent, .hl-light { color: var(--gold); }
.hl-emerald { color: var(--emerald); }
.btn-primary { background: var(--gold); color: var(--deep); box-shadow: 0 12px 26px -12px rgba(226, 169, 59, .7); }
.btn-primary:hover { background: #f0b250; box-shadow: 0 18px 32px -12px rgba(226, 169, 59, .8); }
.btn { border-radius: 12px; letter-spacing: .06em; }
.nav a.nav-cta { border-radius: 12px; }
.chapter, .start-card, .lead-form, .acharya, .quote-card, .shloka-card, .parents .guru { border-radius: 16px; }
.orb-1 { background: #e2a93b; opacity: .28; } .orb-2 { background: #c6a45b; opacity: .3; } .orb-3 { background: #1f6b66; opacity: .12; }
.hero { background: radial-gradient(ellipse 70% 80% at 24% 48%, #fbf4e8 0%, #f8ecdf 55%, #f3e2d2 100%); }
.outcomes, .contact { background: linear-gradient(180deg, #f8ecdf 0%, #f3e2d2 100%); }
.marquee { background: var(--deep); color: #f8ecdf; } .marquee b { color: var(--gold); }
.site-footer { background: var(--deep); }
.signin-line { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.signin-line a { color: var(--emerald); font-weight: 700; }
.engine-msg { margin: 6px auto 0; max-width: 34em; font-family: var(--head); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.4; color: var(--emerald); }

/* Hero copy: every rotating line fits on one line, so nothing below it jumps or leaves a gap */
.hero .rotator .word { white-space: nowrap; }
.hero .rotator { font-size: clamp(1.9rem, 4.4vw, 3.7rem); }
.hero-copy .hero-sub { margin-top: 18px; max-width: 30em; }
@media (max-width: 860px) { .hero .rotator { font-size: clamp(1.7rem, 8vw, 2.4rem); } }

/* ===== Tighter page: less empty space between and inside sections ===== */
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.hero { min-height: 0; padding-top: 128px; }
.hero-inner { min-height: 0; align-items: end; }
.hero-copy { padding-bottom: 150px; }
.hero-deva { margin-bottom: 4px; }
.hero-copy .hero-sub { margin: 14px 0 18px; }
.display { margin-bottom: 14px; }
.kicker { margin-bottom: 10px; }
.path { margin-top: 30px; }
.engine .path { margin-top: 28px; }
.path-end { margin-top: 22px; }
.steps { margin-top: 34px; margin-bottom: 26px; }
.story-step { margin-top: 30px; }
.parents { margin-top: 22px; }
.acharya { margin-top: 38px; padding-top: 22px; padding-bottom: 22px; }
.story .iam { margin-top: 22px; }
.outcome-grid { margin-top: 30px; }
.outcome { padding: 26px 26px 22px; }
.stakes { margin-top: 26px; }
.lead-form { margin-top: 24px; }
.site-footer { padding: 46px 0 24px; }
.footer-base { margin-top: 30px; }
.marquee { padding: 13px 0; }
.engine-msg { margin-bottom: 8px; }
.cap-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.cap-list li { padding-left: 20px; position: relative; }
.cap-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.chapter.final .cap-list { color: rgba(255, 255, 255, .82); }
@media (max-width: 860px) {
  .section { padding: 40px 0; }
  .hero { padding-top: 96px; }
  .hero-copy { padding-bottom: 14px; }
}

/* Hero: room under the two-row header, and the rotating line sized to fit its column */
.hero { padding-top: 150px; }
.hero .rotator { font-size: clamp(1.6rem, 3.5vw, 2.9rem); }
@media (max-width: 860px) { .hero { padding-top: 96px; } .hero .rotator { font-size: clamp(1.45rem, 6.6vw, 2.1rem); } }

/* ===== First lesson, sign-up popup, and a tighter page ===== */
.section { padding: clamp(36px, 4.4vw, 60px) 0; }
.engine { background: var(--cream); }
.problem .lede { max-width: 40em; }
.steps { margin-top: 26px; margin-bottom: 22px; }
.plan .btn + .btn { margin-left: 10px; }
.signin-line { margin-top: 14px; }
.site-footer { padding-top: 38px; }
.start-card.lesson { padding: 26px clamp(18px, 3vw, 36px) 26px; }
.lesson .kicker { margin-bottom: 4px; }
.lesson h2 { margin: 0 0 6px; }
.lesson-say { margin: 0 auto 16px; max-width: 34em; color: var(--muted); font-size: 1.02rem; }
.letters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.letters li { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 8px 12px; display: grid; gap: 2px; justify-items: center; }
.letters b { font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.25; font-weight: 400; color: var(--emerald); }
.letters strong { font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--deep); }
.letters span { font-size: .84rem; color: var(--muted); }
.letters span b { font-size: inherit; line-height: inherit; font-weight: 800; color: var(--deep); }
.lesson-go { margin: 18px 0 0; }
.lesson-count { margin: 6px 0 4px; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.lesson-q { margin: 0 0 16px; font-family: var(--head); font-weight: 700; font-size: clamp(1.1rem, 2.1vw, 1.45rem); color: var(--deep); }
.quiz-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 620px; margin: 0 auto; }
.quiz-opt { padding: 16px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); color: var(--deep); font-family: var(--head); font-weight: 700; font-size: 1rem; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.quiz-opt.sa { font-family: "Tiro Devanagari Sanskrit", serif; font-weight: 400; font-size: 2.6rem; line-height: 1.3; color: var(--emerald); }
.quiz-opt:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--gold); }
.quiz-opt.right { background: #e3f3ea; border-color: #267653; color: #1c5a3f; }
.quiz-opt.wrong { background: #fbe9e7; border-color: #b03a2e; opacity: .6; }
.lesson-msg { min-height: 1.5em; margin: 12px 0 0; font-weight: 700; }
.lesson-msg.ok { color: #267653; } .lesson-msg.bad { color: #b03a2e; }
.lesson-done { margin: 4px 0 2px; font-size: 3rem; line-height: 1.3; color: var(--emerald); }
.signup { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 18px; background: rgba(28, 6, 10, .62); animation: fade .2s both; overflow-y: auto; }
.signup-box { position: relative; width: min(460px, 100%); background: var(--cream); border-radius: 22px; padding: 26px 24px 22px; text-align: center; box-shadow: 0 40px 90px -30px rgba(28, 6, 10, .7); }
.signup-box h2 { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--deep); margin: 0 0 6px; }
.signup-say { margin: 0 0 4px; color: var(--muted); font-size: .98rem; }
.signup-box .lead-form { margin-top: 14px; padding: 0; border: 0; box-shadow: none; background: none; gap: 12px; }
.signup-box .lead-form input, .signup-box .lead-form select { background: var(--white); }
.signup-close { position: absolute; right: 10px; top: 8px; width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.signup-close:hover { background: var(--tint); color: var(--deep); }
body.no-scroll { overflow: hidden; }
@media (max-width: 700px) {
  .letters { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .letters li { padding: 10px 2px 8px; border-radius: 12px; }
  .letters span { font-size: .68rem; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-opt.sa { font-size: 2.2rem; padding: 8px; }
  .plan .btn + .btn { margin: 10px 0 0; }
}

.schools { background: linear-gradient(180deg, #f8ecdf 0%, #f3e2d2 100%); }
.chapter h3 { margin-bottom: 4px; }

/* ===== Teal look: peacock-teal hero, header and footer; light sections in between; saffron accent ===== */
.hero { color: #fff; background: radial-gradient(ellipse 70% 80% at 24% 48%, #8f2030 0%, #5a1220 38%, #33090f 72%, #1c060a 100%); }
.orb-1 { background: #e2a93b; opacity: .4; } .orb-2 { background: #c6a45b; opacity: .2; } .orb-3 { background: #8f2030; opacity: .3; }
.ghost { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07); }
.hero-deva { color: #f2d389 !important; }
.hero-lead { color: rgba(255, 255, 255, .92); }
.rotator { color: #fff; } .rotator em { color: #e2a93b; } .rotator small { color: #f1c79c !important; }
.hero-sub { color: rgba(255, 255, 255, .82); }
.wave-back { fill: rgba(255, 255, 255, .14); }
.site-header .nav a { color: rgba(255, 255, 255, .86); }
.site-header .nav a:hover, .site-header .nav a.is-active { color: #fff; }
.site-header .nav a.nav-cta, .site-header .nav a.nav-cta:hover { color: #24070c; }
.site-header .logo-text b { color: #fff; }
.site-header .logo-mark b { color: #f2d389; }
.site-header .logo-mark .dash { stroke: #f1c79c; }
.site-header.is-stuck { background: rgba(40, 8, 13, .95); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.pl-mark span { color: #f2d389 !important; } .pl-word { color: #f2d389 !important; } .pl-cap { color: rgba(241, 199, 156, .8) !important; }
.pl-swaras i.on { color: #fff !important; }
@media (max-width: 860px) {
  .nav-toggle span { background: #fff; }
  .site-header, .site-header.is-stuck { background: #2b080e; }
  .nav { background: #2b080e; }
  .nav a { border-bottom-color: rgba(255, 255, 255, .1); }
}

/* Textbook chapters: the real contents, in order */
.chapters-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; text-align: left; }
.chapters-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.ch-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-2); color: #fff; font-family: var(--head); font-weight: 800; font-size: .95rem; }
.chapters-list strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--deep); line-height: 1.3; }
.chapters-list em { display: block; font-style: normal; font-size: 1.1rem; line-height: 1.5; color: var(--emerald); }
.chapters-list p { margin: 2px 0 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.engine .btn + .btn { margin-left: 10px; }
@media (max-width: 760px) { .chapters-list { grid-template-columns: 1fr; } .engine .btn + .btn { margin: 10px 0 0; } }

/* New hero photo is wider (arms crossed): halo sits behind the head, bullets stay left-aligned */
.hero-figure { width: min(430px, 88%); }
.hero-figure::before { left: 50%; top: 20%; width: 62%; }
.cap-list { text-align: left; }
@media (max-width: 860px) { .hero-figure { width: min(300px, 78%); } }

/* ===== Premium pass: finer lines, calmer shadows, a gold hairline on cards, more refined type ===== */
:root { --shadow: 0 30px 70px -40px rgba(28, 6, 10, .45); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.display { font-weight: 800; letter-spacing: -.01em; text-transform: none; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; }
.kicker { font-weight: 700; letter-spacing: .28em; font-size: .7rem; }
.kicker::after { content: ""; display: block; width: 34px; height: 1px; margin: 10px auto 0; background: var(--gold); }
.lesson .kicker::after, .signup-box .kicker::after { margin-top: 8px; }
.lede { font-size: 1.08rem; line-height: 1.7; }
.chapter, .chapters-list li, .letters li, .step, .lead-form { box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -34px rgba(28, 6, 10, .5); }
.chapter { border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 14px; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.chapter:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(28, 6, 10, .55); }
.chapter h3 { font-weight: 700; letter-spacing: -.005em; }
.chapter-tag { letter-spacing: .18em; }
.start-card { border: 1px solid rgba(198, 164, 91, .55); box-shadow: 0 40px 80px -45px rgba(28, 6, 10, .7); border-radius: 20px; }
.start-card.lesson::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.start-card.lesson { position: relative; }
.btn { font-weight: 700; letter-spacing: .1em; padding: 15px 28px; }
.btn-primary { background: linear-gradient(180deg, #e8c876, #cc9c3c); color: #1b1407; box-shadow: 0 14px 28px -14px rgba(212, 169, 78, .8), 0 1px 0 rgba(255, 255, 255, .35) inset; }
.btn-primary:hover { background: linear-gradient(180deg, #edd28a, #d4a94e); }
.btn-line { border-width: 1.5px; }
.hero .rotator { font-weight: 800; text-transform: none; letter-spacing: -.01em; }
.hero-lead { font-weight: 500; }
.site-header .nav a { letter-spacing: .14em; font-size: .7rem; }
.chapters-list li { border-radius: 12px; }
.ch-n { background: none; color: var(--accent); border: 1.5px solid var(--gold); }
.site-footer { border-top: 1px solid rgba(198, 164, 91, .35); }

/* ===== Landing page layout: centred headline, host + offer card, comparison, who it is for, demo, what you get, steps, final call, sticky button ===== */
mark { background: var(--gold); color: #1b1407; padding: .02em .28em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
mark.alt { background: none; color: #f2d389; padding: 0; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
mark.bad { background: #f3d6d1; color: #8a2a1f; }
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 132px 0 54px; background: radial-gradient(ellipse 80% 70% at 50% 0%, #8f2030 0%, #5a1220 40%, #33090f 78%, #1c060a 100%); }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(248, 207, 143, .5); background: rgba(255, 255, 255, .06); font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #f2d389; }
.lp-pill span { font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.lp-h1 { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.16; letter-spacing: -.015em; margin: 0 auto; max-width: 17em; }
.lp-sub { margin: 16px auto 0; max-width: 38em; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; color: rgba(255, 255, 255, .84); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: end; margin-top: 30px; max-width: 980px; }
.lp-host { position: relative; display: grid; justify-items: center; }
.lp-host .hero-portrait { display: grid; justify-items: center; width: 100%; }
.lp-host .hero-figure { width: min(360px, 86%); animation: portrait-in 1.1s var(--ease) both; }
.lp-host .hero-figure img { display: block; width: 100%; }
.lp-host-tag { position: relative; z-index: 2; margin: -34px 0 0; padding: 12px 20px; border-radius: 14px; background: var(--white); color: var(--deep); text-align: left; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .6); border-left: 4px solid var(--gold); }
.lp-host-tag strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1rem; }
.lp-host-tag span { display: block; font-size: .82rem; color: var(--muted); }
.lp-offer { background: var(--white); color: var(--text); border-radius: 20px; padding: 22px 22px 20px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); border: 1px solid rgba(198, 164, 91, .5); }
.lp-offer-head { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--head); font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-2); }
.lp-offer-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 4px rgba(47, 163, 107, .2); }
.lp-facts { margin: 0 0 16px; }
.lp-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lp-facts dt { color: var(--muted); font-size: .92rem; }
.lp-facts dd { margin: 0; font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--deep); text-align: right; }
.lp-facts dd.free { color: #1f8a57; }
.lp-cta { font-size: .86rem; padding: 17px 20px; }
.lp-offer-note { margin: 12px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.lp-offer-note a, .lp-final-links a { color: var(--emerald); font-weight: 700; }
.lp-h2 { font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.22; letter-spacing: -.01em; color: var(--deep); margin: 0 auto 10px; max-width: 20em; }
.lp-h2.light { color: #fff; }
.lp-tag { margin: 0 auto; max-width: 36em; color: var(--muted); font-size: 1.05rem; }
.lp-tag.light { color: rgba(255, 255, 255, .8); }
.lp-compare { background: var(--white); }
.cmp { max-width: 860px; margin: 26px auto 0; }
.cmp-head, .cmp-rows li { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: stretch; gap: 0; }
.cmp-head { margin: 0; }
.cmp-head span { padding: 10px 16px; font-family: var(--head); font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; border-radius: 12px 12px 0 0; }
.cmp-head .cmp-old { background: #c0392b; } .cmp-head .cmp-new { background: #1f8a57; }
.cmp-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cmp-rows li { margin-top: 6px; }
.cmp-rows span { padding: 12px 16px; font-size: .98rem; line-height: 1.45; border-radius: 10px; }
.cmp-rows .cmp-old { background: #fbeceb; color: #6d2a22; border: 1px solid #f3d6d1; }
.cmp-rows .cmp-new { background: #e9f6ef; color: #175c3c; border: 1px solid #cfe9db; font-weight: 600; }
.cmp-rows i { display: grid; place-items: center; font-style: normal; color: var(--gold); font-weight: 800; }
.cmp-end { margin: 16px 0 0; padding: 16px 18px; text-align: center; border-radius: 14px; border: 1.5px solid #cfe9db; background: #f3fbf6; color: var(--deep); font-size: 1.05rem; }
.cmp-end strong { color: #1f8a57; }
.lp-who { background: var(--cream); }
.who-grid { list-style: none; padding: 0; margin: 24px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.who-grid li { padding: 18px 18px 16px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 14px; text-align: left; box-shadow: 0 18px 40px -34px rgba(28, 6, 10, .5); }
.who-grid strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1.02rem; color: var(--deep); }
.who-grid span { display: block; margin-top: 4px; font-size: .94rem; color: var(--muted); line-height: 1.5; }
.lp-ok { margin: 18px auto 16px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: #e9f6ef; color: #175c3c; font-weight: 600; font-size: .95rem; }
.lp-who .center { display: block; text-align: center; } .lp-who .lp-ok { display: table; margin-inline: auto; }
.lp-demo { background: radial-gradient(ellipse 80% 90% at 50% 0%, #7a1a2b 0%, #3d0c14 55%, #1c060a 100%); }
.lp-demo .start-card.lesson { width: min(900px, 100%); margin: 26px auto 0; text-align: center; }
.lp-inside .path { margin-top: 26px; }
.lp-inside .story-step { margin-top: 30px; }
.lp-plan { background: var(--white); }
.lp-final { background: radial-gradient(ellipse 80% 120% at 50% 100%, #7a1a2b 0%, #3d0c14 55%, #1c060a 100%); }
.lp-final .lp-tag { margin-bottom: 20px; }
.lp-final-links { margin: 16px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.lp-final-links a { color: #f2d389; }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: center; padding: 10px 14px; background: linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, .96) 40%); pointer-events: none; transform: translateY(110%); transition: transform .35s var(--ease); }
.lp-sticky.is-on { transform: none; }
.lp-sticky .btn { pointer-events: auto; flex-direction: column; gap: 2px; width: min(520px, 100%); padding: 11px 20px; border-radius: 14px; }
.lp-sticky strong { font-size: .86rem; letter-spacing: .08em; }
.lp-sticky small { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .85; }
body { padding-bottom: 0; } .site-footer { padding-bottom: 96px; }
@media (max-width: 860px) {
  .lp-hero { padding: 92px 0 36px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .lp-host .hero-figure { width: min(250px, 70%); }
  .who-grid { grid-template-columns: 1fr; }
  .cmp-head, .cmp-rows li { grid-template-columns: 1fr 22px 1fr; }
  .cmp-rows span { padding: 10px 10px; font-size: .88rem; }
  .cmp-head span { padding: 8px 10px; font-size: .64rem; letter-spacing: .08em; }
}

/* Landing page fixes: room under the two-row header; a highlighted phrase never breaks across lines */
.lp-hero { padding-top: 156px; }
mark { white-space: nowrap; }
.lp-h2 { max-width: 22em; }
@media (max-width: 860px) { .lp-hero { padding-top: 96px; } mark { white-space: normal; } .lp-h1 { font-size: clamp(1.8rem, 8.4vw, 2.5rem); } }

/* Host block: photo first, name tag under it, on every screen */
.lp-host { display: flex; flex-direction: column; align-items: center; }
.lp-host .hero-portrait { position: relative !important; inset: auto !important; order: 1; height: auto !important; min-height: 0 !important; margin: 0 !important; transform: none !important; opacity: 1 !important; }
.lp-host-tag { order: 2; }

/* No red anywhere: the comparison uses sand for the usual way and brand teal for ASTRA */
mark.bad { background: #e6dccb; color: #5b5346; }
.cmp-head .cmp-old { background: #8a8172; }
.cmp-head .cmp-new { background: #5a1220; }
.cmp-rows .cmp-old { background: #f4efe6; color: #5b5346; border-color: #e4dac6; }
.cmp-rows .cmp-new { background: #fbeedd; color: #3d0c14; border-color: #ead8ca; }
.cmp-end { background: #fdf7f0; border-color: #ead8ca; }
.cmp-end strong { color: #5a1220; }
.lp-ok { background: #fbeedd; color: #3d0c14; }
.lp-facts dd.free { color: #5a1220; }
.lp-offer-head .dot { background: #e2a93b; box-shadow: 0 0 0 4px rgba(226, 169, 59, .22); }
.quiz-opt.right { background: #fbeedd; border-color: #5a1220; color: #3d0c14; }
.quiz-opt.wrong { background: #f4efe6; border-color: #b9ad98; }
.lesson-msg.ok, .lead-msg.ok { color: #5a1220; }
.lesson-msg.bad, .lead-msg.bad { color: #a8621a; }

/* Hero in the sajith.fun style: photo left, greeting and headline right, a card overlapping the wave below */
.hero { padding-top: 150px; min-height: 0; }
.hero-inner { align-items: end; min-height: 0; }
.hero-copy { padding: 0 0 170px 12px; align-self: center; }
.hero-big { display: block; margin-top: 10px; font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.01em; color: #fff; }
.hero-big em { font-style: normal; color: var(--gold); }
.hero-copy .hero-sub { margin: 16px 0 20px; }
.hero-actions { gap: 12px; }
.hero .btn-ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hero .hero-figure { width: min(400px, 86%); }
.ghost span[lang], #ghost-word { font-family: "Tiro Devanagari Sanskrit", serif; }
.start .offer-card { padding: 8px 14px; width: min(980px, 100%); }
.offer-facts { margin: 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr .7fr; }
.offer-facts div { padding: 14px 18px; text-align: left; border-right: 1px solid var(--line); }
.offer-facts div:last-child { border-right: 0; }
.offer-facts dt { font-family: var(--head); font-weight: 700; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.offer-facts dd { margin: 4px 0 0; font-family: var(--head); font-weight: 800; font-size: 1.02rem; color: var(--deep); }
@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero-copy { padding: 0 0 14px; text-align: center; }
  .hero-actions { justify-content: center; }
  .offer-facts { grid-template-columns: 1fr 1fr; }
  .offer-facts div { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 12px; }
  .offer-facts div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Headings in the site's own style: coloured words, no highlight boxes */
mark, mark.bad { background: none; padding: 0; border-radius: 0; color: var(--gold); white-space: normal; }
mark.bad { color: var(--muted); }
.lp-h2.light mark { color: #f2d389; }
.cmp-head span { border-radius: 14px 14px 0 0; }
.cmp-rows span { border-radius: 12px; }

/* After the trim: no card under the hero, so the copy sits closer to the wave */
.hero-copy { padding-bottom: 110px; }
.chapter h3 { margin: 6px 0 8px; font-size: 1.15rem; }
.chapters-list li { align-items: center; }
@media (max-width: 860px) { .hero-copy { padding-bottom: 14px; } }

/* Temple Silk, as on sajith.fun: maroon, kumkum, saffron gold, ivory */
.rotator em, .hero-big em, mark, .hl-accent, .hl-light { color: #e2a93b; }
.lp-compare mark, .lp-inside mark, .lp-plan mark { color: #a8721b; }
.btn-primary { color: #3d0c14; }
.orb-1 { background: #c2343f; opacity: .5; } .orb-3 { background: #8a2a55; opacity: .3; }
