/*
Theme Name: SOT Stage
Theme URI: https://www.lamaisonbruyeres.com/
Author: Laura Sage
Author URI: https://www.lamaisonbruyeres.com/
Description: A modern theatrical WordPress theme for Shakespeare Opera Theatre.
Version: 1.0.0
Text Domain: sot-stage
*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --stage-bg: #f5f4f2;
    --stage-bg-soft: #f5f4f2;
    --stage-card: #f5f4f2;
    --stage-card-2: #f5f4f2;
    --stage-text: #343a40;
    --stage-muted: #797d7f;
    --stage-line: rgba(52, 58, 64, 0.18);
    --stage-accent: #cda355;
    --stage-accent-2: #006c67;
    --stage-white: #f5f4f2;
    --stage-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 2px 0 rgba(255, 255, 255, 0.35) inset;
    --stage-radius: 0.25rem;
    --stage-shell-width: 1260px;
    --stage-shell-height: min(88vh, 860px);
    --stage-transition: 220ms ease;
    --stage-header-padding-x: 1.5rem;
    --stage-main-padding-x: 1.25rem;
    --stage-footer-padding-x: 1.5rem;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    min-height: 100%;
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 30%),
        linear-gradient(135deg, #0b5a54 0%, #1c3f42 50%, #d6d0c6 100%);
    color: var(--stage-text);
    line-height: 1.5;
}

body.mobile-menu-open {
    overflow: hidden;
}

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

figure {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--stage-transition),
        opacity var(--stage-transition),
        background-color var(--stage-transition),
        border-color var(--stage-transition),
        transform var(--stage-transition),
        box-shadow var(--stage-transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.skip-link:focus,
.screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    color: #000;
    z-index: 9999;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--stage-accent-2);
    outline-offset: 3px;
}

/* =========================================================
   SHELL / GLOBAL LAYOUT
   ========================================================= */

.site-shell {
    position: relative;
    min-height: 100vh;
}

.stage-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.10), transparent 24%),
        radial-gradient(circle at 80% 15%, rgba(205, 163, 85, 0.14), transparent 20%),
        radial-gradient(circle at 78% 82%, rgba(15, 111, 103, 0.16), transparent 24%);
    filter: blur(36px);
    opacity: 0.7;
}

.stage-shell-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.stage-shell-card {
    width: min(100%, var(--stage-shell-width));
    min-height: min(100vh - 4rem, 960px);
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--stage-card);
    border-radius: var(--stage-radius);
    box-shadow: var(--stage-shadow);
    overflow: visible;
}

.stage-shell-main {
    flex: 1;
    min-height: 0;
    padding: 1rem var(--stage-main-padding-x);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.shell-home .stage-shell-main,
body.shell-home .site-main {
    display: flex;
    flex-direction: column;
}

body.shell-home .site-main {
    overflow: visible;
}

body.shell-home .hero-embla {
    flex: 0 0 auto;
}

body.shell-home .embla__viewport,
body.shell-home .embla__container,
body.shell-home .embla__slide {
    height: auto;
}

body.shell-home .hero-shell,
body.shell-home .hero-shell-home {
    min-height: clamp(400px, calc(100vh - 320px), 620px);
}

body.shell-interior .site-main {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 29, 25, 0.22) transparent;
}

body.shell-interior .site-main::-webkit-scrollbar {
    width: 10px;
}

body.shell-interior .site-main::-webkit-scrollbar-track {
    background: transparent;
}

body.shell-interior .site-main::-webkit-scrollbar-thumb {
    background: rgba(35, 29, 25, 0.16);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

body.shell-interior .site-main::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 29, 25, 0.28);
}

body.admin-bar.shell-home .stage-shell-main {
    min-height: calc(100vh - 200px);
    height: calc(100vh - 200px);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */

.stage-shell-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1rem var(--stage-header-padding-x);
    border-bottom: 1px solid rgba(52, 43, 36, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.12)),
        linear-gradient(180deg, #ece7df 0%, #e7e1d8 100%);
}

.stage-header-left,
.stage-header-right {
    min-width: 0;
    display: flex;
    align-items: center;
}

.stage-header-right {
    justify-content: flex-end;
    gap: 1rem;
}

.stage-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 62px;
}

.site-logo-link,
.site-logo-link-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo-link {
    width: 100%;
}

.site-logo {
    height: auto;
    width: clamp(180px, 28vw, 360px);
    max-height: clamp(48px, 7vh, 80px);
    object-fit: contain;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.site-logo-link-mobile,
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-panel {
    display: none;
}

.site-logo-mobile {
    width: clamp(140px, 45vw, 220px);
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    min-width: 0;
}

.desktop-nav.desktop-nav-pills {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
}

.desktop-nav.desktop-nav-pills .desktop-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    margin: 0;
    padding: 0.18rem;
    list-style: none;
    border: 1px solid rgba(0, 108, 103, 0.55);
    border-radius: 999px;
    background: transparent;
    flex-wrap: nowrap;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item {
    position: relative;
    z-index: 2;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item>a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    color: var(--stage-text);
    white-space: nowrap;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item>a::after {
    display: none;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children>a::before {
    content: "";
    width: 0.34rem;
    height: 0.34rem;
    margin-left: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    opacity: 0.55;
    transition: transform var(--stage-transition), opacity var(--stage-transition);
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item:hover>a,
.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item:focus-within>a,
.desktop-nav.desktop-nav-pills .desktop-menu>li.current-menu-item>a,
.desktop-nav.desktop-nav-pills .desktop-menu>li.current-menu-ancestor>a {
    color: #0f2f33;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children:hover>a::before,
.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children:focus-within>a::before,
.desktop-nav.desktop-nav-pills .desktop-menu>li.current-menu-item>a::before,
.desktop-nav.desktop-nav-pills .desktop-menu>li.current-menu-ancestor>a::before {
    transform: translateY(0) rotate(225deg);
    opacity: 0.9;
}

.desktop-nav.desktop-nav-pills .nav-pill-indicator {
    position: absolute;
    top: 0.28rem;
    left: 0.28rem;
    height: calc(100% - 0.56rem);
    width: 0;
    border-radius: 999px;
    background: #8fb3be;
    z-index: 1;
    transition: transform 260ms ease, width 260ms ease, opacity 180ms ease;
    opacity: 0;
    pointer-events: none;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item>.sub-menu {
    position: absolute;
    top: calc(100% + 0.3rem);
    left: 0;
    display: none;
    min-width: 240px;
    margin: 0;
    padding: 0.7rem 0.8rem;
    list-style: none;
    border: 1px solid rgba(52, 58, 64, 0.12);
    border-radius: 1rem;
    background: rgba(234, 230, 223, 0.98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
    z-index: 50;
}

.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children:hover>.sub-menu,
.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children:focus-within>.sub-menu,
.desktop-nav.desktop-nav-pills .desktop-menu>li.menu-item-has-children>.sub-menu:hover {
    display: block;
}

.desktop-nav.desktop-nav-pills .sub-menu li+li {
    margin-top: 0.35rem;
}

.desktop-nav.desktop-nav-pills .sub-menu a {
    display: block;
    padding: 0.45rem 0.35rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--stage-text);
    white-space: nowrap;
}

.desktop-nav.desktop-nav-pills .sub-menu a:hover,
.desktop-nav.desktop-nav-pills .sub-menu a:focus-visible {
    background: rgba(0, 108, 103, 0.08);
    color: var(--stage-accent-2);
}

.desktop-nav.desktop-nav-pills .sub-menu .menu-item.text-gray-500,
.desktop-nav.desktop-nav-pills .sub-menu .menu-item.cursor-default,
.desktop-nav.desktop-nav-pills .sub-menu .menu-section-title,
.desktop-nav.desktop-nav-pills .sub-menu .submenu-heading,
.desktop-nav.desktop-nav-pills .sub-menu .season-menu-heading,
.desktop-nav.desktop-nav-pills .sub-menu img,
.desktop-nav.desktop-nav-pills .sub-menu .menu-image,
.desktop-nav.desktop-nav-pills .sub-menu .season-menu-image,
.desktop-nav.desktop-nav-pills .sub-menu .submenu-thumb {
    display: none !important;
}

.desktop-utilities {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: end;
    column-gap: 0.9rem;
}

.desktop-utilities .utility-link,
.desktop-utilities .utility-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.82;
}

.desktop-utilities .utility-link:hover,
.desktop-utilities .utility-link:focus-visible,
.desktop-utilities .utility-icon-link:hover,
.desktop-utilities .utility-icon-link:focus-visible {
    opacity: 1;
}

.desktop-utilities .utility-icon-link:last-of-type {
    margin-left: 0.35rem;
    margin-right: 1rem;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.footer-menu .menu-item-has-children {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-menu .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
}

.footer-menu>.menu-item>a {
    font-size: 0.9rem;
    color: var(--stage-muted);
}

.footer-menu .sub-menu a {
    font-size: 0.88rem;
    color: var(--stage-text);
    opacity: 0.9;
    padding: 0;
}

.utility-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(42, 36, 32, 0.78);
}

.utility-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(42, 36, 32, 0.78);
}

.utility-link:hover,
.utility-link:focus-visible,
.utility-icon-link:hover,
.utility-icon-link:focus-visible,
.footer-menu>.menu-item>a:hover,
.footer-menu>.menu-item>a:focus-visible {
    color: var(--stage-accent-2);
}

.button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 170px;
    padding: 0.78rem 1.15rem;
    background: var(--stage-accent-2);
    border: 1px solid transparent;
    color: var(--stage-white);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    border-radius: 0;
}

.stage-header-right .button.primary {
    min-width: 145px;
    min-height: 42px;
    padding: 0.7rem 1.05rem;
    font-size: 0.82rem;
}

.button.primary:hover,
.button.primary:focus-visible {
    background: #36575b;
    color: var(--stage-white);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.mobile-menu-toggle,
.mobile-menu-close {
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--stage-text);
    font-size: 1.15rem;
}

.mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(17, 19, 21, 0.78);
    padding: 1rem;
}

.mobile-menu-inner {
    min-height: calc(100vh - 2rem);
    background: var(--stage-card);
    border-radius: var(--stage-radius);
    box-shadow: var(--stage-shadow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--stage-line);
    padding-bottom: 1rem;
}

.mobile-menu {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-menu>.menu-item>a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.12rem;
    font-weight: 500;
    border-bottom: 1px solid var(--stage-line);
}

.mobile-menu .sub-menu {
    padding: 0.4rem 0 0.8rem 1rem;
    list-style: none;
    margin: 0;
}

.mobile-menu .sub-menu a {
    display: block;
    padding: 0.45rem 0;
    color: var(--stage-muted);
}

.mobile-utilities {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-donate {
    width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */

.stage-shell-footer {
    flex-shrink: 0;
    margin-top: 0;
    border-top: 1px solid rgba(52, 58, 64, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.12)),
        linear-gradient(180deg, #ece7df 0%, #e7e1d8 100%);
}

.stage-footer-upper {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.9fr) minmax(260px, 1fr);
    gap: 2rem;
    padding: 1rem var(--stage-footer-padding-x) 1.5rem;
    border-bottom: 1px solid rgba(52, 58, 64, 0.12);
}

.stage-footer-logo {
    margin-bottom: 1rem;
}

.stage-footer-logo .custom-logo-link {
    max-width: clamp(160px, 22vw, 240px);
}

.stage-footer-logo .custom-logo {
    width: auto;
    height: auto;
    max-height: 90px;
}

.stage-footer-title {
    margin: 0 0 1rem;
    font-family: "EB Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    color: #0f4f55;
    text-transform: uppercase;
}

.stage-footer-blurb {
    margin: 0;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(52, 58, 64, 0.92);
}

.stage-footer-menu-column,
.stage-footer-connect {
    border-left: 1px solid rgba(52, 58, 64, 0.12);
    padding-left: 1.75rem;
}

.stage-footer-heading {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 2.2vw, 2.7rem);
    line-height: 1;
    font-weight: 600;
    color: var(--stage-accent-2);
}

.stage-footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stage-footer-menu>.menu-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.stage-footer-menu>.menu-item>a,
.stage-footer-menu .sub-menu a {
    font-size: 1rem;
    color: rgba(52, 58, 64, 0.92);
}

.stage-footer-menu .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.stage-footer-menu a:hover,
.stage-footer-menu a:focus-visible {
    color: var(--stage-accent-2);
}

.stage-footer-contact-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.stage-footer-donate {
    font-size: 1rem;
    font-weight: 600;
    color: #b07d17;
}

.stage-footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    color: rgba(52, 58, 64, 0.95);
}

.stage-footer-phone i {
    color: var(--stage-accent-2);
}

.stage-footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stage-footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
}

.stage-footer-social a:nth-child(1) {
    background: #3b5998;
}

.stage-footer-social a:nth-child(2) {
    background: #55acee;
}

.stage-footer-social a:nth-child(3) {
    background: #e0523f;
}

.stage-footer-social a:nth-child(4) {
    background: #0a84ae;
}

.stage-footer-social a:nth-child(5) {
    background: #c94d4d;
}

.stage-footer-lower {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 0.85rem var(--stage-footer-padding-x) 1rem;
    border-bottom: 6px solid var(--stage-accent);
}

.stage-footer-credits {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stage-footer-copyright,
.stage-footer-builder {
    margin: 0;
    color: var(--stage-muted);
}

.stage-footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stage-footer-legal a {
    color: rgba(52, 58, 64, 0.88);
}

.stage-footer-legal a:hover,
.stage-footer-legal a:focus-visible {
    color: var(--stage-accent-2);
}

footer .footer-border {
    background-color: var(--stage-accent-2);
}

footer .footer-border-run {
    animation: footer-border-run 2s linear infinite;
    background-color: var(--stage-accent);
}

@keyframes footer-border-run {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(84px);
    }
}

/* =========================================================
   HERO / HOMEPAGE / EMBLA
   ========================================================= */

.hero-embla {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.embla__viewport {
    flex: 1;
    min-height: 0;
    width: 98%;
    overflow: hidden;
}

.embla__container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
}

.embla__slide > * {
    min-width: 0;
    width: 100%;
}

.hero-shell,
.hero-shell-home {
    flex: 1;
    min-height: 0;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
    gap: 2rem;
    align-items: center;
    padding: 1rem 0 0.5rem;
    overflow: hidden;
}

.hero-copy,
.hero-media {
    min-height: 0;
    min-width: 0;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stage-accent);
}

.hero-title {
    margin: 0;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    font-weight: 600;
    max-width: 7ch;
}

.hero-date {
    margin: 1.35rem 0 0;
    font-size: clamp(1.2rem, 1.8vw, 1.9rem);
    line-height: 1.1;
    font-weight: 500;
}

.hero-description {
    margin-top: 1rem;
    max-width: 33rem;
    color: var(--stage-muted);
    font-size: 0.98rem;
    overflow: hidden;
}

.hero-description p {
    margin: 0;
}

.hero-actions {
    margin-top: 1.25rem;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.hero-link:hover,
.hero-link:focus-visible {
    color: var(--stage-accent-2);
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.5rem;
}

.hero-media-mask {
    width: 100%;
    /* max-width: 620px; */
    aspect-ratio: 1 / 1;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.08);
}

.hero-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--desktop-object-position, center center);
    display: block;
}

.hero-media-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 60% 18%, rgba(255, 231, 162, 0.9), transparent 8%),
        radial-gradient(circle at 24% 35%, rgba(255, 220, 133, 0.8), transparent 6%),
        linear-gradient(180deg, rgba(17, 19, 21, 0.22), rgba(17, 19, 21, 0.12)),
        linear-gradient(135deg, #23303a 0%, #171d23 40%, #3e3d36 78%, #6a5a45 100%);
}

.hero-title-image-wrap {
    /* max-width: min(34vh, 320px); */
    width: 100%;
}

.hero-title-image {
    width: 100%;
    height: auto;
    max-height: 20vh;
    object-fit: contain;
}

.hero-controls {
    flex-shrink: 0;
}

.hero-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    flex-shrink: 0;
    margin-top: auto;
}

.hero-pagination {
    font-size: 1rem;
    font-weight: 500;
    color: var(--stage-text);
}

.hero-arrow-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.hero-arrow-button {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(35, 29, 25, 0.45);
    background: transparent;
    color: var(--stage-text);
    font-size: 1.2rem;
}

.hero-arrow-button:hover,
.hero-arrow-button:focus-visible {
    border-color: var(--stage-accent-2);
    color: var(--stage-accent-2);
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.75rem;
    flex-shrink: 0;
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(35, 29, 25, 0.35);
    background: transparent;
}

.hero-dot.is-active {
    background: var(--stage-accent-2);
    border-color: var(--stage-accent-2);
}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.stage-product-page {
    width: 100%;
    padding: 1.25rem 0 2rem;
}

.stage-product-wrap {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.stage-product {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stage-product-main {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    gap: 2.5rem;
    align-items: start;
}

.stage-product-media,
.stage-product-summary {
    min-width: 0;
}

.stage-product-media .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
}

.stage-product-media img {
    border-radius: 1.25rem;
}

.stage-product-summary-inner {
    padding: 0.5rem 0;
}

.stage-product-summary .product_title {
    margin: 0 0 1rem;
    font-family: "EB Garamond", serif;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    line-height: 0.95;
    color: var(--stage-text);
}

.stage-product-summary .price {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--stage-accent-2);
}

.stage-product-summary .woocommerce-product-details__short-description {
    margin-bottom: 1.25rem;
    color: var(--stage-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.stage-product-summary form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.stage-product-summary form.cart .quantity input {
    min-height: 44px;
    width: 5rem;
    border: 1px solid var(--stage-line);
    background: #fff;
    padding: 0.5rem;
}

.stage-product-summary .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.2rem !important;
    background: var(--stage-accent-2) !important;
    border: 1px solid transparent !important;
    color: var(--stage-white) !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.stage-product-summary .single_add_to_cart_button:hover,
.stage-product-summary .single_add_to_cart_button:focus-visible {
    background: #36575b !important;
}

.stage-product-summary .product_meta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stage-line);
    color: var(--stage-muted);
    font-size: 0.92rem;
}

.stage-product-lower {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(52, 58, 64, 0.12);
}

.stage-product-lower .woocommerce-tabs {
    margin-top: 0;
}

.stage-product-lower .tabs.wc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--stage-line);
}

.stage-product-lower .tabs.wc-tabs li {
    margin: 0;
    padding: 0;
}

.stage-product-lower .tabs.wc-tabs li a,
.epc-event-venue__title {
    display: inline-flex;
    padding: 0.7rem 0.9rem;
    color: var(--stage-accent-2);
    font-weight: 500;
    text-transform: uppercase;
}

.epc-event-venue__title {
    padding: 0 !important;
}

.stage-product-lower .tabs.wc-tabs li.active a {
    color: var(--stage-accent);
}

/* =========================================================
   INTERIOR PAGES
   ========================================================= */

.stage-page {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.stage-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(52, 58, 64, 0.12);
}

.stage-page-title {
    margin: 0;
    font-family: "EB Garamond", serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--stage-text);
}

.stage-page-content {
    color: var(--stage-text);
    font-size: 1rem;
    line-height: 1.75;
}

.stage-page-content>*:first-child {
    margin-top: 0;
}

.stage-page-content>*:last-child {
    margin-bottom: 0;
}

.stage-page-content p,
.stage-page-content ul,
.stage-page-content ol,
.stage-page-content blockquote,
.stage-page-content .wp-block-image,
.stage-page-content .wp-block-columns {
    margin: 0 0 1.25rem;
}

.stage-page-content h2,
.stage-page-content h3,
.stage-page-content h4 {
    margin: 2rem 0 0.75rem;
    line-height: 1.1;
    color: var(--stage-text);
}

.stage-page-content h2 {
    font-family: "EB Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
}

.stage-page-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

.stage-page-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.stage-page-content a {
    color: var(--stage-accent-2);
    text-decoration: underline;
    text-underline-offset: 0.16em;
    text-decoration-thickness: 1px;
}

.stage-page-content a:hover,
.stage-page-content a:focus-visible {
    color: #36575b;
}

.stage-page-content ul,
.stage-page-content ol {
    padding-left: 1.4rem;
}

.stage-page-content li+li {
    margin-top: 0.35rem;
}

.stage-page-content blockquote {
    padding: 1rem 1.25rem;
    margin-left: 0;
    border-left: 3px solid var(--stage-accent);
    background: rgba(205, 163, 85, 0.08);
    font-style: italic;
}

.stage-page-content img {
    border-radius: 1rem;
}

.stage-page-content .wp-element-button,
.stage-page-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.2rem;
    background: var(--stage-accent-2);
    border: 1px solid transparent;
    color: var(--stage-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.stage-page-content .wp-element-button:hover,
.stage-page-content .wp-element-button:focus-visible,
.stage-page-content .wp-block-button__link:hover,
.stage-page-content .wp-block-button__link:focus-visible {
    background: #36575b;
    color: var(--stage-white);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1366px) {
    :root {
        --stage-shell-height: min(92vh, 840px);
        --stage-header-padding-x: 1rem;
        --stage-main-padding-x: 1rem;
        --stage-footer-padding-x: 1rem;
    }

    .stage-shell-wrap {
        padding: 1rem;
    }

    .stage-shell-header {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    .stage-header-center {
        display: none;
    }

    .stage-header-left {
        gap: 0.85rem;
    }

    .stage-header-right {
        min-width: 0;
        gap: 0.75rem;
    }

    .desktop-nav,
    .desktop-utilities,
    .desktop-donate {
        display: none !important;
    }

    .mobile-menu-toggle,
    .mobile-menu-close,
    .site-logo-link-mobile,
    .mobile-menu-panel.is-open {
        display: inline-flex;
    }

    .site-logo {
        width: clamp(160px, 22vw, 260px);
        max-height: 60px;
    }

    .site-logo-mobile {
        width: clamp(170px, 24vw, 230px);
    }

    .hero-shell,
    .hero-shell-home {
        grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
        gap: 1.5rem;
        padding-top: 0.5rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 4.6vw, 4rem);
        max-width: 8ch;
    }

    .hero-title-image-wrap {
        max-width: 100%;
    }

    .hero-title-image {
        max-height: 16vh;
    }

    .hero-description {
        font-size: 0.92rem;
        max-width: 28rem;
    }

    .hero-media-mask {
        /* max-width: 520px; */
        aspect-ratio: 5 / 4;
    }

    .hero-arrow-button {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 1023px) {
    .stage-shell-wrap {
        display: block;
        padding: 0;
    }

    .stage-shell-card {
        width: 100%;
        min-height: 100vh;
        height: auto;
        border-radius: 0;
    }

    .stage-shell-main {
        padding: 1rem;
        overflow: visible;
    }

    .site-main {
        flex: none;
        min-height: auto;
        overflow: visible !important;
        display: block;
    }

    body.admin-bar.shell-home .stage-shell-main {
        min-height: auto;
        height: auto;
    }

    .mobile-menu-panel.is-open {
        display: block;
    }

    .mobile-menu-toggle,
    .mobile-menu-close,
    .site-logo-link-mobile {
        display: inline-flex;
    }

    .hero-shell,
    .hero-shell-home {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding-top: 0;
        align-content: start;
    }

    .hero-copy {
        order: 2;
    }

    .hero-media {
        order: 1;
    }

    .hero-media-mask {
        max-width: 100%;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 1.25rem;
    }

    .hero-media-image {
        object-position: var(--mobile-object-position, center center);
    }

    .hero-title {
        max-width: none;
        font-size: clamp(2.7rem, 12vw, 4.2rem);
    }

    .hero-title-image {
        max-height: 16vh;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-date {
        font-size: 1.35rem;
    }

    .hero-controls-row {
        padding-top: 1rem;
    }

    .hero-embla,
    .embla__viewport,
    .embla__container,
    .embla__slide {
        height: auto;
        min-height: auto;
    }

    .hero-embla,
    .embla__viewport {
        width: 100%;
        overflow: hidden;
    }

    .stage-footer-upper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem 1rem;
    }

    .stage-footer-menu-column,
    .stage-footer-connect {
        border-left: 0;
        padding-left: 0;
    }

    .stage-footer-connect {
        border-top: 0;
        padding-top: 0;
    }

    .stage-footer-menu {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stage-footer-lower {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .stage-footer-legal {
        flex-wrap: wrap;
        gap: 0.85rem 1.25rem;
    }

    .stage-product-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stage-product-summary .product_title {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }

    .stage-page {
        padding: 1.25rem 0 2rem;
    }

    .stage-page-title {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .stage-page-content {
        font-size: 0.98rem;
        line-height: 1.65;
    }
}

@media (max-width: 767px) {
    .stage-shell-header {
        padding: 0.85rem 1rem;
    }

    .site-logo-mobile {
        width: clamp(150px, 58vw, 210px);
    }

    .hero-kicker {
        margin-bottom: 0.55rem;
        font-size: 0.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hero-arrow-controls {
        gap: 0.65rem;
    }

    .hero-arrow-button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .hero-dot {
        width: 0.65rem;
        height: 0.65rem;
    }

    .stage-footer-upper {
        grid-template-columns: 1fr;
    }

    .stage-footer-upper> :first-child {
        grid-column: auto;
    }

    .stage-footer-menu-column,
    .stage-footer-connect {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 479px) {
    .stage-shell-main {
        padding: 0.9rem;
    }

    /* .hero-media-mask {
        aspect-ratio: 16 / 9;
        max-height: none;
    } */

    .hero-pagination {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) and (max-height: 820px) {
    :root {
        --stage-shell-height: min(92vh, 760px);
    }

    body.admin-bar.shell-home .stage-shell-main {
        min-height: calc(100vh - 175px);
        height: calc(100vh - 175px);
    }

    .stage-shell-wrap {
        padding: 0.75rem;
    }

    .hero-shell,
    .hero-shell-home {
        gap: 1.25rem;
        padding: 0.5rem 0 0.25rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 4.2vw, 3.75rem);
    }

    .hero-description {
        margin-top: 0.75rem;
        font-size: 0.88rem;
    }

    .hero-actions {
        margin-top: 0.9rem;
    }

    .hero-title-image {
        max-height: 14vh;
    }

    .hero-arrow-button {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 1366px) and (min-width: 768px) {
    .stage-footer-upper {
        grid-template-columns: minmax(180px, 0.75fr) minmax(220px, 0.95fr) minmax(220px, 0.95fr);
        gap: 1.5rem 1.5rem;
        align-items: start;
    }

    .stage-footer-upper> :first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .stage-footer-menu-column {
        grid-column: 2;
        grid-row: 1;
    }

    .stage-footer-connect {
        grid-column: 3;
        grid-row: 1;
        margin-top: 0;
    }

    .stage-footer-menu-column,
    .stage-footer-connect {
        border-left: 1px solid rgba(52, 58, 64, 0.12);
        padding-left: 1.25rem;
        min-width: 0;
    }

    .stage-footer-menu {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .stage-footer-menu>.menu-item {
        gap: 0.35rem;
    }

    .stage-footer-menu .sub-menu {
        gap: 0.3rem;
    }

    .stage-footer-menu>.menu-item>a,
    .stage-footer-menu .sub-menu a {
        font-size: 0.96rem;
    }

    .stage-footer-logo .custom-logo-link {
        max-width: 220px;
    }

    .stage-footer-blurb {
        max-width: 18rem;
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .stage-footer-heading {
        font-size: 1.8rem;
    }

    .stage-footer-contact-row {
        gap: 1rem;
    }
}


/* Safety fixes */
.site-logo,
.site-logo-mobile,
.stage-footer-logo .custom-logo {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* =========================================================
   HOMEPAGE SCROLL / FOOTER PEEK FIXES
   ========================================================= */

/* Let the homepage shell grow taller than the viewport so a bit of footer can show
   and the page can always scroll naturally. */
body.shell-home .stage-shell-wrap {
    align-items: flex-start;
}

body.shell-home .stage-shell-card {
    min-height: calc(100vh + 4.5rem);
}

body.shell-home .stage-shell-main {
    overflow: visible;
}

body.shell-home .site-main {
    overflow: visible !important;
    flex: 0 0 auto;
}

/* Keep the hero bounded so header + hero stay above the fold,
   while still leaving room for a little footer to peek in. */
body.shell-home .hero-shell,
body.shell-home .hero-shell-home {
    min-height: clamp(360px, calc(100vh - 360px), 600px);
}

/* Footer should never be allowed to shrink out of view inside the shell. */
body.shell-home .stage-shell-footer {
    flex-shrink: 0;
}

/* Normal desktop / laptop */
@media (min-width: 1024px) and (max-width: 1919px) {
    body.shell-home .stage-shell-card {
        min-height: calc(100vh + 5rem);
    }

    body.shell-home .hero-shell,
    body.shell-home .hero-shell-home {
        min-height: clamp(340px, calc(100vh - 365px), 540px);
    }
}

/* Large desktop */
@media (min-width: 1920px) {
    body.shell-home .stage-shell-card {
        min-height: calc(100vh + 5.5rem);
    }

    body.shell-home .hero-shell,
    body.shell-home .hero-shell-home {
        min-height: clamp(360px, calc(100vh - 390px), 560px);
    }
}

/* Tablet and down */
@media (max-width: 1023px) {
    body.shell-home .stage-shell-wrap {
        align-items: stretch;
    }

    body.shell-home .stage-shell-card {
        min-height: calc(100vh + 3.5rem);
    }

    body.shell-home .stage-shell-main,
    body.shell-home .site-main {
        overflow: visible !important;
    }

    body.shell-home .hero-shell,
    body.shell-home .hero-shell-home {
        min-height: auto;
    }
}

@media (max-width: 1023px) and (min-width: 640px) {
    .stage-footer-upper {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
        align-items: start;
    }

    .stage-footer-brand {
        grid-column: 1 / -1;
    }

    .stage-footer-menu-column,
    .stage-footer-connect {
        border-left: 0;
        padding-left: 0;
    }
}

.woocommerce-Tabs-panel--description>h2:first-child {
    display: none;
}

#tab-description.woocommerce-Tabs-panel p {
    padding-bottom: 1.5rem;
}

.woocommerce-tabs {
    border-bottom: 1px solid var(--stage-line);
}