/* ACT modern homepage redesign — "Presenting Venue" layout */

:root {
    --act-ink: #241B16;
    --act-cream: #FBF6EC;
    --act-cream-tint: #F3EBDA;
    --act-curtain: #7A2334;
    --act-gold: #C8A24A;
    --act-line: rgba(36, 27, 22, 0.14);
}

body {
    background: var(--act-cream) !important;
    font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* legacy branding banner superseded by the new nav + hero */
.brand,
.address-bar {
    display: none !important;
}

/* ---------- Seasonal banner (remove this block after the holidays) ---------- */
.act-holiday-banner {
    background: #1F4D36;
    color: var(--act-cream);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 3px dashed var(--act-gold);
}

/* ---------- Nav ---------- */
.act-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--act-cream);
    border-bottom: 1px solid var(--act-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 48px;
}

.act-nav .act-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.act-nav .act-wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--act-ink);
    text-transform: none;
    letter-spacing: 0.2px;
}

.act-nav .act-tagline {
    font-size: 12px;
    font-style: italic;
    color: var(--act-curtain);
    opacity: 0.85;
}

.act-nav .act-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
}

.act-nav .act-links a {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--act-ink);
}

.act-nav .act-cta {
    background: var(--act-curtain);
    color: var(--act-cream) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* ---------- Tickets not yet on sale: overlay badge on ticket buttons (remove once tickets go live) ---------- */
.act-ticket-disabled {
    position: relative;
    display: inline-block;
}

.act-ticket-disabled > a {
    pointer-events: none;
    opacity: 0.55;
    filter: grayscale(0.25);
}

.act-ticket-disabled .act-coming-soon {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--act-gold);
    color: var(--act-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    transform: rotate(8deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    pointer-events: none;
}

/* ---------- Hero ---------- */
.act-hero {
    position: relative;
    background: var(--act-ink);
}

.act-hero .carousel-inner .item img {
    width: 100%;
    display: block;
}

/* ---------- Seasonal: falling snow + Santa hat (remove after the holidays) ---------- */
.act-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.act-snow .snowflake {
    position: absolute;
    top: -10%;
    color: #ffffff;
    opacity: 0.85;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
    animation-name: act-snow-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.act-snow .snowflake:nth-child(1)  { left: 3%;  font-size: 14px; animation-duration: 11s; animation-delay: 0s; }
.act-snow .snowflake:nth-child(2)  { left: 11%; font-size: 20px; animation-duration: 14s; animation-delay: 2s; }
.act-snow .snowflake:nth-child(3)  { left: 19%; font-size: 10px; animation-duration: 9s;  animation-delay: 1s; }
.act-snow .snowflake:nth-child(4)  { left: 29%; font-size: 16px; animation-duration: 13s; animation-delay: 4s; }
.act-snow .snowflake:nth-child(5)  { left: 38%; font-size: 12px; animation-duration: 10s; animation-delay: 3s; }
.act-snow .snowflake:nth-child(6)  { left: 48%; font-size: 18px; animation-duration: 15s; animation-delay: 0.5s; }
.act-snow .snowflake:nth-child(7)  { left: 57%; font-size: 11px; animation-duration: 12s; animation-delay: 5s; }
.act-snow .snowflake:nth-child(8)  { left: 66%; font-size: 15px; animation-duration: 9.5s; animation-delay: 2.5s; }
.act-snow .snowflake:nth-child(9)  { left: 75%; font-size: 20px; animation-duration: 16s; animation-delay: 1.5s; }
.act-snow .snowflake:nth-child(10) { left: 84%; font-size: 10px; animation-duration: 10.5s; animation-delay: 3.5s; }
.act-snow .snowflake:nth-child(11) { left: 91%; font-size: 17px; animation-duration: 13.5s; animation-delay: 4.5s; }
.act-snow .snowflake:nth-child(12) { left: 96%; font-size: 13px; animation-duration: 11.5s; animation-delay: 6s; }

@keyframes act-snow-fall {
    0% {
        transform: translateY(-10vh) translateX(0);
    }
    100% {
        transform: translateY(70vh) translateX(-16px);
    }
}


@media (prefers-reduced-motion: reduce) {
    .act-snow .snowflake {
        animation: none;
    }
}

.act-ribbon {
    background: var(--act-curtain);
    color: var(--act-cream);
    padding: 20px 48px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.act-ribbon .act-ribbon-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 20px;
}

.act-ribbon .act-eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--act-gold);
    font-weight: 700;
}

.act-ribbon .act-show-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
}

.act-ribbon .act-show-meta {
    font-size: 14px;
    opacity: 0.85;
}

.act-ribbon .act-ribbon-cta {
    background: var(--act-cream);
    color: var(--act-curtain) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- Explore Shows list ---------- */
.act-section {
    padding: 72px 48px;
}

.act-section-tight {
    padding: 48px 48px 0;
}

.act-section h2.act-h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 32px;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 28px;
    color: var(--act-ink);
}

.act-show-list {
    max-width: 1100px;
    margin: 0 auto;
}

.act-show-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--act-line);
    color: var(--act-ink);
}

.act-show-row:last-child {
    border-bottom: 1px solid var(--act-line);
}

.act-show-row .act-tag {
    flex: 0 0 150px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--act-curtain);
}

.act-show-row .act-tag.gold {
    color: var(--act-gold);
}

.act-show-row .act-title {
    flex: 1 1 220px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 21px;
    text-transform: none;
    letter-spacing: 0;
}

.act-show-row .act-dates {
    flex: 0 0 auto;
    font-size: 14px;
    opacity: 0.65;
}

.act-show-row .act-arrow {
    font-size: 17px;
    opacity: 0.45;
}

/* ---------- Season row ---------- */
.act-season-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.act-season-row .act-season-card {
    flex: 1 1 200px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.act-season-card .act-thumb {
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border: 1px solid var(--act-line);
    border-radius: 8px;
    background: var(--act-cream-tint);
    cursor: pointer;
}

.act-season-card .act-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.act-season-card .act-cap {
    font-size: 14px;
    font-weight: 600;
    color: var(--act-ink);
}

.act-section-head {
    max-width: 1200px;
    margin: 0 auto 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.act-section-head .act-view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--act-ink);
    border-bottom: 1px solid var(--act-ink);
}

/* ---------- Promo / Plan Your Visit blocks ---------- */
.act-promo {
    background: var(--act-cream-tint);
    padding: 48px;
}

.act-promo-inner,
.act-visit-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.act-promo h3,
.act-visit h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 24px;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 8px;
    color: var(--act-ink);
}

.act-promo p,
.act-visit p {
    font-size: 15px;
    opacity: 0.75;
    margin: 0;
    max-width: 620px;
    color: var(--act-ink);
}

.act-promo-cta,
.act-visit-cta {
    padding: 13px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.act-promo-cta {
    background: var(--act-curtain);
    color: var(--act-cream) !important;
}

.act-visit {
    padding: 48px;
    border-bottom: 1px solid var(--act-line);
}

.act-visit-cta {
    border: 1px solid rgba(36, 27, 22, 0.3);
    color: var(--act-ink) !important;
}

/* ---------- Panel cards (current/upcoming show detail) ---------- */
.box:has(> .panel-card) {
    background: transparent;
    padding: 0;
}

.panel-card {
    background: var(--act-cream-tint);
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(36, 27, 22, 0.08), 0 8px 24px rgba(36, 27, 22, 0.06);
    padding: 40px 32px !important;
}

.panel-card hr,
#pastPerformancessection hr {
    max-width: 140px;
    margin: 28px auto;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #999999, transparent);
}

/* Bring legacy headings (Coming Spring 2027 / In Production / Past
   Performances / contact page) over to the new type system instead of
   the old uppercase Josefin Slab style. */
.panel-card h1,
.panel-card h2,
.panel-card h3,
#pastPerformancessection h1,
#pastPerformancessection h2,
#pastPerformancessection h3 {
    font-family: 'Fraunces', Georgia, serif;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--act-ink);
}

.panel-card a,
#pastPerformancessection a {
    color: var(--act-curtain);
}

/* ---------- Past performances archive grid ---------- */
.act-archive-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

.act-archive-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.act-archive-card .act-thumb {
    border: 1px solid var(--act-line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--act-cream-tint);
    cursor: pointer;
}

.act-archive-card .act-thumb img {
    width: 100%;
    display: block;
}

.act-archive-card .act-cap {
    font-size: 14px;
    font-weight: 600;
    color: var(--act-ink);
}

.act-archive-card .act-program-link {
    font-size: 12px;
    color: var(--act-curtain);
}

/* ---------- Footer ---------- */
.act-footer {
    background: var(--act-ink);
    color: var(--act-cream);
    padding: 44px 48px;
}

.act-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.act-footer .act-footer-name {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 17px;
}

.act-footer .act-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    opacity: 0.85;
}

.act-footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    border-top: 1px solid rgba(251, 246, 236, 0.15);
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.6;
}

@media screen and (max-width: 640px) {
    .act-nav,
    .act-section,
    .act-promo,
    .act-visit,
    .act-ribbon,
    .act-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .act-show-row .act-tag {
        flex-basis: 100%;
    }
}
