/* Krishna Rao: navy and gold, phone first, app feel.
   Colours come from Kris's own brand files (reference/brand-colours.md). Never add red or orange: no warning colour is defined. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Telugu'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/noto-sans-telugu-telugu.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+200C-200D, U+25CC; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('/assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --navy-deep: #051125;
  --navy: #08182D;
  --navy-card: #0C1F38;
  --navy-panel: #1F3046;
  --gold-shadow: #906B33;
  --gold-deep: #A2844B;
  --gold: #C7AB69;
  --gold-light: #DBC17F;
  --gold-hi: #F2DE9C;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .80);
  --text-3: rgba(255, 255, 255, .64);
  --line: rgba(199, 171, 105, .20);
  --line-strong: rgba(199, 171, 105, .42);
  --gold-grad: linear-gradient(135deg, #906B33 0%, #C7AB69 38%, #F2DE9C 62%, #C7AB69 100%);
  --gold-grad-text: linear-gradient(100deg, #C7AB69 0%, #F2DE9C 48%, #DBC17F 100%);
  --font-body: 'Inter', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Oswald', 'Inter', 'Noto Sans Telugu', system-ui, sans-serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px;
  --gutter: 16px;
  --appbar-h: 60px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar-h) + 16px); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--navy); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + 36px + env(safe-area-inset-bottom));
}
html:lang(te) body { line-height: 1.9; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(31, 48, 70, .95), transparent 62%),
    radial-gradient(700px 420px at -12% 12%, rgba(199, 171, 105, .07), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-light); text-decoration-color: rgba(219, 193, 127, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 750; letter-spacing: -.005em; }
html:lang(te) h1, html:lang(te) h2, html:lang(te) h3 { line-height: 1.4; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(199, 171, 105, .35); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: calc(10px + env(safe-area-inset-top)); }

.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.section { padding-block: 28px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__title { font-size: 1.35rem; margin: 0; }
.eyebrow, .kicker { font-family: var(--font-display); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold); margin: 0 0 .6em; }
html:lang(te) .eyebrow, html:lang(te) .kicker { font-family: var(--font-body); letter-spacing: .02em; text-transform: none; font-size: .88rem; font-weight: 600; }
.muted { color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(.965); }
.btn--gold { background: var(--gold-grad); color: #1a1405; box-shadow: 0 8px 26px rgba(199, 171, 105, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover { color: #1a1405; box-shadow: 0 10px 34px rgba(199, 171, 105, .42), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--gold-light); }
.btn--ghost:hover { background: rgba(199, 171, 105, .12); border-color: var(--gold); color: var(--gold-hi); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: .86rem; }
.btn--block { width: 100%; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); font-size: .9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .18s var(--ease);
}
.pill:hover { background: rgba(199, 171, 105, .12); border-color: var(--line-strong); color: var(--gold-hi); }
.pill:active { transform: scale(.96); }
.iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 0; color: var(--text); cursor: pointer; }
.iconbtn:active { background: rgba(255, 255, 255, .08); }

/* ---------- app bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top);
  background: rgba(8, 24, 45, .76);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
  view-transition-name: appbar;
}
.appbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); background: rgba(8, 24, 45, .88); }
.appbar__in { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; height: var(--appbar-h); display: flex; align-items: center; gap: 10px; }
.appbar__back { margin-left: -10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand__face { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .07em; text-transform: uppercase;
  background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.brand__handle { font-size: .68rem; letter-spacing: .04em; color: var(--text-3); margin-top: 3px; }
.topnav { display: none; margin-left: 24px; gap: 4px; }
.topnav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topnav a:hover { color: var(--gold-hi); background: rgba(199, 171, 105, .1); }
.topnav a[aria-current='page'] { color: var(--gold-hi); background: rgba(199, 171, 105, .14); }
.appbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.langsw { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 17, 37, .6); }
.langsw a { padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--text-2); text-decoration: none; line-height: 1.4; }
.langsw a[aria-current='true'] { background: var(--gold); color: #1a1405; }
.langsw a:not([aria-current='true']):hover { color: var(--gold-hi); }
.appbar__sub { display: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; pointer-events: none; }
.progress::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--gold-grad); }
.post-bar .brand { display: none; }
.post-bar .appbar__title { font-weight: 700; font-size: .98rem; margin: 0 auto 0 0; }

/* ---------- floating tab bar (phones) ---------- */
.tabbar {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  max-width: 520px; margin-inline: auto; height: var(--tabbar-h);
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; padding: 6px;
  background: rgba(12, 31, 56, .84); -webkit-backdrop-filter: saturate(170%) blur(22px); backdrop-filter: saturate(170%) blur(22px);
  border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  view-transition-name: tabbar;
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 20px; color: var(--text-3); text-decoration: none; font-size: .68rem; font-weight: 650; letter-spacing: .01em; transition: color .2s, background .25s, transform .18s var(--ease); touch-action: manipulation; }
.tab:active { transform: scale(.92); }
.tab .ico { width: 23px; height: 23px; }
.tab[aria-current='page'] { color: var(--gold-hi); background: linear-gradient(180deg, rgba(199, 171, 105, .22), rgba(199, 171, 105, .08)); box-shadow: inset 0 0 0 1px rgba(199, 171, 105, .3); }
.tab[aria-current='page'] .ico { stroke-width: 2.1; filter: drop-shadow(0 0 8px rgba(242, 222, 156, .45)); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 26px 0 30px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -20px -40% -20px -40%; z-index: -1; background: url('/assets/img/deco.svg') center top / 760px auto no-repeat; opacity: .5; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(180deg, transparent, var(--navy)); opacity: .5; }
.hero__grid { display: grid; gap: 22px; text-align: center; justify-items: center; }
.hero__portrait { position: relative; display: grid; place-items: center; order: -1; }
.hero__portrait::before { content: ''; position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(199, 171, 105, .22), transparent 70%); z-index: -1; }
.hero__portrait img { width: min(52vw, 210px); border-radius: 50%; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .55)); }
.hero__title { font-size: clamp(1.9rem, 7.4vw, 3.6rem); font-weight: 800; margin: 0 0 .35em; background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html:lang(en) .hero__title { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; text-transform: none; line-height: 1.1; }
.hero__lead { font-size: 1.08rem; color: var(--text-2); max-width: 36ch; margin: 0 auto 1.3em; }
.hero__cta { display: grid; gap: 10px; width: 100%; max-width: 380px; margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 20px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 650; color: var(--gold-light); background: rgba(199, 171, 105, .1); border: 1px solid var(--line); }
.chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.chips--scroll { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll > * { scroll-snap-align: start; flex: none; }
button.chip { cursor: pointer; min-height: 40px; padding: 0 16px; font-size: .88rem; transition: background .2s, color .2s, transform .18s var(--ease); }
button.chip:active { transform: scale(.96); }
button.chip[aria-pressed='true'] { background: var(--gold); color: #1a1405; border-color: var(--gold); }
button.chip[aria-pressed='true']::before { background: #1a1405; }

/* ---------- cards ---------- */
.card { background: linear-gradient(165deg, rgba(31, 48, 70, .72), rgba(12, 31, 56, .86)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: .8em; }
.card__title .ico { color: var(--gold); }
.feature { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(31, 48, 70, .9), rgba(8, 24, 45, .95)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: url('/assets/img/deco.svg') center / 520px auto no-repeat; opacity: .35; pointer-events: none; }
.feature__media { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line-strong); align-self: start; }
.feature__media img, .vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { display: flex; flex-direction: column; min-width: 0; position: relative; }
.feature__title { font-size: 1.12rem; margin: 0 0 .35em; }
.feature__title a { color: var(--text); text-decoration: none; }
.feature__sub { font-size: .86rem; color: var(--text-3); margin: 0 0 .7em; }
.feature__sum { font-size: .92rem; color: var(--text-2); margin: 0 0 1em; display: none; }
.feature__cta { margin-top: auto; display: grid; gap: 8px; }
.play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.play::before { content: ''; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 8px rgba(199, 171, 105, .22); }
.play::after { content: ''; position: absolute; width: 0; height: 0; border-left: 16px solid #1a1405; border-top: 10px solid transparent; border-bottom: 10px solid transparent; transform: translateX(2px); }
.badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(5, 17, 37, .82); border: 1px solid var(--line-strong); font-family: var(--font-display); letter-spacing: .08em; font-size: .72rem; font-weight: 500; text-transform: uppercase; color: var(--gold-hi); }
html:lang(te) .badge { font-family: var(--font-body); letter-spacing: 0; font-size: .72rem; font-weight: 700; text-transform: none; }

.vlist { list-style: none; display: grid; gap: 12px; }
.vcard { display: grid; grid-template-columns: 88px 1fr 22px; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 22px; background: linear-gradient(165deg, rgba(31, 48, 70, .6), rgba(12, 31, 56, .8)); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.vcard:hover { border-color: var(--line-strong); color: var(--text); }
.vcard:active { transform: scale(.985); }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.vcard__media .play::before { width: 34px; height: 34px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.vcard__media .play::after { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.vcard__title { font-size: .98rem; font-weight: 700; line-height: 1.4; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__meta { font-size: .78rem; color: var(--text-3); margin: 0; }
.vcard .ico { color: var(--gold); }

.grid { display: grid; gap: 14px; }
.topic { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
a.topic:hover { color: var(--text); border-color: var(--line-strong); }
.topic__name { font-size: 1.1rem; font-weight: 750; margin: 0; }
.topic__desc { font-size: .92rem; color: var(--text-2); margin: 0; }
.topic__count { margin-top: auto; font-size: .8rem; font-weight: 650; color: var(--gold); }
.report { display: grid; gap: 14px; }
.report__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-hi); background: rgba(199, 171, 105, .12); border: 1px solid var(--line-strong); margin-bottom: 12px; }
.report__icon .ico { width: 24px; height: 24px; }
.report h3 { font-size: 1.05rem; margin-bottom: .4em; }
.report p { font-size: .94rem; color: var(--text-2); margin: 0; }

.install { display: none; align-items: center; gap: 16px; }
.install.is-on { display: grid; }
.install__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.install h3 { margin-bottom: .2em; font-size: 1.05rem; }
.install p { font-size: .9rem; color: var(--text-2); margin: 0 0 .8em; }
.install__how { font-size: .86rem; color: var(--gold-light); margin: .6em 0 0; }
.follow { text-align: center; padding: 28px 20px; background: radial-gradient(520px 260px at 50% 0%, rgba(199, 171, 105, .14), transparent 70%), linear-gradient(165deg, rgba(31, 48, 70, .72), rgba(12, 31, 56, .9)); }
.follow h2 { font-size: 1.4rem; }
.follow p { color: var(--text-2); max-width: 46ch; margin-inline: auto; }
.follow__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* ---------- page headers (videos, about) ---------- */
.pagehead { position: relative; padding: 28px 0 8px; isolation: isolate; }
.pagehead::before { content: ''; position: absolute; inset: -30px -30% auto auto; width: 520px; height: 360px; z-index: -1; background: url('/assets/img/deco.svg') center / 640px auto no-repeat; opacity: .5; }
.pagehead h1 { font-size: clamp(1.8rem, 6vw, 3rem); margin-bottom: .3em; background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html:lang(en) .pagehead h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.pagehead p { color: var(--text-2); max-width: 56ch; }
.empty { padding: 28px 20px; text-align: center; color: var(--text-2); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty[hidden] { display: none; }

/* ---------- a video post ---------- */
.post { padding-top: 8px; }
.post__layout { display: grid; gap: 22px; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); margin-inline: auto; }
.player--short { aspect-ratio: 9 / 16; width: min(100%, calc(58vh * 9 / 16), 360px); }
.player--long { aspect-ratio: 16 / 9; width: 100%; }
.player iframe, .facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { display: block; padding: 0; background: #000; cursor: pointer; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 17, 37, .55)); }
.facade .play { z-index: 1; }
.facade .play::before { width: 74px; height: 74px; transition: transform .25s var(--ease); }
.facade:hover .play::before { transform: scale(1.08); }
.facade .play::after { border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; }
.facade__label { position: absolute; z-index: 1; left: 0; right: 0; bottom: 14px; text-align: center; font-size: .82rem; font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.post__title { font-size: clamp(1.45rem, 5.4vw, 2.3rem); font-weight: 800; margin: 0 0 .3em; }
html:lang(en) .post__title { line-height: 1.18; }
.post__sub { color: var(--text-3); font-size: 1rem; margin: 0 0 1em; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 14px; font-size: .84rem; color: var(--text-3); }
.post__meta .chip { padding: 3px 11px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.post__main > * + * { margin-top: 18px; }
.insum ul { list-style: none; display: grid; gap: 10px; }
.insum li { position: relative; padding-left: 26px; color: var(--text-2); }
.insum li::before { content: ''; position: absolute; left: 3px; top: .78em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
html:lang(te) .insum li::before { top: .95em; }
.facts dl { margin: 0; display: grid; }
.facts .row { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts .row:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
html:lang(te) .facts dt { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.facts dd { margin: 0; color: var(--text); }
.prose { max-width: 68ch; }
.prose p { font-size: 1.06rem; color: var(--text-2); margin-bottom: 1.1em; }
.prose p:first-child { font-size: 1.16rem; color: var(--text); font-weight: 500; }
.prose h2 { font-size: 1.35rem; }
.script__note { font-size: .86rem; color: var(--text-3); margin-bottom: 1.2em; }
.checklist ol { list-style: none; display: grid; gap: 14px; counter-reset: c; }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; counter-increment: c; }
.checklist li::before { content: counter(c); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #1a1405; background: var(--gold-grad); box-shadow: 0 6px 18px rgba(199, 171, 105, .3); }
.checklist strong { display: block; font-size: 1.02rem; line-height: 1.45; }
.checklist span { display: block; color: var(--text-2); font-size: .92rem; margin-top: 2px; }
.fair { border-left: 3px solid var(--gold); border-radius: 6px var(--r-lg) var(--r-lg) 6px; }
.fair p { color: var(--text-2); }
.fair p:last-child { margin: 0; }
.fair .disc { font-size: .88rem; color: var(--text-3); margin-top: .8em; }
.sources ul { list-style: none; display: grid; gap: 10px; }
.sources a { display: grid; grid-template-columns: 1fr 20px; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.sources a:hover { border-color: var(--line-strong); background: rgba(199, 171, 105, .08); color: var(--text); }
.sources strong { display: block; }
.sources small { display: block; color: var(--text-3); font-size: .78rem; word-break: break-all; }
.sources .ico { color: var(--gold); }
.sources .note { font-size: .88rem; color: var(--text-3); margin: 0 0 12px; }

/* ---------- breadcrumbs, byline, questions ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .8rem; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span { opacity: .6; }
a.chip { text-decoration: none; }
a.chip:hover { background: rgba(199, 171, 105, .2); color: var(--gold-hi); }
.byline { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 4px; text-decoration: none; color: var(--text); }
.byline img { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); }
.byline strong { display: block; font-size: .92rem; line-height: 1.2; }
.byline small { display: block; font-size: .74rem; color: var(--text-3); }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 12px 34px 12px 0; font-weight: 700; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 14px; color: var(--text-2); }
.topic-sums { display: grid; gap: 14px; margin-top: 26px; }
.topic-sums h3 { font-size: 1.05rem; margin-bottom: .4em; }
.topic-sums h3 a { color: var(--text); text-decoration: none; }
.topic-sums p { margin: 0; color: var(--text-2); font-size: .94rem; }
.footer__contact { margin-top: 26px; }
.footer__contact h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-family: var(--font-display); font-weight: 500; margin-bottom: .5em; }
html:lang(te) .footer__contact h2 { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: .92rem; font-weight: 700; }
.footer__contact p { margin: 0; }
.footer__contact a { color: var(--gold-light); font-weight: 600; word-break: break-all; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: 36px; padding: 34px 0 10px; border-top: 1px solid var(--line); isolation: isolate; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0 -30% auto auto; width: 560px; height: 360px; z-index: -1; background: url('/assets/img/deco.svg') center / 640px auto no-repeat; opacity: .28; }
.footer__grid { display: grid; gap: 26px; }
.footer .brand__face { width: 52px; height: 52px; }
.footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-family: var(--font-display); font-weight: 500; margin-bottom: .7em; }
html:lang(te) .footer h2 { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: .92rem; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a { color: var(--text-2); text-decoration: none; display: inline-block; padding: 5px 0; }
.footer li a:hover { color: var(--gold-hi); }
.footer__note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .82rem; color: var(--text-3); }
.footer__note p { margin: 0; }

/* ---------- toast + language hint ---------- */
.toast, .langhint { position: fixed; z-index: 90; left: 50%; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.toast { bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); padding: 11px 18px; border-radius: 999px; background: var(--navy-panel); border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 650; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.langhint { bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); width: min(100% - 24px, 440px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(31, 48, 70, .96); border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font-size: .9rem; font-weight: 600; }
.langhint.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.langhint span { flex: 1; }

/* ---------- 404, offline ---------- */
.empty-page { text-align: center; padding: 60px 0 30px; }
.empty-page img { margin: 0 auto 22px; width: 120px; border-radius: 50%; }
.empty-page h1 { font-size: 1.8rem; }
.empty-page p { color: var(--text-2); max-width: 44ch; margin-inline: auto; }
.empty-page .hero__cta { margin-top: 20px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .section { padding-block: 40px; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 260px 1fr; gap: 28px; padding: 20px; }
  .feature__sum { display: block; }
  .feature__title { font-size: 1.5rem; }
  .feature__cta { display: flex; }
  .hero__cta { grid-auto-flow: column; max-width: none; width: auto; }
  .vlist { grid-template-columns: repeat(2, 1fr); }
  .facts .row { grid-template-columns: 230px 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --appbar-h: 68px; }
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .appbar__sub { display: inline-flex; }
  .toast, .langhint { bottom: 28px; }
  .hero { padding: 56px 0 64px; }
  .hero::before { background-position: right -60px top -30px; background-size: 980px auto; inset: -20px 0; opacity: .85; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; text-align: left; justify-items: start; gap: 56px; }
  .hero__portrait { order: 0; justify-self: center; }
  .hero__portrait img { width: min(36vw, 420px); }
  .hero__lead { margin-left: 0; font-size: 1.22rem; }
  .hero__cta { margin-left: 0; }
  .chips { justify-content: flex-start; }
  .vlist { grid-template-columns: repeat(3, 1fr); }
  .post__layout { grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
  .post__aside { position: sticky; top: calc(var(--appbar-h) + 24px); }
  .post--long .post__layout { grid-template-columns: 1fr; }
  .post--long .post__aside { position: static; }
  .post-bar .brand { display: flex; }
  .post-bar .appbar__title, .post-bar .appbar__back { display: none; }
}
@media (min-width: 960px) and (max-height: 760px) { .player--short { width: min(100%, calc(62vh * 9 / 16), 360px); } }

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; padding: 0; }
  body::before, .appbar, .tabbar, .toast, .langhint, .actions, .install, .follow, .hero::before, .progress, .player, .more { display: none !important; }
  .card, .fair { background: none; border: 1px solid #999; box-shadow: none; }
  * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  a { text-decoration: underline; }
}

/* =====================================================================
   Review fixes and the contact form (25 Nov 2026)
   ===================================================================== */
[hidden] { display: none !important; }                 /* buttons with display:flex were ignoring the hidden attribute */
:root { --gx: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
html { scroll-padding-top: calc(var(--appbar-h) + env(safe-area-inset-top) + 16px); }
.wrap, .appbar__in { width: min(100% - 2 * var(--gx), 1120px); }
.chips--scroll { margin: 0 calc(-1 * var(--gx)); padding: 4px var(--gx); }

/* scroll reveal: shorter stagger, and a failsafe so nothing stays invisible (3 s after load, or in print) */
.js .reveal { transition-delay: calc(min(var(--i, 0), 4) * 70ms); }
.rv-off.js .reveal { opacity: 1; transform: none; }
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* keyboard focus ring inside the video player, and room for Telugu letter feet and descenders in gradient headings */
.facade:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: -8px; border-radius: 0; }
.hero__title { padding-bottom: .16em; margin-bottom: .19em; }
.pagehead h1 { padding-bottom: .16em; margin-bottom: .14em; }

/* language hint: really gone when off, so it cannot be tabbed to */
.langhint { visibility: hidden; }
.langhint.is-on { visibility: visible; }

/* bigger tap areas without changing the look */
.langsw a { position: relative; }
.langsw a::after { content: ''; position: absolute; inset: -9px -2px; }
.crumbs a { position: relative; }
.crumbs a::after { content: ''; position: absolute; inset: -12px -4px; }

/* long titles are never cut off; 16:9 videos keep their shape on cards */
.vcard__title { display: block; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: anywhere; line-height: 1.4; }
.vcard--long { grid-template-columns: 132px 1fr 22px; }
.vcard--long .vcard__media { aspect-ratio: 16 / 9; }
.feature--long { grid-template-columns: 1fr; }
.feature--long .feature__media { aspect-ratio: 16 / 9; }
@media (min-width: 720px) { .feature--long { grid-template-columns: 360px 1fr; } }

/* Telugu text a little larger (Telugu letters are small at Latin sizes) */
html:lang(te) .tab { font-size: .8rem; line-height: 1.45; }
html:lang(te) .badge { font-family: var(--font-body); letter-spacing: 0; font-size: .82rem; font-weight: 700; text-transform: none; }
html:lang(te) :is(.byline small, .vcard__meta, .feature__sub, .crumbs, .post__meta, .brand__handle, .footer__note) { font-size: .88rem; }

/* video page extras */
.chips--tags { justify-content: flex-start; margin: 12px 0 2px; }
.sources .src-plain { display: block; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.sources .src-plain strong { display: block; }
.sources .src-plain small { display: block; color: var(--text-3); font-size: .78rem; }

/* ---------- contact form ---------- */
.form-wrap { max-width: 720px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 650; font-size: .92rem; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(5, 17, 37, .72); color: var(--text); font: inherit; font-size: 1rem; line-height: 1.5; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23C7AB69' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-hi); outline-offset: 1px; border-color: var(--gold); }
.field ::placeholder { color: var(--text-3); }
.count { justify-self: end; color: var(--text-3); font-size: .78rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.form__note { font-size: .84rem; margin: 0; }
.form__status { margin: 0; min-height: 1.4em; font-weight: 650; }
.form__status.is-ok { color: var(--gold-hi); font-size: 1.05rem; }
.form__status.is-err { border-left: 3px solid var(--gold); padding-left: 12px; }
.form.is-sent > :not(.form__status) { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.wa-card { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.wa-card p { margin: 0; color: var(--text-2); }
