:root {
    --ink: #302c32;
    --ink-soft: #5b555c;
    --paper: #f5f3f1;
    --gold: #ffb310;
    --gold-deep: #d87916;
    --burgundy: #eb9010;
    --orange: #eb9010;
    --white: #fff;
    --wsma-charcoal: #3a353c;
    --wsma-charcoal-deep: #242127;
    --wsma-orange: #eb9010;
    --wsma-orange-hover: #eb742f;
    --wsma-gold: #ffb310;
    --wsma-gold-soft: #f7c784;
    --wsma-ice: #f5f3f1;
    --wsma-line: #ddd6cf;
    --shadow: rgba(24, 20, 26, 0.3);
}

body {
    color: var(--wsma-charcoal);
    background: var(--wsma-ice);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-kicker,
.btn,
.nav-link {
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    height: 108px;
}

.main-nav {
    top: 18px;
    padding: 10px 14px 11px;
    background:
        linear-gradient(
            90deg,
            rgba(58, 53, 60, 0.95) 0 calc(50% - 82px),
            transparent calc(50% - 82px) calc(50% + 82px),
            rgba(58, 53, 60, 0.95) calc(50% + 82px) 100%
        );
    border-top: 2px solid var(--wsma-orange);
    border-bottom: 2px solid rgba(255, 179, 16, 0.75);
    box-shadow: 0 14px 30px rgba(22, 18, 24, 0.32);
}

.nav-link {
    color: #fff;
    font-size: 12px;
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

.nav-link em {
    margin-top: 5px;
    color: var(--wsma-gold-soft);
    font-size: 9px;
    letter-spacing: 0.7px;
}

.home-icon::before,
.home-icon::after {
    background: var(--wsma-gold);
}

.mail-icon {
    color: var(--wsma-gold);
}

.dropdown {
    background: rgba(36, 33, 39, 0.98);
    border-top: 3px solid var(--wsma-orange);
}

.dropdown a,
.dropdown-link {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.dropdown a:hover,
.dropdown-link:hover {
    color: var(--wsma-gold);
    background: rgba(235, 144, 16, 0.16);
}

.crest-link {
    top: 15px;
    width: 108px;
    height: 108px;
    padding: 5px;
    border: 2px solid rgba(255, 179, 16, 0.75);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 16, 20, 0.34);
}

.crest-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero {
    background: var(--wsma-charcoal-deep);
}

.hero-slide {
    background-position: center;
    filter: brightness(0.68) saturate(0.92);
}

.hero-slide.is-active {
    filter: brightness(0.96) saturate(1.02);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(20, 17, 22, 0.5), rgba(20, 17, 22, 0.2) 42%, rgba(20, 17, 22, 0.65)),
        linear-gradient(90deg, rgba(20, 17, 22, 0.28), transparent 34%, transparent 66%, rgba(20, 17, 22, 0.28));
}

.hero-content {
    max-width: 1120px;
    margin-top: 78px;
}

.hero-theme {
    margin-bottom: 30px;
    color: var(--wsma-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 3.1vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.62);
    animation: none;
}

.hero :is(h1, h2.hero-slide-title) {
    margin-bottom: 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 8px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-sub,
.hero-variation {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.78);
}

.hero-sub {
    font-size: clamp(17px, 1.55vw, 25px);
    letter-spacing: 2px;
}

.hero-rule {
    width: 84px;
    height: 4px;
    background: var(--wsma-orange);
}

.hero-variation {
    color: #fff;
    font-size: clamp(15px, 1.16vw, 20px);
    letter-spacing: 1.6px;
}

.hero-arrow {
    width: 52px;
    background: rgba(58, 53, 60, 0.72);
    border-top: 1px solid rgba(247, 199, 132, 0.55);
    border-bottom: 1px solid rgba(247, 199, 132, 0.55);
}

.hero-down {
    border-color: var(--wsma-gold-soft);
}

.intro-band,
.directions-section,
.content-section,
.page-section {
    background: #fff;
}

.intro-band {
    border-top: 5px solid var(--wsma-orange);
}

.intro-band h2,
.directions-head h2,
.section-heading,
.content-section h1,
.content-section h2,
.page-section h1,
.page-section h2 {
    color: var(--wsma-charcoal);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.intro-band p,
.directions-head p:last-child {
    color: var(--ink-soft);
}

.section-kicker,
.eyebrow {
    color: var(--wsma-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.directions-section {
    border-top: 1px solid var(--wsma-line);
}

.direction-card {
    min-height: 440px;
    border: 0;
    border-bottom: 5px solid var(--wsma-orange);
    border-radius: 0;
    background: var(--wsma-charcoal);
    box-shadow: 0 16px 36px rgba(26, 22, 28, 0.18);
}

.direction-card::before {
    background: linear-gradient(180deg, rgba(25, 22, 27, 0.04), rgba(25, 22, 27, 0.92));
}

.direction-card::after {
    border-color: rgba(247, 199, 132, 0.55);
}

.direction-card p {
    color: var(--wsma-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.direction-card h3 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.direction-card em {
    color: #eee9e3;
    font-family: Arial, Helvetica, sans-serif;
}

.directions-dialogue {
    border-left-color: var(--wsma-orange);
    background: #f7f4f0;
}

.visibility-strip {
    background: var(--wsma-charcoal);
    border-top: 4px solid var(--wsma-orange);
    border-bottom: 4px solid var(--wsma-gold);
}

.visibility-strip,
.visibility-strip h2,
.visibility-strip h3,
.visibility-strip p {
    color: #fff;
}

.info-cards,
.action-spotlight {
    background: #f4f1ed;
}

.spotlight-shell {
    background: #fff;
    border: 1px solid var(--wsma-line);
    border-radius: 0;
    box-shadow: 0 18px 42px rgba(25, 22, 27, 0.14);
}

.spotlight-copy {
    border-top: 5px solid var(--wsma-orange);
}

.spotlight-panel h2,
.spotlight-panel h3 {
    color: var(--wsma-charcoal);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

.spotlight-tab.is-active,
.spotlight-tab:hover {
    color: #fff;
    background: var(--wsma-orange);
}

.btn,
.ready-link,
button[type="submit"],
input[type="submit"] {
    border-radius: 2px;
    border-color: var(--wsma-orange);
    background: var(--wsma-orange);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.btn:hover,
.ready-link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    border-color: var(--wsma-orange-hover);
    background: var(--wsma-orange-hover);
}

.event-gallery {
    background: var(--wsma-charcoal-deep);
    border-top: 5px solid var(--wsma-orange);
}

.event-gallery,
.event-gallery h2,
.event-gallery p {
    color: #fff;
}

.event-gallery .section-kicker {
    color: var(--wsma-gold);
}

.event-arrow,
.event-counter {
    border-color: rgba(255, 179, 16, 0.7);
    background: rgba(36, 33, 39, 0.78);
}

.ready-to-join {
    border-color: var(--wsma-orange);
    background: #fff;
}

.ready-to-join .section-kicker {
    color: var(--wsma-orange);
}

.site-parallax::before {
    background: rgba(35, 31, 37, 0.6);
}

.logo-carousel {
    border-top: 4px solid var(--wsma-orange);
    background: #fff;
}

.site-footer {
    background: var(--wsma-charcoal-deep);
    border-top: 6px solid var(--wsma-orange);
    color: #eee9e3;
}

.site-footer h2,
.site-footer a:hover {
    color: var(--wsma-gold);
}

.copyright {
    border-top-color: rgba(247, 199, 132, 0.22);
    background: #171419;
}

@media (max-width: 980px) {
    .main-nav {
        background: rgba(58, 53, 60, 0.97);
    }

    .crest-link {
        width: 92px;
        height: 92px;
    }

    .hero :is(h1, h2.hero-slide-title) {
        letter-spacing: 4px;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    .site-header {
        height: 88px;
    }

    .main-nav {
        top: 10px;
        border-top-width: 1px;
    }

    .crest-link {
        top: 8px;
        width: 76px;
        height: 76px;
    }

    .nav-toggle span {
        background: var(--wsma-gold);
    }

    .nav-list {
        background: var(--wsma-charcoal-deep);
        border-top: 3px solid var(--wsma-orange);
    }

    .hero-content {
        margin-top: 58px;
    }

    .hero-theme {
        font-size: 25px;
        letter-spacing: 1.5px;
    }

    .hero :is(h1, h2.hero-slide-title) {
        font-size: 31px;
        letter-spacing: 2px;
    }

    .hero-sub,
    .hero-variation {
        letter-spacing: 0.7px;
    }

    .direction-card {
        min-height: 370px;
    }
}

/* Typography refinement: Bologna elegance with WSMA navigation accents. */
body {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.56;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.section-kicker, .eyebrow, .btn, .nav-link,
button, input, select, textarea {
    font-family: Arial, Helvetica, sans-serif;
}

.hero-theme {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700;
    letter-spacing: 1.4px;
}

.hero :is(h1, h2.hero-slide-title) {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.7vw, 56px);
    font-weight: 700;
    letter-spacing: 6px;
}

.hero-sub, .hero-variation {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.hero-sub {
    font-size: clamp(17px, 1.45vw, 23px);
    letter-spacing: 1.4px;
}

.hero-variation {
    font-size: clamp(15px, 1.08vw, 19px);
    letter-spacing: 1.1px;
}

.intro-band h2, .directions-head h2, .section-heading,
.content-section h1, .content-section h2,
.page-section h1, .page-section h2,
.direction-card h3,
.spotlight-panel h2, .spotlight-panel h3 {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.direction-card em {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .hero-theme { font-size: 25px; letter-spacing: 1px; }
    .hero :is(h1, h2.hero-slide-title) { font-size: 31px; letter-spacing: 2px; }
}

/* WSMA logo visibility and depth. The source PNG remains untouched. */
.crest-link img {
    filter:
        saturate(2.2)
        sepia(0.24)
        brightness(0.68)
        contrast(1.5)
        drop-shadow(0 1px 0 rgba(255, 194, 74, 0.95))
        drop-shadow(0 2px 1px rgba(120, 45, 0, 0.62))
        drop-shadow(0 6px 5px rgba(63, 27, 4, 0.44));
}

/* WSMA medallion depth. */
.crest-link {
    border-color: rgba(205, 111, 5, 0.9);
    background: #fff8e8;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.95),
        inset 0 -5px 10px rgba(190, 98, 0, 0.16),
        0 3px 0 rgba(114, 48, 0, 0.5),
        0 10px 24px rgba(18, 16, 20, 0.38);
}




/* Vienna Art navigation typography aligned with Vienna Green. */
.nav-link,
.dropdown a,
.dropdown-link {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    letter-spacing: 0;
}

.nav-link {
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.nav-link em {
    font-size: 9px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.dropdown a,
.dropdown-link {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
}

/* Slightly larger shared Vienna navigation scale. */
.nav-link { font-size: 14px; }
.nav-link em { font-size: 10px; }

/* Green-style whole navigation label highlight, using the Art gold accent. */
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-item:hover > .nav-link,
.site-header .nav-item:focus-within > .nav-link,
.site-header .nav-item.is-menu-open > .nav-link {
    color: var(--wsma-gold);
}

.site-header .nav-link:hover em,
.site-header .nav-link:focus em,
.site-header .nav-item:hover > .nav-link em,
.site-header .nav-item:focus-within > .nav-link em,
.site-header .nav-item.is-menu-open > .nav-link em {
    color: inherit;
}

.dropdown a,
.dropdown-link { font-size: 17px; }
/* Production-faithful Vienna Art moving news bar, rebuilt without Joomla. */
.site-announcement {
    display: flex;
    min-height: 42px;
    box-sizing: border-box;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
    background: #302037;
    border-bottom: 2px solid #ffb310;
    font: 600 14px/1.3 Arial, sans-serif;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.site-announcement ~ .site-header {
    position: fixed;
    top: var(--site-announcement-height, 36px);
}

@media (min-width: 1021px) {
    .site-header.is-scrolled .main-nav {
        background: var(--wsma-charcoal);
    }
}

.site-announcement ~ .site-header .main-nav,
.site-announcement ~ .site-header .crest-link {
    top: 0;
}

.site-announcement-label,
.site-announcement-all {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 18px;
    color: #302037;
    background: #ffb310;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-announcement-window {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.site-announcement-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: site-announcement-move 24s linear infinite;
}

.site-announcement-item {
    display: flex;
    flex: 0 0 auto;
    min-height: 40px;
    box-sizing: border-box;
    align-items: center;
    padding: 0 64px 0 24px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.site-announcement-item strong {
    color: #ffe3a1;
    letter-spacing: 0.04em;
}

.site-announcement-all {
    color: #302037;
    text-decoration: none;
}

.site-announcement-item:hover,
.site-announcement-item:focus-visible {
    color: #ffe3a1;
    text-decoration: underline;
}

.site-announcement-track:hover,
.site-announcement-track:focus-within {
    animation-play-state: paused;
}

.site-announcement-all:hover,
.site-announcement-all:focus-visible {
    color: #302037;
    background: #ffe3a1;
    text-decoration: underline;
}

@keyframes site-announcement-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
    .site-announcement-label {
        padding: 0 11px;
        font-size: 11px;
    }

    .site-announcement-item {
        padding-left: 16px;
        font-size: 12px;
    }

    .site-announcement-all {
        padding: 0 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-announcement-track {
        animation: none;
    }
}

/* GREEN's exact crest scale/lift, with the original Vienna Art gold artwork.
   The existing scroll handler and menu geometry remain unchanged. */
#top.site-header .crest-link {
    width: 140px;
    height: auto;
    min-height: 0;
    top: 10px;
    padding: 0;
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: width .26s ease, top .26s ease, transform .25s ease;
}
#top.site-header .crest-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    filter: url(#vart-crest-ink) drop-shadow(0 3px 9px rgba(0,0,0,.42));
}
@media (min-width: 1021px) {
    #top.site-header .main-nav {
        background: linear-gradient(90deg,
            rgba(24,20,27,.94) 0 calc(50% - 112px),
            transparent calc(50% - 112px) calc(50% + 112px),
            rgba(24,20,27,.94) calc(50% + 112px) 100%);
    }
    #top.site-header.is-scrolled .crest-link { width: 108px; top: 4px; }
}
@media (min-width: 1021px) and (max-width: 1324px) {
    #top.site-header:not(.is-scrolled) .crest-link { width: 118px; top: 14px; }
}
@media (min-width: 1021px) and (max-width: 1200px) {
    /* The existing Art grid is narrower here; keep the gap behind the crest,
       not behind neighbouring navigation labels. */
    #top.site-header .main-nav {
        background: linear-gradient(90deg,
            rgba(24,20,27,.94) 0 calc(50% - 70px),
            transparent calc(50% - 70px) calc(50% + 70px),
            rgba(24,20,27,.94) calc(50% + 70px) 100%);
    }
}
@media (max-width: 1020px) {
    #top.site-header { background: #18141b; }
    #top.site-header .main-nav { background: none; border: 0; box-shadow: none; }
    #top.site-header .crest-link { width: 94px; top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
    #top.site-header .crest-link { transition: none; }
}
