@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f5f0e7;
    --surface: rgba(255, 251, 245, 0.76);
    --surface-strong: #fdf9f2;
    --surface-dark: #102318;
    --surface-deep: #0a170f;
    --line: rgba(16, 35, 24, 0.12);
    --line-light: rgba(255, 255, 255, 0.12);
    --text: #18261d;
    --muted: #5c685f;
    --muted-light: rgba(255, 255, 255, 0.72);
    --brand: #173526;
    --brand-soft: #244d38;
    --accent: #c8a96a;
    --accent-soft: #e8d7b4;
    --shadow: 0 18px 50px rgba(17, 28, 21, 0.12);
    --shadow-strong: 0 24px 70px rgba(9, 18, 13, 0.24);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
    --transition: 220ms ease;
    --transition-slow: 520ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-premium: 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(200, 169, 106, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(23, 53, 38, 0.08), transparent 26%),
        linear-gradient(180deg, #f7f2e9 0%, #f1ece2 45%, #ece6da 100%);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    opacity: 0.28;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: -12%;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(200, 169, 106, 0.18), transparent 22%),
        radial-gradient(circle at 82% 18%, rgba(23, 53, 38, 0.12), transparent 26%),
        radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.18), transparent 24%);
    opacity: 0.72;
    z-index: -1;
    animation: ambient-drift 18s ease-in-out infinite alternate;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    padding: 1rem 0;
    transition: background-color var(--transition), border-color var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 23, 15, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.nav-container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    animation: premium-float 6s ease-in-out infinite;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #fff5df;
}

.brand-tag {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 0.18rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    transition: color var(--transition), opacity var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #fff4d8;
}

.hamburger {
    display: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.hamburger span {
    width: 1rem;
    height: 2px;
    background: #ffffff;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient(140deg, #09150f 0%, #143021 55%, #09140e 100%);
}

.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.6;
    mix-blend-mode: screen;
}

.hero::before,
.page-hero::before {
    width: 24rem;
    height: 24rem;
    top: 9%;
    right: -7rem;
    background: radial-gradient(circle, rgba(200, 169, 106, 0.24) 0%, rgba(200, 169, 106, 0.06) 38%, transparent 70%);
    animation: hero-orb-one 15s ease-in-out infinite;
}

.hero::after,
.page-hero::after {
    width: 18rem;
    height: 18rem;
    bottom: 8%;
    left: -5rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 42%, transparent 72%);
    animation: hero-orb-two 18s ease-in-out infinite;
}

.hero-video-shell {
    position: absolute;
    inset: 0;
    transition: transform var(--transition-premium);
    will-change: transform;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05) brightness(0.55);
    transform: scale(1.02);
    animation: hero-kenburns 16s ease-in-out infinite alternate;
}

.hero-video-mobile {
    display: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 17, 12, 0.26) 0%, rgba(8, 17, 12, 0.58) 45%, rgba(8, 17, 12, 0.82) 100%),
        radial-gradient(circle at 20% 20%, rgba(200, 169, 106, 0.22), transparent 28%),
        linear-gradient(90deg, rgba(8, 17, 12, 0.15) 0%, rgba(8, 17, 12, 0.05) 35%, rgba(8, 17, 12, 0.54) 100%);
    animation: overlay-pulse 14s ease-in-out infinite alternate;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: end;
    padding: 9rem 0 4rem;
}

.hero-copy,
.hero-panel {
    align-self: end;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-soft);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: rgba(232, 215, 180, 0.8);
}

.hero-title,
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.hero-title {
    max-width: 9ch;
    font-size: clamp(3.4rem, 8vw, 6.6rem);
    color: #fff8ea;
    margin-bottom: 1rem;
}

.hero-subtitle {
    max-width: 38rem;
    font-size: 1.04rem;
    color: var(--muted-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.36) 48%, transparent 78%);
    transform: translateX(-140%);
    transition: transform 800ms ease;
    pointer-events: none;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after {
    transform: translateX(140%);
}

.btn-primary {
    background: linear-gradient(135deg, #d9bd86 0%, #b99355 100%);
    color: #172116;
    box-shadow: 0 14px 30px rgba(173, 132, 64, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 18px 34px rgba(173, 132, 64, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #f8f2e2;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
    transform: translate3d(var(--hero-motion-x, 0px), var(--hero-motion-y, 0px), 0) rotateX(var(--hero-rotate-x, 0deg)) rotateY(var(--hero-rotate-y, 0deg));
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
    will-change: transform;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.24) 47%, transparent 62%);
    opacity: 0.55;
    transform: translateX(-55%) rotate(8deg);
    animation: surface-sheen 7.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-panel-top {
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.35rem;
}

.panel-label {
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    margin-bottom: 0.45rem;
}

.panel-text {
    color: rgba(255, 255, 255, 0.78);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.hero-stat {
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition-slow), background-color var(--transition-slow), border-color var(--transition-slow);
}

.hero-panel:hover .hero-stat,
.hero-panel:focus-within .hero-stat {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.hero-stat strong {
    display: block;
    font-size: 1.35rem;
    color: #fff3d4;
    margin-bottom: 0.15rem;
}

.hero-stat span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.66);
}

.section {
    position: relative;
    padding: 6.5rem 0;
}

.page-main {
    padding-top: 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, #0d1f15 0%, #153325 52%, #0b1a12 100%);
}

.page-hero .hero-video-overlay {
    background:
        linear-gradient(180deg, rgba(8, 17, 12, 0.38) 0%, rgba(8, 17, 12, 0.74) 100%),
        radial-gradient(circle at 14% 14%, rgba(200, 169, 106, 0.18), transparent 30%);
}

.page-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.6rem;
    align-items: end;
    padding: 8.4rem 0 3.3rem;
}

.page-hero .hero-title {
    max-width: 14ch;
    color: #fff4db;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.page-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.84);
    max-width: 54ch;
}

.page-hero .hero-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.content-wrap {
    display: grid;
    gap: 1rem;
}

.grid-two,
.grid-three {
    display: grid;
    gap: 1.2rem;
}

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

.grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(23, 53, 38, 0.14);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(246, 240, 230, 0.92) 100%);
    box-shadow: var(--shadow);
    padding: 1.35rem;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.content-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.12), transparent 36%, rgba(23, 53, 38, 0.06) 100%);
}

.content-card > * {
    position: relative;
    z-index: 1;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(17, 28, 21, 0.14);
}

.content-card h3 {
    color: var(--brand);
    margin-bottom: 0.6rem;
}

.content-rich,
.text-muted {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.content-rich p {
    margin-bottom: 0.7rem;
}

.content-rich ul {
    padding-left: 1.1rem;
}

.content-rich li {
    margin-bottom: 0.3rem;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: var(--brand);
    margin-bottom: 0.9rem;
}

.section-subtitle,
.about-text {
    color: var(--muted);
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.78;
}

.services-grid,
.experience-grid {
    display: grid;
    gap: 1.4rem;
}

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

.service-card,
.experience-card,
.contact-form,
.about-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.service-card,
.experience-card,
.about-media,
.committee-card,
.gallery-card,
.facility-card {
    cursor: pointer;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow), filter var(--transition-slow), background-position var(--transition-slow);
    will-change: transform;
    touch-action: manipulation;
    transform:
        perspective(1200px)
        translate3d(var(--card-motion-x, 0px), calc(var(--card-lift, 0px) + var(--card-motion-y, 0px)), 0)
        rotateX(var(--card-rotate-x, 0deg))
        rotateY(var(--card-rotate-y, 0deg))
        scale(var(--card-scale, 1));
}

.service-card {
    min-height: 17rem;
    padding: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.9) 0%, rgba(248, 242, 231, 0.92) 100%);
}

.service-card::before,
.experience-card::before,
.contact-form::before,
.about-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.16), transparent 34%, rgba(23, 53, 38, 0.08) 100%);
    pointer-events: none;
}

.service-card::after,
.experience-card::after,
.about-media::after,
.committee-card::after,
.gallery-card::after,
.facility-card::after,
.content-card::after,
.contact-form::after {
    content: '';
    position: absolute;
    inset: -35%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.24) 48%, transparent 62%);
    opacity: 0;
    transform: translateX(-30%) rotate(10deg);
    transition: opacity var(--transition-slow), transform 900ms ease;
}

.service-card:hover,
.experience-card:hover {
    --card-lift: -8px;
    --card-scale: 1.012;
    border-color: rgba(200, 169, 106, 0.28);
    box-shadow: 0 22px 55px rgba(17, 28, 21, 0.15);
}

.service-card:hover::after,
.experience-card:hover::after,
.about-media:hover::after,
.committee-card:hover::after,
.gallery-card:hover::after,
.facility-card:hover::after,
.content-card:hover::after,
.contact-form:hover::after {
    opacity: 1;
    transform: translateX(20%) rotate(10deg);
}

.service-card.is-card-active,
.experience-card.is-card-active,
.about-media.is-card-active,
.committee-card.is-card-active,
.gallery-card.is-card-active,
.facility-card.is-card-active {
    --card-lift: -6px;
    --card-scale: 1.015;
    border-color: rgba(66, 166, 91, 0.82);
    box-shadow:
        0 0 0 1px rgba(66, 166, 91, 0.22),
        0 0 0 4px rgba(66, 166, 91, 0.14),
        0 22px 55px rgba(17, 28, 21, 0.18);
}

.service-card.is-card-popping,
.experience-card.is-card-popping,
.about-media.is-card-popping,
.committee-card.is-card-popping,
.gallery-card.is-card-popping,
.facility-card.is-card-popping {
    animation: card-pop 380ms ease-out;
}

@keyframes card-pop {
    0% {
        transform:
            perspective(1200px)
            translate3d(var(--card-motion-x, 0px), var(--card-motion-y, 0px), 0)
            rotateX(var(--card-rotate-x, 0deg))
            rotateY(var(--card-rotate-y, 0deg))
            scale(1);
    }

    45% {
        transform:
            perspective(1200px)
            translate3d(var(--card-motion-x, 0px), calc(-8px + var(--card-motion-y, 0px)), 0)
            rotateX(var(--card-rotate-x, 0deg))
            rotateY(var(--card-rotate-y, 0deg))
            scale(1.03);
    }

    100% {
        transform:
            perspective(1200px)
            translate3d(var(--card-motion-x, 0px), calc(-6px + var(--card-motion-y, 0px)), 0)
            rotateX(var(--card-rotate-x, 0deg))
            rotateY(var(--card-rotate-y, 0deg))
            scale(1.015);
    }
}

.card-kicker,
.experience-tag,
.contact-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 1.9rem;
    border-radius: 999px;
    padding: 0 0.8rem;
    background: rgba(23, 53, 38, 0.08);
    border: 1px solid rgba(23, 53, 38, 0.1);
    color: var(--brand-soft);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.service-card h3,
.experience-card h3 {
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 1.4rem 0 0.85rem;
    color: var(--brand);
    text-wrap: balance;
}

.service-card p,
.experience-card p,
.about-point p,
.contact-item p,
.form-note,
.media-caption p,
.content-card p,
.gallery-caption,
.gallery-details,
.facility-text,
.member-role,
.member-bio {
    color: var(--muted);
    line-height: 1.75;
}

.about {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 100%);
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.about-media {
    background: linear-gradient(180deg, rgba(16, 35, 24, 0.08) 0%, rgba(16, 35, 24, 0.02) 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.about-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: calc(var(--radius-md) - 6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.3);
    transition: transform var(--transition-premium), filter var(--transition-slow);
}

.media-caption {
    position: static;
    background: rgba(255, 249, 241, 0.84);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 35, 24, 0.08);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.media-caption span {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--brand);
}

.about-copy .section-title {
    max-width: 12ch;
}

.about-points {
    display: grid;
    gap: 1rem;
    margin-top: 1.8rem;
}

.about-point {
    padding: 1.05rem 0 0;
    border-top: 1px solid rgba(23, 53, 38, 0.12);
}

.about-point strong {
    display: block;
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.experience {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 251, 245, 0.42) 18%, rgba(255, 255, 255, 0) 100%);
}

.experience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-card {
    min-height: 19rem;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(16, 35, 24, 0.02), rgba(16, 35, 24, 0.08)),
        linear-gradient(140deg, rgba(255, 251, 245, 0.94) 0%, rgba(247, 239, 225, 0.94) 100%);
}

.experience-card-featured {
    background:
        linear-gradient(180deg, rgba(8, 17, 12, 0.18), rgba(8, 17, 12, 0.55)),
        linear-gradient(135deg, #214330 0%, #102318 100%);
}

.experience-card-featured .experience-tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--accent-soft);
}

.experience-card-featured h3,
.experience-card-featured p {
    color: #f8f2e2;
}

.contact {
    color: #ffffff;
    background: linear-gradient(145deg, #0c1912 0%, #132a1d 55%, #0a1710 100%);
}

.contact .section-title,
.contact .eyebrow,
.contact .contact-label {
    color: #f6ead1;
}

.contact .eyebrow::before {
    background: rgba(246, 234, 209, 0.75);
}

.contact .section-title {
    max-width: 10ch;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.76);
    margin-top: 0.45rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.45rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #f6ead1;
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.content-rich .contact-link {
    border-color: rgba(23, 53, 38, 0.14);
    background: rgba(23, 53, 38, 0.06);
    color: var(--brand);
    box-shadow: none;
}

.content-rich .contact-link:hover,
.content-rich .contact-link:focus-visible {
    background: rgba(23, 53, 38, 0.09);
    border-color: rgba(23, 53, 38, 0.22);
    box-shadow: 0 10px 24px rgba(17, 28, 21, 0.1);
}

.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    padding: 1.6rem;
    backdrop-filter: blur(14px);
    border-color: rgba(255, 255, 255, 0.12);
}

.committee-grid,
.gallery-grid {
    display: grid;
    gap: 1.3rem;
}

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

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.committee-card,
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(23, 53, 38, 0.16);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(242, 234, 221, 0.92) 100%);
}

.committee-card {
    min-height: 21rem;
}

.committee-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
    transition: transform var(--transition-premium), filter var(--transition-slow);
}

.committee-footer {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(16, 35, 24, 0.74) 0%, rgba(10, 23, 15, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    padding: 0.85rem 0.9rem;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.6rem;
    padding: 0 0.65rem;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: rgba(200, 169, 106, 0.18);
    border: 1px solid rgba(200, 169, 106, 0.4);
    color: #f6dfb4;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.member-name {
    color: #fff4dc;
    line-height: 1.15;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
    text-wrap: balance;
}

.member-role {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.member-bio {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.79rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card {
    padding: 0.65rem;
}

.gallery-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.34);
    transition: transform var(--transition-premium), filter var(--transition-slow);
}

.gallery-title {
    margin: 0.75rem 0 0.25rem;
    font-size: 1rem;
    line-height: 1.3;
    text-wrap: balance;
}

.gallery-caption {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.88rem;
    padding: 0 0.1rem 0.2rem;
}

.gallery-details {
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.45;
    margin-top: 0.45rem;
}

.gallery-details h1,
.gallery-details h2,
.gallery-details h3 {
    font-size: 0.95rem;
    margin: 0.4rem 0 0.25rem;
}

.gallery-details p {
    margin: 0.2rem 0;
}

.gallery-details ul {
    margin: 0.25rem 0 0.3rem;
    padding-left: 1.1rem;
}

.loading {
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(23, 53, 38, 0.24);
    background: rgba(255, 255, 255, 0.56);
    color: var(--brand-soft);
    padding: 1rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 1rem 1rem;
    outline: none;
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(217, 189, 134, 0.55);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(217, 189, 134, 0.12);
}

.form-note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.56);
}

.contact-status {
    margin: 0.45rem 0 0;
    font-size: 0.88rem;
    color: #d6f4cf;
    min-height: 1.2rem;
}

.contact-status.is-error {
    color: #ffd8cf;
}

.footer {
    padding: 1.2rem 0 2rem;
    background: #0a1710;
    color: rgba(255, 255, 255, 0.62);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.footer-admin-note {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.52);
}

.footer-copy p {
    margin: 0;
}

.footer-link {
    color: #f4e5c2;
}

.facility-card {
    padding: 0.65rem;
}

.facility-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.34);
    transition: transform var(--transition-premium), filter var(--transition-slow);
}

.about-media:hover .about-image,
.committee-card:hover .committee-photo,
.gallery-card:hover .gallery-media,
.facility-card:hover .facility-media {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.04);
}

.facility-card h3 {
    margin: 0.15rem 0 0.45rem;
    font-weight: 700;
}

.facility-text {
    font-size: 0.9rem;
    line-height: 1.45;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, var(--reveal-offset, 34px), 0) scale(var(--reveal-scale, 0.985));
    filter: blur(8px);
    transition:
        opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 820ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal[data-reveal="left"] {
    transform: translate3d(-34px, 0, 0) scale(var(--reveal-scale, 0.985));
}

.reveal[data-reveal="right"] {
    transform: translate3d(34px, 0, 0) scale(var(--reveal-scale, 0.985));
}

@keyframes ambient-drift {
    0% {
        transform: translate3d(-1%, -1%, 0) scale(1);
    }

    100% {
        transform: translate3d(1.5%, 1%, 0) scale(1.03);
    }
}

@keyframes hero-kenburns {
    0% {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.09) translate3d(1.2%, -1.2%, 0);
    }
}

@keyframes overlay-pulse {
    0% {
        opacity: 0.88;
    }

    100% {
        opacity: 1;
    }
}

@keyframes premium-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes hero-orb-one {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-1.2rem, 1rem, 0) scale(1.08);
    }
}

@keyframes hero-orb-two {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(1rem, -1rem, 0) scale(1.06);
    }
}

@keyframes surface-sheen {
    0%,
    100% {
        transform: translateX(-55%) rotate(8deg);
    }

    50% {
        transform: translateX(8%) rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 1024px) {
    .services-grid,
    .experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-hero-layout,
    .grid-three,
    .grid-two {
        grid-template-columns: 1fr;
    }

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

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

    .hero-layout {
        align-items: end;
    }

    .hero-title,
    .contact .section-title,
    .about-copy .section-title {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 0;
    }

    body.nav-open {
        overflow: hidden;
    }

    .brand-mark {
        width: 3rem;
        height: 3rem;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .brand-tag {
        display: none;
    }

    .hamburger {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(10, 23, 15, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-strong);
        max-height: calc(100vh - 7.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.45rem 0.2rem;
        font-size: 1rem;
        line-height: 1.35;
    }

    .hero {
        min-height: 92vh;
    }

    .hero-video-desktop {
        display: none;
    }

    .hero-video-mobile {
        display: block;
        object-position: center 22%;
    }

    .hero-layout {
        padding: 7.3rem 0 2.7rem;
        gap: 1.2rem;
        justify-items: center;
        text-align: center;
    }

    .page-hero-layout {
        padding: 7.2rem 0 2.4rem;
        gap: 1rem;
        justify-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12.6vw, 3.8rem);
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .hero-actions,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions {
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero::before,
    .hero::after,
    .page-hero::before,
    .page-hero::after,
    body::after {
        animation-duration: 22s;
    }

    .services-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

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

    .committee-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .experience-grid,
    .committee-grid,
    .gallery-grid {
        justify-items: center;
    }

    .service-card,
    .experience-card,
    .committee-card,
    .gallery-card,
    .facility-card,
    .about-media,
    .contact-form {
        width: min(100%, 34rem);
        margin-inline: auto;
    }

    .service-card,
    .experience-card,
    .committee-card,
    .gallery-card,
    .facility-card,
    .content-card,
    .contact-form,
    .about-media {
        text-align: left;
    }

    .service-card .card-kicker,
    .experience-card .experience-tag,
    .committee-card .member-badge,
    .gallery-card .gallery-title,
    .gallery-card .gallery-caption,
    .gallery-card .gallery-details,
    .facility-card h3,
    .facility-card .facility-text {
        margin-inline: 0;
    }

    .about-layout,
    .contact-layout {
        justify-items: center;
    }

    .about-copy,
    .contact-copy,
    .section-heading,
    .about-text,
    .about-points,
    .contact-list {
        text-align: center;
    }

    .about-copy .section-title,
    .contact .section-title {
        max-width: none;
        margin-inline: auto;
    }

    .about-point {
        padding-top: 0.95rem;
    }

    .about-media {
        gap: 0.8rem;
    }

    .media-caption {
        padding: 0.95rem 1rem;
    }

    .hero-panel {
        width: min(100%, 34rem);
        margin-inline: auto;
    }

    .hero-panel,
    .hero-copy {
        text-align: center;
    }

    .reveal[data-reveal="left"],
    .reveal[data-reveal="right"] {
        transform: translate3d(0, var(--reveal-offset, 34px), 0) scale(var(--reveal-scale, 0.985));
    }

    .hero-panel-top,
    .hero-stat {
        text-align: center;
    }

    .hero-stats {
        justify-items: center;
    }

    .member-name {
        font-size: 1.02rem;
    }

    .member-role {
        font-size: 0.84rem;
    }

    .member-badge {
        font-size: 0.62rem;
    }

    .member-bio {
        font-size: 0.82rem;
        -webkit-line-clamp: 4;
    }

    .section {
        padding: 4.45rem 0;
    }

    .section-heading {
        margin-bottom: 2rem;
        text-align: center;
        margin-inline: auto;
    }

    .section-title {
        font-size: clamp(2rem, 10.8vw, 3rem);
    }

    .section-subtitle,
    .about-text,
    .content-rich,
    .facility-text,
    .gallery-caption,
    .gallery-details,
    .member-role,
    .member-bio,
    .contact-item p,
    .form-note {
        text-align: center;
        margin-inline: auto;
    }

    .section-subtitle,
    .about-text,
    .content-rich,
    .gallery-details,
    .facility-text {
        max-width: 34rem;
    }

    .eyebrow {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .content-card,
    .contact-form {
        padding: 1.1rem;
    }

    .gallery-details {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 0.95rem;
    }

    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .brand-mark {
        width: 2.7rem;
        height: 2.7rem;
    }

    .brand-name {
        font-size: 1.14rem;
    }

    .navbar {
        padding: 0.7rem 0;
    }

    .hero-layout {
        padding: 6.8rem 0 2.2rem;
    }

    .page-hero-layout {
        padding: 6.6rem 0 2.2rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11.8vw, 3.1rem);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-panel,
    .page-hero-layout,
    .about-copy,
    .contact-copy,
    .section-heading {
        text-align: center;
    }

    .hero-subtitle,
    .page-hero .hero-subtitle {
        max-width: 100%;
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .hero-title,
    .page-hero .hero-title,
    .section-title {
        text-wrap: balance;
    }

    .about-text,
    .section-subtitle,
    .content-rich,
    .contact-item p,
    .form-note,
    .gallery-caption,
    .gallery-details,
    .facility-text,
    .member-role,
    .member-bio {
        max-width: 100%;
        line-height: 1.68;
    }

    .hero-panel,
    .content-card,
    .contact-form,
    .committee-footer {
        border-radius: 16px;
    }

    .hero-panel,
    .about-media,
    .service-card,
    .experience-card,
    .committee-card,
    .gallery-card,
    .facility-card,
    .contact-form {
        width: 100%;
    }

    .committee-card .member-name,
    .committee-card .member-role,
    .committee-card .member-bio,
    .committee-card .member-badge,
    .gallery-card .gallery-title,
    .gallery-card .gallery-caption,
    .gallery-card .gallery-details,
    .facility-card h3,
    .facility-card .facility-text,
    .content-card h3,
    .content-card p,
    .content-rich {
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn,
    .contact-form button,
    .about-media,
    .service-card,
    .experience-card,
    .committee-card,
    .gallery-card,
    .facility-card {
        box-shadow: var(--shadow);
    }

    .about-image {
        width: 100%;
        max-height: 56vw;
        object-fit: contain;
        margin-inline: auto;
    }

    .media-caption {
        width: 100%;
    }

    .hero-stat {
        justify-items: center;
    }

    .service-card h3,
    .experience-card h3,
    .content-card h3,
    .committee-card .member-name,
    .committee-card .member-role,
    .gallery-card .gallery-title,
    .gallery-card .gallery-caption,
    .gallery-card .gallery-details,
    .facility-card h3,
    .facility-card .facility-text {
        text-align: center;
    }

    .btn {
        min-height: 3rem;
    }

    .gallery-title {
        font-size: 0.95rem;
    }

    .gallery-caption,
    .gallery-details,
    .facility-text {
        font-size: 0.86rem;
    }

    .service-card,
    .experience-card,
    .about-media,
    .committee-card,
    .gallery-card,
    .facility-card {
        transform: none;
    }

    .contact-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.4rem;
        padding: 0.1rem 0.3rem;
        color: var(--brand);
        text-decoration: underline;
        text-underline-offset: 0.18em;
    }

    .hero::before,
    .hero::after,
    .page-hero::before,
    .page-hero::after,
    body::after {
        opacity: 0.34;
    }
}
