:root {
    --blue: #17365d;
    --jagannath: #1f4e79;
    --saffron: #f28c28;
    --gold: #d4a64a;
    --red: #a33a2b;
    --green: #3c7d3f;
    --cream: #fff7e8;
    --parchment: #f4e5cc;
    --white: #fffdf8;
    --ink: #1c2b3a;
    --muted: #576475;
    --line: #d4a64a66;
    --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18' viewBox='0 0 48 18'%3E%3Cpath d='M0 9h8l8-7 8 7-8 7-8-7M24 9h8l8-7 8 7-8 7-8-7' fill='none' stroke='%23d4a64a' stroke-width='1'/%3E%3C/svg%3E")
}

* {
    box-sizing: border-box;
    letter-spacing: 0
}

body {
    margin: 0;
    background: var(--white);
    color: var(--muted);
    font: 14px/1.8 Poppins, Arial, sans-serif
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--blue);
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: break-word
}

h1 {
    font-size: 68px
}

h2 {
    font-size: 44px
}

h3 {
    font-size: 25px
}

p {
    margin: 0 0 20px
}

img {
    display: block;
    width: 100%;
    height: auto
}

figure {
    margin: 0
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
textarea,
select {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 5px
}

[hidden] {
    display: none !important
}

.container {
    width: min(1240px, calc(100% - 64px));
    max-width: 1240px;
    padding: 0;
    margin-inline: auto
}

.section {
    padding: 90px 0
}

.cream {
    background: var(--cream)
}

.parchment {
    background: var(--parchment)
}

.dark {
    background: var(--blue);
    color: #e8edf0
}

.dark h2,
.dark h3 {
    color: var(--cream)
}

.eyebrow {
    color: var(--red);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px
}

.dark .eyebrow {
    color: #ffd085
}

.section-heading {
    margin-bottom: 32px
}

.section-heading p:last-child {
    max-width: 600px
}

.section-heading h2 {
    margin: 0
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.split>* {
    min-width: 0
}

.split>figure img {
    height: 460px;
    object-fit: cover;
    object-position: 68% center
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.action {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: var(--saffron);
    border: 1px solid var(--saffron);
    color: #182c3d;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5;
    transition: background .2s, transform .2s
}

.action:hover {
    background: #ffc168;
    transform: translateY(-2px);
    color: var(--ink)
}

.action i {
    font-size: 17px
}

.outline-light {
    background: transparent;
    color: var(--cream);
    border-color: var(--gold)
}

.text-link {
    background: transparent;
    border: 0;
    padding: 12px 0;
    color: var(--blue);
    border-bottom: 1px solid var(--gold);
    border-radius: 0
}

.text-link:hover {
    background: transparent
}

.text-button {
    padding: 8px 0;
    background: transparent;
    color: var(--blue);
    border: 0;
    border-bottom: 1px solid var(--gold);
    font-weight: 600
}

.skip {
    position: fixed;
    top: -80px;
    left: 12px;
    z-index: 2000;
    background: white;
    padding: 12px
}

.skip:focus {
    top: 8px
}

.odia-border {
    position: relative
}

.odia-border:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--motif) repeat-x center;
    background-size: 32px 12px;
    border-top: 1px solid var(--line);
    pointer-events: none;
    z-index: 4
}

.temple-divider {
    width: 156px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--gold)
}

.temple-divider:before,
.temple-divider:after {
    content: "";
    height: 1px;
    background: currentColor;
    flex: 1
}

.temple-divider span {
    width: 17px;
    height: 17px;
    display: block;
    border: 1px solid currentColor;
    border-radius: 50%;
    position: relative
}

.temple-divider span:after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid currentColor;
    transform: rotate(45deg)
}

.gold-line {
    border-bottom: 1px solid var(--gold)
}

.cultural-pattern {
    background-image: var(--motif);
    background-repeat: repeat-x;
    background-position: bottom 24px center
}

.pattachitra-frame {
    padding: 10px;
    border: 1px solid var(--gold);
    position: relative
}

.pattachitra-frame:before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid var(--line);
    pointer-events: none
}

.temple-corner:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    border-top: 3px double var(--gold);
    border-right: 3px double var(--gold);
    pointer-events: none
}

.culture-badge {
    display: inline-block;
    padding: 4px 9px;
    border-block: 1px solid var(--line);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--red)
}

.traditional-title {
    max-width: 720px
}

figcaption {
    padding: 13px 7px 4px;
    font-size: 11px;
    color: var(--muted)
}

.dark figcaption {
    color: #e5e8e8
}

.utility {
    background: var(--blue);
    color: var(--cream);
    font-size: 10px
}

.utility>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px
}

.socials {
    display: flex;
    align-items: center;
    gap: 16px
}

.socials button {
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    font-size: 13px
}

.site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1030;
    box-shadow: 0 4px 16px #17365d0a
}

.navbar {
    width: min(1440px, calc(100% - 64px));
    max-width: 1440px;
    min-height: 112px;
    padding: 12px 0 20px;
    flex-wrap: nowrap;
    gap: 20px
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0
}

.brand img {
    width: 84px;
    height: 74px;
    object-fit: contain
}

.brand strong {
    font-size: 14px;
    color: var(--blue);
    display: block;
    font-weight: 600
}

.brand small {
    font-size: 12px;
    display: block
}

.nav-links {
    display: flex;
    gap: 19px;
    align-items: center
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--blue);
    white-space: nowrap;
    padding-block: 12px;
    border-bottom: 1px solid transparent
}

.nav-links a:hover,
.nav-links a[aria-current] {
    color: var(--red);
    border-bottom-color: var(--saffron)
}

.nav-join {
    font-size: 13px;
    padding: 15px 20px;
    white-space: nowrap
}

.menu-button {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--blue);
    width: 44px;
    height: 44px;
    font-size: 24px
}

.offcanvas {
    background: var(--cream)
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.offcanvas .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0
}

.offcanvas .nav-links a {
    font-size: 16px
}

.offcanvas-header h2 {
    font-size: 30px
}

@media(min-width:1400px) {
    .menu-button {
        display: none
    }

    .navbar .offcanvas {
        position: static;
        visibility: visible !important;
        transform: none !important;
        background: none;
        border: 0;
        flex: 1;
        width: auto
    }

    .offcanvas-header {
        display: none
    }

    .navbar .offcanvas-body {
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        overflow: visible
    }

    .navbar .offcanvas .nav-links {
        flex-direction: row;
        gap: 14px
    }

    .navbar .offcanvas .nav-links a {
        font-size: 15px
    }
}

.heritage-hero {
    background: var(--blue);
    position: relative;
    color: white
}

.heritage-hero .carousel-item {
    height: 80vh;
    min-height: 560px;
    max-height: 850px;
    overflow: hidden
}

.heritage-hero .carousel-item>img,
.page-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a2349d9 0%, #102a4d99 42%, #102a4d12 100%)
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%
}

.hero-content h1,
.hero-content h2 {
    font-size: 68px;
    line-height: 1.08;
    color: var(--cream);
    max-width: 700px;
    margin: 0
}

.hero-content .eyebrow {
    color: #ffd591
}

.hero-content p:not(.eyebrow) {
    max-width: 500px;
    color: #f0eee7;
    font-size: 14px
}

.hero-content .action {
    margin-top: 8px
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    bottom: 34px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.hero-bottom>span {
    font-size: 9px;
    color: #eed6a4
}

.hero-controls {
    display: flex;
    gap: 14px;
    align-items: center
}

.hero-controls button {
    width: 34px;
    height: 34px;
    border: 1px solid #d4a64a99;
    background: transparent;
    color: #fff;
    font-size: 17px
}

.hero-controls>span {
    font-size: 12px
}

.hero-controls b {
    color: var(--saffron)
}

.carousel-item.active>img {
    animation: slowZoom 7s linear both
}

.carousel-item.active .hero-content {
    animation: heroEnter .7s ease both
}

.page-hero {
    height: 400px;
    position: relative;
    overflow: hidden;
    background: var(--blue)
}

.page-hero .hero-content h1 {
    font-size: 55px
}

.page-hero .hero-content {
    padding-block: 45px
}

.page-hero .temple-divider {
    margin: 18px 0
}

.welcome h2 {
    font-size: 44px
}

.journey {
    list-style: none;
    margin: 0;
    padding: 0 0 0 24px;
    border-left: 3px double var(--gold)
}

.journey li {
    position: relative;
    padding: 0 0 27px 12px;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 18px
}

.journey li:last-child {
    padding-bottom: 0
}

.journey li:before {
    content: "";
    position: absolute;
    left: -32px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--parchment);
    border: 2px solid var(--gold);
    transform: rotate(45deg)
}

.journey-year {
    font-size: 11px;
    font-weight: 600;
    color: var(--red)
}

.journey h3 {
    font-size: 22px;
    margin-bottom: 6px
}

.journey p {
    font-size: 12px;
    margin: 0
}

.festival-section {
    border-block: 1px solid var(--line);
    background: var(--cream)
}

.festival-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0
}

.festival-tags span {
    font-size: 10px;
    color: var(--green);
    border-bottom: 1px solid var(--line);
    padding-bottom: 7px
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.impact-grid>div {
    border-left: 1px solid var(--gold);
    padding-left: 23px
}

.impact-grid strong {
    font: 36px 'Cormorant Garamond';
    display: block;
    color: #f2bf63
}

.impact-grid span {
    display: block;
    font-size: 11px;
    margin-top: 12px
}

.dark blockquote {
    font: 26px/1.5 'Cormorant Garamond';
    color: #eac578;
    border-left: 2px solid var(--gold);
    padding-left: 23px;
    margin: 28px 0
}

.values-grid,
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px
}

.value,
.culture-topic {
    position: relative;
    border-top: 2px solid var(--gold);
    padding: 25px 12px 20px 0
}

.value h3,
.culture-topic h3 {
    font-size: 25px
}

.value p,
.culture-topic p {
    font-size: 13px
}

.round-icon {
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--green);
    font-size: 22px;
    margin-bottom: 18px
}

.community-voice {
    border-block: 1px solid var(--line);
    padding: 30px 0;
    max-width: 820px
}

.community-voice>i {
    color: var(--gold);
    font-size: 38px
}

.community-voice h3 {
    font-size: 30px
}

.cta {
    text-align: center;
    border-top: 3px double var(--gold)
}

.cta .section-heading h2,
.cta .section-heading p {
    margin-inline: auto
}

.cta .temple-divider {
    margin-inline: auto
}

.cta .actions {
    justify-content: center
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 32px
}

.filter {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--blue);
    font-size: 11px;
    padding: 8px 15px;
    border-radius: 2px
}

.filter.active {
    background: var(--blue);
    color: var(--cream);
    border-color: var(--blue)
}

.archive {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
    grid-auto-flow: dense
}

.archive-item {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--gold);
    grid-column: span 4;
    grid-row: span 2;
    background: var(--blue)
}

.archive-item.item-0 {
    grid-column: span 6;
    grid-row: span 3
}

.archive-item.item-1 {
    grid-column: span 3;
    grid-row: span 2
}

.archive-item.item-2 {
    grid-column: span 3;
    grid-row: span 2
}

.archive-item.item-3 {
    grid-column: span 6;
    grid-row: span 2
}

.archive-item.item-4 {
    grid-column: span 6;
    grid-row: span 1
}

.archive-item img {
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.archive-item:hover img {
    transform: scale(1.035)
}

.archive-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 40px 20px 18px;
    text-align: left;
    color: #fff;
    background: linear-gradient(transparent, #102c4fe6);
    display: grid;
    grid-template-columns: 1fr auto
}

.archive-caption small {
    font-size: 10px;
    color: #ffcb77;
    grid-column: 1/-1
}

.archive-caption strong {
    font: 22px 'Cormorant Garamond'
}

.archive-caption i {
    color: var(--gold)
}

.image-note {
    font-size: 10px;
    color: var(--muted);
    margin-top: 16px
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.event-card {
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--cream);
    overflow: hidden;
    transition: transform .3s
}

.event-card:hover {
    transform: translateY(-5px)
}

.event-image {
    height: 245px;
    position: relative;
    overflow: hidden
}

.event-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.event-card:hover img {
    transform: scale(1.03)
}

.date-seal {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--cream);
    color: var(--blue);
    padding: 9px 15px;
    text-align: center;
    border: 1px solid var(--gold)
}

.date-seal strong {
    font: 24px 'Cormorant Garamond';
    display: block
}

.date-seal small {
    font-size: 8px
}

.event-body {
    padding: 26px
}

.event-body .eyebrow {
    margin-bottom: 10px
}

.event-body h3 {
    font-size: 25px;
    min-height: 58px
}

.event-body p {
    font-size: 12px
}

.meta {
    font-size: 10px
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.profile {
    text-align: center;
    background: var(--cream);
    padding: 35px 20px
}

.portrait-placeholder {
    width: 110px;
    height: 110px;
    margin: 0 auto 23px;
    border: 3px double var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--parchment);
    color: var(--blue);
    font-size: 55px
}

.profile .temple-divider {
    margin: 20px auto
}

.profile h3 {
    font-size: 22px
}

.profile p {
    font-size: 11px
}

.sponsor-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    padding: 10px;
    background: #fff;
}

.sponsor-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sponsor-wall-real .sponsor-tile {
    min-width: 0;
    padding: 16px;
    scroll-margin-top: 140px;
}

.sponsor-wall-real .sponsor-tile h3 {
    margin: 16px 0 0;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.partner-placement .sponsor-logo {
    height: 130px;
    border: 1px solid var(--line);
    margin-bottom: 12px;
}

@media (max-width: 575px) {
    .sponsor-wall-real { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sponsor-wall-real .sponsor-tile { padding: 8px; }
    .sponsor-wall-real .sponsor-logo { height: 130px; padding: 4px; }
    .sponsor-wall-real .sponsor-tile h3 { font-size: 12px; }
}

.sponsor-tile {
    text-align: center;
    padding: 30px 14px;
    background: var(--white);
    border: 1px solid var(--line)
}

.partner-emblem {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 16px
}

.sponsor-tile h3 {
    font-size: 21px
}

.sponsor-tile small {
    font-size: 9px
}

.benefits p {
    padding: 24px;
    border-bottom: 1px solid var(--gold)
}

.benefits i {
    color: var(--green);
    margin-right: 18px;
    font-size: 22px
}

.sport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.sport-panel {
    padding: 30px;
    border: 1px solid var(--gold);
    background: var(--white)
}

.wide-photo img {
    max-height: 560px;
    object-fit: cover
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.contact-item {
    display: flex;
    gap: 20px;
    margin: 28px 0
}

.contact-item h3 {
    font-size: 21px
}

.contact-item p {
    font-size: 12px;
    margin: 0
}

.contact-item .round-icon {
    flex-shrink: 0
}

.contact-form {
    padding: 35px;
    background: var(--cream)
}

.contact-form h2 {
    font-size: 32px
}

.form-note {
    font-size: 11px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 26px 0
}

.form-grid .full {
    grid-column: 1/-1
}

label {
    display: block;
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--ink)
}

input,
textarea,
select {
    border: 1px solid #bcad90;
    background: var(--white);
    padding: 11px;
    width: 100%;
    min-width: 0;
    border-radius: 2px;
    color: var(--ink)
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px
}

.invalid {
    border-color: var(--red)
}

.form-status {
    font-size: 11px;
    margin: 12px 0 0
}

.map-area {
    position: relative;
    min-height: 230px;
    border: 3px double var(--gold);
    padding: 40px;
    text-align: center;
    background: var(--parchment)
}

.map-area>i {
    font-size: 32px;
    color: var(--red)
}

.map-area h2 {
    font-size: 30px
}

.accordion-item {
    border: 1px solid var(--line);
    background: var(--cream);
    margin-bottom: 12px
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background: var(--cream);
    box-shadow: none;
    color: var(--blue);
    font: 22px 'Cormorant Garamond';
    padding: 22px
}

.accordion-body {
    font-size: 13px
}

.site-footer {
    background: var(--blue);
    color: #e6e5df;
    padding: 65px 0 20px;
    border-top: 3px double var(--gold)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px
}

.footer-brand img {
    width: 85px;
    object-fit: contain;
    background: white
}

.footer-brand strong {
    font-size: 11px;
    color: var(--cream)
}

.site-footer p,
.site-footer a {
    font-size: 11px
}

.site-footer h3 {
    font: 12px Poppins;
    color: var(--gold);
    text-transform: uppercase;
    margin: 15px 0 22px
}

.footer-grid>div>a:not(.footer-brand) {
    display: block;
    margin-bottom: 10px
}

.newsletter {
    margin-top: 23px
}

.newsletter label {
    color: var(--cream)
}

.newsletter>div {
    display: flex
}

.newsletter input {
    font-size: 11px
}

.newsletter button {
    background: var(--saffron);
    border: 0;
    padding: 8px 14px;
    color: var(--ink)
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 45px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    font-size: 9px
}

.footer-bottom button {
    background: none;
    border: 0;
    color: inherit;
    font-size: 9px;
    margin-left: 16px
}

.back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    background: var(--blue);
    color: var(--cream);
    z-index: 20;
    opacity: 0;
    pointer-events: none
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto
}

.modal-content {
    border: 3px double var(--gold);
    border-radius: 4px;
    background: var(--cream)
}

.modal-title {
    font-size: 26px
}

.modal-header,
.modal-footer {
    border-color: var(--line)
}

#galleryImage {
    max-height: 68vh;
    object-fit: contain
}

#galleryCaption {
    margin: 12px 0 0;
    font-size: 12px
}

.modal-footer {
    justify-content: space-between
}

.icon-button {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: white;
    border: 1px solid var(--gold)
}

@keyframes slowZoom {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.03)
    }
}

@keyframes heroEnter {
    from {
        opacity: .3;
        translate: 0 12px
    }

    to {
        opacity: 1;
        translate: 0 0
    }
}

@media(max-width:1100px) {
    .split {
        gap: 38px
    }

    .section {
        padding: 70px 0
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 60px
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-layout {
        gap: 38px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .sponsor-wall {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:800px) {
    .container {
        width: calc(100% - 40px)
    }

    .split,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .split>figure img {
        height: 380px
    }

    .heritage-hero .carousel-item {
        height: 70vh;
        min-height: 540px
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 52px
    }

    .hero-bottom>span {
        display: none
    }

    .hero-bottom {
        justify-content: flex-end
    }

    .page-hero .hero-content h1 {
        font-size: 45px
    }

    .values-grid,
    .culture-grid {
        grid-template-columns: 1fr 1fr
    }

    .profile-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .archive {
        grid-auto-rows: 120px
    }

    .archive-item.item-0 {
        grid-column: span 6
    }

    .archive-item.item-1,
    .archive-item.item-2 {
        grid-column: span 6
    }

    .archive-item.item-4 {
        grid-row: span 2
    }

    .heritage-hero .hero-content {
        padding-bottom: 110px
    }

    .welcome h2,
    h2 {
        font-size: 38px
    }
}

@media(max-width:500px) {
    .section {
        padding: 55px 0
    }

    .container {
        width: calc(100% - 32px)
    }

    .utility {
        font-size: 8px
    }

    .utility .socials {
        gap: 12px
    }

    .brand {
        gap: 8px;
        min-width: 0;
        flex-shrink: 1
    }

    .brand img {
        width: 60px;
        height: 54px;
        flex-shrink: 0
    }

    .brand strong {
        font-size: 11px;
        line-height: 1.4
    }

    .brand small {
        font-size: 10px;
        margin-top: 4px
    }

    .navbar {
        width: calc(100% - 32px);
        min-height: 88px;
        gap: 12px;
        padding: 10px 0 18px
    }

    .menu-button {
        width: 44px;
        height: 44px;
        flex-shrink: 0
    }

    .heritage-hero .carousel-item {
        height: 75svh;
        min-height: 520px;
        max-height: 700px
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px
    }

    .hero-content p:not(.eyebrow) {
        font-size: 12px;
        max-width: 310px
    }

    .hero-content .eyebrow {
        font-size: 9px
    }

    .hero-content {
        padding-top: 30px
    }

    .hero-bottom {
        bottom: 24px
    }

    .page-hero {
        height: 350px
    }

    .page-hero .hero-content h1 {
        font-size: 38px
    }

    .page-hero .hero-content {
        padding-block: 32px
    }

    .split {
        gap: 32px
    }

    .welcome h2,
    h2 {
        font-size: 33px
    }

    .split>figure img {
        height: 300px
    }

    .journey li {
        grid-template-columns: 62px 1fr;
        gap: 10px
    }

    .journey-year {
        font-size: 9px
    }

    .journey h3 {
        font-size: 20px
    }

    .values-grid,
    .culture-grid,
    .event-grid,
    .sport-grid {
        grid-template-columns: 1fr
    }

    .profile-grid {
        gap: 12px
    }

    .profile {
        padding: 24px 10px
    }

    .profile h3 {
        font-size: 19px
    }

    .culture-badge {
        font-size: 8px
    }

    .portrait-placeholder {
        width: 85px;
        height: 85px
    }

    .profile .temple-divider {
        width: 100px
    }

    .archive {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
        gap: 10px
    }

    .archive .archive-item {
        grid-column: span 1;
        grid-row: span 1
    }

    .archive .item-0 {
        grid-column: span 2;
        grid-row: span 2
    }

    .archive-caption {
        padding: 30px 12px 12px
    }

    .archive-caption strong {
        font-size: 17px
    }

    .archive-caption small {
        font-size: 8px
    }

    .sponsor-wall {
        gap: 12px
    }

    .sponsor-tile {
        padding: 24px 10px
    }

    .sponsor-tile h3 {
        font-size: 19px
    }

    .contact-form {
        padding: 24px 17px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid .full {
        grid-column: auto
    }

    .footer-grid {
        gap: 24px
    }

    .footer-grid>div:first-child,
    .footer-grid>div:last-child {
        grid-column: 1/-1
    }

    .footer-bottom {
        flex-direction: column
    }

    .footer-bottom button {
        margin: 0 18px 0 0
    }

    .impact-grid strong {
        font-size: 30px
    }

    .actions {
        gap: 10px
    }

    .map-area {
        padding: 25px
    }

    .action {
        font-size: 10px;
        gap: 13px
    }
}

.heritage-hero .hero-shade {
    background: linear-gradient(90deg, rgba(10, 35, 73, .78) 0%, rgba(16, 42, 77, .48) 32%, rgba(16, 42, 77, .08) 60%, transparent 80%)
}

@media(min-width:801px) {
    .heritage-hero .hero-content {
        top: 28px
    }
}

@media(max-width:800px) {
    .heritage-hero .hero-shade {
        background: linear-gradient(90deg, rgba(10, 35, 73, .8), rgba(16, 42, 77, .48) 65%, rgba(16, 42, 77, .15))
    }
}

.festival-feature>figure img.mahotsava-photo {
    height: auto;
    aspect-ratio: 1000/562;
    object-fit: contain;
}

.welcome-story {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.welcome-story-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 64px;
    align-items: center;
}

.welcome-story-grid>* { min-width: 0; }
.welcome-photo-frame { padding: 8px; border: 1px solid var(--gold); }
.welcome-photo-frame img { aspect-ratio: 3/2; height: auto; object-fit: contain; }
.welcome-story-photo figcaption {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    background: var(--blue);
    color: var(--cream);
    padding: 17px 20px;
    font-size: 10px;
}
.welcome-story-photo figcaption span:first-child { color: #ffd591; font-weight: 600; }
.welcome-photo-note { display: flex; gap: 24px; align-items: center; padding-top: 22px; font-size: 12px; line-height: 1.7; }
.welcome-year { font: 600 44px/1 'Cormorant Garamond', Georgia, serif; color: var(--blue); padding-right: 24px; border-right: 1px solid var(--gold); }
.welcome-story-copy h2 { font-size: 50px; line-height: 1.08; margin-bottom: 0; }
.welcome-story-copy h2 em { color: var(--green); font-weight: 500; }
.welcome-story-copy .eyebrow { color: var(--red); }
.welcome-story-copy .welcome-intro { font-size: 17px; line-height: 1.6; color: var(--blue); font-weight: 500; }
.welcome-pillars { display: flex; list-style: none; padding: 20px 0; margin: 24px 0; border-block: 1px solid var(--line); gap: 28px; }
.welcome-pillars li { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 13px; }
.welcome-pillars i { color: var(--green); font-size: 22px; }
.welcome-pillars li:first-child i { color: var(--red); }
.welcome-pillars li:last-child i { color: #a86617; }
@media(max-width:1100px) {
    .welcome-story-grid { gap: 36px; }
    .welcome-story-copy h2 { font-size: 42px; }
    .welcome-pillars { gap: 18px; }
}
@media(max-width:800px) {
    .welcome-story { padding: 55px 0; }
    .welcome-story-grid { grid-template-columns: 1fr; gap: 36px; }
    .welcome-story-copy h2 { font-size: 40px; }
}
@media(max-width:400px) {
    .welcome-story-copy h2 { font-size: 36px; }
    .welcome-pillars { gap: 20px; }
    .welcome-pillars li { gap: 7px; font-size: 12px; }
    .welcome-photo-note { gap: 16px; font-size: 11px; }
    .welcome-year { padding-right: 16px; }
}

[id] {
    scroll-margin-top: 125px
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}
.blood-camp { scroll-margin-top: 140px; }
.blood-camp-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-bottom: 32px; }
.blood-camp-intro h2 { font-size: 44px; line-height: 1.1; }
.blood-camp-date { display: flex; align-items: center; gap: 12px; color: #246332; font-weight: 600; margin-top: 20px; }
.blood-camp-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.blood-photo { position: relative; padding: 0; border: 1px solid #d4a64a; border-radius: 6px; overflow: hidden; background: #fffdf8; }
.blood-photo:first-child { grid-column: span 2; }
.blood-photo:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
.blood-photo img { display: block; width: 100%; height: auto; }
.blood-photo span { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: #17365d; color: #fff; border: 1px solid #d4a64a; border-radius: 50%; }
.blood-photo:hover span { background: #246332; }
.blood-photo:focus-visible { outline: 3px solid #17365d; outline-offset: 3px; }
@media(max-width:767px) {
    .blood-camp-intro { grid-template-columns: 1fr; gap: 12px; }
    .blood-camp-intro h2 { font-size: 36px; }
    .blood-camp-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .blood-photo:nth-child(4) { grid-column: auto; grid-row: auto; }
}
@media(max-width:480px) {
    .blood-camp-photos { grid-template-columns: 1fr; }
    .blood-photo:first-child { grid-column: auto; }
}
.split > figure img.real-feature-photo { height: auto; aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
.real-photo-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.real-photo-archive .service-photo { margin: 0; }
.real-photo-archive .service-photo img { aspect-ratio: 16 / 10; object-fit: contain; background: #f3f4f1; }
#photo-gallery { scroll-margin-top: 120px; }
@media (max-width: 900px) { .real-photo-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .real-photo-archive { grid-template-columns: minmax(0, 1fr); } }
#members { scroll-margin-top: 125px; }
.member-group-title { font-size: 28px; margin: 0 0 16px; }
.member-directory { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.member-directory li { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.member-directory h3 { font-family: Poppins, sans-serif; font-size: 16px; line-height: 1.6; margin: 0 0 6px; overflow-wrap: anywhere; }
.member-directory p { color: var(--green); font-size: 13px; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .member-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .member-directory { grid-template-columns: minmax(0, 1fr); } }
.service-photo-grid { columns: 3; column-gap: 20px; }
.service-photo { display: inline-block; width: 100%; break-inside: avoid; margin: 0 0 20px; padding: 0; text-align: left; border: 1px solid #d4a64a; border-radius: 6px; overflow: hidden; background: #fffdf8; color: #17365d; }
.service-photo[hidden] { display: none; }
.service-photo img { display: block; width: 100%; height: auto; }
.service-photo > span { display: block; position: relative; padding: 16px 48px 16px 16px; }
.service-photo small { display: block; color: #246332; font-size: 11px; margin-bottom: 7px; }
.service-photo strong { display: block; font-size: 13px; line-height: 1.6; font-weight: 500; }
.service-photo i { position: absolute; right: 16px; top: 20px; color: #99500e; }
.service-photo:hover { border-color: #246332; }
.service-photo:focus-visible { outline: 3px solid #17365d; outline-offset: 3px; }
@media(max-width:900px) { .service-photo-grid { columns: 2; } }
@media(max-width:500px) { .service-photo-grid { columns: 1; } }
.cup-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: start; }
.cup-photo-grid .service-photo { margin: 0; }
#cup-2026 { scroll-margin-top: 140px; }
@media(max-width:900px) { .cup-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:500px) { .cup-photo-grid { grid-template-columns: minmax(0,1fr); } }
