/* ==========================================================================
   Astro Syndicates — Temple theme
   Tokens · base · layout · header/toran · home sections · posts · footer
   ========================================================================== */

:root {
	--ground: #F6EEDF;
	--paper: #FFFBF3;
	--maroon: #6E1A17;
	--maroon-2: #5A1412;
	--maroon-deep: #3F0E0C;
	--kumkum: #A3262A;
	--gold: #B98A2E;
	--gold-deep: #9A7224;
	--gold-text: #7A5A16;
	--gold-light: #E2C27A;
	--saffron: #6E1A17; /* 0.4: action colour = maroon (60-30-10) */
	--saffron-dark: #3F0E0C;
	--ink: #2A1D14;
	--ink-2: #3F2A1C;
	--muted: #6E5B48;
	--on-deep: #E0C9A8;
	--line: #E6D6B8;
	--line-2: #DCC9A8;
	--palm: #E9D3A3;
	--palm-line: #CDB077;
	--leaf: #3E6B2F;
	--marigold: #B98A2E; /* 0.4: stars and small accents = gold */

	--font-display: "Marcellus", Georgia, serif;
	--font-te-display: "Ramaraja", "Noto Sans Telugu", serif;
	--font-body: "Inter", "Noto Sans Telugu", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-te: "Noto Sans Telugu", "Inter", sans-serif;

	--radius: 16px;
	--radius-lg: 22px;
	--arch: 999px 999px 16px 16px;
	--shadow: 0 20px 50px rgba(110, 26, 23, .12);
	--container: 1240px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 400 17px/1.7 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: .18em; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--maroon); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
[lang="te"] { font-family: var(--font-te); line-height: 1.8; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--maroon); color: #fff; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1040px; }
.center { text-align: center; }
.dots {
	background-color: var(--ground);
	background-image: radial-gradient(circle at 2px 2px, rgba(122, 90, 22, .16) 1.4px, transparent 1.6px);
	background-size: 26px 26px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--saffron); color: #fff; }
.btn--primary:hover { background: var(--saffron-dark); color: #fff; box-shadow: 0 12px 28px rgba(110, 26, 23, .28); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--gold { background: var(--gold-light); color: var(--maroon-deep); }
.btn--gold:hover { background: #EBD196; color: var(--maroon-deep); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.text-link { font-weight: 600; color: var(--maroon); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--paper); }
.site-header__bar { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px 24px; padding-top: 12px; padding-bottom: 12px; }
.site-header__brand { flex: none; }
.site-header__brand img, .custom-logo { max-height: 56px; width: auto; }
.wordmark { font-family: var(--font-display); font-size: 26px; color: var(--maroon); text-decoration: none; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav .menu { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: inline-block; padding: 8px 0; color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--maroon); }
.site-nav .sub-menu {
	list-style: none; position: absolute; z-index: 40; left: -16px; top: 100%; min-width: 230px; margin: 0; padding: 10px;
	border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease;
}
.site-nav .menu li:hover > .sub-menu, .site-nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.site-nav .sub-menu a:hover { background: var(--ground); }
.site-nav__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.cart-link { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--maroon); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }

/* Toran */
.toran { position: relative; height: 54px; overflow: hidden; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toran__string { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--gold); }
.toran__leaves { display: flex; justify-content: center; }
.toran__leaf { flex: none; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite alternate; }
.toran__leaf:nth-child(3n) { animation-duration: 6s; }
.toran__leaf:nth-child(4n) { animation-delay: -1.5s; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--maroon-deep); color: #F6EEDF; }
.section--deep .section-title { color: #F6EEDF; }
.section--deep .section-te, .section--deep .eyebrow { color: var(--gold-light); }
.section--deep .eyebrow__rule { background: var(--gold-light); }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow__rule { width: 64px; height: 1px; background: var(--gold); }
.section-head--left .eyebrow__rule:first-child { display: none; }
.section-title { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.section-te { margin: 6px 0 0; font-family: var(--font-te-display); font-size: clamp(22px, 3vw, 28px); line-height: 1.5; color: var(--gold-text); }
.section-lead { max-width: 640px; margin: -16px auto 40px; text-align: center; color: var(--muted); }

/* ---------- Hero ---------- */
.hero__inner { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 48px 64px; padding-top: 64px; padding-bottom: 96px; }
.hero__media { flex: 1 1 380px; display: flex; flex-direction: column; align-items: center; }
.hero__finial { margin-bottom: -6px; line-height: 0; }
.arch { padding: 8px; border-radius: 190px 190px 14px 14px; background: var(--gold); box-shadow: 0 24px 60px rgba(110, 26, 23, .2); }
.arch__inner { padding: 4px; border-radius: 182px 182px 10px 10px; background: var(--paper); }
.arch__img { width: 340px; max-width: 100%; height: 450px; object-fit: cover; object-position: 50% 18%; border-radius: 178px 178px 8px 8px; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--maroon); }
.flame { transform-origin: 50% 100%; animation: flick 1.6s ease-in-out infinite alternate; }
@keyframes flick { 0% { transform: scale(1, 1); } 50% { transform: scale(.94, 1.06); } 100% { transform: scale(1.04, .96); } }
.hero__text { flex: 1 1 520px; min-width: 0; }
.hero__greeting { margin: 0 0 8px; font-family: var(--font-te-display); font-size: 26px; color: var(--kumkum); }
.hero__title { margin: 0; font-size: clamp(42px, 6vw, 66px); line-height: 1.08; }
.hero__te { margin: 16px 0 0; font-family: var(--font-te-display); font-size: 24px; color: var(--gold-text); }
.hero__lead { margin: 16px 0 0; max-width: 560px; font-size: 18px; color: #4A3B2E; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; margin: 40px 0 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.hero__stats div { flex: 1 1 140px; padding: 16px 0; }
.hero__stats dt { font-family: var(--font-display); font-size: 28px; color: var(--maroon); line-height: 1.2; }
.hero__stats dd { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Today / palm leaf ---------- */
.today { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.today__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.palm { position: relative; flex: 1 1 620px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 22px 48px; border-radius: 999px; background: var(--palm); border: 1px solid var(--palm-line); }
.palm__hole { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 999px; background: rgba(110, 26, 23, .35); }
.palm__hole--l { left: 20px; } .palm__hole--r { right: 20px; }
.palm__title { margin: 0; font-family: var(--font-te-display); font-size: 28px; line-height: 1.3; color: var(--maroon); }
.palm__date { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.palm__text { flex: 1 1 280px; margin: 0; font-size: 15px; color: var(--ink-2); }
.today__video { flex: 0 1 360px; display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.today__thumb { flex: none; width: 140px; height: 79px; border-radius: 10px; overflow: hidden; border: 2px solid var(--gold); background: var(--maroon-deep); }
.today__thumb img { width: 100%; height: 100%; object-fit: cover; }
.today__label { display: flex; flex-direction: column; gap: 6px; }
.today__name { font-weight: 600; line-height: 1.35; }
.today__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--saffron); }

/* ---------- Rasi chart ---------- */
.chart { padding: 10px; background: var(--paper); border: 2px solid var(--maroon); border-radius: 4px; box-shadow: var(--shadow); }
.chart__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--maroon); border: 2px solid var(--maroon); }
.chart__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 14px 6px; background: var(--paper); color: var(--maroon); text-decoration: none; transition: background-color .25s ease; }
.chart__cell:hover { background: #F9EBD3; color: var(--maroon); }
.chart__icon { color: var(--kumkum); }
.chart__te { font-family: var(--font-te-display); font-size: 24px; line-height: 1.3; }
.chart__en { font-size: 12px; font-weight: 600; color: var(--muted); }
.chart__center { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px; background: var(--ground); text-align: center; }
.chart__center-te { font-family: var(--font-te-display); font-size: 30px; color: var(--maroon); line-height: 1.2; }
.chart__video { position: relative; display: block; width: 100%; max-width: 330px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 3px solid var(--gold); background: var(--maroon-deep); }
.chart__video img { width: 100%; height: 100%; object-fit: cover; }
.chart__play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 999px; background: var(--maroon); display: flex; align-items: center; justify-content: center; }
.chart__date { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Consultations ---------- */
.consults { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.consult { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 28px 32px; border-radius: 160px 160px 16px 16px; background: var(--ground); border: 1.5px solid var(--line-2); text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.consult:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.consult__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--gold); color: var(--maroon); display: flex; align-items: center; justify-content: center; }
.consult__title { margin: 4px 0 0; font-size: 28px; }
.consult__title a { color: inherit; text-decoration: none; }
.consult__tag { margin: 0; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.consult__text { margin: 0; font-size: 15px; color: var(--muted); }
.consult__price { margin: 6px 0 4px; font-family: var(--font-display); font-size: 36px; color: var(--ink); line-height: 1.1; }
.consult--featured { background: var(--maroon); border-color: var(--maroon); color: #F6EEDF; }
.consult--featured .consult__title, .consult--featured .consult__price { color: #F6EEDF; }
.consult--featured .consult__icon { background: var(--maroon-2); border-color: var(--gold-light); color: var(--gold-light); }
.consult--featured .consult__tag { color: var(--gold-light); }
.consult--featured .consult__text { color: #EADBC4; }

/* ---------- Rituals ---------- */
.rituals { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.ritual { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; text-align: center; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); transition: background-color .25s ease; }
.ritual:last-child { border-right: 0; }
.ritual:hover { background: #F9EBD3; color: var(--ink); }
.ritual__te { font-family: var(--font-te-display); font-size: 30px; color: var(--maroon); line-height: 1.3; }
.ritual__en { font-weight: 600; font-size: 15px; }
.ritual__from { font-size: 14px; color: var(--muted); }

/* ---------- Videos ---------- */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.split-head .section-head { margin-bottom: 0; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills--center { justify-content: center; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(226, 194, 122, .5); color: #F6EEDF; font-size: 14px; text-decoration: none; }
.pill span { opacity: .75; }
.pill:hover { background: var(--gold-light); color: var(--maroon-deep); }
.pill--light { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.pill--light:hover, .pill--light.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.vcard { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 18px; border-radius: 14px; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.vcard:hover { transform: translateY(-3px); }
.vcard--dark { background: var(--maroon-2); color: #F6EEDF; }
.vcard--dark:hover { color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.vcard--light { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.vcard--light:hover { color: var(--ink); box-shadow: var(--shadow); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--maroon-deep); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 999px; background: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.vcard__title { padding: 0 6px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.vcard__meta { padding: 0 6px; font-size: 13px; opacity: .8; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 32px; }
.person { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; background: var(--ground); border: 1px solid var(--line); }
.person__img { width: 72px; height: 72px; flex: none; border-radius: 999px; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--gold); }
.person__text { display: flex; flex-direction: column; gap: 3px; }
.person__name { font-weight: 600; line-height: 1.3; }
.person__role { font-size: 13px; color: var(--muted); }

/* ---------- Page & single ---------- */
.page-head { padding: 64px 0 24px; text-align: center; }
.page-head .section-head { margin-bottom: 16px; }
.page-body { padding-top: 24px; padding-bottom: 96px; }
.page-body--full { padding-top: 0; }
.single__head { padding: 56px 0 32px; }
.single__crumbs { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.single__crumbs a { color: var(--gold-text); text-decoration: none; }
.single__title { margin: 0; font-size: clamp(30px, 4.4vw, 46px); }
.single__meta { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.single__main { padding-bottom: 72px; }
.single__image img { border-radius: var(--radius-lg); }
.booking-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin: 28px 0; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1.5px solid var(--line-2); }
.booking-card__icon { width: 52px; height: 52px; flex: none; border-radius: 999px; background: var(--ground); border: 1.5px solid var(--gold); color: var(--maroon); display: flex; align-items: center; justify-content: center; }
.booking-card__text { flex: 1 1 260px; display: flex; flex-direction: column; }
.booking-card__text strong { color: var(--maroon); font-weight: 600; }
.booking-card__text span { font-size: 15px; color: var(--muted); }

/* YouTube click-to-play */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--maroon-deep); border: 3px solid var(--gold); box-shadow: var(--shadow); }
.yt__poster { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 0; border-radius: 999px; background: var(--maroon); box-shadow: 0 0 0 8px rgba(246, 238, 223, .3); cursor: pointer; display: flex; align-items: center; justify-content: center; padding-left: 6px; transition: transform .25s ease, background-color .25s ease; }
.yt__play:hover { transform: scale(1.06); background: var(--saffron); }
.yt__fallback { position: absolute; right: 12px; bottom: 10px; font-size: 13px; color: #F6EEDF; }
.yt__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing .yt__play, .yt.is-playing .yt__poster, .yt.is-playing .yt__fallback { display: none; }

/* Entry content */
.entry-content { font-size: 17px; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 32px; margin-top: 1.4em; }
.entry-content h3 { font-size: 26px; margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 12px 24px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 12px 12px 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.single__body { overflow-wrap: anywhere; color: var(--ink-2); }

.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.post-navigation .nav-next a { text-align: right; }
.nav-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.nav-title { font-weight: 600; line-height: 1.4; }

/* Forms (search, comments) */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type="password"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
	background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font-body);
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(110, 26, 23, .16); }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--maroon); color: #fff; font: 600 15px var(--font-body); cursor: pointer; }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* Comments */
.comments { padding: 48px 0 72px; }
.comments__list { list-style: none; padding: 0; }
.comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input[type="submit"] { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--saffron); color: #fff; font: 600 15px var(--font-body); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-deep); color: var(--on-deep); }
.site-footer__band { height: 10px; background: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 64px; }
.site-footer__name { margin: 0; font-family: var(--font-display); font-size: 26px; color: #F6EEDF; }
.site-footer__te { margin: 4px 0 10px; font-family: var(--font-te-display); font-size: 20px; color: var(--gold-light); }
.site-footer__text { font-size: 14px; }
.site-footer__heading { margin: 0 0 12px; font-weight: 600; color: #F6EEDF; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--maroon-2); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px;
		background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
	}
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.site-nav .menu { flex-direction: column; gap: 0; margin: 0; }
	.site-nav .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.site-nav__actions { justify-content: space-between; }
	.site-header__bar { position: relative; }
}
@media (max-width: 720px) {
	:root { --gutter: 18px; }
	body { font-size: 16px; }
	.section { padding: 72px 0; }
	.hero__inner { padding-top: 40px; padding-bottom: 64px; }
	.arch__img { width: 280px; height: 370px; }
	.palm { border-radius: 28px; padding: 20px 28px; }
	.chart__cell { min-height: 104px; padding: 10px 2px; }
	.chart__te { font-size: 15px; }
	.chart__en { display: none; }
	.chart__icon { width: 28px; height: 28px; }
	.chart__center { padding: 10px; gap: 6px; }
	.chart__center-te { font-size: 20px; }
	.chart__date { font-size: 12px; }
	.ritual { border-right: 0; border-bottom: 1px solid var(--line); }
	.ritual:last-child { border-bottom: 0; }
	.eyebrow__rule { width: 32px; }
}

/* ==========================================================================
   Inner pages (0.1.3): about, vedapaatashala, contact, music, services hub,
   appointments, empty-page fallback, policies, gallery
   ========================================================================== */
.page-head__lead { margin: 0 auto; }
.eyebrow--left { display: block; }
.feature-img { margin: 0 0 40px; }
.feature-img img { width: 100%; border-radius: var(--radius-lg); border: 3px solid var(--gold); box-shadow: var(--shadow); }

/* Story (About) */
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.story__media { flex: 0 1 340px; display: flex; justify-content: center; margin: 0 auto; }
.story__text { flex: 1 1 480px; min-width: 0; }
.story__text .section-te { margin-bottom: 18px; }
.story__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.arch--sm .arch__img { width: 300px; height: 400px; }
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--maroon); }

/* People, priests, scholars */
.people--lg { max-width: 880px; margin-left: auto; margin-right: auto; }
.person--lg { padding: 22px; background: var(--paper); }
.person--lg .person__img { width: 96px; height: 96px; }
.person--lg .person__name { font-size: 18px; }
.priests { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; margin: 0 0 48px; }
.priest { flex: 0 1 200px; margin: 0; text-align: center; }
.priest__frame { display: block; padding: 5px; margin: 0 auto 14px; max-width: 220px; border-radius: 120px 120px 12px 12px; background: var(--gold); }
.priest__frame img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 15%; border-radius: 116px 116px 8px 8px; background: var(--ground); }
.priest figcaption { display: flex; flex-direction: column; gap: 2px; }
.priest__name { font-weight: 600; line-height: 1.35; }
.priest__years { font-size: 13px; color: var(--muted); }
.scholars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin: 8px 0 48px; }
.scholar { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--ground); border: 1.5px solid var(--line-2); text-align: center; }
.scholar__img { width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 999px; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--gold); }
.scholar__name { margin: 0; font-size: 26px; }
.scholar__role { margin: 4px 0 14px; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.scholar p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.contact-card:hover { border-color: var(--gold); color: var(--ink); }
.contact-card__icon { width: 52px; height: 52px; flex: none; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--gold); color: var(--maroon); display: flex; align-items: center; justify-content: center; }
.contact-card__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.contact-card__value { display: block; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card__value--small { font-size: 15px; font-weight: 500; line-height: 1.55; }
.contact__social { margin: 6px 0 0; font-size: 15px; }
.contact__form { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1.5px solid var(--line-2); box-shadow: var(--shadow); }
.contact__form-title { font-size: 30px; }
.contact-book { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--ground); border: 1.5px dashed var(--gold); }
.contact-book p { margin: 0 0 14px; }
.contact-book--center { max-width: 760px; margin: 64px auto 0; text-align: center; }
.contact-book--center .btn { margin: 4px; }

/* Everest Forms */
.everest-forms .evf-frontend-row { margin: 0; }
.everest-forms .evf-field { margin-bottom: 16px; padding: 0; }
.everest-forms label.evf-field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.everest-forms label.evf-field-label .evf-label, .everest-forms label.evf-field-label .required { display: inline; }
.everest-forms .required { color: var(--kumkum); text-decoration: none; border: 0; }
.everest-forms input.input-text, .everest-forms textarea { max-width: 100%; }
.everest-forms .evf-submit-container { margin-top: 8px; }
.everest-forms .evf-submit-container button.everest-forms-submit-button, .everest-forms .evf-submit-container input[type="submit"] {
	min-height: 50px; padding: 0 26px; border: 0 !important; border-radius: 12px; background: var(--saffron) !important; color: #fff !important;
	font: 600 15px/1.2 var(--font-body); cursor: pointer; box-shadow: none;
}
.everest-forms .evf-submit-container button.everest-forms-submit-button:hover { background: var(--saffron-dark) !important; }
.everest-forms-notice { padding: 14px 18px; border-radius: 12px; background: #EEF5E9; border: 1px solid #BFD6B0; color: var(--leaf); }

/* Carnatic music */
.teacher { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.teacher--flip { flex-direction: row-reverse; }
.teacher__media { flex: 0 1 320px; display: flex; justify-content: center; margin: 0 auto; }
.teacher__text { flex: 1 1 480px; min-width: 0; }
.teacher__intro { margin: 16px 0 24px; font-size: 18px; color: var(--ink-2); }
.teacher__group { margin-bottom: 12px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); }
.teacher__group summary { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-weight: 600; color: var(--maroon); cursor: pointer; list-style: none; }
.teacher__group summary::-webkit-details-marker { display: none; }
.teacher__group summary::after { content: "+"; font: 400 24px/1 var(--font-display); color: var(--gold-text); }
.teacher__group[open] summary::after { content: "\2212"; }
.teacher__count { margin-left: auto; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-size: 12px; text-align: center; color: var(--muted); }
.teacher__group ul { margin: 0; padding: 0 20px 16px 40px; font-size: 15px; color: var(--ink-2); }
.teacher__group li { margin: 4px 0; }

/* Services hub */
.hub { display: grid; gap: 28px; }
.hub__group { padding: 28px 32px; border-radius: var(--radius-lg); background: var(--ground); border: 1.5px solid var(--line-2); }
.hub__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.hub__icon { width: 64px; height: 64px; flex: none; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.hub__title { margin: 0; font-size: 30px; }
.hub__title [lang="te"] { font-family: var(--font-te-display); line-height: 1.4; }
.hub__en { font: 600 15px/1.4 var(--font-body); color: var(--muted); }
.hub__meta { margin: 0; font-size: 14px; color: var(--muted); }
.hub__all { margin-left: auto; }
.hub__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 40px; }
.hub__list a { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hub__list a:hover { color: var(--maroon); }
.hub__list a:hover .hub__name { text-decoration: underline; text-underline-offset: .2em; }
.hub__name { min-width: 0; }
.hub__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-2); transform: translateY(-4px); }
.hub__price { flex: none; font-weight: 600; color: var(--maroon); }
.hub__list--wide { margin-bottom: 8px; }

/* Empty-page product spotlight */
.spot { display: flex; flex-wrap: wrap; margin: 0 0 48px; border-radius: var(--radius-lg); background: var(--ground); border: 1.5px solid var(--line-2); overflow: hidden; }
.spot__media { flex: 1 1 360px; display: block; min-height: 260px; background: var(--maroon-deep); }
.spot__img { width: 100%; height: 100%; object-fit: cover; }
.spot__media--icon { display: flex; align-items: center; justify-content: center; background-color: var(--paper); background-image: radial-gradient(circle at 2px 2px, rgba(122, 90, 22, .16) 1.4px, transparent 1.6px); background-size: 22px 22px; }
.spot__body { flex: 1 1 420px; padding: 40px; }
.spot__title { margin: 0 0 12px; font-size: clamp(32px, 4vw, 44px); }
.spot__text { color: var(--muted); }
.spot__price { margin: 8px 0 20px; font-family: var(--font-display); font-size: 36px; color: var(--ink); line-height: 1.1; }

/* Appointments */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1.5px solid var(--line-2); }
.step__num { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 999px; background: var(--maroon); border: 2px solid var(--gold-light); color: var(--gold-light); font: 400 24px/1 var(--font-display); }
.step__title { margin: 0 0 8px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.note { max-width: 860px; margin: 40px auto 0; padding: 20px 24px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--gold); font-size: 15px; }
.note p { margin: 0 0 8px; }
.note p:last-child { margin: 0; }

/* Policies & reading pages */
.prose { max-width: 780px; margin: 0 auto; color: var(--ink-2); }
.prose--policy { padding: 40px 48px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.prose--policy h2 { margin: 1.8em 0 .6em; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 26px; }
.prose--policy > h2:first-child { margin-top: 0; }
.prose--policy li { margin: .35em 0; }
.prose--policy ul ul { margin: .3em 0; }

/* Gallery (NextGEN) */
.page-body--gallery .ngg-galleryoverview { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; overflow: visible; }
.page-body--gallery .ngg-gallery-thumbnail-box { float: none !important; width: auto !important; margin: 0 !important; }
.page-body--gallery .ngg-gallery-thumbnail { float: none; margin: 0; padding: 0; border: 0; background: none; text-align: left; }
.page-body--gallery .ngg-gallery-thumbnail a { display: block; margin: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 8px 24px rgba(110, 26, 23, .12); transition: transform .3s ease, box-shadow .3s ease; }
.page-body--gallery .ngg-gallery-thumbnail a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.page-body--gallery .ngg-gallery-thumbnail img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; padding: 0; border: 0; background: var(--ground); }
.page-body--gallery .ngg-clear, .page-body--gallery .slideshowlink { display: none; }
.page-body--gallery .ngg-navigation { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; font-size: 15px; }
.page-body--gallery .ngg-navigation a, .page-body--gallery .ngg-navigation span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 0 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-body--gallery .ngg-navigation .current, .page-body--gallery .ngg-navigation a:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

@media (max-width: 900px) {
	.contact { grid-template-columns: 1fr; }
	.teacher--flip { flex-direction: row; }
}
@media (max-width: 720px) {
	.arch--sm .arch__img { width: 250px; height: 330px; }
	.hub__group { padding: 22px 18px; }
	.hub__title { font-size: 26px; }
	.hub__all { margin-left: 0; }
	.hub__list { grid-template-columns: 1fr; }
	.spot__body { padding: 28px 22px; }
	.prose--policy { padding: 24px 20px; }
	.contact__form { padding: 22px 18px; }
	.contact-card__value { font-size: 16px; }
	.priests { gap: 24px 14px; }
	.priest { flex-basis: calc(50% - 7px); }
	.page-body--gallery .ngg-galleryoverview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ==========================================================================
   0.2.0: WhatsApp button, testimonials, articles, video summary
   ========================================================================== */
.wa-float {
	position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
	display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
	background: #1F8F4E; color: #fff; font: 600 15px/1 var(--font-body); text-decoration: none;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .22), 0 0 0 3px rgba(255, 251, 243, .9);
	transition: transform .25s ease, background-color .25s ease;
}
.wa-float:hover, .wa-float:focus-visible { background: #17733E; color: #fff; transform: translateY(-2px); }
.wa-float__icon { flex: none; }
.section--tight { padding: 64px 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 28px 26px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1.5px solid var(--line-2); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 18px; font: 400 72px/1 var(--font-display); color: var(--gold-light); }
.quote__stars { margin: 0; letter-spacing: 3px; color: var(--marigold); font-size: 16px; }
.quote__text { margin: 0; flex: 1; font-size: 15.5px; color: var(--ink-2); }
.quote__text p { margin: 0; }
.quote__by { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.quote__name { font-weight: 600; color: var(--maroon); }
.quote__meta { font-size: 13px; color: var(--muted); text-decoration: none; }
.quote__meta:hover { color: var(--maroon); text-decoration: underline; }
.section--paper .quote { background: var(--ground); }

/* Video summary */
.video-summary { margin: 24px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--gold); font-size: 17px; color: var(--ink-2); }
.video-summary p:last-child { margin: 0; }
.hide-author-box .wp-post-author, .hide-author-box .awpa-author-block, .hide-author-box .wp-post-author-wrap, .hide-author-box .awpa-title { display: none !important; }

/* Articles */
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.acard { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.acard:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.acard__media { display: block; aspect-ratio: 16 / 9; background: var(--maroon-deep); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__media--plain { display: flex; align-items: center; justify-content: center; background-color: var(--ground); background-image: radial-gradient(circle at 2px 2px, rgba(122, 90, 22, .16) 1.4px, transparent 1.6px); background-size: 22px 22px; }
.acard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.acard__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.acard__title { font-family: var(--font-display); font-size: 24px; line-height: 1.25; color: var(--maroon); }
.acard__excerpt { font-size: 15px; color: var(--muted); }
.acard__meta { font-size: 13px; color: var(--muted); }
.section--deep .acard { border-color: transparent; }
.prose--article { font-size: 18px; line-height: 1.8; }
.prose--article h2 { font-size: 30px; }
.empty-state { max-width: 640px; margin: 0 auto; padding: 40px 28px; border-radius: var(--radius-lg); background: var(--paper); border: 1.5px dashed var(--gold); text-align: center; }
.empty-state svg { margin: 0 auto 12px; }
.empty-state .btn { margin: 4px; }
.split-head > .btn { flex: none; }

@media (max-width: 720px) {
	.wa-float { width: 56px; padding: 0; justify-content: center; }
	.wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
	.quote { padding: 24px 20px 20px; }
	.agrid { grid-template-columns: 1fr; }
}
@media print { .wa-float { display: none; } }

/* ==========================================================================
   0.3.0: artwork, video backgrounds, ticker, patterns and motion
   ========================================================================== */

/* Kolam lattice pattern (alternative to the dot grid) */
.kolam {
	background-color: var(--ground);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23B98A2E' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M36 12c7 7 7 17 0 24-7-7-7-17 0-24zM36 36c7 7 7 17 0 24-7-7-7-17 0-24zM12 36c7-7 17-7 24 0-7 7-17 7-24 0zM36 36c7-7 17-7 24 0-7 7-17 7-24 0z'/%3E%3Ccircle cx='36' cy='36' r='3'/%3E%3C/g%3E%3Cg fill='%23B98A2E' fill-opacity='.3'%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='72' cy='0' r='2'/%3E%3Ccircle cx='0' cy='72' r='2'/%3E%3Ccircle cx='72' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 72px 72px;
}

/* Gold shimmer on eyebrow rules */
.eyebrow__rule { background: linear-gradient(90deg, rgba(185, 138, 46, .25), var(--gold), rgba(226, 194, 122, 1), var(--gold), rgba(185, 138, 46, .25)); background-size: 200% 100%; animation: astro-shimmer 6s linear infinite; }
@keyframes astro-shimmer { to { background-position: -200% 0; } }

/* Hero: rotating gold mandala behind Guruji's portrait */
.hero__media { position: relative; }
.hero__media > *:not(.hero__halo) { position: relative; z-index: 1; }
.hero__halo {
	position: absolute; left: 50%; top: 46%; z-index: 0; width: min(640px, 135%); aspect-ratio: 1; transform: translate(-50%, -50%);
	pointer-events: none; opacity: .72; mix-blend-mode: multiply;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 70%);
}
.hero__halo .bgvideo { width: 100%; height: 100%; object-fit: cover; }

/* Rashi ticker */
.ticker { overflow: hidden; background: var(--maroon); color: var(--gold-light); border-block: 1px solid var(--maroon-2); }
.ticker__track { display: flex; width: max-content; padding: 12px 0; animation: astro-ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; font-family: var(--font-te-display); font-size: 20px; line-height: 1.4; white-space: nowrap; }
.ticker__item svg { flex: none; }
.ticker__dot { align-self: center; color: var(--gold); opacity: .7; }
@keyframes astro-ticker { to { transform: translateX(-50%); } }

/* Ritual cards with artwork */
.rituals--art { gap: 22px; background: none; border: 0; border-radius: 0; overflow: visible; }
.rituals--art .ritual { border: 1.5px solid var(--line-2); }
.ritual--art { position: relative; padding: 0 16px 26px; border-radius: 160px 160px 18px 18px; background: var(--paper); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.ritual--art:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--paper); }
.ritual__media { display: block; width: calc(100% + 32px); margin: 0 -16px; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 160px 160px 0 0; background: var(--maroon-deep); }
.ritual__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ritual--art:hover .ritual__media img { transform: scale(1.07); }
.ritual__icon { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 999px; background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 10px 24px rgba(110, 26, 23, .18); }
.ritual--art .ritual__icon { position: relative; z-index: 1; margin-top: -44px; }
.ritual__icon img { width: 62px; height: 62px; object-fit: contain; }

/* Section background video (video library) */
.has-bgvideo { position: relative; isolation: isolate; overflow: hidden; }
.section__bgvideo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.has-bgvideo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(63, 14, 12, .72) 0%, rgba(63, 14, 12, .86) 60%, rgba(63, 14, 12, .95) 100%); }

/* "Speak with Guruji" band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 104px; background: var(--maroon-deep); color: #F6EEDF; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 30%, rgba(63, 14, 12, .25), rgba(63, 14, 12, .82) 75%); }
.cta-band__te { margin: 0 0 10px; font-family: var(--font-te-display); font-size: 22px; color: var(--gold-light); }
.cta-band__title { max-width: 820px; margin: 0 auto 12px; color: #FFF8EC; font-size: clamp(32px, 5vw, 54px); }
.cta-band__text { max-width: 600px; margin: 0 auto 28px; color: #EADBC4; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn--ghost { border-color: rgba(246, 238, 223, .7); background: transparent; color: #F6EEDF; }
.btn--ghost:hover { background: #F6EEDF; color: var(--maroon-deep); }
.btn--gold { box-shadow: 0 0 0 0 rgba(226, 194, 122, .6); }
.cta-band .btn--gold { animation: astro-glow 2.8s ease-in-out infinite; }
@keyframes astro-glow { 50% { box-shadow: 0 0 0 10px rgba(226, 194, 122, 0); } }
.btn--wa { width: 100%; background: #1F8F4E; color: #fff; }
.btn--wa:hover { background: #17733E; color: #fff; }

/* Page headings with artwork */
.page-head--art { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 56px; }
.page-head__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 55%; }
.page-head--art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(246, 238, 223, .62) 0%, rgba(246, 238, 223, .86) 70%, var(--ground) 100%); }
.page-head--dark::after { background: linear-gradient(90deg, rgba(36, 10, 8, .92) 0%, rgba(36, 10, 8, .72) 55%, rgba(36, 10, 8, .5) 100%); }
.page-head--dark .section-title { color: #FFF8EC; }
.page-head--dark .section-te, .page-head--dark .eyebrow { color: var(--gold-light); }
.page-head--dark .section-lead { color: #EADBC4; }

/* Scroll reveal (classes are added by main.js only) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--reveal-i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Gentle flame flicker on the hero rating lamp */
.hero__rating .flame { transform-origin: 50% 90%; animation: astro-flicker 2.4s ease-in-out infinite; }
@keyframes astro-flicker { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.06, .94); opacity: .9; } 70% { transform: scale(.96, 1.05); } }

@media (max-width: 720px) {
	.hero__halo { width: 120%; opacity: .4; }
	.ticker__item { font-size: 17px; padding: 0 14px; }
	.rituals--art { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.ritual--art { padding: 0 10px 18px; border-radius: 120px 120px 14px 14px; }
	.ritual__media { width: calc(100% + 20px); margin: 0 -10px; border-radius: 120px 120px 0 0; }
	.ritual__icon { width: 64px; height: 64px; }
	.ritual--art .ritual__icon { margin-top: -34px; }
	.ritual__icon img { width: 46px; height: 46px; }
	.rituals--art .ritual__te { font-size: 24px; }
	.cta-band { padding: 88px 0 80px; }
	.page-head--art { padding: 72px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   0.4.0: 60-30-10 palette, one-row feedback carousel, alternating
   light/dark sections, footer with booking card.
   60 cream (--ground, --paper) · 30 maroon (--maroon, --maroon-deep) ·
   10 gold (--gold, --gold-light). Buttons on light = maroon, on dark = gold.
   ========================================================================== */

.hero__greeting, .chart__icon { color: var(--maroon); }
.section--deep :focus-visible, .site-footer :focus-visible, .ticker :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-light); }

/* Rashi ticker = the gold accent band */
.ticker { background: linear-gradient(90deg, #D7B062, var(--gold-light) 30%, #EBD196 50%, var(--gold-light) 70%, #D7B062); color: var(--maroon-deep); border-block: 1px solid var(--gold); }
.ticker__dot { color: var(--maroon); opacity: .55; }

/* Kolam lattice in gold on maroon */
.kolam-deep {
	background-color: var(--maroon-deep);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23E2C27A' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M36 12c7 7 7 17 0 24-7-7-7-17 0-24zM36 36c7 7 7 17 0 24-7-7-7-17 0-24zM12 36c7-7 17-7 24 0-7 7-17 7-24 0zM36 36c7-7 17-7 24 0-7 7-17 7-24 0z'/%3E%3Ccircle cx='36' cy='36' r='3'/%3E%3C/g%3E%3Cg fill='%23E2C27A' fill-opacity='.14'%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='72' cy='0' r='2'/%3E%3Ccircle cx='0' cy='72' r='2'/%3E%3Ccircle cx='72' cy='72' r='2'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 72px 72px;
}
.section--deep .section-lead { color: var(--on-deep); }
.section--deep .section-lead a { color: var(--gold-light); }
.section--deep .section-lead a:hover { color: #FFF8EC; }

/* One-row carousel */
.carousel { position: relative; }
.quotes {
	position: relative; display: grid; grid-template-columns: none; grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-block: 6px 10px;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes:focus-visible { outline-offset: 6px; }
.quote { scroll-snap-align: start; transition: border-color .3s ease, transform .3s ease, background-color .3s ease; }
.quote__by { flex-direction: row; align-items: center; gap: 12px; }
.quote__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--maroon); color: var(--gold-light); font: 400 19px/1 var(--font-display); }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.carousel__nav[hidden] { display: none; }
.carousel__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--maroon); background: transparent; color: var(--maroon); cursor: pointer; transition: background-color .2s, color .2s; }
.carousel__btn:hover { background: var(--maroon); color: #FFF8EC; }
.carousel__dots { display: flex; align-items: center; gap: 8px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(110, 26, 23, .25); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.carousel__dot.is-active { width: 26px; background: var(--maroon); }

/* Feedback cards on maroon */
.section--deep .quote { background: rgba(246, 238, 223, .05); border: 1px solid rgba(226, 194, 122, .28); color: var(--on-deep); }
.section--deep .quote:hover { background: rgba(246, 238, 223, .08); border-color: rgba(226, 194, 122, .6); transform: translateY(-3px); }
.section--deep .quote::before { color: rgba(226, 194, 122, .35); }
.section--deep .quote__text { color: #EADBC4; }
.section--deep .quote__stars { color: var(--gold-light); }
.section--deep .quote__by { border-top-color: rgba(226, 194, 122, .2); }
.section--deep .quote__name { color: #FFF8EC; }
.section--deep .quote__meta { color: var(--on-deep); }
.section--deep .quote__meta:hover { color: var(--gold-light); }
.section--deep .quote__avatar { background: var(--gold-light); color: var(--maroon-deep); }
.section--deep .carousel__btn { border-color: rgba(226, 194, 122, .6); color: var(--gold-light); }
.section--deep .carousel__btn:hover { background: var(--gold-light); color: var(--maroon-deep); }
.section--deep .carousel__dot { background: rgba(226, 194, 122, .3); }
.section--deep .carousel__dot.is-active { background: var(--gold-light); }

@media (max-width: 1024px) {
	.quotes { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 720px) {
	.quotes { grid-auto-columns: 86%; gap: 14px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-padding-right: var(--gutter); }
	.carousel__nav { margin-top: 20px; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 3px solid var(--gold); }
.site-footer--cta { border-top: 0; background: linear-gradient(180deg, var(--ground) 0, var(--ground) 132px, var(--gold) 132px, var(--gold) 135px, var(--maroon-deep) 135px); }

.footer-cta {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
	padding: 52px 60px; border-radius: 28px; background: var(--maroon-deep); color: #F6EEDF;
	box-shadow: 0 30px 70px rgba(63, 14, 12, .28);
}
.footer-cta::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(226, 194, 122, .35); border-radius: 20px; pointer-events: none; }
.footer-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(63, 14, 12, .95) 0%, rgba(63, 14, 12, .8) 50%, rgba(63, 14, 12, .42) 100%); }
.footer-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.footer-cta__text { flex: 1 1 440px; max-width: 640px; }
.footer-cta__te { margin: 0 0 6px; font-family: var(--font-te-display); font-size: 20px; color: var(--gold-light); }
.footer-cta__title { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: #FFF8EC; }
.footer-cta__sub { margin: 0; font-size: 16px; color: #EADBC4; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .btn--gold { animation: astro-glow 2.8s ease-in-out infinite; }
.site-footer .btn--gold, .site-footer .btn--gold:hover, .site-footer .btn--ghost:hover { color: var(--maroon-deep); }
.site-footer .btn--ghost { color: #F6EEDF; }

.site-footer__main { position: relative; padding-top: 72px; }
.site-footer--cta .site-footer__main { padding-top: 64px; }
.site-footer__mandala { position: absolute; top: -40px; right: -170px; width: 580px; height: 580px; max-width: none; color: var(--gold-light); opacity: .07; pointer-events: none; animation: astro-spin 200s linear infinite; }
@keyframes astro-spin { to { transform: rotate(360deg); } }

.site-footer__grid { position: relative; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px 48px; padding-top: 0; }
.site-footer__name { display: inline-block; font-family: var(--font-display); font-size: 30px; line-height: 1.2; color: #FFF8EC; }
.site-footer a.site-footer__name { color: #FFF8EC; }
.site-footer a.site-footer__name:hover { color: var(--gold-light); }
.site-footer__text { max-width: 330px; margin-bottom: 22px; }
.site-footer__heading { position: relative; margin: 0 0 18px; padding-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.site-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; border-radius: 2px; background: var(--gold); }
.site-footer .footer__links { gap: 11px; font-size: 15px; }
.site-footer .footer__links a { display: inline-flex; align-items: center; }
.site-footer .footer__links a::before { content: ""; flex: none; width: 0; height: 1px; margin-right: 0; background: var(--gold-light); transition: width .25s ease, margin .25s ease; }
.site-footer .footer__links a:hover::before, .site-footer .footer__links a:focus-visible::before { width: 14px; margin-right: 8px; }

.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.site-footer .social__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(226, 194, 122, .35); color: var(--gold-light); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.site-footer .social__link:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--maroon-deep); transform: translateY(-3px); }

.fcontact { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; }
.fcontact li { display: flex; align-items: center; gap: 14px; }
.fcontact__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(226, 194, 122, .1); border: 1px solid rgba(226, 194, 122, .22); color: var(--gold-light); }
.fcontact__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fcontact__label { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep); opacity: .75; }
.site-footer .fcontact__body a { font-size: 15px; color: #FFF8EC; overflow-wrap: anywhere; }
.site-footer .fcontact__body a:hover { color: var(--gold-light); }

.site-footer__word {
	position: relative; margin: 56px 0 -.2em; font-family: var(--font-display); font-size: clamp(44px, 11.2vw, 184px);
	line-height: 1; text-align: center; white-space: nowrap; color: transparent; pointer-events: none; user-select: none;
	-webkit-text-stroke: 1px rgba(226, 194, 122, .34);
	background: linear-gradient(180deg, rgba(226, 194, 122, .2), rgba(226, 194, 122, 0) 78%);
	-webkit-background-clip: text; background-clip: text;
}

.site-footer__bottom { position: relative; z-index: 1; display: block; margin: 0; padding: 0; border-top: 1px solid rgba(226, 194, 122, .18); background: var(--maroon-deep); font-size: 13px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 22px; }
body:has(.wa-float) .site-footer__bottom-inner { padding-right: 200px; }
.site-footer .to-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(226, 194, 122, .35); border-radius: 99px; color: var(--gold-light); transition: background-color .2s, color .2s; }
.site-footer .to-top:hover { background: var(--gold-light); color: var(--maroon-deep); }
.site-footer .to-top svg { transition: transform .2s; }
.site-footer .to-top:hover svg { transform: translateY(-2px); }

@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand, .site-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.site-footer--cta { background: linear-gradient(180deg, var(--ground) 0, var(--ground) 96px, var(--gold) 96px, var(--gold) 98px, var(--maroon-deep) 98px); }
	.footer-cta { justify-content: center; padding: 40px 24px 36px; border-radius: 22px; text-align: center; }
	.footer-cta::before { inset: 8px; border-radius: 16px; }
	.footer-cta::after { background: linear-gradient(180deg, rgba(63, 14, 12, .93), rgba(63, 14, 12, .72)); }
	.footer-cta__text { flex-basis: 100%; }
	.footer-cta__actions { justify-content: center; width: 100%; }
	.footer-cta__actions .btn { flex: 1 1 220px; }
	.site-footer__main, .site-footer--cta .site-footer__main { padding-top: 52px; }
	.site-footer__mandala { top: -10px; right: -190px; width: 400px; height: 400px; }
	.site-footer__word { margin-top: 40px; }
	body:has(.wa-float) .site-footer__bottom-inner { padding-right: 76px; }
	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.site-footer__mandala { animation: none; }
}

/* ==========================================================================
   0.5.0: Guruji logo, cut-out portraits in the temple arch, YouTube band
   ========================================================================== */

/* Logo: Guruji badge + Playfair wordmark + Telugu tagline */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--maroon); text-decoration: none; }
.brand:hover { color: var(--maroon); }
.site-header__brand .brand__mark, .brand__mark { flex: none; width: 60px; height: 60px; max-height: none; margin-top: -6px; filter: drop-shadow(0 6px 10px rgba(63, 14, 12, .18)); transition: transform .35s ease; }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__type { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: 700 27px/1.05 "Playfair Display", var(--font-display); letter-spacing: -.005em; color: var(--maroon); white-space: nowrap; }
.brand__name i { font-weight: 600; font-style: italic; padding-right: .06em; background: linear-gradient(180deg, #C8962F, #8A6418); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { margin-top: 4px; font: 500 12.5px/1.3 var(--font-te); color: var(--gold-text); white-space: nowrap; }
.site-footer .brand { margin-bottom: 18px; }
.brand--footer .brand__mark { width: 72px; height: 72px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.brand--footer .brand__name { font-size: 29px; color: #FFF8EC; }
.brand--footer .brand__name i { background: linear-gradient(180deg, #F1D898, #C9A14B); -webkit-background-clip: text; background-clip: text; }
.brand--footer .brand__tag { color: var(--gold-light); }

/* Keep the menu on one line next to the wider logo (desktop nav shows above 1280px) */
@media (min-width: 1281px) {
	.site-header__bar { column-gap: 20px; }
	.site-nav { gap: 12px; }
	#primary-menu { column-gap: 14px; }
	.site-header__brand .brand__mark { width: 56px; height: 56px; }
	.brand--header .brand__name { font-size: 25px; }
}
.page-head--figure .page-head__text { text-align: left; }

/* Guruji cut-out in the arch */
.arch__stage {
	position: relative; isolation: isolate; overflow: hidden; width: 340px; max-width: 100%; height: 450px;
	border-radius: 178px 178px 8px 8px;
	background: radial-gradient(120% 70% at 50% 26%, #D27A34 0%, #9C3A22 30%, #6E1A17 58%, #3F0E0C 100%);
}
.arch__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-radial-gradient(circle at 50% 27%, rgba(226, 194, 122, .13) 0 1px, transparent 1.5px 26px); }
.arch__cut { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: auto; }
.arch--sm .arch__stage { width: 300px; height: 400px; }
.arch--xs { padding: 6px; border-radius: 130px 130px 12px 12px; }
.arch--xs .arch__inner { padding: 3px; border-radius: 124px 124px 8px 8px; }
.arch--xs .arch__stage { width: 220px; height: 290px; border-radius: 121px 121px 6px 6px; }

/* Page heading with Guruji beside it (Appointments) */
.page-head--figure { padding-bottom: 0 !important; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 56px; }
.page-head--figure .page-head__text { padding-bottom: 56px; }
.page-head--figure .section-head { margin-bottom: 24px; }
.page-head--figure .section-lead { margin: 0; text-align: left; }
.page-head__figure { line-height: 0; }
.page-head__figure .arch { border-radius: 130px 130px 0 0; padding-bottom: 0; box-shadow: 0 -10px 40px rgba(110, 26, 23, .16); }
.page-head__figure .arch__inner { border-radius: 124px 124px 0 0; padding-bottom: 0; }
.page-head__figure .arch__stage { border-radius: 121px 121px 0 0; }

/* YouTube channel band (video library) */
.ytband {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; margin-top: 40px; overflow: hidden;
	border-radius: var(--radius-lg); border: 1px solid rgba(226, 194, 122, .35); background: rgba(63, 14, 12, .7);
	color: #F6EEDF; text-decoration: none; transition: border-color .3s ease, transform .3s ease;
}
.ytband:hover { border-color: rgba(226, 194, 122, .8); color: #F6EEDF; transform: translateY(-3px); }
.ytband__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ytband__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ytband:hover .ytband__media img { transform: scale(1.04); }
.ytband__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px 40px; }
.ytband__eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.ytband__title { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: #FFF8EC; }
.ytband__lead { font-size: 16px; color: #EADBC4; }
.ytband__btn { margin-top: 8px; gap: 10px; }

@media (max-width: 860px) {
	.ytband { grid-template-columns: 1fr; }
	.ytband__text { padding: 24px 22px 28px; }
}
@media (max-width: 720px) {
	.brand { gap: 10px; }
	.site-header__brand .brand__mark, .brand__mark { width: 48px; height: 48px; margin-top: -4px; }
	.brand__name { font-size: 22px; }
	.brand__tag { font-size: 11px; }
	.brand--footer .brand__mark { width: 60px; height: 60px; }
	.brand--footer .brand__name { font-size: 25px; }
	.arch--lg .arch__stage { width: 280px; height: 370px; }
	.arch--sm .arch__stage { width: 250px; height: 330px; }
	.page-head--figure { padding-bottom: 40px !important; }
	.page-head__grid { grid-template-columns: minmax(0, 1fr); }
	.page-head--figure .page-head__text { padding-bottom: 0; }
	.page-head__figure { display: none; }
}
@media (max-width: 360px) {
	.brand__tag { display: none; }
}

/* ==========================================================================
   0.6.0: hero portrait — Guruji in a zodiac aura (replaces the arch + halo video)
   Geometry matches tools/make-hero.py: square canvas, aura centre (50%, 54.8%),
   aura diameter 88%. The figure image is pre-clipped to the aura with the head
   rising above the rim.
   ========================================================================== */
.hero__media { padding-bottom: 36px; }
.guru-hero { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.guru-hero__glow { position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(227, 154, 29, .30), rgba(227, 154, 29, .08) 45%, rgba(227, 154, 29, 0) 66%); pointer-events: none; }
.guru-hero__mandala { position: absolute; left: -12%; top: -7.2%; width: 124%; height: 124%; max-width: none; color: var(--gold); opacity: .36; pointer-events: none; animation: astro-spin 240s linear infinite; }
.guru-hero__aura {
	position: absolute; left: 6%; top: 10.8%; width: 88%; height: 88%; border-radius: 50%;
	background: conic-gradient(from 200deg, #F6E2A8, #B98A2E 18%, #ECCD82 36%, #8E6420 55%, #E2C27A 74%, #A57A28 88%, #F6E2A8);
	box-shadow: 0 30px 70px rgba(110, 26, 23, .28), 0 0 0 10px rgba(226, 194, 122, .14);
}
.guru-hero__aura::before { content: ""; position: absolute; inset: 1.4%; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #EE9F52 0%, #C95A2B 18%, #962D1F 42%, #5E1512 68%, #3F0E0C 100%); }
.guru-hero__zodiac { position: absolute; inset: 1.4%; border-radius: 50%; color: var(--gold-light); animation: astro-spin 180s linear infinite reverse; }
.guru-hero__zodiac::before, .guru-hero__zodiac::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(226, 194, 122, .32); }
.guru-hero__zodiac::before { inset: 3.5%; }
.guru-hero__zodiac::after { inset: 13.5%; border-style: dashed; border-color: rgba(226, 194, 122, .22); }
.guru-hero__sign { position: absolute; left: 50%; top: 50%; width: 7.4%; height: 7.4%; margin: -3.7% 0 0 -3.7%; opacity: .85; transform: rotate(calc(var(--i) * 30deg + 15deg)) translateY(-562%); }
.guru-hero__sign svg { display: block; width: 100%; height: 100%; }
.guru-hero__figure { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 18px 24px rgba(63, 14, 12, .25)); }
.guru-hero__name {
	position: absolute; left: 50%; bottom: -3%; z-index: 3; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; padding: 10px 28px 11px; white-space: nowrap;
	border-radius: 999px; border: 1.5px solid var(--gold); background: linear-gradient(180deg, #5E1512, #3F0E0C);
	box-shadow: 0 14px 30px rgba(63, 14, 12, .3);
}
.guru-hero__name-te { font-family: var(--font-te-display); font-size: 20px; line-height: 1.3; color: var(--gold-light); }
.guru-hero__name-en { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep); }
.guru-hero__chip {
	position: absolute; right: -6%; top: 16%; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
	border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 251, 243, .94); box-shadow: 0 16px 34px rgba(63, 14, 12, .16);
	color: var(--ink); text-decoration: none; backdrop-filter: blur(6px); animation: astro-float 6s ease-in-out infinite;
}
.guru-hero__chip:hover { color: var(--ink); border-color: var(--gold); }
.guru-hero__chip-score { font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--maroon); white-space: nowrap; }
.guru-hero__chip-text { max-width: 96px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--muted); }
@keyframes astro-float { 50% { transform: translateY(-8px); } }

@media (max-width: 720px) {
	.guru-hero { width: min(360px, 92vw); }
	.guru-hero__name { padding: 8px 20px 9px; }
	.guru-hero__name-te { font-size: 17px; }
	.guru-hero__name-en { font-size: 9.5px; }
	.hero__media { padding-bottom: 8px; }
	.guru-hero { margin-bottom: 84px; }
	.guru-hero__chip { right: auto; left: 50%; top: calc(100% + 34px); transform: translateX(-50%); padding: 8px 14px 8px 12px; gap: 8px; animation: none; white-space: nowrap; }
	.guru-hero__chip-text { max-width: none; }
	.guru-hero__chip-score { font-size: 18px; }
	.guru-hero__chip-text { font-size: 12px; }
}

/* 0.6.3: Guruji beside the "Speak with Guruji" footer card (head rises above the card) */
.footer-cta-wrap { position: relative; }
.site-footer--cta:has(.footer-cta-wrap--guru) { padding-top: 90px; background: linear-gradient(180deg, var(--ground) 0, var(--ground) 262px, var(--gold) 262px, var(--gold) 265px, var(--maroon-deep) 265px); }
.footer-cta-wrap--guru .footer-cta { padding-left: 430px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.footer-cta-wrap--guru .footer-cta__text, .footer-cta-wrap--guru .footer-cta__actions { flex: none; }
.footer-cta-wrap--guru .footer-cta::after { background: radial-gradient(280px 230px at 215px 74%, rgba(238, 159, 82, .42), rgba(238, 159, 82, 0) 72%), linear-gradient(90deg, rgba(63, 14, 12, .95) 0%, rgba(63, 14, 12, .8) 50%, rgba(63, 14, 12, .42) 100%); }
.footer-cta__guru { position: absolute; left: 26px; bottom: 0; z-index: 2; width: 380px; max-width: none; height: auto; pointer-events: none; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35)); }
@media (max-width: 960px) {
	.footer-cta-wrap--guru .footer-cta { padding-left: 310px; }
	.footer-cta__guru { left: 16px; width: 290px; }
}
@media (max-width: 720px) {
	.site-footer--cta:has(.footer-cta-wrap--guru) { padding-top: 112px; background: linear-gradient(180deg, var(--ground) 0, var(--ground) 214px, var(--gold) 214px, var(--gold) 216px, var(--maroon-deep) 216px); }
	.footer-cta-wrap--guru .footer-cta { padding: 118px 24px 36px; }
	.footer-cta-wrap--guru .footer-cta::after { background: radial-gradient(200px 160px at 50% 70px, rgba(238, 159, 82, .4), rgba(238, 159, 82, 0) 72%), linear-gradient(180deg, rgba(63, 14, 12, .93), rgba(63, 14, 12, .72)); }
	.footer-cta__guru { left: 50%; top: -100px; bottom: auto; width: 172px; transform: translateX(-50%); filter: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 96%); mask-image: linear-gradient(180deg, #000 70%, transparent 96%); }
}
