/* Cleaned styles.css - duplicate selector blocks consolidated; final/latter values preserved. */

:root {
    --cream: #fff8ed;
    --ivory: #fffaf3;
    --sand: #f2dcc0;
    --gold: #d99a27;
    --deep-gold: #a86e25;
    --maroon: #7d2530;
    --brown: #24150d;
    --ink: #16110d;
    --muted: #756d65;
    --green: #476c38;
    --glass: rgba(255, 255, 255, .16);
    --shadow: 0 26px 70px rgba(82, 48, 18, .20);
    --radius: 28px;
    --max: 1180px;
    --font-main: Manrope, "Noto Sans Sinhala", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", "Noto Serif Sinhala", serif;
    --blue: #0d3765;
    --copper: #c46a2b;
    --soft: #fff6e8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    color: var(--ink);
    overflow-x: hidden;
    font-family: var(--font-main);
    font-weight: 500;
    letter-spacing: -.012em;
    background: linear-gradient(180deg, #fff8ed, #fffdf8 45%, #fff8ed);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
}

.full-bleed {
    width: 100%;
    position: relative;
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: .6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader img {
    width: 106px;
    animation: pulse 1.6s infinite;
}

.preloader span {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(168, 110, 37, .25);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1220px, calc(100% - 28px));
    height: 74px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 248, 237, .78);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 50px rgba(42, 25, 8, .12);
    border-radius: 999px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px 9px 16px;
    transition: .3s ease;
}

.site-header.scrolled {
    top: 8px;
    height: 66px;
    background: rgba(255, 250, 243, .94);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav a:hover, .main-nav a.active {
    background: #fff;
    color: var(--maroon);
}

.main-nav .nav-cta {
    background: var(--maroon);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--brown);
    margin: 7px;
}

.hero {
    min-height: 100vh;
    padding: 160px 0 80px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--brown);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    opacity: .64;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 14, 4, .87), rgba(54, 25, 9, .55), rgba(54, 25, 9, .18)), radial-gradient(circle at 70% 30%, rgba(217, 154, 39, .28), transparent 35%);
}

.hero-pattern {
    position: absolute;
    inset: -20%;
    opacity: .14;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 34px 34px;
    animation: float 12s ease-in-out infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(14px);
    opacity: .55;
}

.orb-one {
    width: 300px;
    height: 300px;
    background: var(--gold);
    right: 10%;
    top: 22%;
    animation: float 9s ease-in-out infinite;
}

.orb-two {
    width: 180px;
    height: 180px;
    background: var(--maroon);
    left: 9%;
    bottom: 10%;
    animation: float 11s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin-left: max(18px, calc((100vw - var(--max))/2));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
}

.hero .eyebrow, .light .eyebrow, .cta-section .eyebrow {
    color: #ffe0a8;
}

.hero h1, .page-hero h1 {
    font-family: "Playfair Display", "Noto Serif Sinhala", serif;
    font-size: clamp(48px, 7vw, 104px);
    line-height: .92;
    margin: 20px 0;
    letter-spacing: -.055em;
}

.hero p {
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .86);
    max-width: 780px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 900;
    cursor: pointer;
    gap: 10px;
    transition: .25s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--gold), #f3c76f);
    color: #2a1706;
    box-shadow: 0 18px 40px rgba(217, 154, 39, .28);
}

.btn.secondary {
    background: var(--maroon);
    color: #fff;
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.btn.ghost-dark {
    border: 1px solid rgba(36, 21, 13, .18);
    background: #fff;
    color: var(--brown);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-card {
    position: absolute;
    right: 6%;
    bottom: 8%;
    z-index: 3;
    width: 240px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 248, 237, .18);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 88px;
    margin-bottom: 12px;
}

.hero-card strong, .hero-card span {
    display: block;
}

.section {
    padding: 96px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading.center {
    text-align: center;
    margin-inline: auto;
}

.section-heading h2, .section-copy h2, .split-inner h2, .achievement-strip h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    margin: 12px 0;
    color: var(--brown);
    letter-spacing: -.04em;
}

.section-heading p, .section-copy p, .split-inner p, .story-block p, .profile-copy p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 40px;
    align-items: center;
}

.stat-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-panel div {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .12);
    box-shadow: var(--shadow);
}

.stat-panel strong {
    font-family: "Playfair Display";
    font-size: 52px;
    color: var(--maroon);
    display: block;
}

.stat-panel span {
    color: var(--muted);
    font-weight: 800;
}

.text-link {
    font-weight: 900;
    color: var(--maroon);
    border-bottom: 2px solid var(--gold);
}

.split-feature {
    background: linear-gradient(120deg, #fff1dd, #f5d5ac);
    overflow: hidden;
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.image-stack {
    position: relative;
    min-height: 520px;
}

.image-stack img {
    border-radius: 34px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.stack-main {
    width: 72%;
    height: 480px;
}

.stack-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 300px;
    border: 9px solid var(--cream);
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.event-card, .tour-card, .achievement-card, .album-card, .lesson-card, .value-grid article {
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .13);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-card div {
    padding: 20px;
}

.event-card span, .tour-card span, .video-card small, .lesson-card span, .album-card span {
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.event-card h3, .tour-card h3, .video-card h3, .album-card h2, .lesson-card h2 {
    margin: 8px 0;
    font-family: Poppins;
    font-weight: 900;
    line-height: 1.1;
}

.event-card p, .tour-card p, .video-card p, .album-card p {
    color: var(--muted);
    line-height: 1.6;
}

.center {
    text-align: center;
    margin-top: 30px;
}

.video-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(217, 154, 39, .23), transparent 25%), radial-gradient(circle at 85% 80%, rgba(125, 37, 48, .35), transparent 28%);
}

.video-section .container {
    position: relative;
}

.light h2, .light p {
    color: white;
}

.video-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    color: var(--brown);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.video-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    filter: saturate(1.06);
}

.video-card .play {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 15px 50px rgba(0, 0, 0, .25);
}

.video-card .play:after {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    border-left: 18px solid var(--maroon);
    border-block: 12px solid transparent;
}

.video-card div {
    padding: 20px;
}

.tour-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tour-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.tour-card div {
    padding: 20px;
}

.masonry-grid {
    columns: 3 260px;
    column-gap: 18px;
}

.masonry-item {
    display: block;
    break-inside: avoid;
    position: relative;
    margin: 0 0 18px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.masonry-item img {
    width: 100%;
    height: auto;
}

.masonry-item span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px;
    font-weight: 900;
}

.achievement-strip {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.achievement-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.achievement-list article {
    background: #fff;
    padding: 22px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.achievement-list span {
    color: var(--deep-gold);
    font-weight: 900;
}

.achievement-list strong {
    display: block;
    margin-top: 6px;
}

.cta-section {
    padding: 110px 0;
    background: linear-gradient(135deg, rgba(36, 21, 13, .94), rgba(125, 37, 48, .90)), url("../../uploads/home/academy-07.jpeg") center/cover fixed;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-family: "Playfair Display";
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    margin: 16px auto 28px;
    max-width: 980px;
}

.page-hero {
    min-height: 58vh;
    display: grid;
    align-items: end;
    padding: 150px 0 70px;
    background: linear-gradient(135deg, #24150d, #7d2530);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(217, 154, 39, .35), transparent 24%), radial-gradient(circle at 80% 30%, rgba(255, 248, 237, .12), transparent 28%);
}

.page-hero .container {
    position: relative;
}

.page-hero.compact {
    min-height: 46vh;
}

.page-hero p {
    font-size: 21px;
    color: rgba(255, 255, 255, .85);
    max-width: 780px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.1fr .7fr;
    gap: 40px;
    align-items: end;
}

.profile-grid img {
    height: 420px;
    width: 100%;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.story-block, .profile-copy, .contact-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 48px;
    align-items: start;
}

.story-block img {
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-grid article {
    padding: 26px;
}

.value-grid span {
    font-family: "Playfair Display";
    font-size: 44px;
    color: rgba(217, 154, 39, .4);
}

.quote-card {
    background: linear-gradient(135deg, #fff, #ffe8c5);
    border-radius: 34px;
    padding: 36px;
    box-shadow: var(--shadow);
    font-family: "Playfair Display";
    font-size: 32px;
    color: var(--maroon);
}

.timeline-modern span {
    font-weight: 900;
    color: var(--deep-gold);
}

.timeline-modern h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.achievement-card {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.achievement-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.achievement-card div {
    padding: 20px;
}

.lesson-grid {
    display: grid;
    gap: 24px;
}

.lesson-card {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 0;
}

.lesson-card .lesson-media {
    min-height: 310px;
    background: #111;
}

.lesson-card img, .lesson-card iframe {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    border: 0;
}

.lesson-card>div:last-child {
    padding: 30px;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.filter-pills button, .link-pills a {
    border: 1px solid rgba(36, 21, 13, .15);
    background: #fff;
    border-radius: 999px;
    padding: 12px 17px;
    font-weight: 900;
    cursor: pointer;
}

.filter-pills .active, .link-pills .active {
    background: var(--maroon);
    color: #fff;
}

.timeline-stream {
    position: relative;
}

.year-group h2 {
    font-family: "Playfair Display";
    font-size: 56px;
    color: var(--maroon);
}

.timeline-item div {
    padding: 26px;
}

.timeline-item span {
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.event-detail-hero {
    background-size: cover;
    background-position: center;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.detail-layout article, .detail-layout aside {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.photo-masonry {
    columns: 4 240px;
    column-gap: 16px;
}

.photo-masonry a {
    display: block;
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-masonry img {
    width: 100%;
    height: auto;
}

.tour-large-grid {
    display: grid;
    gap: 24px;
}

.tour-large-grid article {
    display: grid;
    grid-template-columns: .8fr 1fr;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tour-large-grid img {
    height: 340px;
    width: 100%;
    object-fit: cover;
}

.tour-large-grid div {
    padding: 34px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.album-card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
}

.album-card div {
    padding: 22px;
}

.pretty-form {
    background: #fff;
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}

.pretty-form label, .admin-form label, .login-box label {
    display: grid;
    gap: 8px;
    font-weight: 900;
    color: var(--brown);
}

input, textarea, select {
    width: 100%;
    border: 1px solid rgba(36, 21, 13, .15);
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    background: #fff;
    color: var(--brown);
}

textarea {
    resize: vertical;
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-card {
    background: linear-gradient(135deg, #fff0d8, #fff);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.contact-card img {
    width: 150px;
}

.contact-card ul {
    line-height: 2;
    color: var(--muted);
}

.site-footer {
    position: relative;
    background: #160d07;
    color: #fff;
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    right: 8%;
    top: -80px;
    width: 320px;
    height: 320px;
    background: rgba(217, 154, 39, .22);
    border-radius: 50%;
    filter: blur(35px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .9fr 1fr;
    gap: 34px;
    position: relative;
}

.footer-logo {
    width: 90px;
}

.site-footer p, .site-footer a {
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.site-footer a {
    display: block;
    margin: 8px 0;
}

.footer-button {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 12px 16px !important;
    color: #fff !important;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 58px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--cream), #f1d4ad);
}

.login-box {
    width: min(420px, calc(100% - 30px));
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}

.login-box img {
    width: 120px;
    margin: auto;
}

.hint {
    font-size: 12px;
    color: var(--muted);
}

.alert.error {
    background: #ffe4e4;
    color: #921b1b;
    padding: 12px;
    border-radius: 12px;
}

.admin-body {
    background: #f8efe3;
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.admin-sidebar img {
    width: 82px;
}

.admin-sidebar a {
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .76);
    font-weight: 800;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.admin-main {
    padding: 28px;
    min-width: 0;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-cards article, .admin-panel {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.admin-cards strong {
    font-size: 42px;
    color: var(--maroon);
    display: block;
}

.admin-toolbar {
    margin-bottom: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th, .admin-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid #f0e4d5;
    font-size: 14px;
}

.admin-table th {
    background: #24150d;
    color: #fff;
}

.admin-table a {
    font-weight: 900;
    color: var(--maroon);
    margin-right: 8px;
}

.admin-table .danger, .danger {
    color: #c1272d !important;
}

.badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.badge.good {
    background: #e7f8e8;
    color: #207a2d;
}

.badge.muted {
    background: #eee;
    color: #555;
}

.admin-form {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 15px;
    max-width: 900px;
}

.check {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 10px;
}

.check input {
    width: auto;
}

.admin-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.admin-photo-grid article {
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
}

.admin-photo-grid img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sinhala, .si, [lang="si"] {
    font-family: "Noto Serif Sinhala", "Noto Sans Sinhala", serif;
    letter-spacing: 0;
    font-weight: 700;
}

.brand strong, .event-card h3, .tour-card h3, .video-card h3, .album-card h2, .lesson-card h2, .admin-top h1 {
    font-family: var(--font-main);
    letter-spacing: -.035em;
}

.hero h1, .page-hero h1, .section-heading h2, .section-copy h2, .split-inner h2, .achievement-strip h2, .year-group h2, .cta-section h2, .quote-card, .hda-display {
    font-family: var(--font-display);
}

.main-nav a {
    font-weight: 800;
    color: #3b2a1d;
    border-radius: 999px;
    font-size: 12.5px;
    padding: 11px 10px;
}

.brand strong {
    font-family: Poppins;
    font-weight: 900;
    letter-spacing: -.03em;
    font-size: 16px;
}

.brand small {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff !important;
    margin: 0 !important;
    transition: .25s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: #24150d !important;
}

.contact-social a {
    background: #fff;
    color: var(--maroon) !important;
    border-color: rgba(125, 37, 48, .12);
    box-shadow: 0 12px 26px rgba(82, 48, 18, .08);
}

.footer-social {
    margin-top: 18px;
}

.section-muted {
    background: linear-gradient(135deg, #fffaf3, #fff0da);
}

.section-dark {
    background: #1c1008;
    color: white;
    position: relative;
    overflow: hidden;
}

.section-dark:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(217, 154, 39, .2), transparent 26%), radial-gradient(circle at 78% 20%, rgba(125, 37, 48, .35), transparent 30%);
}

.section-dark>.container {
    position: relative;
}

.mini-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(168, 110, 37, .25);
    background: rgba(255, 255, 255, .55);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    color: var(--maroon);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.class-grid, .workshop-grid, .blog-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.class-card, .workshop-card, .blog-card, .service-card {
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .13);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.class-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    background: #fff8ed;
    display: block;
}

.workshop-card img, .blog-card img, .service-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.class-card div, .workshop-card div, .blog-card div, .service-card div {
    padding: 22px;
}

.class-card small, .workshop-card small, .blog-card small, .service-card small {
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.class-card h3, .workshop-card h3, .blog-card h3, .service-card h3 {
    font-size: 23px;
    line-height: 1.1;
    margin: 8px 0;
    font-weight: 900;
    letter-spacing: -.035em;
}

.class-card p, .workshop-card p, .blog-card p, .service-card p {
    color: var(--muted);
    line-height: 1.65;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.feature-strip article {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(168, 110, 37, .16);
    box-shadow: 0 14px 36px rgba(82, 48, 18, .08);
}

.feature-strip i {
    color: var(--maroon);
    font-size: 22px;
    margin-bottom: 10px;
}

.video-card .card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.video-card .mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 9px 12px;
    background: #fff1dd;
    color: var(--maroon);
    font-weight: 900;
    font-size: 13px;
}

.video-card .mini-btn.primary-mini {
    background: var(--maroon);
    color: #fff;
}

.video-card a.card-cover {
    display: block;
    position: relative;
}

.video-card .playlist-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.profile-gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 16px;
}

.profile-gallery img {
    height: 360px;
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.profile-gallery img:first-child {
    height: 520px;
    grid-row: span 2;
}

.profile-hero .profile-grid img {
    object-position: top center;
}

.story-rich {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 50px;
    align-items: center;
}

.story-rich .rich-card {
    background: #fff;
    border-radius: 34px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.timeline-modern article {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 30px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(168, 110, 37, .18);
    position: relative;
}

.timeline-modern article:before {
    content: "";
    position: absolute;
    left: 185px;
    top: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(217, 154, 39, .15);
}

.album-link {
    margin-top: 12px;
}

.swal2-popup.hda-popup {
    border-radius: 32px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff8ed !important;
}

.swal2-popup.hda-popup .swal2-image {
    margin: 0 !important;
    width: 100% !important;
    max-height: 72vh !important;
    object-fit: contain;
    background: #fff;
}

.swal2-popup.hda-popup .swal2-title {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--maroon);
    padding: 16px 24px 0;
}

.swal2-popup.hda-popup .swal2-html-container {
    font-family: var(--font-main);
    line-height: 1.5;
    color: #5c5048;
    padding: 0 24px;
}

.link-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.contact-card a {
    font-weight: 900;
    color: var(--maroon);
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-list p {
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--maroon);
    margin-top: 4px;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #1a1009;
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
}

.admin-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

.small-note {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    font-weight: 700;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.meta-grid article {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.meta-grid strong {
    display: block;
    color: var(--maroon);
    font-size: 22px;
}

.blog-content {
    font-size: 18px;
    line-height: 1.8;
    color: #42342b;
}

.blog-content p {
    margin-bottom: 18px;
}

.empty-state {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    color: var(--muted);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown>button {
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
    color: #3b2a1d;
    padding: 11px 10px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-dropdown>button:hover {
    background: #fff;
    color: var(--maroon);
}

.nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 190px;
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .13);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block !important;
    border-radius: 14px;
    white-space: nowrap;
    text-align: left !important;
}

.video-section .video-card .card-cover {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #120804;
}

.video-section .video-card .card-cover img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-section {
    background: #1c1008;
    color: white;
    overflow: hidden;
    padding: 90px 0;
}

.video-section .section-heading {
    max-width: 880px;
    margin-bottom: 42px;
}

.video-section .section-heading h2 {
    max-width: 900px;
    font-size: clamp(42px, 5.4vw, 78px);
    line-height: .95;
    letter-spacing: -.055em;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.video-section .video-card {
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    color: var(--brown);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
}

.video-section .video-card>.card-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    overflow: hidden;
    border-radius: 0;
    background: #120804;
}

.video-section .video-card>.card-cover img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    display: block;
    filter: saturate(1.05);
}

.video-section .video-card>div {
    padding: 22px 24px 26px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.video-section .video-card .card-actions {
    padding: 0 !important;
    margin-top: auto;
    padding-top: 22px !important;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-section .video-card small {
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: .13em;
    margin-bottom: 8px;
}

.video-section .video-card h3 {
    font-size: 22px;
    line-height: 1.12;
    margin: 0;
    font-weight: 900;
    letter-spacing: -.035em;
}

.video-section .video-card .play {
    inset: 0;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .26);
    z-index: 3;
}

.video-section .video-card .play::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 20px;
    border-left: 18px solid #8b2638;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    display: none !important;
}

.video-section .video-card .play::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 21px;
    border-left: 18px solid var(--maroon);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-section .video-card .playlist-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    right: auto !important;
    width: auto !important;
    max-width: calc(100% - 28px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 8, 4, .72);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 4;
}

.video-section .video-card .mini-btn {
    padding: 10px 15px;
    font-size: 13px;
    line-height: 1;
}

.event-card>a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff8ed;
}

.event-card>a img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    display: block;
}

.event-card img {
    width: 100%;
    object-fit: cover;
    height: auto;
}

.hp-achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hp-achievement-card {
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .13);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 330px;
}

.hp-achievement-media {
    background: #fff8ed;
    border-right: 1px solid rgba(168, 110, 37, .12);
    display: flex;
    flex-direction: column;
}

.hp-achievement-main-img {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 260px;
    padding: 12px;
    background: #fff8ed;
}

.hp-achievement-main-img img {
    width: 100%;
    height: auto;
    max-height: 310px;
    object-fit: contain;
    border-radius: 18px;
}

.hp-achievement-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px 12px;
    position: relative;
}

.hp-achievement-thumbs a {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(168, 110, 37, .14);
}

.hp-achievement-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-more-images {
    position: absolute;
    right: 14px;
    bottom: 16px;
    background: rgba(36, 21, 13, .82);
    color: #fff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 900;
}

.hp-hidden-gallery {
    display: none;
}

.hp-achievement-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hp-achievement-content span {
    font-size: 12px;
    font-weight: 900;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.hp-achievement-content h3 {
    font-size: 24px;
    line-height: 1.12;
    margin: 0 0 14px;
    font-weight: 900;
    letter-spacing: -.035em;
    color: var(--brown);
}

.hp-achievement-content p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 18px;
}

.hp-achievement-content .mini-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 15px;
    background: #fff1dd;
    color: var(--maroon);
    font-weight: 900;
    font-size: 13px;
}

.timeline-item {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    grid-template-columns: 260px 1fr;
    align-items: stretch;
}

.timeline-item>a {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff8ed;
}

.timeline-item>a img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    display: block;
}

.timeline-item img {
    width: 100%;
    object-fit: cover;
    height: auto;
}

.light-grid .video-card {
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 30px;
}

.light-grid .video-card>.card-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    overflow: hidden;
    background: #120804;
}

.light-grid .video-card>.card-cover img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    display: block;
}

.light-grid .video-card>div {
    padding: 22px 24px 26px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.light-grid .video-card .card-actions {
    padding: 0 !important;
    margin-top: auto;
    padding-top: 20px !important;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.light-grid .video-card .play {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .26);
    z-index: 3;
}

.light-grid .video-card .play::before {
    display: none !important;
}

.light-grid .video-card .play::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    border-left: 18px solid var(--maroon);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.light-grid .video-card .playlist-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    right: auto !important;
    width: auto !important;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 8, 4, .72);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 4;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {
    50% {
        transform: scale(.94);
        opacity: .74
    }
}

@keyframes float {
    50% {
        transform: translateY(-22px) translateX(16px)
    }
}

@media (max-width:1180px) {

    .site-header {
        width: calc(100% - 22px);
    }

    .brand small {
        display: none;
    }

    .main-nav a {
        font-size: 12px;
        padding: 10px 8px;
    }

}

@media (max-width:980px) {

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .brand small {
        display: none;
    }

    .hero-card {
        display: none;
    }

    .intro-grid, .split-inner, .story-block, .profile-copy, .contact-grid, .achievement-strip, .detail-layout, .profile-grid, .lesson-card, .tour-large-grid {
        grid-template-columns: 1fr;
    }

    .event-cards, .tour-row, .video-grid, .album-grid, .value-grid, .achievement-cards {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-cards {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-item img {
        height: 260px;
    }

    .class-grid, .workshop-grid, .blog-grid, .service-grid, .feature-strip, .profile-gallery, .story-rich, .meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 94px;
        background: #fff;
        border-radius: 24px;
        padding: 14px;
        display: none;
        flex-direction: column;
        box-shadow: var(--shadow);
        max-height: calc(100vh - 110px);
        overflow: auto;
    }

    .profile-gallery img, .profile-gallery img:first-child {
        height: 300px;
        grid-row: auto;
    }

    .timeline-modern article:before {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown>button {
        width: 100%;
        background: #fff;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: #fff7eb;
        margin-top: 6px;
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-section .section-heading h2 {
        font-size: clamp(38px, 7vw, 62px);
    }

    .hp-achievement-grid {
        grid-template-columns: 1fr;
    }

    .hp-achievement-card {
        grid-template-columns: 240px 1fr;
    }

    .timeline-item {
        grid-template-columns: 220px 1fr;
    }

}

@media (max-width:768px) {

    .class-card img {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: contain;
    }

    .workshop-card img, .blog-card img, .service-card img {
        height: 230px;
    }

    .video-section .video-card .card-cover {
        aspect-ratio: 16 / 9;
        border-radius: 20px 20px 0 0;
    }

    .video-section .video-card .play {
        width: 54px;
        height: 54px;
    }

    .video-section .video-card .play::before {
        left: 22px;
        top: 17px;
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

}

@media (max-width:640px) {

    .hero h1, .page-hero h1 {
        font-size: 45px;
    }

    .event-cards, .tour-row, .video-grid, .album-grid, .value-grid, .achievement-cards, .footer-grid, .admin-cards, .two {
        grid-template-columns: 1fr;
    }

    .stat-panel {
        grid-template-columns: 1fr;
    }

    .stack-main, .stack-small {
        position: relative;
        width: 100%;
        height: auto;
    }

    .image-stack {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-table {
        font-size: 13px;
        display: block;
        overflow: auto;
    }

    .container {
        width: min(var(--max), calc(100% - 26px));
    }

    .hero p, .page-hero p {
        font-size: 17px;
    }

    .hero-actions, .link-row {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .class-grid, .workshop-grid, .blog-grid, .service-grid, .feature-strip, .profile-gallery, .story-rich, .meta-grid {
        grid-template-columns: 1fr;
    }

    .video-card img {
        height: 220px;
    }

    .profile-gallery img, .profile-gallery img:first-child {
        height: auto;
    }

    .timeline-modern article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .timeline-modern span {
        font-size: 18px;
    }

    .photo-masonry {
        columns: 1;
    }

    .masonry-grid {
        columns: 1;
    }

    .admin-photo-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .swal2-popup.hda-popup {
        width: calc(100% - 20px) !important;
    }

    .swal2-popup.hda-popup .swal2-title {
        font-size: 24px;
    }

    .video-section {
        padding: 70px 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .video-section .section-heading h2 {
        font-size: 40px;
    }

    .video-section .video-card {
        border-radius: 24px;
    }

    .video-section .video-card>div {
        padding: 20px 20px 24px !important;
    }

    .video-section .video-card .play {
        width: 56px;
        height: 56px;
    }

    .video-section .video-card .play::after {
        left: 23px;
        top: 18px;
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .event-card>a {
        aspect-ratio: 1 / 1;
    }

    .event-card>a img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .hp-achievement-card {
        grid-template-columns: 1fr;
    }

    .hp-achievement-media {
        border-right: 0;
        border-bottom: 1px solid rgba(168, 110, 37, .12);
    }

    .hp-achievement-main-img {
        min-height: auto;
        padding: 14px;
    }

    .hp-achievement-main-img img {
        max-height: none;
    }

    .hp-achievement-content {
        padding: 22px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item>a {
        aspect-ratio: 1 / 1;
    }

    .timeline-item>a img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .light-grid .video-card {
        border-radius: 24px;
    }

    .light-grid .video-card .play {
        width: 56px;
        height: 56px;
    }

    .light-grid .video-card .play::after {
        left: 23px;
        top: 18px;
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .site-header {
        padding-left: 10px;
        height: 66px;
        top: 10px;
        width: calc(100% - 18px);
        padding: 8px 12px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .brand img {
        width: 48px;
        height: 48px;
        flex: 0 0 auto;
    }

    .brand span {
        display: flex !important;
        min-width: 0;
    }

    .brand strong {
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

    .brand small {
        display: block !important;
        font-size: 10.5px;
        line-height: 1.1;
        white-space: nowrap;
        color: var(--muted);
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
    }

    .main-nav {
        position: fixed;
        top: 84px;
        left: 14px;
        right: 14px;
        max-height: calc(100vh - 105px);
        overflow-y: auto;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(18px);
        border-radius: 28px;
        padding: 18px;
        box-shadow: 0 28px 80px rgba(36, 21, 13, .24);
        gap: 4px;
    }

    .main-nav a, .nav-dropdown>button {
        width: 100%;
        padding: 13px 14px;
        font-size: 15px;
        text-align: center;
        border-radius: 16px;
    }

    .nav-dropdown-menu {
        margin-top: 6px;
        padding: 8px;
        border-radius: 20px;
        background: #fff6e8;
    }

    .nav-dropdown-menu a {
        text-align: center !important;
        padding: 12px 14px;
    }

    .main-nav .nav-cta {
        margin-top: 8px;
        background: var(--maroon);
        color: #fff;
        border-radius: 999px;
    }

    .hero {
        padding-top: 130px;
        min-height: auto;
        padding: 125px 0 70px;
    }

    .hero-content {
        width: calc(100% - 28px);
        margin-inline: auto;
    }

    .hero-bg {
        width: 100%;
        left: 0;
        right: 0;
        background-position: center top;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
        line-height: .95;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.55;
    }

    .lesson-card {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 28px;
    }

    .lesson-card .lesson-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 0 !important;
        height: auto !important;
        background: #120804;
    }

    .lesson-card .lesson-media iframe, .lesson-card .lesson-media img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
    }

    .lesson-card>div:last-child {
        padding: 24px 22px 28px;
    }

    .lesson-card h2 {
        font-size: 28px;
        line-height: 1.08;
    }

    .video-card>.card-cover, .light-grid .video-card>.card-cover, .video-section .video-card>.card-cover {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto !important;
        overflow: hidden;
    }

    .video-card>.card-cover img, .light-grid .video-card>.card-cover img, .video-section .video-card>.card-cover img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 9;
        object-fit: cover !important;
    }

    .intro-grid, .story-block, .story-rich {
        display: flex;
        flex-direction: column;
    }

    .intro-grid>*:has(img), .story-block>*:has(img), .story-rich>img, .story-rich .profile-gallery {
        order: -1;
    }

    .intro-grid img, .story-block img, .story-rich>img {
        width: 100%;
        border-radius: 28px;
    }

    .contact-card {
        text-align: center;
    }

    .contact-card img {
        margin-inline: auto;
        width: 145px;
    }

    .contact-list p {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .contact-social {
        justify-content: center;
    }

    .section {
        padding: 64px 0;
    }

    .page-hero {
        padding-top: 125px;
    }

    .page-hero.compact {
        min-height: auto;
        padding: 125px 0 56px;
    }

    .section-heading h2 {
        font-size: 40px;
        line-height: 1;
    }

}
