/* Base public styles. */
/* Site colours and type scale. */
:root {
    --navy: #132c3f;
    --navy2: #0b2233;
    --gold: #bd9954;
    --ivory: #f8f5ee;
    --ink: #1b2b38;
    --muted: #66727b;
    --line: #e7e7e4;
    --blue: #405d9a;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}
a {
    text-decoration: none !important;
    color: inherit;
}
a:hover {
    color: var(--gold);
}
button {
    font: inherit;
    cursor: pointer;
}
.view {
    display: none;
}
.view.active {
    display: block;
}
.preview-switch {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 1px 8px #00000013;
    padding: 10px max(22px, calc((100vw - 1350px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
}
.preview-switch > div {
    display: flex;
    gap: 6px;
}
.switch {
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    padding: 8px 12px;
}
.switch.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}
/* Announcement and public navigation. */
.announcement {
    background: var(--navy2);
    color: #e9dfc9;
    text-align: center;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 0.08em;
}
.announcement span {
    margin-left: 20px;
    color: #b3c2cc;
}
.site-header {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 max(30px, calc((100vw - 1320px) / 2));
    background: #fff;
}
.identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 205px;
}
.sun {
    font-size: 44px;
    color: var(--gold);
}
.identity b {
    font-family: 'Libre Baskerville', serif;
    font-size: 27px;
    letter-spacing: 0.06em;
}
.identity small {
    display: block;
    font-size: 9px;
    letter-spacing: 0.16em;
    color: #8d846d;
    margin-top: 4px;
}
.site-nav {
    display: flex;
    gap: 26px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}
.site-nav a {
    transition: color 0.2s;
}
.nav-group {
    position: relative;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    padding: 15px 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 12px 28px #0002;
    z-index: 5;
}
.dropdown a {
    display: block;
    padding: 11px 18px;
}
.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
    display: block;
}
.nav-cta {
    background: var(--navy);
    color: #fff;
    padding: 15px 19px;
    font-size: 12px;
    white-space: nowrap;
}
.nav-cta:hover {
    color: #fff;
    background: #24465f;
}
.mobile-toggle {
    display: none;
}
/* Homepage introduction and hero media. */
.hero {
    display: grid;
    grid-template-columns: 56% 44%;
    min-height: 650px;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
}
.hero-inner {
    padding: 100px 9% 55px max(36px, calc((100vw - 1320px) / 2));
    position: relative;
    z-index: 2;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #d8b978;
}
.eyebrow.dark {
    color: #9a783d;
}
.hero h1,
.section h2,
.research-band h2,
.closing h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.04em;
}
.hero h1 {
    font-size: clamp(44px, 4.4vw, 72px);
    line-height: 1.18;
    margin: 26px 0;
}
.hero h1 em,
.section h2 em,
.research-band h2 em,
.closing h2 em {
    color: #d6b773;
    font-weight: 400;
}
.hero-copy {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.85;
    color: #d4e0e7;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 16px 21px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.button.gold {
    background: var(--gold);
    color: #152b3a;
}
.button.gold:hover {
    background: #e2c486;
}
.button.outline {
    border: 1px solid #8295a2;
    color: #fff;
}
.button.outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.hero-meta {
    display: flex;
    gap: 26px;
    margin-top: 65px;
    font-size: 11px;
    color: #a6b9c5;
}
.hero-meta span:before {
    content: '✧';
    color: var(--gold);
    margin-right: 8px;
}
.hero-art {
    background: radial-gradient(circle at 54% 44%, #344e60, #10293c 63%, #0b2233);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}
.orbit {
    position: absolute;
    border: 1px solid #d5b67654;
    border-radius: 50%;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}
.orbit-one {
    width: 270px;
    height: 270px;
}
.orbit-two {
    width: 420px;
    height: 420px;
}
.orbit-three {
    width: 600px;
    height: 600px;
}
.hero-art:before,
.hero-art:after {
    content: '';
    position: absolute;
    inset: 9%;
    border: 1px solid #ffffff13;
    transform: rotate(25deg);
}
.hero-art:after {
    inset: 20%;
    transform: rotate(58deg);
}
.celestial {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 210px;
    color: #d7b46d;
    text-shadow: 0 0 60px #c6a36d40;
}
.hero-art-label {
    position: absolute;
    bottom: 45px;
    left: 12%;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #e2cf9d;
}
.hero-art-label span {
    display: block;
    margin-top: 8px;
    color: #95aebd;
}
/* Institutional attribution styling. */
.trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 28px;
    background: #f4efe6;
    font-size: 12px;
}
.trust-line > span:first-child {
    font-size: 10px;
    color: #8c7958;
    letter-spacing: 0.14em;
}
.trust-line strong {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
}
.trust-line .line {
    width: 1px;
    height: 20px;
    background: #d4c8b3;
}
.section {
    max-width: 1320px;
    margin: auto;
    padding: 110px 32px;
}
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
}
.section h2 {
    font-size: clamp(35px, 3.4vw, 55px);
    line-height: 1.25;
    margin: 25px 0;
}
.section h2 em {
    color: #a5854b;
}
.intro-right {
    padding-top: 22px;
    color: #596875;
    font-size: 16px;
    line-height: 1.9;
}
.text-link {
    font-size: 13px;
    font-weight: 700;
    color: #987441;
}
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f8f5ee;
    padding: 55px max(32px, calc((100vw - 1256px) / 2));
    gap: 50px;
}
.values > div {
    border-left: 2px solid var(--gold);
    padding-left: 24px;
}
.values span {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #9b783f;
    font-weight: 700;
}
.values h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 23px;
    font-weight: 400;
}
.values p {
    line-height: 1.7;
    color: #6b747b;
    font-size: 14px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 45px;
}
.section-heading > p {
    max-width: 350px;
    line-height: 1.75;
    color: #6c7479;
    font-size: 14px;
}
/* Programme card layout. */
.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.programme-card {
    border: 1px solid #e7e3db;
    padding: 30px;
    min-height: 315px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    background: white;
}
.programme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px #142d4015;
}
.course-num {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #947443;
    font-weight: 700;
}
.course-symbol {
    font-size: 43px;
    color: #c6a05c;
    margin: 20px 0 12px;
}
.programme-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 10px;
}
.course-native {
    color: #a18047 !important;
    font-weight: 700;
}
.programme-card p {
    font-size: 13px;
    color: #66737c;
    line-height: 1.6;
    margin: 6px 0;
}
.programme-card a {
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    color: #947443;
    font-weight: 700;
}
.programme-card.featured {
    background: #142d40;
    color: #fff;
}
.programme-card.featured p {
    color: #b8cbd6;
}
/* Research feature band. */
.research-band {
    background: #142d40;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 95px max(32px, calc((100vw - 1256px) / 2));
}
.research-band h2 {
    font-size: clamp(36px, 3.5vw, 58px);
    line-height: 1.3;
}
.research-band > div:last-child {
    padding-top: 40px;
}
.research-band p {
    line-height: 1.9;
    color: #c4d3db;
    font-size: 16px;
    margin-bottom: 32px;
}
.empty-panel {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f5ee;
    border: 1px solid #ece4d5;
    padding: 40px;
}
.empty-panel > span {
    font-size: 65px;
    color: #bb985b;
}
.empty-panel h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}
.empty-panel p {
    color: #66737c;
    line-height: 1.7;
}
.insights {
    padding-top: 40px;
}
/* Knowledge Library cards. */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-visual {
    height: 210px;
    display: grid;
    place-items: center;
    font-size: 100px;
    color: #c4a36a;
    background: #1b384a;
}
.article-visual.a2 {
    background: #d6c6a4;
    color: #82663e;
}
.article-visual.a3 {
    background: #344b53;
    color: #e0c890;
}
.article-grid article > span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #947443;
    margin: 22px 0 10px;
}
.article-grid h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.5;
}
.article-grid a {
    font-size: 12px;
    color: #987441;
    font-weight: 700;
}
.demo-note {
    font-size: 11px;
    color: #9b9b9b;
}
.closing {
    text-align: center;
    background: #eae0ce;
    padding: 95px 24px;
}
.closing h2 {
    font-size: clamp(34px, 4vw, 56px);
    margin: 20px 0;
}
.closing h2 em {
    color: #98733e;
}
.closing p {
    color: #64717a;
    margin-bottom: 30px;
}
/* Shared footer and legal links. */
.site-footer {
    background: #0e2536;
    color: #fff;
    padding: 65px max(32px, calc((100vw - 1256px) / 2)) 20px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 45px;
}
.site-footer strong {
    font-family: 'Libre Baskerville', serif;
    font-size: 27px;
}
.site-footer p,
.site-footer small {
    display: block;
    color: #aabac5;
    line-height: 1.8;
}
.site-footer b {
    display: block;
    margin-bottom: 20px;
}
.site-footer a,
.site-footer span {
    display: block;
    color: #b4c1ca;
    font-size: 13px;
    margin: 12px 0;
}
.site-footer a:hover {
    color: var(--gold);
}
.copyright {
    grid-column: 1/-1;
    border-top: 1px solid #ffffff25;
    padding-top: 20px;
    font-size: 11px;
    color: #93a7b6;
}
/* CRM */
#crm {
    background: #f1f3f7;
    min-height: 100vh;
}
.crm-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: calc(100vh - 55px);
    max-width: 1650px;
    margin: auto;
    background: #f7f8fa;
}
.crm-sidebar {
    background: #fbfbfd;
    border-right: 1px solid #e9eaf0;
    padding: 25px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.crm-logo {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 12px 22px;
}
.crm-logo > span {
    font-size: 36px;
    color: #b48c4c;
}
.crm-logo b {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
}
.crm-logo small {
    display: block;
    color: #8b95a0;
    font-size: 10px;
    margin-top: 3px;
    letter-spacing: 0.12em;
}
.side-label {
    font-size: 10px;
    color: #9aa1aa;
    letter-spacing: 0.13em;
    padding: 12px;
    margin: 0;
}
.side-item,
.side-parent {
    width: 100%;
    border: 0;
    background: transparent;
    color: #43515e;
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.side-item.selected {
    background: #e8eaf9;
    color: #414d91;
    font-weight: 700;
}
.side-parent:hover,
.side-item:hover,
.side-sub a:hover {
    color: #9c783e;
    background: #f5f0e8;
}
.side-parent span {
    flex: 1;
}
.side-parent i {
    font-style: normal;
}
.side-sub {
    padding: 3px 0 9px 35px;
    display: grid;
    gap: 2px;
}
.side-sub[hidden] {
    display: none;
}
.side-sub a {
    font-size: 12px;
    padding: 8px 9px;
    border-radius: 6px;
    color: #65707a;
}
.sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid #e6e7eb;
    padding: 20px 6px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
}
.sidebar-bottom div {
    flex: 1;
}
.sidebar-bottom small {
    display: block;
    color: #9aa3ad;
    margin-top: 3px;
}
.avatar {
    background: #e4e8f4;
    color: #435386;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 11px;
}
.crm-main {
    min-width: 0;
}
.crm-top {
    height: 78px;
    background: white;
    border-bottom: 1px solid #e8eaf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
}
.crm-top b {
    font-size: 15px;
}
.crm-top span {
    display: block;
    color: #9aa1ab;
    font-size: 11px;
    margin-top: 4px;
}
.crm-tools {
    display: flex;
    gap: 15px;
    align-items: center;
}
.crm-tools button {
    border: 0;
    background: white;
    font-size: 22px;
    color: #6b7883;
}
.crm-content {
    padding: 38px;
    max-width: 1400px;
    margin: auto;
}
.crm-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.crm-title h1 {
    font-size: 25px;
    margin: 8px 0;
}
.crm-title p {
    color: #929ba4;
    font-size: 13px;
}
.crm-primary {
    background: #334c83;
    border: 0;
    color: white;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 12px;
}
.crm-secondary {
    border: 1px solid #dddfe8;
    background: #fff;
    padding: 10px 15px;
    border-radius: 7px;
    color: #48566a;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}
.stat {
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 13px;
    padding: 23px;
    min-height: 155px;
}
.stat > span {
    font-size: 12px;
    color: #697581;
}
.stat strong {
    display: block;
    font-size: 39px;
    font-weight: 500;
    margin: 10px 0;
}
.stat small {
    color: #97a0aa;
    font-size: 11px;
}
.crm-columns {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 18px;
    margin-top: 20px;
}
.crm-panel {
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 13px;
    padding: 22px;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15px;
    margin-bottom: 18px;
}
.panel-head h2 {
    font-size: 15px;
    margin: 0;
}
.panel-head p {
    color: #a0a8b1;
    font-size: 11px;
    margin: 6px 0;
}
.panel-head a {
    color: #5075a2;
    font-size: 11px;
}
.activity-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.donut {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: conic-gradient(#5578d0 0 25%, #b8c8e9 25% 50%, #e3e7f2 50% 75%, #c8d1e7 75%);
    position: relative;
}
.donut:after {
    content: 'Preview';
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: #8290a0;
    font-size: 12px;
}
.activity-placeholder p {
    font-size: 12px;
    line-height: 1.7;
    color: #9aa3ac;
    max-width: 180px;
}
.quick-row {
    display: flex;
    gap: 12px;
    border-top: 1px solid #eef0f3;
    padding: 16px 0;
    font-size: 12px;
    color: #647382;
}
.quick-row span:nth-child(2) {
    flex: 1;
}
.crm-table-panel {
    margin-top: 20px;
}
.table-wrap {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}
th {
    background: #fafbfc;
    color: #929da8;
    font-weight: 600;
}
td,
th {
    padding: 15px;
    border-bottom: 1px solid #eef0f4;
}
.pill {
    background: #f1f2f7;
    border-radius: 20px;
    padding: 5px 10px;
    color: #6b7480;
    font-size: 10px;
}
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 17px;
    color: #9ba5ae;
    font-size: 11px;
}
.table-footer button {
    background: white;
    border: 1px solid #e7e9ef;
    padding: 8px 12px;
    border-radius: 6px;
    margin-left: 5px;
    color: #667483;
}
.table-footer .page-current {
    background: #e9edf7;
    color: #425a89;
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid #bd9954;
    outline-offset: 3px;
}
@media (max-width: 1100px) {
    .site-nav {
        gap: 12px;
    }
    .nav-cta {
        display: none;
    }
    .hero {
        grid-template-columns: 60% 40%;
    }
    .hero-inner {
        padding: 70px 32px;
    }
    .programme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .crm-columns {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .preview-switch {
        padding: 9px 12px;
    }
    .preview-switch strong {
        font-size: 11px;
    }
    .announcement span {
        display: none;
    }
    .site-header {
        height: 75px;
        padding: 0 20px;
    }
    .identity b {
        font-size: 22px;
    }
    .mobile-toggle {
        display: block;
        border: 1px solid #d9dde0;
        background: white;
        padding: 9px;
        border-radius: 5px;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 129px;
        left: 0;
        right: 0;
        background: white;
        padding: 15px 20px;
        box-shadow: 0 15px 20px #0002;
        z-index: 10;
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.open {
        display: flex;
    }
    .nav-group:hover .dropdown {
        position: static;
        box-shadow: none;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-inner {
        padding: 65px 25px;
    }
    .hero-art {
        min-height: 280px;
    }
    .celestial {
        font-size: 150px;
    }
    .orbit-one {
        width: 180px;
        height: 180px;
    }
    .orbit-two {
        width: 280px;
        height: 280px;
    }
    .orbit-three {
        width: 420px;
        height: 420px;
    }
    .hero-meta {
        flex-direction: column;
        gap: 8px;
        margin-top: 35px;
    }
    .trust-line {
        gap: 10px;
        padding: 22px;
        font-size: 11px;
    }
    .trust-line .line {
        display: none;
    }
    .section {
        padding: 65px 22px;
    }
    .intro,
    .research-band {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .values {
        grid-template-columns: 1fr;
        padding: 45px 24px;
        gap: 25px;
    }
    .section-heading {
        display: block;
    }
    .programme-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }
    .research-band {
        padding: 65px 24px;
    }
    .research-band > div:last-child {
        padding-top: 0;
    }
    .empty-panel {
        padding: 24px;
        align-items: start;
    }
    .site-footer {
        grid-template-columns: 1fr 1fr;
        padding: 50px 25px 20px;
        gap: 30px;
    }
    .site-footer > div:first-child {
        grid-column: 1/-1;
    }
    .crm-shell {
        grid-template-columns: 1fr;
    }
    .crm-sidebar {
        position: relative;
        max-height: 290px;
        overflow: auto;
        border-bottom: 1px solid #e5e7ef;
    }
    .crm-top {
        padding: 0 18px;
    }
    .crm-content {
        padding: 22px 15px;
    }
    .crm-title {
        align-items: start;
        flex-direction: column;
    }
    .stats {
        gap: 10px;
    }
    .stat {
        padding: 17px;
        min-height: 125px;
    }
    .stat strong {
        font-size: 30px;
    }
    .crm-columns {
        gap: 12px;
    }
    .crm-panel {
        padding: 15px;
    }
    .activity-placeholder {
        gap: 12px;
    }
    .donut {
        width: 90px;
        height: 90px;
    }
    .donut:after {
        inset: 18px;
        font-size: 10px;
    }
}

/* Connected SURYA homepage enhancements */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 5px;
    z-index: 99;
}
.skip-link:focus {
    left: 8px;
    background: white;
    padding: 10px;
}
.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.membership-card {
    padding: 26px;
    border: 1px solid #e9e1d4;
    background: #fff;
}
.membership-card img {
    max-height: 85px;
    max-width: 180px;
    object-fit: contain;
}
.membership-card h3 {
    font-family: Georgia, serif;
}
.membership-card p {
    color: #67727c;
}
.membership-card a {
    color: #947443;
    font-size: 13px;
}
.cms-home-copy {
    border-left: 2px solid #b99555;
    padding-left: 18px;
    margin-bottom: 25px;
}
.site-nav a:hover,
.site-footer a:hover {
    color: #bd9954;
    text-decoration: none !important;
}
@media (max-width: 760px) {
    .membership-grid {
        grid-template-columns: 1fr;
    }
    .site-nav {
        top: 115px;
    }
}

@media (max-width: 760px) {
    .nav-group.expanded .dropdown {
        display: block;
        position: static;
        box-shadow: none;
    }
    .nav-group {
        width: 100%;
    }
}
.hero-photo {
    overflow: hidden;
}
.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-photo [hidden] {
    display: none;
}
.hero-image-controls {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 7px;
    color: #fff;
    background: #14253de8;
    border-radius: 10px;
    white-space: nowrap;
}
.hero-image-controls button {
    color: #fff;
    background: transparent;
    border: 1px solid #ffffff70;
    border-radius: 7px;
    font: inherit;
    font-size: 19px;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
}
.hero-image-controls button:focus-visible {
    outline: 2px solid #f3cb80;
    outline-offset: 2px;
}
.homepage-image-strip {
    width: min(1120px, calc(100% - 40px));
    margin: 24px auto;
}
.homepage-image-strip .surya-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(225px, 100%), 1fr));
    gap: 14px;
}
.homepage-image-strip figure {
    margin: 0;
}
.homepage-image-strip img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    background: white;
    color: var(--navy);
    padding: 12px;
    transform: translateY(-150%);
}
.skip-link:focus {
    transform: none;
}
:focus-visible {
    outline: 2px solid #a06b16;
    outline-offset: 4px;
}
.identity-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.nav-group {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-submenu summary {
    list-style: none;
    cursor: pointer;
    padding: 5px;
}
.nav-submenu summary::-webkit-details-marker {
    display: none;
}
.nav-submenu:not([open]) .dropdown {
    display: none;
}
.nav-submenu[open] .dropdown {
    display: block;
    left: 0;
}
.site-nav a[aria-current='page'] {
    color: #805611;
}
/* Public inner-page typography and content width. */
.surya-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 54px 32px 84px;
    min-height: 52vh;
    overflow-wrap: anywhere;
}
.surya-content h1,
.reading-copy h2 {
    font-family: Georgia, serif;
    font-weight: 400;
}
.surya-content h1 {
    font-size: clamp(34px, 5vw, 62px);
    margin: 0 0 22px;
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: 860px;
}
.surya-content p,
.reading-copy p {
    line-height: 1.75;
}
.surya-content .page-intro {
    border-radius: 18px;
    background: var(--navy);
    color: white;
    padding: clamp(22px, 5vw, 56px);
    margin: 0 0 32px;
}
.surya-content .page-intro p {
    color: #e1e9ed;
    max-width: 70ch;
    margin: 0;
}
.surya-content .page-intro .eyebrow {
    color: #efd297;
    display: block;
    margin-bottom: 12px;
}
.reading-copy,
.surya-content .prose {
    max-width: 76ch;
    margin-inline: auto;
}
.reading-copy h2,
.prose h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin: 27px 0 9px;
}
.surya-content .card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 23px;
    margin-bottom: 14px;
}
.surya-content .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 15px;
}
.surya-content .card a,
.surya-content .prose a {
    color: #795218;
    font-weight: 650;
}
.surya-content .card a:hover,
.surya-content .prose a:hover {
    color: #1e4d74;
}
/* Public form controls. */
.surya-content form {
    max-width: 720px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    margin-top: 20px;
    background: #faf8f3;
}
.surya-content form label {
    display: block;
    margin: 0 0 14px;
    font-weight: 650;
}
.surya-content input:not([type='checkbox']),
.surya-content textarea,
.surya-content select {
    display: block;
    width: 100%;
    background: white;
    padding: 10px;
    border: 1px solid #c9d2d7;
    border-radius: 7px;
    font: inherit;
    margin-top: 5px;
}
.surya-content textarea {
    resize: vertical;
}
.surya-content form button {
    color: white;
    background: var(--navy);
    border: 0;
    border-radius: 8px;
    padding: 10px 15px;
}
.surya-content .membership-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr));
}
.surya-content .membership-logo {
    object-fit: contain;
    width: 65px;
    height: 65px;
}
/* Responsive image gallery. */
.surya-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 16px;
    margin: 24px 0;
}
.surya-gallery figure {
    margin: 0;
    min-width: 0;
}
.surya-gallery img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 12px;
}
.home-manuscript {
    padding-block: 55px;
}
@media (max-width: 760px) {
    .surya-content {
        padding: 27px 16px 50px;
    }
    .nav-group {
        display: block;
    }
    .nav-submenu summary {
        padding: 7px 0;
    }
    .nav-submenu[open] .dropdown {
        position: static;
        box-shadow: none;
        padding: 0 0 0 12px;
    }
    .identity b {
        font-size: 20px;
    }
}
.academic-overview {
    margin-bottom: 24px;
}
.surya-content .page-intro p a {
    color: #efd297;
}
.surya-content .prose .button.outline {
    border-color: #b09869;
}
@media (min-width: 761px) and (max-width: 1030px) {
    .site-header .nav-cta {
        display: none;
    }
}

/* Shared institutional reading layout */
.site-header {
    height: 76px;
    border-bottom: 1px solid #e0e6ea;
}
.surya-inner {
    background: #fff;
}
.surya-content {
    max-width: 1240px;
    padding: 20px 24px 48px;
}
.surya-content .page-intro {
    background: transparent;
    color: var(--navy);
    padding: 8px 0 20px;
    margin: 0 0 20px;
    border-bottom: 1px solid #dce4e9;
    border-radius: 0;
}
.surya-content .page-intro h1 {
    font-family: system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin: 0;
    max-width: none;
}
.surya-content .page-intro h1::after {
    display: block;
    content: '';
    background: #98702d;
    width: 44px;
    height: 3px;
    margin-top: 12px;
}
.surya-content .page-intro p,
.surya-content .page-intro p a {
    color: #334957;
    margin-top: 8px;
}
.surya-content .page-intro .eyebrow {
    color: #695020;
    margin-bottom: 8px;
}
.breadcrumbs {
    margin-bottom: 14px;
    color: #334957;
    font-size: 14px;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.breadcrumbs a {
    color: #214d6b;
}
.breadcrumbs a:hover {
    color: #795218;
}
.breadcrumb-separator {
    color: #536571;
}
.surya-content .prose,
.reading-copy {
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.surya-content .prose p,
.reading-copy p {
    text-align: justify;
    text-align-last: start;
    hyphens: auto;
}
.surya-content .prose h2,
.reading-copy h2 {
    font: 650 clamp(22px, 2.1vw, 29px)/1.28 system-ui, sans-serif;
    margin: 24px 0 8px;
    color: var(--navy);
}
.surya-content .prose .content-block:first-child > h2:first-child,
.reading-copy .content-block:first-child > h2:first-child {
    margin-top: 0;
}
/* Align the hero and reading sections to the same content grid. */
.surya-home .hero {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding-inline: max(24px, calc((100% - 1192px) / 2));
    min-height: 0;
}
.surya-home .hero-inner { padding: 26px 22px 28px 0; }
.surya-home .hero-inner > .eyebrow { margin: 0; }
.surya-home .hero h1 {
    max-width: 22ch;
    margin: 12px 0;
    font-size: clamp(31px, 3.1vw, 48px);
    line-height: 1.1;
}
.surya-home .hero-copy { max-width: 64ch; line-height: 1.5; margin: 0; }
.surya-home .hero-copy p { margin: 0 0 8px; }
.surya-home .hero .actions { margin-top: 16px; }
.surya-home .hero .button { padding-block: 12px; }
.surya-home .hero-art { min-height: 0; }
.surya-home .hero-art .orbit-one { width: 112px; height: 112px; }
.surya-home .hero-art .orbit-two { width: 185px; height: 185px; }
.surya-home .hero-art .orbit-three { width: 260px; height: 260px; }
.surya-home .celestial { font-size: 96px; }
.surya-home .hero-art-label { bottom: 16px; left: 0; right: 0; text-align: center; }
.surya-home .trust-line { padding: 12px 20px; gap: 6px 16px; }
.surya-home .home-manuscript { max-width: 1240px; padding: 22px 24px; }
.reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 24%);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}
.reading-index {
    position: sticky;
    top: 16px;
    border-inline-start: 1px solid #dce4e9;
    padding-inline-start: 16px;
    font-size: 14px;
}
.reading-index strong { color: var(--navy); }
.reading-index ul { list-style: none; margin: 6px 0 0; padding: 0; }
.reading-index a { display: block; padding-block: 5px; color: #214d6b; line-height: 1.4; }
.reading-index a:hover { color: #795218; }
.content-block h2 { scroll-margin-top: 16px; }

.section { padding-block: 44px; }
.section-heading { margin-bottom: 20px; }
.section h2 { margin: 12px 0; }
.research-band, .closing { padding-block: 48px; }
.site-footer { padding-top: 34px; gap: 24px; }

.page-intro-with-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}
.page-intro-with-image img {
    display: block;
    width: min(28vw, 250px);
    height: auto;
    max-height: 140px;
    object-fit: contain;
    object-position: right center;
}
.hero-photo img,
.record-cover {
    object-fit: contain;
}
.record-cover {
    display: block;
    width: 100%;
    max-height: 180px;
    background: #f6f8fa;
}
.surya-content .prose .card {
    border: 0;
    border-radius: 0;
    padding: 0;
}
@media (max-width: 760px) {
    .surya-content { padding: 16px 16px 32px; }
    .surya-content .page-intro { padding-bottom: 16px; }
    .page-intro-with-image { grid-template-columns: 1fr; gap: 12px; }
    .page-intro-with-image img { width: min(100%, 180px); max-height: 112px; object-position: left center; }
    .surya-home .hero { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
    .surya-home .hero-inner { padding: 20px 0; }
    .surya-home .hero-art:not(.hero-photo) { display: none; }
    .surya-home .hero-photo { min-height: clamp(120px, 37vw, 200px); margin-bottom: 12px; }
    .surya-home .home-manuscript { padding: 16px; }
    .reading-layout { display: flex; flex-direction: column; gap: 14px; }
    .reading-index { order: -1; position: static; width: 100%; }
    .reading-index ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)); gap: 0 8px; }
    .surya-content .prose p, .reading-copy p { text-align: start; }
    .section, .research-band, .closing { padding-block: 28px; }
}

.footer-menu {
    display: grid;
    grid-column: 2 / -1;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    align-content: start;
    gap: 4px 16px;
}
.footer-menu a { margin: 4px 0; }
@media (max-width: 760px) {
    .footer-menu { grid-column: 1 / -1; }
}

/* Centred Contact page layout. */
.contact-layout {
    width: min(100%, 700px);
    margin-inline: auto;
}
.contact-layout .page-intro {
    text-align: center;
    margin-bottom: 16px;
}
.contact-layout .page-intro h1::after { margin-inline: auto; }
.contact-layout > form { width: 100%; margin: 0; }
.contact-layout > p { text-align: center; }
.contact-identity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.contact-layout .contact-consent {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
/* Programme catalogue rows. */
.catalogue-list { border-top: 1px solid #dce4e9; }
.catalogue-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 14px 0;
    border-bottom: 1px solid #dce4e9;
}
.catalogue-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.catalogue-entry h2 { font: 650 19px/1.3 system-ui, sans-serif; margin: 0 0 4px; }
.catalogue-entry p { margin: 0; }
.catalogue-level { color: #536571; margin-inline-start: 8px; }
.catalogue-cover { width: 64px; height: 48px; object-fit: contain; }
.catalogue-link { flex: none; color: #214d6b; font-weight: 650; padding-block: 6px; }
.surya-home .programmes { padding-block: 22px; }
.surya-home .programmes .section-heading { margin-bottom: 12px; }
.surya-home .home-manuscript { padding-top: 0; }
.home-overview { border-block: 1px solid #dce4e9; }
.home-overview summary { cursor: pointer; padding: 12px 0; color: #214d6b; font-weight: 650; }
.home-overview .reading-copy { padding-bottom: 12px; }
@media (max-width: 600px) {
    .contact-identity { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .contact-layout > form { padding: 14px; }
    .catalogue-entry { display: block; }
    .catalogue-link { display: inline-block; }
    .catalogue-level { display: block; margin-inline-start: 0; }
}
