:root {
    --ink: #183b30;
    --forest: #123d31;
    --moss: #456747;
    --gold: #edce8e;
    --paper: #faf8f1;
    --line: #dadbca;
    --muted: #546256;
    --serif: Georgia, 'Times New Roman', serif;
    font: 16px/1.55 'Segoe UI', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

a {
    color: inherit;
    text-underline-offset: .25em
}

a:hover {
    color: #62734c
}

button,
.button {
    background: var(--forest);
    color: white;
    border: 1px solid transparent;
    padding: .8rem 1.3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    font: 600 .9rem/1.4 inherit;
    font-family: inherit;
    font-size: .93rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s, background .18s
}

button:hover,
.button:hover {
    background: #285840;
    color: white;
    transform: translateY(-1px)
}

.small {
    padding: .53rem .85rem
}

.outline {
    background: transparent;
    border-color: var(--forest);
    color: var(--forest)
}

.gold {
    background: var(--gold);
    color: #1c3626
}

.gold:hover {
    background: #f3deaf;
    color: var(--ink)
}

.textlink {
    padding: 0;
    background: none !important;
    color: var(--ink) !important;
    text-decoration: underline
}

.skip {
    position: absolute;
    top: -100px;
    z-index: 5;
    background: white
}

.skip:focus {
    top: 0
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #b57c2b;
    outline-offset: 3px
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.08;
    overflow-wrap: break-word
}

h1 {
    font-size: clamp(2.65rem, 6vw, 5.7rem);
    margin-bottom: 1.35rem
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 3.4rem);
    margin-bottom: 1rem
}

h3 {
    font-size: 1.55rem
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .17em;
    font-weight: 650;
    font-size: .71rem;
    line-height: 1.6;
    margin-bottom: 1rem
}

.mast {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 36px);
    justify-content: space-between;
    padding: 15px 5vw;
    position: relative;
    z-index: 3;
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.wordmark {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    font: 500 clamp(1.15rem, 2.1vw, 1.55rem)/1.03 var(--serif);
    letter-spacing: -.035em
}

.wordmark img {
    width: 44px;
    height: 44px;
    object-fit: contain
}

.mast nav,
.nav-actions,
.actions,
.inline-links,
.toolbar {
    display: flex;
    align-items: center;
    gap: 1.25rem
}

.mast nav a {
    text-decoration: none;
    font-size: .89rem;
    font-weight: 550
}

.nav-actions {
    gap: .9rem
}

.menu-toggle {
    display: none
}

.hero {
    min-height: min(800px, calc(100svh - 75px));
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff9e9;
    background: #163e2f;
    overflow: hidden
}

.hero-photo {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 76%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #112f24 1%, rgba(17, 47, 36, .96) 20%, rgba(17, 47, 36, .69) 44%, rgba(17, 47, 36, .06) 77%), linear-gradient(0deg, #142e23a6, transparent 28%)
}

.hero-inner {
    max-width: 1400px;
    padding: 6vw 7vw 7vw;
    width: 100%;
    margin: 0 auto
}

.hero h1 {
    font-size: clamp(3.75rem, 6.65vw, 7.6rem);
    font-weight: 400;
    line-height: .97;
    letter-spacing: -.052em;
    max-width: 13ch;
    margin-bottom: 2rem
}

.hero em {
    color: #f0d49c;
    font-weight: 400
}

.hero .eyebrow {
    color: #e8d7a8
}

.rule:before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 1px;
    background: currentColor;
    margin-right: 14px;
    vertical-align: middle
}

.hero-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #ddd3b6
}

.hero-link:hover {
    color: white
}

.hero-loc {
    position: absolute;
    bottom: 22px;
    right: 5vw;
    left: 7vw;
    text-align: right;
    color: #fff4d8;
    font-size: .78rem
}

.section,
.desk,
.form-shell {
    animation: appear .35s ease-out
}

.section {
    max-width: 1500px;
    padding: clamp(40px, 6vw, 95px) 7vw;
    margin: auto
}

.section-heading,
.visit-band,
.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem
}

.section-heading {
    margin-bottom: 1.7rem
}

.section-heading h2,
.section-heading h1 {
    margin: 0
}

.section-heading a,
.inline-links a,
.toolbar a {
    font-weight: 600;
    font-size: .9rem
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px)
}

.image-card {
    display: block;
    position: relative;
    aspect-ratio: 1.25;
    overflow: hidden;
    background: #314e3c;
    text-decoration: none;
    border-radius: 5px
}

.image-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .45s
}

.image-card:hover img {
    transform: scale(1.035)
}

.image-card:after {
    content: '';
    position: absolute;
    inset: 20% 0 0;
    background: linear-gradient(transparent, #0b291fe6)
}

.image-card span {
    position: absolute;
    z-index: 1;
    bottom: 1.1rem;
    left: 1.3rem;
    right: 1.3rem;
    color: white;
    font: 1.65rem/1.12 var(--serif);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.image-card i {
    font: 1.1rem system-ui
}

.visit-band {
    background: #e6eadb;
    padding: 3.5rem 7vw
}

.visit-band p:last-child {
    margin: 0
}

footer {
    background: #14382e;
    color: #f4edda;
    padding: 3.5rem 7vw 1.5rem
}

.foot-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5vw
}

.foot-top h2 {
    font-size: 2rem
}

.foot-top>div>a {
    display: block;
    width: fit-content;
    margin-bottom: 8px
}

.foot-bottom {
    justify-content: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid #ffffff35;
    margin-top: 1.7rem;
    padding-top: 1rem;
    font-size: .78rem
}

.foot-bottom span {
    margin-right: auto
}

footer a:hover {
    color: #f0d49c
}

.float-links {
    position: fixed;
    bottom: 15px;
    right: 18px;
    display: flex;
    gap: 6px;
    z-index: 3
}

.form-shell {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 1.3rem
}

.form-shell h1,
.desk h1 {
    font-size: clamp(2.5rem, 4.5vw, 4rem)
}

.panel,
.content-card {
    border: 1px solid var(--line);
    background: #fffdf7;
    border-radius: 8px;
    padding: clamp(17px, 2.2vw, 32px);
    min-width: 0
}

.panel h2,
.content-card h2,
.desk h2 {
    font-size: 1.8rem
}

.content-card {
    padding: 0 0 1.25rem;
    overflow: hidden
}

.content-card>:not(a):not(video) {
    margin: .9rem 1.15rem
}

.content-card>a:not(:first-child) {
    margin-left: 1.15rem
}

.content-card img,
.content-card video {
    width: 100%;
    height: clamp(200px, 24vw, 340px);
    object-fit: cover;
    background: #203a2f
}

.reading {
    max-width: 820px
}

.reading .content-card {
    margin-bottom: 1rem
}

.reading .content-card img {
    height: 360px
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 7vw
}

.field,
label {
    display: block
}

.field {
    margin-bottom: 1.12rem
}

.field>label,
label {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .3rem
}

.field small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.45
}

.field ul {
    margin: .4rem 0;
    padding-left: 1.25rem
}

input,
textarea,
select {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: .72rem .8rem;
    border: 1px solid #b2beaf;
    background: white;
    color: var(--ink);
    font: inherit;
    border-radius: 4px;
    margin: .28rem 0 .65rem
}

input[type=checkbox] {
    display: inline;
    width: 1.1rem;
    height: 1.1rem;
    vertical-align: middle
}

.errorlist {
    color: #a03320
}

.hint,
.notice,
.messages p {
    background: #f5eacb;
    border-left: 3px solid #b68b39;
    padding: .7rem 1rem
}

.messages p {
    margin: 0
}

.inline-links,
.toolbar,
.actions {
    flex-wrap: wrap
}

.inline-links,
.toolbar {
    margin: 1.3rem 0
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 1.2rem 0
}

.record {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    overflow-wrap: anywhere
}

.record:last-child {
    border: 0
}

.record p,
.record span {
    margin: .2rem 0;
    font-size: .9rem;
    color: var(--muted)
}

dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    margin: 1rem 0 1.5rem
}

dd {
    margin: 0;
    text-align: right;
    font-weight: 600
}

details {
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0
}

summary {
    cursor: pointer;
    font-weight: 650
}

details form {
    margin: 1rem 0
}

.workspace {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr)
}

.sidebar {
    padding: 1.75rem .9rem;
    background: #e4eadf
}

.sidebar .eyebrow {
    padding: 0 .5rem
}

.sidebar nav {
    display: grid
}

.sidebar nav a,
.dash-home {
    padding: .35rem .65rem;
    text-decoration: none;
    font-size: .88rem;
    line-height: 1.45
}

.sidebar a[aria-current],
.sidebar a:hover {
    background: #cedbc9
}

.sidebar details {
    padding: 0;
    border: 0
}

.sidebar summary {
    margin: .7rem .65rem
}

.desk {
    padding: 3vw;
    min-width: 0
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 1rem
}

.metrics article {
    background: #e6ecde;
    border: 1px solid #d7dfcd;
    padding: 1.15rem;
    border-radius: 6px
}

.metrics span,
.metrics strong {
    display: block
}

.metrics span {
    font-size: .82rem
}

.metrics strong {
    font: 1.7rem var(--serif);
    margin-top: .5rem
}

.desk>.panel {
    margin: 1rem 0
}

.chart {
    height: 230px;
    position: relative
}

.search {
    display: flex;
    align-items: center;
    gap: 5px
}

.search input {
    margin: 0
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px
}

.cal-day {
    padding: 8px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 5px
}

.slot {
    font-size: .72rem;
    border-radius: 3px;
    padding: .25rem .35rem;
    display: block;
    margin: .3rem 0;
    overflow-wrap: anywhere
}

.available {
    background: #dfeddc;
    color: #1e533b
}

.booked,
.blocked {
    background: #f1d6d0;
    color: #713427
}

.held {
    background: #f2e3ba
}

.past {
    color: #586356;
    background: #eee
}

.list,
.toolbar,
.panel {
    overflow-wrap: anywhere
}

#update {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background: var(--paper);
    padding: 10px;
    border: 1px solid var(--line);
    z-index: 8
}

.loading {
    animation: pulse 1s infinite alternate
}

.content-card img,
.image-card img {
    background: #dce4d4
}

@keyframes appear {
    from {
        opacity: .4;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes pulse {
    to {
        opacity: .6
    }
}

@media(max-width:950px) {
    .mast {
        padding: 12px 4vw;
        gap: .65rem
    }

    .menu-toggle {
        display: inline-flex;
        order: 2;
        padding: .48rem .6rem
    }

    .nav-actions {
        margin-left: auto
    }

    .mast nav {
        display: none
    }

    .mast nav.open {
        display: grid;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 1.2rem 5vw;
        border-bottom: 1px solid var(--line)
    }

    .workspace {
        grid-template-columns: 170px minmax(0, 1fr)
    }

    .hero-photo {
        width: 90%
    }

    .cal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .cal-gap {
        display: none
    }
}

@media(max-width:640px) {
    .wordmark {
        font-size: 1.12rem;
        max-width: 156px
    }

    .wordmark img {
        width: 34px;
        height: 34px
    }

    .nav-actions {
        gap: .5rem
    }

    .menu-toggle,
    .nav-actions .small {
        font-size: .75rem;
        padding: .43rem .55rem
    }

    .language {
        font-size: .75rem
    }

    .hero {
        min-height: 78svh
    }

    .hero-inner {
        padding: 5rem 6vw
    }

    .hero-photo {
        width: 100%;
        object-position: 55% 52%
    }

    .hero:before {
        background: linear-gradient(90deg, #0c2d23d4, rgba(16, 42, 31, .24)), linear-gradient(0deg, #123124aa, transparent 45%)
    }

    .hero h1 {
        font-size: clamp(3.3rem, 12vw, 5rem);
        margin-bottom: 1.6rem
    }

    .hero-loc {
        text-align: left;
        font-size: .67rem
    }

    .cards,
    .split,
    .account-grid,
    .workspace {
        grid-template-columns: 1fr
    }

    .section,
    .desk {
        padding: 2.4rem 5vw
    }

    .section-heading,
    .visit-band {
        align-items: flex-start;
        flex-wrap: wrap
    }

    .image-card {
        aspect-ratio: 1.65
    }

    .foot-top {
        grid-template-columns: 1fr 1fr
    }

    .foot-top>div:first-child {
        grid-column: span 2
    }

    .toolbar,
    .inline-links {
        gap: .75rem
    }

    .cal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .sidebar {
        padding: 1rem
    }

    .sidebar details {
        margin: 0
    }

    .sidebar nav {
        grid-template-columns: 1fr 1fr
    }

    .foot-bottom span {
        width: 100%
    }

    .record {
        flex-wrap: wrap
    }

    .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .chart {
        height: 190px
    }

    .hero-link {
        font-size: .9rem
    }
}

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

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

@font-face {
    font-family: GardenTelugu;
    src: url("../fonts/NotoSansTelugu-Regular.d69704d1ccce.ttf") format("truetype");
    font-display: swap;
    unicode-range: U+0C00-0C7F
}

html:lang(te) {
    font-family: GardenTelugu, 'Segoe UI', system-ui, sans-serif
}

html:lang(te) h1,
html:lang(te) h2,
html:lang(te) .hero h1 {
    font-family: GardenTelugu, Georgia, serif;
    letter-spacing: 0;
    line-height: 1.42
}

@media(min-width:951px) {
    .hero:before {
        background: linear-gradient(90deg, #112f24 0%, #112f24 24%, rgba(17, 47, 36, .8) 40%, rgba(17, 47, 36, .08) 77%), linear-gradient(0deg, #142e23a6, transparent 28%)
    }

    .hero h1 {
        max-width: 18ch
    }
}
