/* Layout: a full-width 16:9 stage. Left: live header, filter tabs and the day's entries as a vertical tab list by time. Right: the open entry with its photos and story. */
:root {
    --bg: #f1f5f4;
    --stage: #ffffff;
    --panel: #f4f7f5;
    --ink: #212529;
    --heading: #123812;
    --muted: #5b6660;
    --line: #dfe7e3;
    --forest: #0b0b0b;
    --leaf: #3a7500;
    --lime: #5c9d00;
    --lime-ink: #ffffff;
    --gold: #123812;
    --sel: #eaf2e4;
    --shadow: 0 1px 2px rgba(18, 40, 24, .05), 0 12px 28px rgba(18, 40, 24, .06), 0 40px 80px rgba(18, 40, 24, .07);
    --display: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --head: "Raleway", sans-serif;
    --label: "Poppins", "Roboto", sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0e1411;
        --stage: #161e1a;
        --panel: #1b2520;
        --ink: #e4ebe7;
        --heading: #d4ecb8;
        --muted: #a5b0aa;
        --line: #26322c;
        --forest: #000000;
        --leaf: #7cc11c;
        --lime: #7cc11c;
        --lime-ink: #0b120d;
        --gold: #d4ecb8;
        --sel: #1f2b24;
        --shadow: 0 24px 60px rgba(0, 0, 0, .45);
        color-scheme: dark
    }
}

:root[data-theme="dark"] {
    --bg: #0e1411;
    --stage: #161e1a;
    --panel: #1b2520;
    --ink: #e4ebe7;
    --heading: #d4ecb8;
    --muted: #a5b0aa;
    --line: #26322c;
    --forest: #000000;
    --leaf: #7cc11c;
    --lime: #7cc11c;
    --lime-ink: #0b120d;
    --gold: #d4ecb8;
    --sel: #1f2b24;
    --shadow: 0 24px 60px rgba(0, 0, 0, .45);
    color-scheme: dark
}


.sec-title {
    text-align: center;
    margin: 0 auto 28px
}

.sec-title h1 {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    font-family: var(--head);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.02em;
    text-wrap: balance
}

.sec-title p {
    margin: 10px auto 0;
    max-width: 62ch;
    color: var(--muted)
}


.stage {
    min-width: 0;
    margin: 0 auto;
    aspect-ratio: 16/9;
    max-height: calc(100vh - 80px);
    min-height: 620px;
    background: var(--stage);
    border-radius: 22px;
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    overflow: hidden;
    max-width: 100%
}

/* left */
.side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: clamp(22px, 2.6vw, 44px) clamp(20px, 2.2vw, 40px) 0
}

.eyebrow {
    font-family: var(--label);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .22em;
    color: var(--leaf);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border-radius: 5px;
    background: var(--forest);
    color: #9fd650;
    letter-spacing: .16em
}

.live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9fd650;
    animation: pulse 1.6s infinite
}

.live.done i {
    animation: none
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 230, 140, .75)
    }

    70% {
        box-shadow: 0 0 0 9px rgba(194, 230, 140, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(194, 230, 140, 0)
    }
}

h2 {
    margin: 12px 0 6px;
    font-family: var(--head);
    font-size: clamp(28px, 2.9vw, 46px);
    line-height: 1.1;
    letter-spacing: -.025em;
    font-weight: 700;
    text-wrap: balance
}

h2 b {
    font-weight: 700;
    color: var(--lime)
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.when {
    font-size: 14px;
    color: var(--muted)
}

.when b {
    color: var(--ink);
    font-weight: 700
}

.filters {
    margin-top: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    font: 500 14px var(--label);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1.5px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.chip span {
    color: var(--muted);
    font-variant-numeric: tabular-nums
}

.chip[aria-pressed="true"] {
    background: var(--leaf);
    border-color: var(--leaf);
    color: #fff
}

.chip[aria-pressed="true"] span {
    color: rgba(255, 255, 255, .8)
}

.list {
    margin: 16px calc(-1 * clamp(20px, 2.2vw, 40px)) 0;
    padding: 0 clamp(12px, 1.4vw, 24px) 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    position: relative
}

.tab {
    width: 100%;
    display: grid;
    grid-template-columns: 70px 18px minmax(0, 1fr);
    gap: 0 12px;
    align-items: start;
    text-align: left;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    padding: 12px 12px;
    border-radius: 8px;
    cursor: pointer;
    position: relative
}

.tab,
.chip,
.th,
.hero-ayu {
    transition: transform 120ms ease-out, background-color 160ms ease-out
}

.tab:active,
.chip:active {
    transform: scale(.97)
}

.th:active,
.hero-ayu:active {
    transform: scale(.985)
}

.tab:hover {
    background: color-mix(in srgb, var(--sel) 60%, transparent)
}

.tab[aria-selected="true"] {
    background: var(--sel)
}

.tab .t {
    font-family: var(--head);
    color: var(--leaf);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
    padding-top: 1px
}

.tab .t small {
    display: block;
    font-family: var(--label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--muted)
}

.tab .d {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 8px;
    background: var(--leaf)
}

.tab.article .d {
    background: var(--gold)
}

.tab.soon .d {
    background: var(--stage);
    border: 2px solid var(--muted)
}

.tab .k {
    font-family: var(--label);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--muted)
}

.tab .h {
    font-family: var(--head);
    color: var(--heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    margin-top: 2px
}

.tab .chev {
    position: absolute;
    right: 14px;
    top: 50%;
    translate: 0 -50%;
    color: var(--leaf);
    font-weight: 700;
    opacity: 0
}

.tab[aria-selected="true"] .chev {
    opacity: 1
}

.tab:focus-visible,
.chip:focus-visible,
.th:focus-visible,
.more:focus-visible,
.lb button:focus-visible,
.hero-ayu:focus-visible {
    outline: 3px solid var(--leaf);
    outline-offset: 2px
}

/* right */
.main-ayurveda {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(16px, 1.6vw, 28px)
}

.pane {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    animation: in .32s cubic-bezier(.25, 1, .5, 1)
}

@keyframes in {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.media {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 10px
}

.hero-ayu {
    border: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--line);
    min-height: 0;
    position: relative
}

.hero-ayu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.hero-ayu .badge {
    position: absolute;
    left: 16px;
    top: 16px;
    font-family: var(--label);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .2em;
    padding: 6px 10px;
    border-radius: 8px
}

.badge.ev {
    background: rgba(255, 255, 255, .72);
    color: #123812;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%)
}

.badge.ar {
    background: rgba(10, 14, 12, .5);
    color: #fff;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%)
}

.side-th {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    gap: 10px;
    min-height: 0
}

.th {
    border: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--line);
    position: relative;
    min-height: 0
}

.th img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s
}

.th:hover img {
    transform: scale(1.06)
}

.th .plus {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(19, 52, 42, .62);
    color: #fff;
    font-weight: 700;
    font-size: 20px
}

.copy {
    background: var(--panel);
    border-radius: 16px;
    padding: clamp(16px, 1.6vw, 26px) clamp(18px, 1.8vw, 30px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 24px;
    align-items: start;
    max-height: 42vh;
    overflow: auto
}

.copy h3 {
    margin: 0;
    font-family: var(--head);
    color: var(--heading);
    font-size: clamp(20px, 1.9vw, 30px);
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance
}

.copy p {
    margin: 6px 0 0;
    color: var(--muted);
    max-width: 70ch
}

.copy .full p {
    color: var(--ink)
}

.copy .full[hidden] {
    display: none
}

.copy .aside {
    text-align: right;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap
}

.copy .aside b {
    display: block;
    font-family: var(--head);
    color: var(--leaf);
    font-size: 20px;
    font-variant-numeric: tabular-nums
}

.names {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.names span {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 5px;
    background: var(--sel)
}

.more {
    margin-top: 12px;
    font: 500 15px var(--display);
    color: var(--leaf);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer
}

.soonbox {
    flex: 1;
    display: grid;
    place-items: center;
    border: 2px dashed var(--line);
    border-radius: 22px;
    text-align: center;
    padding: 32px
}

.soonbox .big {
    font-size: clamp(44px, 5vw, 88px);
    font-weight: 600;
    letter-spacing: -.04em;
    color: var(--leaf);
    font-variant-numeric: tabular-nums
}

.soonbox h3 {
    margin: 6px 0;
    font-size: clamp(22px, 2.2vw, 34px);
    letter-spacing: -.02em
}

.soonbox p {
    margin: 0 auto;
    color: var(--muted);
    max-width: 52ch
}

.soonbox .pill {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--label);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .2em;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    color: var(--muted)
}

/* lightbox */
.lb {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(8, 12, 10, .78);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px))
}

body.photo-viewer-open {
    overflow: hidden;
}

body.photo-viewer-open #header,
body.photo-viewer-open .top-header,
body.photo-viewer-open #scroll-top,
body.photo-viewer-open .enquire-btn {
    visibility: hidden;
}

.lb[hidden] {
    display: none !important
}

.lb .bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    gap: 12px
}

.lb .cap {
    font-size: 15px;
    opacity: .85
}

.lb button {
    font: 500 15px var(--display);
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer
}

.lb figure {
    margin: 0;
    display: grid;
    place-items: center;
    min-height: 0
}

.lb img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain
}

.lb .nav {
    display: flex;
    justify-content: center;
    gap: 12px
}

/* narrow: drop the fixed 16:9 and stack */
@media (max-width:900px) {
    .stage {
        aspect-ratio: auto;
        max-height: none;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr)
    }

    .side {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 12px
    }

    .list {
        max-height: 340px
    }

    .media {
        height: 56vw;
        min-height: 240px
    }

    .copy {
        max-height: none
    }
}

@media (max-width:520px) {
    .media {
        grid-template-columns: minmax(0, 1fr);
        height: auto
    }

    .hero-ayu {
        aspect-ratio: 4/3
    }

    .side-th {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: auto
    }

    .th {
        aspect-ratio: 1
    }

    .copy {
        grid-template-columns: minmax(0, 1fr)
    }

    .copy .aside {
        text-align: left
    }
}

@media (prefers-reduced-motion:reduce) {
    .pane {
        animation: fade .2s ease
    }

    @keyframes fade {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    .tab,
    .chip,
    .th,
    .hero-ayu,
    .th img {
        transition: none !important;
        transform: none !important
    }
}

@media (prefers-reduced-transparency:reduce) {
    .badge.ev {
        background: #fff;
        backdrop-filter: none
    }

    .badge.ar {
        background: #111;
        backdrop-filter: none
    }

    .lb {
        background: #0a0d0b;
        backdrop-filter: none
    }
}