:root {
    /* Backgrounds */
    --bg: #0e0e10;
    --bg-light: #1a1a1d;

    /* Text */
    --text-primary: rgba(127, 146, 139, 0.954);
    --text-strong: rgba(123, 220, 183, 0.954);
    --text-secondary: rgb(94, 103, 107);
    --text-dark: rgb(16, 16, 16);

    /* Accent Colors */
    --neonGreen: rgb(34, 186, 52);
    --neonGrey: rgb(95, 94, 94);
    --neonWhite: rgb(237, 237, 237);
    --neonYellow: rgb(162, 254, 63);
    --neonBlue: rgb(16, 111, 244);
    --neonPurple: rgb(130, 80, 250);
    --neonPink: rgb(248, 57, 117);
    --neonRed: rgba(218, 22, 22, 0.886);

    /* Borders / Shadows */
    --border-color: #4b5563;
    --shadow-color: rgba(0, 0, 0, 0.5);

    --pulse: 0.5;

    --neon-color: #0ff;

    --tabs-w: 11px;
}
.color-green {
    --neon-color: rgb(34, 186, 52);
}
.color-yellow {
    --neon-color: rgb(162, 254, 63);
}
.color-white {
    --neon-color: rgb(237, 237, 237);
}
.color-blue {
    --neon-color: rgb(16, 111, 244);
}
.color-grey {
    --neon-color: rgb(95, 94, 94);
}
.color-pink {
    --neon-color: rgb(248, 57, 117);
}

.color-red {
    --neon-color: rgba(218, 22, 22, 0.886);
}
.text-neon {
    color: var(--text-dark);
    text-shadow:
        0 0 2px var(--neon-color);
        0 0 5px var(--neon-color);
}
.text-neon-bright {
    color: var(--text-dark);
    text-shadow:
        0 0 calc(2px * var(--pulse)) var(--neon-color),
        0 0 calc(4px * var(--pulse)) var(--neon-color),
        0 0 calc(6px * var(--pulse)) var(--neon-color),
        0 0 calc(18px * var(--pulse)) var(--neon-color);
}

.share-tech-mono-regular {
    font-family: "Share Tech Mono", monospace;
    font-weight: 400;
    font-style: normal;
}
/* @font-face {
    font-family: "stealth57";

    src: url("/fonts/stealth57.ttf") format("truetype");

    font-weight: normal;

    font-style: normal;
} */

.font-stealth {
    font-family: stealth57, sans-serif;
}


html,
body {
    margin: 0;
    /* height: 100vh; */
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* font-family: system-ui, sans-serif; */
    font-family: "Share Tech Mono", monospace;
    background: #111;
    color: var(--text-primary);
    font-size: 16px;
}

body {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}

h2 {
    color: var(--text-secondary);
    font-size: 2rem;
}



p {
    line-height: 150%;
}

a {
    color: var(--neonBlue);
}

strong {
    color: var(--text-strong);
    font-size: larger;
}

header {
    background: #111;
    text-align: center;
    padding: 2px 6px;
    position: sticky;
    top: 0;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: var(--tabs-w);
}

header h1 {
    letter-spacing: -0.1em;
    font-size: 1.75rem;
    line-height: 2rem;
    padding-bottom: 0;
    margin-bottom: 0;
}

.brand {
    margin: 0;
    font-size: 1.2rem;
}

.main-sections {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    /* Reserve space for vertical tabs */
    /* --tabs-w: 32px; */
    padding-left: var(--tabs-w);
}

section {
    transition: flex-grow 0.35s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Left-side vertical tabs for inactive sections */
.section-tabs {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--tabs-w);
    display: grid;
    grid-template-rows: repeat(var(--tab-count, 1), 1fr);
    padding: 8px 4px;
    box-sizing: border-box;
    z-index: 2;
}

.section-tabs__item {
    /* Evenly distributed rows via grid; keep items visually minimal */
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    user-select: none;
}

.section-tabs__item:hover { }

.section-tabs__item.is-active { }

.section-tabs__label {
    /* Rotate text 90deg CCW by using vertical writing mode + 180deg flip */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    line-height: 1;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    font-size: 1rem; /* match h2 base */
}

/* Neon-ish accent per-section using existing --neon-color */
.section-tabs__item:focus-visible .section-tabs__label {
    text-shadow:
        0 0 1px var(--neon-color),
        0 0 2px var(--neon-color),
        0 0 15px var(--neon-color);
}

/* Active tab highlight: same glow and slightly larger text */
.section-tabs__item.is-active .section-tabs__label {
    /* color: var(--text-dark); */
    color: var(--neon-color);
    text-shadow:
        0 0 1px var(--neon-color),
        0 0 2px var(--neon-color),
        0 0 15px var(--neon-color);
    font-size: 1.5rem;
}



.section-header {
    position: relative;
    flex-shrink: 0;
    padding: 4px 16px;
    cursor: pointer;
    user-select: none;
}

/* Do not show inline headers for inactive sections; use left tabs instead */
.main-sections section:not(.active) .section-header {
    display: none;
}


.section-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;

    height: 1px;
    width: 100%;

    background: var(--text-dark);
    visibility: hidden;

    box-shadow:
        0 0 0px var(--neon-color),
        0 0 0px var(--neon-color),
        0 0 0px var(--neon-color);
    transition: box-shadow 1.4s ease;
}


.section-header h2 {
    display: inline-block;
    position: relative;
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
}

section.active .section-header h2 {
    color: var(--text-dark);
    text-shadow:
        0 0 1px var(--neon-color),
        0 0 2px var(--neon-color),
        0 0 15px var(--neon-color)
}



section.active .section-header::after {
    visibility: hidden;
    box-shadow:
        0 2px 3px var(--neon-color)
}


section.active {
    flex-grow: 1;
    /* background: #141414; */
    /* text-align: center; */
}



.section-content {
    flex: 1;
    display: none;
    overflow: hidden;
    flex-direction: column;
    flex-grow: 1;

    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    /* position: relative; */
    
    /* justify-content: center; */

    align-items: center;

    /* width: 100%; */
    /* height: 100%; */
    text-align: center;

    min-width: 0;
    /* avoid flex overflow */
    min-height: 0;
    container-type: size;
}

section .subheading-top {
    flex-shrink: 1;
    display: none;
}

section.active .subheading-top {
    display: flex;
    width: 100%;
    margin-top: 1.5em;
    justify-content: center;
    font-size: 1.5rem;
}


section.active .section-content {
    display: flex;
    flex-grow: 1;
}



/* Disable accordion/underline transitions during initial boot only */
.no-anim section {
    transition: none !important;
}

.no-anim .section-header::after,
.no-anim .section-header h2::after {
    transition: none !important;
}


/* Hidden by default so first paint never shows full text */
.fx-typeOut p {
    visibility: hidden;
}

/* JS will add .typing to the .fx-typeOut container right before drawing */
.fx-typeOut.typing p {
    visibility: visible;
}


section.active .section-content.fx-typeOut {
    display: flex;
    flex-direction: column;
}

section.active .section-content.fx-typeOut p {
    /* visibility: visible; */
    display: block;
    /* ensure each line stays its own row */
    white-space: pre;
    /* preserves spaces while typing */
    margin: 0 0 0.5em 0;
}


section[data-id="welcome"] p {
    font-size: 2em;
}


.poster {
    --w: 2;
    /* poster width ratio  */
    --h: 3;
    /* poster height ratio */
    aspect-ratio: var(--w) / var(--h);

    /* Choose the limiting side of the parent */
    /* width: min(100cqw, calc(100cqh * (var(--w) / var(--h)))); */
    /* width: min(100vw, calc(75vh * (var(--w) / var(--h)))); */
    width: min(100%, calc(140% * (var(--w) / var(--h))));
    height: auto;

    /* Optional cosmetics */
    border-radius: 12px;
    overflow: hidden;
    /* demo visuals; remove if you have your own */
    box-shadow: 0 0 0 1px hsl(0 0% 100% / .08) inset;
    background: #0b0b0b;

    margin-top: 1.0em;
}

.poster h3 {
    font-size: 14cqw;
    /* font-size: 5rem; */
    margin-bottom: 0;
    color: var(--neonGreen);
    padding-left: 1em;
    padding-right: 1em;
}

.poster p {
    font-size: 4cqw;
    line-height: 25%;
    font-weight: lighter;
    color: var(--text-secondary);
}

.poster img {
    width: 100%;
    margin-top:2em;
}

section[data-id="pulse"] p {
    font-size: 1.5em;
    /* max-width: 25rem; */
    padding: 10%;
    text-align: justify;
}

.pulse-div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* align-items: flex-center; */
}

section[data-id="swarm"] p {
    padding: 10%;
    font-size: 1.5em;
    /* max-width: 25rem; */
    text-align: justify;
}


.venue {
    padding: 1rem;
    margin: 1rem auto;

    text-align: left;
}

.venue-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-neon, #0ff);
    text-shadow: 0 0 10px var(--color-neon, #0ff);
}

.venue-tagline {
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-strong);
}

.venue h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-neon, rgb(0, 162, 255));
}

.venue ul {
    list-style: none;
    padding-left: 0;
}

.venue li {
    margin: 0.25rem 0;
}


.contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}
.contact h3 {
    margin-top: 3em;
}


footer {
    color: var(--text-secondary);
}

footer p {
    line-height: 0.5rem;
}
