:root {
    --bg: #08090b;
    --bg-soft: #111318;
    --bg-card: rgba(18, 19, 23, 0.86);
    --gold: #b9975b;
    --gold-light: #e0c381;
    --wine: #5f1028;
    --text: #f2e8d6;
    --muted: #c9baa0;
    --line: rgba(185, 151, 91, 0.28);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 9999;
    background: var(--gold);
    color: #08090b;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.top-tartan {
    height: 10px;
    background: url("tartan-strip.png") center/auto 100% repeat-x;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 9, 11, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(8, 9, 11, 0.96);
    box-shadow: var(--shadow);
}

.nav {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    min-width: 245px;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(185, 151, 91, 0.08);
}

.brand-text strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 0.45rem 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.22rem;
    width: 0;
    height: 1px;
    background: var(--gold-light);
    transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: calc(100vh - 77px);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: url("hero-image.jpg") center/cover no-repeat;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(8, 9, 11, 0.20), rgba(8, 9, 11, 0.88) 72%),
                linear-gradient(180deg, rgba(8, 9, 11, 0.15), rgba(8, 9, 11, 0.92));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78px;
    background: url("tartan-strip.png") center/auto 92px repeat-x;
    opacity: 0.72;
    border-top: 1px solid rgba(185, 151, 91, 0.25);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.28;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 5rem 1.25rem 8rem;
}

.hero-logo {
    width: min(180px, 42vw);
    height: min(180px, 42vw);
    object-fit: cover;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 8px rgba(185, 151, 91, 0.08), 0 22px 55px rgba(0, 0, 0, 0.6);
}

.eyebrow {
    color: var(--gold-light);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.hero h1,
.section h2,
.site-footer h2 {
    color: var(--text);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5.4rem);
    text-shadow: 0 14px 38px rgba(0, 0, 0, 0.85);
}

.hero-text {
    max-width: 660px;
    margin: 1.1rem auto 1.8rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions,
.membership-box .btn {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #09090b;
    box-shadow: 0 14px 36px rgba(185, 151, 91, 0.22);
}

.btn-secondary {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(8, 9, 11, 0.36);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 1.25rem;
    position: relative;
}

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

.narrow {
    max-width: 820px;
    text-align: center;
}

.section-title {
    max-width: 820px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.section h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1rem;
}

.section p {
    color: var(--muted);
    font-size: 1.04rem;
}

.about-section {
    background: linear-gradient(90deg, rgba(8, 9, 11, 0.96), rgba(8, 9, 11, 0.72)), url("about-bg.jpg") center/cover no-repeat;
}

.about-grid,
.two-column,
.membership-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 4.5rem);
}

.about-copy p + p {
    margin-top: 0.9rem;
}

.about-image,
.gallery-item,
.stat-card,
.membership-box,
.card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-image {
    overflow: hidden;
    border-radius: 26px;
    background: #111;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.dark-panel {
    background: linear-gradient(135deg, rgba(17,19,24,0.96), rgba(8,9,11,0.95));
    border-top: 1px solid rgba(185, 151, 91, 0.12);
    border-bottom: 1px solid rgba(185, 151, 91, 0.12);
}

.stat-card {
    min-height: 260px;
    border-radius: 26px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, rgba(95, 16, 40, 0.84), rgba(9, 9, 11, 0.92)), url("tartan-strip.png") center/cover no-repeat;
}

.stat-card span {
    color: var(--gold-light);
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 1;
}

.stat-card strong {
    display: block;
    margin: 1rem 0 0.4rem;
    font-size: 1.15rem;
}

.stat-card small {
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.card {
    border-radius: 24px;
    background: var(--bg-card);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 195, 129, 0.75);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--gold-light);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(185, 151, 91, 0.08);
}

.card h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin-bottom: 0.55rem;
}

.officers-section {
    background: linear-gradient(180deg, #08090b, #101116);
}

.officer-cards .card p {
    color: var(--gold-light);
    font-weight: 700;
}

.charity-section {
    background: linear-gradient(rgba(8, 9, 11, 0.82), rgba(8, 9, 11, 0.90)), url("footer-bg.jpg") center/cover no-repeat fixed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 22px;
    background: var(--bg-soft);
    min-height: 250px;
}

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

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

.membership {
    background: linear-gradient(180deg, #08090b, #111318);
}

.membership-box {
    border-radius: 30px;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: linear-gradient(135deg, rgba(95, 16, 40, 0.42), rgba(17, 19, 24, 0.92)), url("tartan-strip.png") center/cover no-repeat;
}

.membership-logo {
    width: min(260px, 70vw);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    justify-self: center;
}

.membership-box .btn {
    margin-top: 1.2rem;
}


/* =========================
   CONTACT FORM
========================= */
.contact-section {
    background:
        radial-gradient(circle at top left, rgba(185, 151, 91, 0.14), transparent 32%),
        linear-gradient(180deg, #101116, #08090b);
    border-top: 1px solid rgba(185, 151, 91, 0.12);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: clamp(2rem, 6vw, 4.5rem);
}

.contact-details {
    list-style: none;
    margin-top: 1.8rem;
    display: grid;
    gap: 1rem;
}

.contact-details li {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(18, 19, 23, 0.72);
}

.contact-details strong {
    display: block;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.contact-details span {
    color: var(--muted);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(95, 16, 40, 0.26), rgba(17, 19, 24, 0.94)),
        rgba(18, 19, 23, 0.92);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    gap: 0.4rem;
}

.form-row.full,
.contact-form .btn,
.contact-status {
    grid-column: 1 / -1;
}

.contact-form label {
    color: var(--gold-light);
    font-size: 0.84rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(185, 151, 91, 0.32);
    border-radius: 14px;
    background: rgba(8, 9, 11, 0.72);
    color: var(--text);
    font: inherit;
    padding: 0.85rem 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(185, 151, 91, 0.12);
    background: rgba(8, 9, 11, 0.9);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(201, 186, 160, 0.55);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-status {
    min-height: 1.4rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-status.success {
    color: #d7f5d0;
}

.contact-status.error {
    color: #ffd2d2;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: url("footer-bg.jpg") center/cover no-repeat;
    border-top: 1px solid var(--line);
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.86), rgba(8, 9, 11, 0.97));
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1.25rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr 0.8fr;
    gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
}

.site-footer li + li {
    margin-top: 0.45rem;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(185, 151, 91, 0.22);
    color: rgba(242, 232, 214, 0.62);
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1120px) {
    .nav-links {
        gap: 0.72rem;
    }

    .nav-links a {
        font-size: 0.86rem;
    }
}

@media (max-width: 980px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.7rem;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(8, 9, 11, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 0.9rem;
        border-radius: 12px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(185, 151, 91, 0.08);
    }

    .nav-links a::after {
        display: none;
    }

    .about-grid,
    .two-column,
    .membership-box,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .membership-box {
        text-align: center;
    }
}

@media (max-width: 620px) {
    .brand {
        min-width: auto;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.68rem;
    }

    .hero {
        min-height: 86vh;
    }

    .hero-content {
        padding-top: 3.5rem;
    }

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

    .about-image img,
    .gallery-item,
    .gallery-item img {
        min-height: 220px;
        height: 260px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

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