/* East Paddy Lane — Vibrant Modern Design */

:root {
    --color-primary: #0d7a5f;
    --color-primary-light: #12a07a;
    --color-primary-dark: #064a3a;
    --color-accent: #f5a623;
    --color-accent-light: #ffc857;
    --color-coral: #ff6b4a;
    --color-sky: #38bdf8;
    --color-violet: #8b5cf6;
    --color-bg: #f4fbf8;
    --color-bg-alt: #eaf6f1;
    --color-surface: #ffffff;
    --color-white: #ffffff;
    --color-text: #0f1f1c;
    --color-text-muted: #5a6f68;
    --color-border: rgba(13, 122, 95, 0.12);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --shadow-sm: 0 2px 8px rgba(6, 74, 58, 0.06);
    --shadow: 0 12px 40px rgba(6, 74, 58, 0.1);
    --shadow-lg: 0 24px 60px rgba(6, 74, 58, 0.14);
    --shadow-glow: 0 8px 32px rgba(245, 166, 35, 0.35);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-pill: 100px;
    --max-width: 1180px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-hero: linear-gradient(135deg, #064a3a 0%, #0d7a5f 35%, #12a07a 65%, #1a8f6e 100%);
    --gradient-gold: linear-gradient(135deg, #f5a623, #ffc857);
    --gradient-warm: linear-gradient(135deg, #ff6b4a, #f5a623);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'kern' 1, 'liga' 1;
    letter-spacing: -0.011em;
    overflow-x: hidden;
}

main { flex: 1; }

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── Animations ─── */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -20px) scale(1.05); }
    66% { transform: translate(-8px, 10px) scale(0.95); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(245, 166, 35, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Header ─── */
.site-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(6, 74, 58, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--color-text);
    transition: transform var(--transition);
}

.logo:hover { color: var(--color-text); transform: scale(1.02); }

.logo-img {
    height: 72px;
    width: 72px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    background: transparent;
    padding: 0;
    filter: drop-shadow(0 4px 10px rgba(6, 74, 58, 0.18));
    transition: transform var(--transition);
}

.logo:hover .logo-img { transform: none; }

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 0.01em;
}
.logo-text small { font-size: 0.7rem; color: var(--color-text-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.main-nav { display: flex; gap: 0.25rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.lang-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.lang-switcher--footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
}

.lang-btn {
    display: block;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all var(--transition);
    text-align: center;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.lang-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary-light);
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.lang-switcher--footer .lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

.lang-switcher--footer .lang-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.lang-switcher--footer .lang-btn.active {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    font-weight: 700;
}

html[lang="ml"] body {
    font-family: 'Noto Sans Malayalam', 'Inter', system-ui, sans-serif;
}

html[lang="hi"] body {
    font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;
}

.main-nav a {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--color-primary);
    background: rgba(13, 122, 95, 0.08);
}

.main-nav a.active {
    background: var(--gradient-gold);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

/* ─── Hero ─── */
.hero {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero--home {
    padding: 3.5rem 0 4rem;
    min-height: 560px;
    background: #163c28;
    animation: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 58%;
    display: block;
}

.hero--home .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(8, 36, 24, 0.78) 0%,
        rgba(8, 36, 24, 0.42) 34%,
        rgba(12, 48, 32, 0.12) 58%,
        rgba(12, 48, 32, 0.04) 100%
    );
}

.hero-birds {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-bird-slot {
    position: absolute;
    left: 0;
    will-change: transform;
}

.hero-bird {
    display: block;
    width: 56px;
    height: 20px;
    opacity: 0.88;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.hero-bird-body { transform-origin: center; }

.hero-bird-wing {
    transform-origin: 40px 21px;
}

.hero-bird-wing--up {
    animation: heroBirdWingUp 1.15s ease-in-out infinite;
}

.hero-bird-wing--down {
    animation: heroBirdWingDown 1.15s ease-in-out infinite;
}

.hero-bird-slot--1 { top: 12%; animation: heroBirdFly 22s linear infinite; }
.hero-bird-slot--2 { top: 20%; animation: heroBirdFly 28s linear infinite; animation-delay: -7s; }
.hero-bird-slot--3 { top: 30%; animation: heroBirdFly 25s linear infinite; animation-delay: -12s; }
.hero-bird-slot--4 { top: 16%; animation: heroBirdFly 31s linear infinite; animation-delay: -4s; }

.hero-bird-slot--2 .hero-bird { width: 44px; height: 16px; }
.hero-bird-slot--3 .hero-bird { width: 38px; height: 14px; }
.hero-bird-slot--4 .hero-bird { width: 50px; height: 18px; }

.hero-bird-slot--2 .hero-bird-wing--up,
.hero-bird-slot--2 .hero-bird-wing--down { animation-duration: 1.25s; }
.hero-bird-slot--3 .hero-bird-wing--up,
.hero-bird-slot--3 .hero-bird-wing--down { animation-duration: 1.35s; }
.hero-bird-slot--4 .hero-bird-wing--up,
.hero-bird-slot--4 .hero-bird-wing--down { animation-duration: 1.05s; }

@keyframes heroBirdFly {
    0% { transform: translate(-14vw, 0) rotate(-2deg); }
    35% { transform: translate(30vw, -12px) rotate(1deg); }
    70% { transform: translate(70vw, -20px) rotate(-1deg); }
    100% { transform: translate(110vw, -6px) rotate(2deg); }
}

@keyframes heroBirdWingUp {
    0%, 100% { transform: rotate(-6deg) scaleY(1); opacity: 1; }
    50% { transform: rotate(-22deg) scaleY(0.8); opacity: 0.96; }
}

@keyframes heroBirdWingDown {
    0%, 100% { transform: rotate(8deg) scaleY(0.5); opacity: 0.5; }
    50% { transform: rotate(18deg) scaleY(1); opacity: 0.88; }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    animation: floatSlow 10s ease-in-out infinite;
}

.hero-orb--1 {
    width: 280px; height: 280px;
    background: rgba(245, 166, 35, 0.4);
    top: -20%; right: 5%;
}

.hero-orb--2 {
    width: 220px; height: 220px;
    background: rgba(56, 189, 248, 0.25);
    bottom: -10%; left: 10%;
    animation-delay: -4s;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
}

.hero-content { max-width: 620px; }

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 0.35rem;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.hero-highlight {
    display: inline-block;
    color: #f6d36a;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 28px rgba(245, 166, 35, 0.35);
}

.hero-sub {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.hero-tagline {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 460px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero--home .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.88rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
}

.hero-stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-accent-light);
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-accent-light);
    line-height: 1;
    margin: 0;
}

.hero-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 180px;
    padding-top: 0.25rem;
}

.hero-emblem-wrap {
    position: relative;
    width: 168px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-emblem {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
    animation: logoTravel 8s ease-in-out infinite;
    position: relative;
    z-index: 1;
    transform-origin: center center;
}

@keyframes logoTravel {
    0% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); }
    25% { transform: translate3d(16px, -14px, 0) rotate(4deg) scale(1.04); }
    50% { transform: translate3d(-6px, -22px, 0) rotate(8deg) scale(1.06); }
    75% { transform: translate3d(-18px, -8px, 0) rotate(-3deg) scale(1.03); }
    100% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}

.hero-wave { display: none; }

/* ─── Page Hero ─── */
.page-hero {
    background: #163c28 url('../images/hero-banner.jpg') 72% 58% / cover no-repeat;
    animation: none;
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 36, 24, 0.72) 0%,
        rgba(8, 36, 24, 0.58) 100%
    );
}

.page-hero--committee { padding: 4.5rem 0; }

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-inner::after {
    content: '🌾';
    position: absolute;
    right: 4%;
    top: 50%;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
    transform-origin: 50% 90%;
    animation: riceSway 3.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes riceSway {
    0%, 100% { transform: translateY(-50%) rotate(-12deg) scale(1); }
    50% { transform: translateY(calc(-50% - 10px)) rotate(10deg) scale(1.08); }
}

.section-header h2::after {
    content: ' 🌾';
    display: inline-block;
    transform-origin: 50% 85%;
    animation: riceNod 2.8s ease-in-out infinite;
}
@keyframes riceNod {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(-3px); }
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease both;
}

.page-hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    animation: fadeInUp 0.8s 0.15s ease both;
}

.page-hero-meta { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin-top: 0.35rem; }
.page-hero--quiet {
    text-align: left;
    padding: 3rem 0 2.6rem;
}
.page-hero--quiet h1 { animation: none; }
.page-hero--quiet .page-hero-lead { animation: none; max-width: 38rem; }
.page-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #e8c36a;
    margin-bottom: 0.45rem;
}
.hero-meta { color: rgba(255, 255, 255, 0.88); margin-top: 0.5rem; font-size: 0.95rem; }

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    color: var(--color-accent-light);
    backdrop-filter: blur(8px);
}

/* ─── Sections ─── */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-tight { padding: 3rem 0 5rem; }

.section-alt {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--color-primary-dark);
    letter-spacing: 0.01em;
}

.section-header p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.75; }
.section-cta { text-align: center; margin-top: 3rem; }

.section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Homepage — tighter spacing between sections */
.page-home .hero--home {
    padding: 2.75rem 0 3rem;
    min-height: 0;
}
.page-home .section {
    padding: 2.5rem 0;
}
.page-home .section + .section {
    padding-top: 1.25rem;
}
.page-home .section-header {
    margin-bottom: 1.75rem;
}
.page-home .section-cta {
    margin-top: 1.25rem;
}
.page-home .home-market-main .section-header,
.page-home .section-header.reveal {
    margin-bottom: 1.25rem;
}
.page-home .link-arrow {
    margin-top: 0.85rem;
}
.page-home .card-grid {
    margin-top: 0;
}

.home-about-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 70% at 100% 0%, rgba(245, 166, 35, 0.1), transparent 55%),
        linear-gradient(180deg, #f7fcf9 0%, #eef8f3 100%);
}
.page-home .home-about-section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}
.home-about {
    position: relative;
    z-index: 1;
}
.home-about-top {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.9fr);
    gap: 1.5rem 2rem;
    align-items: start;
    margin-bottom: 1.15rem;
}
.home-about-copy .section-label {
    text-align: left;
    margin-bottom: 0.45rem;
}
.home-about-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.65rem;
    text-align: left;
}
.home-about-lead {
    color: var(--color-text);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 0.65rem;
}
.home-about-copy > p:not(.section-label):not(.home-about-lead) {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.home-about-side {
    background: #fff;
    border: 1px solid rgba(13, 122, 95, 0.12);
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: 0 10px 28px rgba(6, 74, 58, 0.06);
}
.home-about-stats {
    display: grid;
    gap: 0.55rem;
}
.home-about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: var(--color-bg);
    border: 1px solid rgba(13, 122, 95, 0.08);
}
.home-about-stat strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    line-height: 1.25;
}
.home-about-stat span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.home-about-stat:nth-child(1) strong { color: var(--color-primary); }
.home-about-stat:nth-child(2) strong { color: #b45309; }
.home-about-stat:nth-child(3) strong { font-size: 0.98rem; }
.home-about-reg {
    margin: 0.7rem 0 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: center;
}
.home-about-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.home-about-pillar {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(13, 122, 95, 0.1);
    box-shadow: 0 6px 18px rgba(6, 74, 58, 0.04);
}
.home-about-pillar-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(13, 122, 95, 0.08);
    color: var(--color-primary-dark);
}
.home-about-pillar:nth-child(2) .home-about-pillar-ico {
    background: rgba(245, 166, 35, 0.14);
    color: #b45309;
}
.home-about-pillar:nth-child(3) .home-about-pillar-ico {
    background: rgba(255, 107, 74, 0.12);
    color: #c2410c;
}
.home-about-pillar-ico svg {
    width: 18px;
    height: 18px;
}
.home-about-pillar h3 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.2rem;
}
.home-about-pillar p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}
.home-about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.home-about-cta .btn {
    min-height: 40px;
    padding: 0.55rem 1.15rem;
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .home-about-top,
    .home-about-pillars { grid-template-columns: 1fr; }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.link-arrow::after { content: '→'; transition: transform var(--transition); }
.link-arrow:hover::after { transform: translateX(6px); }

.intro-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    background-size: 200% auto;
    color: var(--color-primary-dark);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-position: right center;
    color: var(--color-primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.45);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(13, 122, 95, 0.3);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(13, 122, 95, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-block { display: flex; width: 100%; }

/* ─── Cards ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.card:hover::after { transform: scaleY(1); }

.card time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.65rem 0 0.5rem;
    color: var(--color-primary-dark);
}

.card p { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.65; }
.card .announcement-badge { margin-bottom: 0.55rem; }
.card .announcement-when {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-coral);
    letter-spacing: 0.04em;
    margin: 0 0 0.15rem;
}
.card-feature h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; }

.card-feature {
    background: linear-gradient(145deg, var(--color-surface), var(--color-bg-alt));
}

.card-feature:nth-child(1)::after { background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light)); }
.card-feature:nth-child(2)::after { background: var(--gradient-gold); }
.card-feature:nth-child(3)::after { background: linear-gradient(180deg, var(--color-coral), var(--color-accent)); }

/* ─── Quick Links ─── */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius);
}

.quick-link-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(13, 122, 95, 0.08), rgba(18, 160, 122, 0.04)); }
.quick-link-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(255, 200, 87, 0.05)); }
.quick-link-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.05)); }
.quick-link-card:nth-child(5)::before { background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(251, 191, 36, 0.06)); }
.quick-link-card:nth-child(6)::before { background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.05)); }

.quick-link-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.quick-link-card:nth-child(1)::after { background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light)); }
.quick-link-card:nth-child(2)::after { background: var(--gradient-gold); }
.quick-link-card:nth-child(3)::after { background: linear-gradient(90deg, var(--color-sky), var(--color-violet)); }
.quick-link-card:nth-child(4)::after { background: var(--gradient-warm); }
.quick-link-card:nth-child(5)::after { background: linear-gradient(90deg, #f472b6, #fbbf24); }
.quick-link-card:nth-child(6)::after { background: linear-gradient(90deg, #22c55e, #14b8a6); }

.quick-link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
    border-color: transparent;
}

.quick-link-card:hover::before { opacity: 1; }
.quick-link-card:hover::after { transform: scaleX(1); }

.quick-link-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.15rem;
    transition: transform var(--transition);
    position: relative;
    z-index: 1;
}

.quick-link-card:nth-child(1) .quick-link-icon { background: linear-gradient(135deg, #d4f5ea, #a8e6cf); }
.quick-link-card:nth-child(2) .quick-link-icon { background: linear-gradient(135deg, #fff3d4, #ffe0a3); }
.quick-link-card:nth-child(3) .quick-link-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.quick-link-card:nth-child(4) .quick-link-icon { background: linear-gradient(135deg, #ffe4dc, #ffc9b8); }
.quick-link-card:nth-child(5) .quick-link-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.quick-link-card:nth-child(6) .quick-link-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }

.quick-link-card:hover .quick-link-icon { transform: scale(1.15) rotate(-5deg); }

.quick-link-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.45rem;
    position: relative;
    z-index: 1;
}

.quick-link-card p { font-size: 0.88rem; color: var(--color-text-muted); position: relative; z-index: 1; }

/* ─── Layout ─── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.info-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.info-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info-list { list-style: none; }
.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.92rem;
}

.info-list li:last-child { border-bottom: none; }

/* ─── Committee election declaration ─── */
.committee-election {
    position: relative;
    margin-bottom: 1.75rem;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #064a3a 0%, #0d7a5f 45%, #127a5c 100%);
    color: #fff;
    box-shadow: 0 22px 50px rgba(6, 74, 58, 0.28);
    animation: committeeElectionIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.committee-election-glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.45), transparent 68%);
    animation: committeeGlowFloat 6s ease-in-out infinite;
    pointer-events: none;
}
.committee-election-inner {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.6rem 1.6rem;
    background:
        linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    background-size: 220% 100%;
    animation: committeeShimmer 4.5s ease-in-out infinite;
}
.committee-election-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid rgba(255, 200, 87, 0.45);
    color: #ffd789;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: committeeBadgePop 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.committee-election h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    animation: committeeElectionIn 0.75s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.committee-election-text {
    max-width: 46rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.1rem;
    animation: committeeElectionIn 0.75s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.committee-election-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    animation: committeeElectionIn 0.75s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.committee-election-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}
.committee-election-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: var(--gradient-gold);
    color: #3f2a00;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
    animation: committeeElectionIn 0.75s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.committee-election-cta::after {
    content: '↓';
    font-size: 0.95rem;
}
.committee-election-cta:hover {
    color: #3f2a00;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.45);
}
@keyframes committeeElectionIn {
    from { opacity: 0; transform: translateY(22px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes committeeBadgePop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes committeeGlowFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.85; }
    50% { transform: translate(-18px, 12px); opacity: 1; }
}
@keyframes committeeShimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .committee-election,
    .committee-election-inner,
    .committee-election-kicker,
    .committee-election h2,
    .committee-election-text,
    .committee-election-meta,
    .committee-election-cta,
    .committee-election-glow {
        animation: none !important;
    }
}

/* ─── Committee year timeline ─── */
.committee-page { padding-top: 2.5rem; }
.committee-year-panel {
    margin-bottom: 2.25rem;
    padding: 1.5rem 1.35rem 1.35rem;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(245, 166, 35, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 70% at 100% 100%, rgba(13, 122, 95, 0.12), transparent 50%),
        linear-gradient(145deg, #ffffff 0%, #f3faf6 100%);
    border: 1px solid rgba(13, 122, 95, 0.12);
    box-shadow: 0 16px 40px rgba(6, 74, 58, 0.08);
    overflow: hidden;
}
.committee-year-head {
    text-align: center;
    margin-bottom: 1.35rem;
}
.committee-year-head .section-label { margin-bottom: 0.4rem; }
.committee-year-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    color: var(--color-primary-dark);
    margin-bottom: 0.45rem;
}
.committee-year-note {
    max-width: 560px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.committee-year-track {
    position: relative;
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    padding: 0.5rem 0 0.75rem;
}
.committee-year-line {
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(13, 122, 95, 0.15), rgba(245, 166, 35, 0.55), rgba(13, 122, 95, 0.15));
    z-index: 0;
}
.committee-year-btn {
    position: relative;
    z-index: 1;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 88px;
    padding: 0.25rem;
    font-family: inherit;
    color: var(--color-text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}
.committee-year-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(13, 122, 95, 0.25);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.85);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.committee-year-btn strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-primary-dark);
    line-height: 1;
}
.committee-year-btn small {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.committee-year-btn:hover {
    transform: translateY(-3px);
    color: var(--color-primary);
}
.committee-year-btn:hover .committee-year-dot {
    border-color: var(--color-primary);
    transform: scale(1.08);
}
.committee-year-btn.is-active {
    color: #b45309;
}
.committee-year-btn.is-active .committee-year-dot {
    background: var(--gradient-gold);
    border-color: #f5a623;
    box-shadow:
        0 0 0 7px rgba(245, 166, 35, 0.18),
        0 8px 22px rgba(245, 166, 35, 0.35);
    animation: committeePulse 1.8s ease-in-out infinite;
}
.committee-year-btn.is-active strong {
    color: #9a3412;
}
@keyframes committeePulse {
    0%, 100% { box-shadow: 0 0 0 7px rgba(245, 166, 35, 0.18), 0 8px 22px rgba(245, 166, 35, 0.35); }
    50% { box-shadow: 0 0 0 12px rgba(245, 166, 35, 0.08), 0 10px 28px rgba(245, 166, 35, 0.4); }
}

.committee-year-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-top: 1.1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 122, 95, 0.08), rgba(245, 166, 35, 0.12));
    border: 1px solid rgba(13, 122, 95, 0.1);
}
.committee-year-banner span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.committee-year-banner strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary-dark);
}
.committee-year-banner em {
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(13, 122, 95, 0.12);
}

.committee-roster.is-switching .member-card {
    animation: none;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
}
.committee-roster .member-card {
    animation: committeeCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 0.06s);
}
@keyframes committeeCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 700px) {
    .committee-year-line { display: none; }
    .committee-year-track { gap: 0.55rem; }
    .committee-year-btn { min-width: 76px; }
    .committee-year-banner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .committee-year-btn.is-active .committee-year-dot,
    .committee-roster .member-card {
        animation: none !important;
    }
}

/* ─── Committee Members ─── */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.member-grid--officers {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-bottom: 3.5rem;
}

.member-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.member-card--officer {
    border: 2px solid rgba(245, 166, 35, 0.4);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.15);
}

.member-card--officer .member-photo { padding-top: 1.75rem; }

.member-photo {
    padding: 1.5rem 1.5rem 0;
    background: linear-gradient(160deg, #d4f5ea, #eaf6f1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.member-photo img {
    width: 112px;
    height: 112px;
    max-width: 112px;
    max-height: 112px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 16px rgba(13, 122, 95, 0.18);
    flex-shrink: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.member-card--officer .member-photo img {
    width: 128px;
    height: 128px;
    max-width: 128px;
    max-height: 128px;
}

.member-card:hover .member-photo img {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(13, 122, 95, 0.22);
}

.member-initials {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient-hero);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

.member-body { padding: 1.35rem 1.5rem 1.6rem; }

.member-role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.6rem;
    background: rgba(245, 166, 35, 0.12);
    border-radius: var(--radius-pill);
}

.member-card--officer .member-role {
    color: var(--color-primary);
    background: rgba(13, 122, 95, 0.1);
}

.member-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.member-address {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.register-details {
    margin-top: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.register-details summary {
    padding: 1.1rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    cursor: pointer;
    user-select: none;
    transition: background var(--transition);
}

.register-details summary:hover { background: var(--color-bg-alt); }
.register-details[open] summary { border-bottom: 1px solid var(--color-border); }
.register-details .table-wrap { margin: 0; border-radius: 0; box-shadow: none; }

.table-wrap {
    overflow-x: auto;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.committee-table th,
.committee-table td {
    padding: 0.9rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.committee-table th {
    background: var(--gradient-hero);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.committee-table tbody tr { transition: background var(--transition); }
.committee-table tbody tr:hover { background: var(--color-bg-alt); }
.committee-table td:first-child { width: 60px; text-align: center; font-weight: 700; color: var(--color-primary); }

/* ─── Announcements ─── */
.announcement-list { max-width: 780px; margin: 0 auto; }

.announcement-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.announcement-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-warm);
    transform: scaleY(0);
    transition: transform var(--transition);
}

.announcement-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.announcement-item:hover::before { transform: scaleY(1); }

.announcement-badge {
    display: inline-block;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.announcement-badge.is-upcoming {
    background: #dcfce7;
    color: #166534;
}
.announcement-badge.is-past {
    background: #eef2f4;
    color: #5a6f68;
}

.announcement-when,
.announcement-item time {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.announcement-item h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin: 0.5rem 0 0.85rem;
}

.announcement-body {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ─── Documents ─── */
.doc-category { margin-bottom: 2.5rem; }

.doc-category h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid;
    border-image: var(--gradient-gold) 1;
}

.doc-list { list-style: none; }

.doc-list li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    color: var(--color-text);
    transition: all var(--transition);
}

.doc-list li a:hover {
    transform: translateX(6px);
    color: var(--color-primary);
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
    background: linear-gradient(90deg, var(--color-surface), var(--color-bg-alt));
}

.doc-title { flex: 1; font-weight: 600; }
.doc-date { font-size: 0.82rem; color: var(--color-text-muted); }

/* ─── Gallery ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item figcaption {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gallery-item figcaption span { font-size: 0.85rem; color: var(--color-text-muted); }

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.35rem;
}
.album-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
    box-shadow: var(--shadow-sm);
}
.album-card:hover { color: inherit; }
.album-cover {
    height: 180px;
    background: #e8f3ee;
}
.album-cover img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.album-card-body { padding: 0.95rem 1.05rem 1.1rem; }
.album-year {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.album-card h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0 0 0.25rem;
    color: var(--color-primary-dark);
}
.album-card-body p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.album-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.album-photo {
    border: 0;
    padding: 0;
    background: #e8f3ee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-album {
    flex: 0 0 min(72vw, 220px);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
}
.home-album:hover { color: inherit; }
.home-album img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.home-album span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem 0.85rem;
}
.home-album strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-primary-dark);
}
.home-album small {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
.hero-back { color: #e8c36a; }
.hero-back:hover { color: #fff; }
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 16, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(92vw, 980px); }
.lightbox-figure img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}
.lightbox-figure figcaption {
    color: #fff;
    text-align: center;
    margin-top: 0.75rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close { top: 1rem; right: 1.2rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1.2rem; }

.scroll-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.15rem 1.5rem 1.1rem;
    scrollbar-width: thin;
    scrollbar-color: #0d7a5f transparent;
}
.scroll-row::-webkit-scrollbar { height: 8px; }
.scroll-row::-webkit-scrollbar-thumb {
    background: #0d7a5f;
    border-radius: 8px;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(220px, 280px);
    gap: 1.5rem;
    align-items: stretch;
}
.home-split-main .section-header { margin-bottom: 0.85rem; }
.home-split-main .scroll-row {
    padding: 0.15rem 0 0.9rem;
    margin: 0 -0.15rem;
}

.home-market-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: 1.5rem;
    align-items: start;
}
.home-market-main .section-header { margin-bottom: 0.85rem; }
.home-market-main .link-arrow { margin-top: 0.75rem; display: inline-block; }

.home-photo {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
    margin: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}
.home-photo img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.home-photo figcaption {
    padding: 0.7rem 0.9rem 0.85rem;
}
.home-photo strong {
    font-size: 0.92rem;
    color: var(--color-primary-dark);
}

.memory-panel {
    background: linear-gradient(180deg, #f7f1e3 0%, #efe6d4 100%);
    border: 1px solid rgba(180, 140, 70, 0.28);
    border-radius: 18px;
    padding: 1.05rem 0.9rem 0.95rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.memory-panel--announce {
    background: linear-gradient(180deg, #faf6ef 0%, #f0e8d8 100%);
    border-color: rgba(120, 90, 50, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.memory-panel .section-header {
    margin-bottom: 0.65rem;
}
.memory-panel .section-header h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
}
.memory-panel .section-header p { display: none; }
.memory-panel--announce .section-header p {
    display: block;
    font-size: 0.82rem;
    color: #7c6a52;
    margin-top: 0.35rem;
    line-height: 1.45;
}
.memory-panel--announce .section-label {
    color: #9a3412;
    letter-spacing: 0.08em;
}
.memory-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 320px;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: #b45309 transparent;
    flex: 1;
}
.memory-scroll::-webkit-scrollbar { width: 6px; }
.memory-scroll::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 8px;
}
.home-memory {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    flex: 0 0 auto;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(180, 140, 70, 0.22);
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.home-memory:hover {
    color: inherit;
    border-color: rgba(154, 52, 18, 0.35);
    box-shadow: 0 4px 14px rgba(92, 61, 30, 0.08);
}
.home-memory img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.home-memory-mark {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3ebe0;
    color: #9a3412;
    font-size: 1.1rem;
}
.home-memory-body {
    padding: 0.45rem 0.55rem 0.45rem 0;
    min-width: 0;
}
.home-memory h3 {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    line-height: 1.25;
    color: #5c3d1e;
    margin: 0;
}
.home-memory-years {
    margin: 0.15rem 0 0;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: #a16207;
}
.home-memory-tribute {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: #7c6a52;
}
.memory-panel .link-arrow {
    margin-top: 0.7rem;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .home-split { grid-template-columns: 1fr; }
    .home-market-split { grid-template-columns: 1fr; }
    .memory-scroll { max-height: 280px; }
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.memory-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(180, 140, 70, 0.22);
}
.memory-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.memory-card-body { padding: 1rem 1.05rem 1.15rem; }
.memory-card h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #5c3d1e;
    margin-bottom: 0.2rem;
}

/* ─── Contact ─── */
.contact-layout { align-items: start; }

.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-bg);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    background: var(--color-surface);
    box-shadow: 0 0 0 4px rgba(13, 122, 95, 0.12);
}

.map-embed iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

.map-placeholder {
    background: var(--color-bg-alt);
    padding: 3rem;
    text-align: center;
    border-radius: var(--radius);
    color: var(--color-text-muted);
    border: 2px dashed var(--color-border);
}

/* ─── Complaints ─── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-bg);
    transition: all var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary-light);
    background: var(--color-surface);
    box-shadow: 0 0 0 4px rgba(13, 122, 95, 0.12);
}

.required { color: var(--color-coral); }

.optional {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.complaint-tips li { font-size: 0.9rem; color: var(--color-text-muted); }

.complaint-success {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.complaint-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.complaint-success h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.complaint-ref-box {
    display: inline-block;
    margin: 1.5rem 0;
    padding: 1.25rem 2rem;
    background: var(--color-bg-alt);
    border: 2px dashed var(--color-primary-light);
    border-radius: var(--radius);
}

.complaint-ref-box span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.complaint-ref-box strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.complaint-success-note {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

/* ─── Alerts & Empty ─── */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error { background: #ffe4e6; color: #9f1239; border: 1px solid #fda4af; }

.empty-state {
    text-align: center;
    color: var(--color-text-muted);
    padding: 4rem 2rem;
    background: var(--color-surface);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
}

/* ─── Footer ─── */
.site-footer {
    background: linear-gradient(160deg, #064a3a 0%, #0d7a5f 50%, #064a3a 100%);
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.footer-logo {
    width: 64px;
    height: 64px;
    display: block;
    margin-bottom: 0.85rem;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
    transition: transform var(--transition);
}

.footer-brand:hover .footer-logo { transform: none; }

.footer-contact h4,
.footer-links h4,
.footer-lang h4 {
    color: var(--color-accent-light);
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    transition: all var(--transition);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--color-accent-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.35rem 0;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 1.5rem;
        align-items: center;
    }

    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-visual {
        display: flex;
        order: -1;
        min-height: 170px;
        align-items: center;
        justify-content: center;
    }
    .hero-emblem-wrap { width: 150px; height: 150px; }
    .hero-emblem { width: 140px; }
    .hero--home { min-height: 0; padding: 2rem 0 2.5rem; }
    .hero-bird-slot--3, .hero-bird-slot--4 { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .logo-img { height: 56px; width: 56px; }
    .logo-text strong { font-size: 1rem; }
    .form-row { grid-template-columns: 1fr; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open { display: flex; }

    .hero--home { padding-top: 1.75rem; padding-bottom: 2rem; }
    .hero-inner { gap: 1.25rem; }
    .two-col { grid-template-columns: 1fr; }
    .member-grid--officers { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .member-grid--officers { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.85rem; }
    .hero-sub { letter-spacing: 0.22em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.directory-search {
    flex: 1;
    min-width: 240px;
}

.directory-search input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.1rem;
    font-size: 0.95rem;
    background: #fff;
}

.directory-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(13, 122, 95, 0.12);
}

.directory-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.house-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.7rem;
}

.house-tile {
    appearance: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 0.7rem 0.35rem 0.55rem;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.house-tile:hover,
.house-tile:focus-visible,
.house-tile.is-open {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(6, 74, 58, 0.12);
    outline: none;
}

.house-icon {
    display: block;
    width: 42px;
    height: 38px;
    margin: 0 auto 0.2rem;
}

.house-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.house-icon .house-body { fill: #f8f4ea; }
.house-icon .house-door { fill: #6b3f24; }
.house-icon .house-win { fill: #8ecae6; }
.house-icon .house-chimney { fill: #5c4033; }
.house-tile--a .house-roof { fill: #8b5a2b; }
.house-tile--b .house-roof { fill: #c45c26; }
.house-tile--c .house-roof { fill: #1f6f54; }
.house-tile--d .house-roof { fill: #c9a227; }
.house-tile--vacant {
    opacity: 0.72;
    background: #f6f7f8;
}
.house-tile--vacant .house-roof { fill: #9aa3ad; }
.house-tile--vacant .house-body { fill: #e8eaed; }
.house-tile--vacant .house-door,
.house-tile--vacant .house-chimney { fill: #7b8490; }
.house-tile--vacant .house-win { fill: #cfd6dc; }
.house-tile--build .house-roof { fill: #d97706; }
.house-tile--build .house-body { fill: #fff7ed; }

.house-num {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
}

.directory-empty {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.house-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    background: rgba(8, 36, 24, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.house-modal[hidden] { display: none; }

.house-modal-card {
    background: #fff;
    border-radius: 20px;
    width: min(460px, 100%);
    padding: 1.6rem 1.5rem 1.4rem;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.house-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
}

.house-modal-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.house-modal-card h2 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    margin-bottom: 0.55rem;
    color: var(--color-primary-dark);
}

.house-status {
    display: inline-block;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #dcfce7;
    color: #166534;
    margin-bottom: 1rem;
}

.house-status--vacant { background: #f3f4f6; color: #4b5563; }
.house-status--construction { background: #ffedd5; color: #9a3412; }

.house-facts {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.2rem;
}

.house-facts div[hidden] { display: none; }

.house-facts dt {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.house-facts dd {
    margin: 0.1rem 0 0;
    color: var(--color-text);
    font-weight: 600;
}

/* ─── East Paddy Lane fun bits ─── */
.lane-fun {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    overflow: hidden;
}

.fun-sun {
    position: absolute;
    top: 92px;
    right: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff7ae, #f5a623 55%, #e85d04);
    box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.18), 0 0 28px rgba(245, 166, 35, 0.45);
    animation: sunSpin 16s linear infinite;
}

.fun-sun::before,
.fun-sun::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 58%;
    width: 10px;
    height: 10px;
    margin-left: -16px;
    border-radius: 50%;
    background: #6b3f24;
}
.fun-sun::after {
    margin-left: 6px;
}

.fun-dragonfly {
    position: absolute;
    top: 180px;
    left: -40px;
    width: 28px;
    height: 10px;
    background: #38bdf8;
    border-radius: 8px;
    animation: dragonflyFly 18s linear infinite;
    box-shadow: 10px -6px 0 4px rgba(167, 243, 208, 0.9), 10px 6px 0 4px rgba(196, 181, 253, 0.9);
}

.fun-grain {
    position: absolute;
    width: 10px;
    height: 18px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(#f5d76e, #d4a017);
    animation: grainBob 4.5s ease-in-out infinite;
}
.fun-grain--1 { top: 38%; left: 18px; animation-delay: 0s; }
.fun-grain--2 { top: 58%; right: 22px; background: linear-gradient(#86efac, #16a34a); animation-delay: 0.8s; }
.fun-grain--3 { bottom: 18%; left: 42px; background: linear-gradient(#fdba74, #ea580c); animation-delay: 1.4s; }

.fun-house {
    position: absolute;
    width: 22px;
    height: 16px;
    background: #fff6e8;
    border-radius: 2px;
    animation: houseHop 5s ease-in-out infinite;
}
.fun-house::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -10px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 12px solid var(--roof, #c45c26);
}
.fun-house--1 { bottom: 120px; right: 8%; --roof: #e76f51; animation-delay: 0.2s; }
.fun-house--2 { bottom: 160px; left: 6%; --roof: #2a9d8f; animation-delay: 1s; }
.fun-house--3 { top: 46%; right: 6%; --roof: #e9c46a; animation-delay: 1.8s; }

.fun-stalk {
    position: absolute;
    width: 6px;
    height: 70px;
    background: linear-gradient(#4ade80, #166534);
    border-radius: 6px;
    transform-origin: bottom center;
    animation: stalkSway 3.4s ease-in-out infinite;
}
.fun-stalk::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #facc15;
}
.fun-stalk--1 { bottom: 90px; left: 28%; animation-delay: 0.3s; }
.fun-stalk--2 { bottom: 110px; right: 22%; animation-delay: 1.1s; }

@keyframes sunSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes dragonflyFly {
    0% { transform: translate(0, 0) rotate(-8deg); }
    50% { transform: translate(70vw, 40px) rotate(12deg); }
    100% { transform: translate(110vw, -20px) rotate(-6deg); }
}
@keyframes grainBob {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-14px) rotate(10deg); }
}
@keyframes houseHop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes stalkSway {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

.paddy-terrace {
    display: flex;
    height: 18px;
    overflow: hidden;
}
.paddy-terrace span {
    flex: 1;
}
.paddy-terrace span:nth-child(1) { background: #14532d; }
.paddy-terrace span:nth-child(2) { background: #22c55e; transform: translateY(4px); }
.paddy-terrace span:nth-child(3) { background: #84cc16; }
.paddy-terrace span:nth-child(4) { background: #facc15; transform: translateY(3px); }

.footer-lane {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    padding: 0.85rem 1rem 0.15rem;
    position: relative;
    z-index: 1;
}
.lane-house {
    width: 18px;
    height: 12px;
    background: #fff8e7;
    border-radius: 1px;
    position: relative;
    animation: houseHop 3.6s ease-in-out infinite;
}
.lane-house:nth-child(odd) { animation-delay: 0.4s; }
.lane-house::before {
    content: '';
    position: absolute;
    left: -5px;
    top: -8px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 10px solid var(--c, #c45c26);
}

.footer-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0;
    position: relative;
    z-index: 1;
}
.footer-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    color: #14332a !important;
    transform: none !important;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.footer-chip strong {
    display: block;
    font-size: 1.02rem;
}
.footer-chip small {
    display: block;
    opacity: 0.78;
    font-size: 0.78rem;
    line-height: 1.35;
}
.footer-chip-ico {
    font-size: 1.45rem;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}
.footer-chip--docs { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.footer-chip--contact { background: linear-gradient(135deg, #6ee7b7, #34d399); }
.footer-chip:hover {
    filter: brightness(1.05);
    transform: translateY(-3px) !important;
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 8%;
    bottom: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #facc15;
    box-shadow:
        70px 6px 0 0 #fb923c,
        140px 0 0 0 #4ade80,
        210px 8px 0 0 #38bdf8,
        280px 2px 0 0 #f472b6;
    opacity: 0.85;
    z-index: 1;
    animation: pageHeroBalls 3.6s ease-in-out infinite;
    will-change: transform;
}
@keyframes pageHeroBalls {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow:
            70px 6px 0 0 #fb923c,
            140px 0 0 0 #4ade80,
            210px 8px 0 0 #38bdf8,
            280px 2px 0 0 #f472b6;
    }
    25% {
        transform: translateY(-10px) scale(1.04);
        box-shadow:
            68px -4px 0 0 #fb923c,
            142px 10px 0 0 #4ade80,
            208px -2px 0 0 #38bdf8,
            282px 12px 0 0 #f472b6;
    }
    50% {
        transform: translateY(-4px) scale(1);
        box-shadow:
            72px 10px 0 0 #fb923c,
            138px -6px 0 0 #4ade80,
            212px 12px 0 0 #38bdf8,
            278px -4px 0 0 #f472b6;
    }
    75% {
        transform: translateY(-12px) scale(1.03);
        box-shadow:
            66px 2px 0 0 #fb923c,
            144px 8px 0 0 #4ade80,
            206px -8px 0 0 #38bdf8,
            284px 6px 0 0 #f472b6;
    }
}
@media (prefers-reduced-motion: reduce) {
    .page-hero::after,
    .page-hero-inner::after,
    .section-header h2::after {
        animation: none !important;
    }
}

@media (max-width: 800px) {
    .footer-highlights { grid-template-columns: 1fr; }
    .fun-house--3,
    .fun-stalk--2,
    .fun-dragonfly { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lane-fun span,
    .lane-house,
    .fun-sun,
    .hero-bird-slot,
    .hero-bird-wing--up,
    .hero-bird-wing--down,
    .hero-emblem { animation: none !important; }
}

/* ─── Marketplace ─── */
.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}
.market-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
}
.market-side {
    position: sticky;
    top: 5.5rem;
}
.market-search input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    background: #fff;
}
.market-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.12);
}
.market-side-label {
    margin: 1.35rem 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.market-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.market-nav button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--color-text);
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}
.market-nav button span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    pointer-events: none;
}
.market-nav button em,
.market-nav em {
    font-style: normal;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    pointer-events: none;
}
.market-nav button:hover { background: rgba(13, 122, 95, 0.06); }
.market-nav button.is-active {
    background: #0d7a5f;
    color: #fff;
}
.market-nav button.is-active em { color: rgba(255, 255, 255, 0.8); }
.market-nav .market-ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.market-side-note {
    margin-top: 1.4rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}
.market-count {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.market-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}
.market-listing {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 170px;
    gap: 1.1rem;
    padding: 1.25rem 0.15rem 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    align-items: start;
}
.market-listing[hidden],
.market-listing.is-filter-hidden {
    display: none !important;
}
.market-listing-mark {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #eef6f2;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.market-listing-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.market-listing-mark .market-ico {
    width: 24px;
    height: 24px;
}
.market-listing-cat {
    margin: 0 0 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.market-listing h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 0.35rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}
.market-listing-desc {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    color: var(--color-text);
    max-width: 42rem;
}
.market-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.1rem;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.market-listing-contact {
    text-align: right;
    padding-top: 0.15rem;
}
.market-phone {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.01em;
}
.market-links {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
}
.market-links a { color: var(--color-primary); }
.home-market-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}
.home-market-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
    color: inherit;
}
.home-market-row:hover { color: inherit; }
.home-market-row:hover strong { color: var(--color-primary); }
.home-market-ico {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eef6f2;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-market-ico .market-ico { width: 18px; height: 18px; }
.home-market-copy { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.home-market-copy strong {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    color: var(--color-primary-dark);
}
.home-market-copy small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.admin-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    margin-top: 1.6rem;
}
@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }
}
@media (max-width: 860px) {
    .market-layout { grid-template-columns: 1fr; gap: 1.25rem; }
    .market-side { position: static; }
    .market-nav { flex-direction: row; flex-wrap: wrap; }
    .market-nav button { width: auto; }
    .market-listing {
        grid-template-columns: 48px minmax(0, 1fr);
    }
    .market-listing-contact {
        grid-column: 2;
        text-align: left;
    }
    .market-links { justify-content: flex-start; }
}

/* ─── Mobile / phone layout ─── */
html { -webkit-text-size-adjust: 100%; }
body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
    .nav-toggle {
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    .main-nav {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 0.5rem 1rem 1.25rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
    .main-nav a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.7rem 0.9rem;
        font-size: 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    .header-inner {
        padding: 0.45rem 0;
        gap: 0.5rem;
    }
    .logo { gap: 0.55rem; min-width: 0; }
    .logo-text strong { font-size: 0.95rem; line-height: 1.2; }
    .logo-text small { font-size: 0.62rem; letter-spacing: 0.04em; }

    .section { padding: 2.5rem 0; }
    .page-home .section { padding: 2rem 0; }
    .page-home .section + .section { padding-top: 0.85rem; }
    .page-home .section-header { margin-bottom: 1.25rem; }
    .page-home .hero--home { padding: 2rem 0 2.25rem; }
    .section-tight { padding: 2rem 0 2.5rem; }
    .page-hero,
    .page-hero--committee { padding: 2.25rem 0; }
    .page-hero h1 { font-size: 1.7rem; }
    .hero h1 { font-size: 1.85rem; }
    .hero-lead { font-size: 0.95rem; }
    .hero-actions { justify-content: center; }
    .hero-actions .btn {
        min-height: 44px;
        flex: 1 1 160px;
    }

    .btn { min-height: 44px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2.25rem 0 2rem;
    }
    .contact-form { padding: 1.25rem; }
    .announcement-item { padding: 1.25rem; }

    .album-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
    .album-cover { height: 130px; }
    .house-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
    .house-tile { min-height: 72px; }
    .house-modal {
        align-items: flex-end;
        padding: 0;
    }
    .house-modal-card {
        width: 100%;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        padding: 1.35rem 1.15rem max(1.25rem, env(safe-area-inset-bottom));
    }
    .house-modal-close {
        width: 44px;
        height: 44px;
        top: 0.35rem;
        right: 0.35rem;
    }
    .lightbox { padding: 3.5rem 0.75rem 1.25rem; }
    .lightbox-figure img { max-height: 68vh; }
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    .lightbox-close { top: 0.5rem; right: 0.5rem; }
    .lightbox-prev { left: 0.25rem; }
    .lightbox-next { right: 0.25rem; }
    .table-wrap { -webkit-overflow-scrolling: touch; }
    .committee-table { min-width: 560px; }
    .directory-toolbar,
    .market-tools {
        flex-direction: column;
        align-items: stretch;
    }
    input, select, textarea { font-size: 16px !important; }
    .map-embed iframe { height: 220px; }
}

@media (max-width: 480px) {
    .album-grid { grid-template-columns: 1fr; }
    .member-grid--officers { grid-template-columns: 1fr; }
    .hero-emblem-wrap { width: 120px; height: 120px; }
    .hero-emblem { width: 110px; }
    .market-listing { grid-template-columns: 1fr; }
    .market-listing-contact { grid-column: 1; }
}

/* ─── Website launch ceremony ─── */
.launch-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #031912;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.launch-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 166, 35, 0.18), transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(18, 160, 122, 0.22), transparent 45%),
        linear-gradient(145deg, #031912 0%, #064a3a 45%, #0a5c47 100%);
}

.launch-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: floatSlow 12s ease-in-out infinite;
}
.launch-orb--1 { width: 280px; height: 280px; background: #f5a623; top: 8%; left: 10%; }
.launch-orb--2 { width: 220px; height: 220px; background: #12a07a; bottom: 12%; right: 8%; animation-delay: -4s; }
.launch-orb--3 { width: 180px; height: 180px; background: #ffc857; top: 55%; left: 55%; animation-delay: -7s; }

.launch-grain {
    position: absolute;
    font-size: 2rem;
    opacity: 0.35;
    animation: riceSway 4s ease-in-out infinite;
}
.launch-grain { top: 18%; right: 14%; }
.launch-grain--2 { top: 62%; left: 10%; animation-delay: -1.5s; font-size: 1.6rem; }
.launch-grain--3 { bottom: 16%; right: 22%; animation-delay: -2.5s; font-size: 1.4rem; }

.launch-curtain {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 50vw;
    z-index: 30;
    background: linear-gradient(180deg, #064a3a, #031912);
    transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
    opacity: 0;
}
.launch-curtain--left { left: 0; border-right: 1px solid rgba(245, 166, 35, 0.25); transform: translateX(-100%); }
.launch-curtain--right { right: 0; border-left: 1px solid rgba(245, 166, 35, 0.25); transform: translateX(100%); }
.launch-page.is-launching .launch-curtain { opacity: 1; }
.launch-page.is-launching .launch-curtain--left { transform: translateX(0); }
.launch-page.is-launching .launch-curtain--right { transform: translateX(0); }
.launch-page.is-open .launch-curtain--left { transform: translateX(-100%); }
.launch-page.is-open .launch-curtain--right { transform: translateX(100%); }

.launch-confetti {
    position: fixed;
    inset: 0;
    z-index: 25;
    pointer-events: none;
}

.launch-flash {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.launch-flash.is-active { opacity: 1; }

.launch-stage {
    position: relative;
    z-index: 40;
    width: 100%;
    padding: 1.5rem;
    transition: opacity 0.6s ease, transform 0.8s ease;
}
.launch-page.is-launching .launch-stage {
    opacity: 0;
    transform: scale(1.04);
}

.launch-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 2.25rem 1.75rem 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.launch-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffc857;
    margin-bottom: 1rem;
}

.launch-logo {
    margin: 0 auto 1rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
    animation: launchLogoFloat 4s ease-in-out infinite;
}

@keyframes launchLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.launch-title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.launch-sub {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
}

.launch-headline {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffc857;
    margin-bottom: 0.35rem;
}

.launch-date {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.launch-president {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.launch-president-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(245, 166, 35, 0.55);
    flex-shrink: 0;
}
.launch-president-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d7a5f, #064a3a);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.launch-president-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.15rem;
}

.launch-president-name {
    font-size: 1.05rem;
    color: #fff;
}

.launch-invite {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.35rem;
}

.launch-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 280px);
    min-height: 58px;
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    color: #3f2a00;
    background: linear-gradient(135deg, #f5a623, #ffc857);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.launch-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 48px rgba(245, 166, 35, 0.55);
}
.launch-btn:disabled { cursor: default; opacity: 0.85; }
.launch-btn.is-launching { transform: scale(0.96); }

.launch-btn-ring {
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 2px solid rgba(255, 200, 87, 0.55);
    animation: launchPulse 2s ease-out infinite;
}
@keyframes launchPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.18); opacity: 0; }
}

.launch-btn-text { position: relative; z-index: 1; }

.launch-hint {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.launch-skip {
    display: inline-block;
    margin-top: 1.35rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.launch-skip:hover { color: #ffc857; }

.launch-welcome {
    background: linear-gradient(90deg, #064a3a, #0d7a5f);
    color: #fff;
    border-bottom: 1px solid rgba(245, 166, 35, 0.35);
    animation: launchWelcomeIn 0.6s ease;
}
@keyframes launchWelcomeIn {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}
.launch-welcome.is-hidden { display: none; }

.launch-welcome-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    position: relative;
}
.launch-welcome-badge { font-size: 1.25rem; flex-shrink: 0; }
.launch-welcome-inner p {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}
.launch-welcome-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 520px) {
    .launch-card { padding: 1.75rem 1.15rem 1.5rem; border-radius: 22px; }
    .launch-president { flex-direction: column; text-align: center; }
    .launch-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .launch-logo,
    .launch-orb,
    .launch-grain,
    .launch-btn-ring { animation: none !important; }
    .launch-curtain,
    .launch-stage,
    .launch-flash { transition: none !important; }
}

.contact-phones { line-height: 1.7; }
.contact-phones a { color: inherit; text-decoration: none; font-weight: 600; }
.contact-phones a:hover { color: var(--color-primary-light); text-decoration: underline; }
.info-list .contact-phones { display: inline-block; vertical-align: top; }

