:root {
	--night: #1a0f0c;
	--night-2: #2a1612;
	--paper: #f6f0e6;
	--card: #fffaf3;
	--ink: #1c1210;
	--muted: #6d5c54;
	--saffron: #e36a2c;
	--gold: #f0c27a;
	--maroon: #8d2432;
	--line: rgba(28, 18, 16, 0.1);
	--display: "Fraunces", "Noto Sans Telugu", Georgia, serif;
	--sans: "Outfit", "Noto Sans Telugu", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.05rem;
	line-height: 1.5;
	padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; }
a { color: var(--maroon); }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.12; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

.mast { background: var(--night); color: #fff6ec; position: sticky; top: 0; z-index: 20; }
.mast-row { display: flex; align-items: center; gap: 14px; padding: 12px 20px 8px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.brand strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 560; }
.brand em { display: block; font-style: normal; color: var(--gold); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.flame {
	width: 38px; height: 38px; flex: none; border-radius: 50%;
	background:
		radial-gradient(circle at 50% 68%, #ffe1a8 0 5px, transparent 6px),
		radial-gradient(circle at 50% 42%, #e36a2c 0 9px, transparent 10px),
		#3a2018;
	box-shadow: inset 0 0 0 1px rgba(240, 194, 122, 0.4);
}
.lang { margin-left: auto; flex: none; }
.lang select {
	background: rgba(255,255,255,.08);
	color: #fff6ec;
	border: 1px solid rgba(240, 194, 122, 0.45);
	border-radius: 999px;
	padding: 8px 28px 8px 12px;
	font-size: 15px;
	max-width: 138px;
	font-family: "Nirmala UI", "Noto Sans Telugu", var(--sans);
}
.lang select option { color: #1c1210; }
.find { display: flex; }
.find input {
	width: min(280px, 34vw);
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(240, 194, 122, 0.25);
	color: white;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: 16px;
}
.find input::placeholder { color: rgba(255,246,236,.55); }
.write, .sheet button, .poll button, .share .wa, .pager a {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--saffron); color: #2a120c; text-decoration: none;
	border: 0; border-radius: 999px; min-height: 42px; padding: 0 16px; font-weight: 700;
}
.sections { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; max-width: 1180px; margin: 0 auto; }
.sections::-webkit-scrollbar { display: none; }
.sections a {
	flex: none; color: #fff6ec; text-decoration: none; border-radius: 14px;
	padding: 7px 12px 8px; background: rgba(255,255,255,.04);
}
.sections a small { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.04em; }
.sections a.on { background: #fff6ec; color: var(--night); }
.sections a.on small { color: var(--maroon); }

.lead {
	display: flex; align-items: flex-end; min-height: 78vh; color: #fff8f2; text-decoration: none;
	background:
		linear-gradient(180deg, rgba(18,8,6,.15), rgba(18,8,6,.88)),
		radial-gradient(circle at 20% 20%, #9a3a28, transparent 36%),
		#241410;
	background-size: cover; background-position: center;
	padding: 28px 22px 36px;
}
.lead.home-hero { min-height: 0; align-items: flex-end; padding: 48px 22px 36px; }
.lead.home-hero.has-photo { min-height: 56vh; background-size: cover; background-position: center; }
.lead > span { display: block; max-width: 820px; }
.doors {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
	max-width: 1180px; margin: 20px auto 8px; padding: 0 16px; position: relative;
}
.doors a {
	display: block; background: var(--card); color: inherit; text-decoration: none;
	border-radius: 18px; padding: 16px 14px 18px; box-shadow: 0 16px 40px rgba(50, 20, 10, .12);
}
.feature { max-width: 1180px; margin: 18px auto 28px; padding: 0 16px; }
.feature-card {
	display: grid; grid-template-columns: 1fr; background: var(--card); color: inherit; text-decoration: none;
	border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(50, 20, 10, .12);
}
.feature-photo { display: block; aspect-ratio: 16/8; background: #c9a27a center/cover no-repeat; }
.feature-photo.empty { background: radial-gradient(circle at 50% 40%, #6a3a2c, #2a1612 70%); }
.feature-copy { display: block; padding: 16px 18px 20px; }
.feature-copy small { display: block; color: var(--saffron); font-size: 0.75rem; font-weight: 700; }
.feature-copy strong { display: block; margin: 4px 0 6px; font-family: var(--display); font-size: 1.6rem; font-weight: 560; line-height: 1.15; }
.feature-copy > span { display: block; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 650; }
.check input { width: 20px; height: 20px; }
@media (min-width: 800px) {
	.feature-card { grid-template-columns: 1.2fr 1fr; }
	.feature-photo { aspect-ratio: auto; min-height: 260px; }
	.feature-copy strong { font-size: 2rem; }
}
.doors small { display: block; color: var(--saffron); font-size: 0.75rem; font-weight: 700; }
.doors strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.2rem; font-weight: 560; line-height: 1.15; }
.lead h1 { margin: 10px 0; font-size: clamp(2.5rem, 7vw, 5.2rem); max-width: 14ch; }
.lead p { max-width: 38rem; color: #f3e4d4; font-size: 1.12rem; }
.lead em { color: var(--gold); font-style: normal; font-weight: 600; }
.pill { display: inline-block; background: rgba(255,246,236,.14); border: 1px solid rgba(240,194,122,.45); color: var(--gold); border-radius: 999px; padding: 5px 10px; font-size: 0.82rem; font-weight: 650; }
.trio { display: grid; gap: 14px; margin: 16px auto 10px; padding: 0 16px; max-width: 1180px; position: relative; }
.card { display: grid; background: var(--card); color: inherit; text-decoration: none; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(50, 20, 10, .12); }
.card-photo { display: block; aspect-ratio: 16/10; background: #c9a27a center/cover no-repeat; }
.card-photo.empty { background: radial-gradient(circle at 50% 40%, #6a3a2c, #2a1612 70%); }
.card-copy { padding: 12px 14px 16px; }
.eyebrow, .page-title p, .band header p { margin: 0; color: var(--saffron); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.25rem; font-weight: 560; line-height: 1.2; }
.band { max-width: 1180px; margin: 8px auto 18px; }
.band header, .page-title { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 18px 18px 8px; }
.band h2, .page-title h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.band header a { font-weight: 700; text-decoration: none; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 280px); gap: 12px; overflow-x: auto; padding: 8px 16px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .card { scroll-snap-align: start; }
.grid { display: grid; gap: 14px; padding: 8px 16px 24px; max-width: 1180px; margin: 0 auto; }
.page-title { max-width: 1180px; margin: 0 auto; display: block; }
.page-title h1 { margin-top: 4px; }
.empty { padding: 12px 20px 32px; color: var(--muted); }

.story-hero { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; color: white; padding: 28px 20px 26px; background: #241410 center/cover no-repeat; }
.story-hero h1 { margin: 8px 0; font-size: clamp(2.1rem, 6vw, 4.2rem); max-width: 16ch; }
.crumb, .crumb a, .dateline { color: #f0d7bf; }
.prose { max-width: 740px; margin: 0 auto; padding: 22px 18px 8px; font-size: 1.14rem; line-height: 1.75; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.2em 0 .4em; }
.prose img { border-radius: 16px; }
.video { position: relative; aspect-ratio: 16/9; margin: 1em 0; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.follow, .poll { max-width: 740px; margin: 8px auto 20px; padding: 0 18px; }
.poll { background: var(--card); border-radius: 20px; padding: 16px; box-shadow: 0 10px 30px rgba(50,20,10,.06); }
.poll h2, .follow h2 { margin: 0 0 10px; font-size: 1.5rem; }
.poll label { display: block; margin: 8px 0; }
.poll label span { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: white; border: 1px solid var(--line); }
.bar { position: relative; margin: 8px 0; border-radius: 12px; overflow: hidden; background: white; border: 1px solid var(--line); }
.bar i { position: absolute; inset: 0 auto 0 0; background: rgba(227,106,44,.28); }
.bar b { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.chan-row, .share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chan { color: white; text-decoration: none; border-radius: 999px; padding: 10px 14px; font-weight: 700; }
.instagram { background: #7a2450; } .youtube { background: #a11d1d; } .whatsapp { background: #1d5c45; }
.share button, .ghost { background: transparent; border: 1px solid var(--line); border-radius: 999px; min-height: 42px; padding: 0 14px; font-weight: 650; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 8px 16px 28px; }

.foot { background: var(--night); color: #f6e7da; padding: 28px 20px 18px; margin-top: 20px; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 18px; }
.foot a { color: var(--gold); text-decoration: none; display: block; margin: 4px 0; }
.foot-name { font-family: var(--display); font-size: 1.5rem; margin: 0 0 6px; }
.fine { max-width: 1180px; margin: 16px auto 0; color: #cbb8aa; font-size: 0.9rem; }
.fine a { display: inline; }
.dock { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 30; display: flex; background: rgba(26,15,12,.94); color: white; border-radius: 18px; overflow: hidden; padding-bottom: env(safe-area-inset-bottom); }
.dock a { flex: 1; text-align: center; color: white; text-decoration: none; font-weight: 700; padding: 14px 8px; }
.dock a + a { box-shadow: inset 1px 0 rgba(255,255,255,.08); }

.sheet { max-width: 720px; margin: 18px auto 40px; padding: 8px 18px 20px; display: grid; gap: 12px; }
.sheet h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.sheet label, .sheet fieldset { display: grid; gap: 6px; font-weight: 650; }
.sheet fieldset { border: 0; padding: 0; margin: 0; }
.sheet input, .sheet textarea, .sheet select { width: 100%; font-size: 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: white; }
.actions { display: flex; gap: 8px; }
.alert { background: #f8d7b0; border-radius: 12px; padding: 10px 12px; }
.alert.ok { background: #d7ead8; }
.post-list { list-style: none; padding: 0 16px 30px; max-width: 900px; margin: 0 auto; }
.post-list li { display: flex; gap: 8px; align-items: center; background: var(--card); border-radius: 16px; margin: 8px 0; padding: 8px 8px 8px 14px; }
.post-list a { flex: 1; color: inherit; text-decoration: none; }
.post-list span, .admin-links a { color: var(--muted); font-size: 0.92rem; }
.post-list button { border: 0; background: transparent; color: var(--maroon); font-weight: 700; }
.post-list button.front { background: var(--saffron); color: #2a120c; border-radius: 999px; padding: 8px 12px; white-space: nowrap; }
.admin-head { align-items: center; }
.admin-links { display: flex; gap: 12px; align-items: center; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
/* Light cream theme: bright top bar and phone menu; dark photo hero and footer stay */
.mast { background: #fffaf3; color: var(--ink); box-shadow: 0 2px 16px rgba(50, 20, 10, .08); }
.brand strong { color: var(--maroon); }
.brand em { color: var(--saffron); }
.lang select { background: #ffffff; color: var(--ink); border: 1px solid rgba(227, 106, 44, .45); }
.lang select option { color: var(--ink); }
.find input { background: #ffffff; color: var(--ink); border: 1px solid rgba(227, 106, 44, .35); }
.find input::placeholder { color: var(--muted); }
.sections a { color: var(--ink); background: rgba(227, 106, 44, .1); }
.sections a small { color: var(--saffron); }
.sections a.on { background: var(--saffron); color: #ffffff; }
.sections a.on small { color: #fff6ec; }
.dock { background: rgba(255, 250, 243, .97); color: var(--ink); box-shadow: 0 10px 30px rgba(50, 20, 10, .18); border: 1px solid var(--line); }
.dock a { color: var(--ink); }
.dock a + a { box-shadow: inset 1px 0 var(--line); }
.dock a:first-child { color: var(--saffron); }
body { top: 0 !important; }
#google_translate_element { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
.goog-te-banner-frame, body > .skiptranslate { display: none !important; }

@media (min-width: 800px) {
	body { padding-bottom: 0; }
	.dock { display: none; }
	.trio, .grid { grid-template-columns: repeat(3, 1fr); }
	.doors { grid-template-columns: repeat(5, 1fr); margin-top: 20px; }
	.scroller { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
	.foot-grid { grid-template-columns: 1.4fr .8fr 1fr; }
	.brand em { max-width: none; }
}
@media (max-width: 720px) {
	.find { display: none; }
	.lead { min-height: 86vh; padding-bottom: 96px; }
	.lead.home-hero { min-height: 0; padding: 32px 18px 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
