:root {
    color-scheme: dark;
    --bg: #151210;
    --surface: #211c18;
    --text: #fbf6eb;
    --muted: #c5b9ab;
    --accent: #ffc16e;
    --line: #453a31;
    --serif: Georgia, "Noto Serif Devanagari", serif;
    font:
        100%/1.6 system-ui,
        "Noto Sans Devanagari",
        sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}
a {
    color: inherit;
}
button {
    font: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}
html:not([lang="hi"]) [lang="hi"]:not(html),
html[lang="hi"] [lang="en"]:not(html) {
    display: none;
}
h1,
h2,
h3,
p {
    margin: 0;
}
.wrap {
    width: min(1152px, 90%);
    margin-inline: auto;
}
.mast {
    background: #15120f;
    border-bottom: 1px solid var(--line);
}
.bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}
.brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.035em;
}
.brand img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
}
.nav,
.links,
.langs,
.actions {
    display: flex;
    align-items: center;
    gap: 1.55rem;
}
.nav a,
.links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}
.nav a:hover,
.links a:hover,
.doc a:hover {
    color: var(--accent);
}
.langs {
    gap: 0;
    background: #231d18;
    border: 1px solid var(--line);
    padding: 3px;
    border-radius: 100px;
}
.langs button {
    background: none;
    border: 0;
    border-radius: 100px;
    color: var(--muted);
    cursor: pointer;
    padding: 0.32rem 0.85rem;
    font-size: 0.94rem;
}
.langs button[aria-pressed="true"] {
    background: #52331d;
    color: #ffe1a9;
}
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(460px, 37vw, 580px);
    display: grid;
    align-items: center;
    background: #100c09;
}
.hero:before,
.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero:before {
    background: url(../res/diya.webp) center 53% / cover no-repeat;
}
.hero:after {
    background: linear-gradient(
        90deg,
        rgba(12, 9, 7, 0.9),
        rgba(12, 9, 7, 0.7) 32%,
        rgba(12, 9, 7, 0.06) 71%
    );
}
.herocopy {
    padding-block: 3.5rem;
    max-width: 580px;
}
.hero h1,
.sectiontitle,
.doc h1 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.048em;
    line-height: 1.02;
}
.hero h1 {
    font-size: clamp(3.25rem, 6vw, 5.8rem);
}
.hero h1 em {
    color: #ffbf76;
    font-weight: 400;
}
.hero p {
    color: #eadfd2;
    max-width: 440px;
    line-height: 1.65;
    margin: 1.35rem 0 1.7rem;
    font-size: 1.06rem;
}
.actions {
    gap: 0.8rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    text-decoration: none;
    padding: 0.65rem 1.14rem;
    border: 1px solid #786757;
    border-radius: 7px;
    background: #211b16;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}
.btn.primary {
    color: #251609;
    background: #ffc079;
    border-color: #ffc079;
}
.btn:hover {
    filter: brightness(1.12);
}
.section {
    padding-block: clamp(2.8rem, 5vw, 5rem);
}
.sectiontitle {
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    margin-bottom: 1.7rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}
.card {
    overflow: hidden;
    border: 1px solid #46382d;
    border-radius: 12px;
    background: var(--surface);
}
.art {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1;
    overflow: hidden;
}
.art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: -1;
}
.art h3 {
    font-size: clamp(1rem, 1.8vw, 1.42rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    padding: 0.9rem 1.1rem;
    text-shadow: 0 1px 4px #0007;
}
.card p {
    color: #e1d6c9;
    font-size: 1rem;
    padding: 1rem 1.1rem 1.1rem;
    line-height: 1.55;
}
.channels {
    border-top: 1px solid var(--line);
    background: #1c1713;
}
.channels .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-block: 2.5rem;
}
.channels h2 {
    margin: 0;
    font-size: 2.2rem;
}
.channels .actions a {
    border: 1px solid #5c493b;
    border-radius: 7px;
    padding: 0.65rem 1.15rem;
    text-decoration: none;
}
.channels .actions a:hover {
    background: #38291d;
}
footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0;
}
.foot {
    display: flex;
    gap: 1.4rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.foot p {
    color: var(--muted);
    font-size: 0.93rem;
}
.foot .brand {
    font-size: 1.3rem;
}
.foot img {
    width: 31px;
    height: 31px;
}
.links {
    flex-wrap: wrap;
    gap: 1.2rem;
}
.doc {
    max-width: 790px;
    padding: clamp(2.8rem, 5vw, 5rem) 0;
}
.doc h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.5rem);
}
.doc .date {
    color: var(--accent);
    margin: 1rem 0 1.5rem;
}
.doc p {
    color: #e0d7cc;
    font-size: 1.05rem;
}
.doc section {
    margin-top: 2rem;
}
.doc h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.doc a {
    color: var(--accent);
    overflow-wrap: anywhere;
}
.skip {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 10;
    background: #000;
    color: #fff;
    padding: 0.5rem;
}
.skip:focus {
    top: 8px;
}
html[lang="hi"] h1,
html[lang="hi"] .sectiontitle {
    letter-spacing: 0;
    line-height: 1.26;
}
html[lang="hi"] .art h3 {
    line-height: 1.45;
}
@media (max-width: 750px) {
    .bar {
        min-height: 68px;
        gap: 0.65rem;
        flex-wrap: wrap;
        padding-block: 0.6rem;
    }
    .nav {
        gap: 1rem;
    }
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
    .hero:before {
        background-position: 65% 50%;
    }
    .hero:after {
        background: linear-gradient(90deg, #0b0805ed, #0b0805ac 48%, #0b080533);
    }
    .hero p {
        max-width: 330px;
    }
    .hero h1 {
        font-size: 3.65rem;
    }
    .wrap {
        width: 92%;
    }
}
@media (max-width: 540px) {
    .brand {
        font-size: 1.35rem;
    }
    .brand img {
        width: 33px;
        height: 33px;
    }
    .bar .nav {
        order: 3;
        width: 100%;
        border-top: 1px solid var(--line);
        padding-top: 0.35rem;
    }
    .hero {
        min-height: 480px;
        align-items: end;
    }
    .hero:before {
        background-position: 72% top;
        background-size: auto 70%;
    }
    .hero:after {
        background: linear-gradient(0deg, #100c09 27%, #100c09ee 39%, #100c0944 68%, transparent);
    }
    .herocopy {
        padding: 14rem 0 2.2rem;
    }
    .hero h1 {
        font-size: 2.9rem;
    }
    .hero p {
        margin: 0.8rem 0 1.1rem;
        max-width: 100%;
    }
    .card p {
        padding: 0.7rem;
        font-size: 0.94rem;
    }
    .art h3 {
        padding: 0.6rem;
    }
    .sectiontitle {
        margin-bottom: 1rem;
    }
    .channels h2 {
        font-size: 1.8rem;
    }
    .channels .actions {
        gap: 0.45rem;
    }
    .channels .actions a {
        padding: 0.5rem 0.75rem;
    }
    .foot {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 330px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* Shared page alignment and navigation */
:root {
    --page-width: 72rem;
}
.wrap {
    width: min(var(--page-width), calc(100% - clamp(2rem, 8vw, 8rem)));
    margin-inline: auto;
}
main > .hero {
    width: min(100%, 104rem);
    margin-inline: auto;
}
.hero .wrap {
    width: min(var(--page-width), calc(100% - clamp(2rem, 8vw, 8rem)));
}
.langlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.85rem;
    border-radius: 100px;
    color: var(--muted);
    text-decoration: none;
}
.langlink[aria-current] {
    color: #ffe1a9;
    background: #52331d;
}
.hero .actions {
    gap: 1rem;
}
.playbadge {
    display: inline-flex;
    align-items: center;
    margin-left: -0.55rem;
}
.playbadge img {
    width: 180px;
    height: auto;
    display: block;
}
.hero .btn.primary {
    background: #231a14;
    border-color: #9f8164;
    color: #fff1df;
}
.searchnote {
    color: #eadccb;
    font-size: 0.84rem;
    display: block;
}
.sectiontitle {
    line-height: 1.1;
}
.railhead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.railhead h2 {
    margin-bottom: 0.5rem;
}
.railhead p,
.faq p {
    color: var(--muted);
}
.railbuttons {
    display: flex;
    gap: 0.45rem;
}
.railbuttons button {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--text);
    font:
        1.8rem/1 Georgia,
        serif;
    cursor: pointer;
}
.railbuttons button:disabled {
    opacity: 0.35;
    cursor: default;
}
.rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: #75583f #201a15;
    scrollbar-width: thin;
    padding-bottom: 0.8rem;
}
.portrait {
    flex: 0 0 calc((100% - 3rem) / 4);
    scroll-snap-align: start;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #201a16;
}
.portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}
.portrait > div {
    padding: 0.85rem 1rem 1.15rem;
}
.portrait h3 {
    font-family: var(--serif);
    font-size: 1.48rem;
    font-weight: 500;
    line-height: 1.35;
}
.portrait p {
    margin-top: 0.4rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
}
#features {
    border-top: 1px solid var(--line);
}
.card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.art {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: min(100%, 13rem);
    align-self: center;
    flex: none;
    isolation: auto;
    padding: 0;
    margin: 1rem auto 0;
}
.art img {
    display: block;
    position: static;
    z-index: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}
.card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
    margin: 1rem 1rem 0.3rem;
    text-align: center;
}
.card p {
    text-align: center;
    line-height: 1.5;
    padding: 0 1rem 1.15rem;
    color: var(--muted);
}
.art-0 {
    background: linear-gradient(120deg, #be3c43, #a32051);
}
.art-1 {
    background: linear-gradient(120deg, #d27614, #a34c13);
}
.art-2 {
    background: linear-gradient(120deg, #9062ca, #62419a);
}
.art-3 {
    background: linear-gradient(120deg, #039981, #077369);
}
.art-4 {
    background: linear-gradient(120deg, #408dd3, #285eaa);
}
.art-5 {
    background: linear-gradient(120deg, #a34480, #832b65);
}
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.social-link img {
    filter: invert(1);
    width: 21px;
    height: 21px;
}
.foot .actions {
    gap: 0.9rem;
    flex-wrap: wrap;
}
.foot .social-link {
    color: var(--muted);
    font-size: 0.95rem;
}
.faq {
    padding-top: 0;
}
.faq details {
    border-top: 1px solid var(--line);
    padding: 0.9rem 0;
}
.faq summary {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
}
.faq p {
    margin-top: 0.65rem;
    max-width: 760px;
}
.doc {
    max-width: 790px;
}
@media (min-width: 1550px) {
    .hero {
        min-height: 585px;
    }
    .section {
        padding-block: 4.5rem;
    }
}
@media (max-width: 850px) {
    .portrait {
        flex-basis: calc((100% - 2rem) / 3);
    }
}
@media (max-width: 620px) {
    .portrait {
        flex-basis: 68%;
    }
    .railhead {
        align-items: center;
    }
    .railhead p {
        width: 100%;
    }
    .railbuttons {
        align-self: start;
    }
    .railbuttons button {
        width: 36px;
        height: 36px;
    }
    .art {
        width: min(calc(100% - 1.25rem), 13rem);
        padding: 0;
    }
    .card h3 {
        margin: 0.75rem 0.55rem 0.25rem;
        font-size: 1.05rem;
    }
    .card p {
        padding: 0 0.6rem 0.85rem;
        font-size: 0.94rem;
    }
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .hero .actions {
        gap: 0.45rem;
    }
    .searchnote {
        font-size: 0.8rem;
    }
    .foot .actions {
        gap: 0.8rem;
    }
}
.portrait details {
    margin-top: 0.85rem;
    border-top: 1px solid var(--line);
    padding-top: 0.65rem;
}
.portrait summary {
    color: var(--accent);
    font-size: 0.94rem;
    cursor: pointer;
}
.related {
    display: flex;
    gap: 0.35rem 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}
.related a {
    font-size: 0.92rem;
    text-underline-offset: 0.2em;
}
.card:target {
    border-color: var(--accent);
}

/* Original square feature tiles, laid out in a centered three-column group. */
#features .sectiontitle {
    text-align: center;
}
#features .grid {
    width: min(100%, 42rem);
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.4rem, 2vw, 1.35rem);
    justify-items: center;
}
#features .card {
    width: 100%;
    max-width: 13rem;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
#features .art {
    position: relative;
    display: block;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1/1;
    padding: 0;
    margin: 0;
    border-radius: 0;
    container-type: inline-size;
}
#features .art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    z-index: 0;
}
#features .art h3 {
    position: absolute;
    inset: 8% 5% auto;
    z-index: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    color: white;
    font-weight: 650;
    font-size: clamp(0.68rem, 10.5cqi, 1.35rem);
    letter-spacing: -0.015em;
    line-height: 1.3;
    text-shadow: 0 1px 3px #0004;
}
#features .art h3 span {
    display: block;
}
#features .card p {
    padding: 0.7rem 0 0;
}
@media (max-width: 540px) {
    #features .card p {
        font-size: 0.875rem;
        line-height: 1.45;
        text-wrap: pretty;
    }
}

#features .card .art {
    border-radius: 12px;
    overflow: hidden;
}

#features .art h3 {
    inset: 6% 2% auto;
    font-size: clamp(1rem, 18cqi, 2.125rem);
    font-weight: 750;
    line-height: 1.12;
}

#features #feature-bhajan .art h3 {
    font-size: clamp(0.9375rem, 16cqi, 1.875rem);
}

html[lang="hi"] #features .art h3 {
    line-height: 1.3;
}
