:root {
    --radius: 2px;
    --ease: cubic-bezier(.65, 0, .35, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 34px 34px;
    background-position: center top;
}

.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 88px 24px 120px;
}

/* ---------- Accordion shell ---------- */
.schedule {
    position: relative;
}

/* the riser pipe running the length of the list */

/* joint dot on the riser */


.trigger {
    all: unset;
    box-sizing: border-box;
    border-bottom: 1px solid white;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 22px 4px 22px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    justify-content: space-between;
}

.trigger:focus-visible {
    outline: 2px solid var(--copper-bright);
    outline-offset: 4px;
    border-radius: var(--radius);
}

.title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: clamp(19px, 2.6vw, 24px);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    text-align: left;
    color: white;
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.trigger:hover .title {
    color: white;
    transform: translateX(2px);
}

.indicator {
    width: 20px;
    height: 20px;
    position: relative;
}

.indicator::before,
.indicator::after {
    content: "";
    position: absolute;
    background: white;
    transition: transform .4s var(--ease), background .35s var(--ease);
}

.indicator::before {
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.indicator::after {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

.item.open .indicator::after {
    transform: translateX(-50%) scaleY(0);
}

.item.open .indicator::before {
    background: white;
}

/* ---------- Panel (grid-rows trick = smooth height anim, no JS calc) ---------- */
.panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease);
}

.item.open .panel {
    grid-template-rows: 1fr;
}

.panel-inner {
    overflow: hidden;
    min-height: 0;
}

.panel-content {
    padding: 20px 0;
    color: black;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .35s ease .05s, transform .35s ease .05s;
}

.item.open .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.copy {
    font-size: 15px;
    line-height: 1.65;
    max-width: 52ch;
    margin: 4px 0 22px;
    color: white;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: black;
    background: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 1px;
    transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.cta:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -6px rgba(240, 166, 100, 0.5);
}

.cta::after {
    content: "→";
    transition: transform .25s var(--ease);
}

.cta:hover::after {
    transform: translateX(3px);
}

/* ---------- Gallery / Glide ---------- */
.gallery {
    margin-top: 32px;
    border-top: 1px dashed var(--steel-line);
    padding-top: 24px;
}

.gallery-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 14px;
}

.glide__track {
    border-radius: var(--radius);
    overflow: hidden;
}

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

.glide__slide {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.glide__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-ph {
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid var(--steel-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted-dim);
}

.slide-ph svg {
    width: 30px;
    height: 30px;
    opacity: .8;
}

.slide-ph span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.glide__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

.glide__arrow {
    all: unset;
    font-size: 25px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    transition: border-color .25s var(--ease), color .25s var(--ease);
}

.glide__arrow:hover {
    border-color: rgba(255, 255, 255, 0.758);
    color: rgba(255, 255, 255, 0.758);
}

.glide__arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.758);
    outline-offset: 2px;
}

.glide__bullets {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.glide__bullet {
    all: unset;
    width: 14px;
    height: 2px;
    background: var(--steel-line);
    cursor: pointer;
    transition: background .25s var(--ease), width .25s var(--ease);
}

.glide__bullet.glide__bullet--active {
    background: var(--copper-bright);
    width: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .wrap {
        padding: 56px 16px 90px;
    }

    .trigger {
        grid-template-columns: 44px 60px 1fr 18px;
        padding: 18px 2px 18px 0;
    }

    .panel-content {
        padding-bottom: 30px;
    }

}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
