/* ==========================================================================
   Not So Starving Artist — poster stylesheet.
   Mobile-first: single column that unfolds into the design's two- and
   three-column bands at the breakpoints. Tokens first, then blocks in the
   same order they appear in index.php.
   ========================================================================== */

:root {
    /* Palette */
    --ink:    #16110f;   /* near-black — page + dark bands */
    --cyan:   #5ce1e6;   /* primary accent — was the old red */
    --paper:  #f3efe7;   /* warm off-white */
    --orange: #e8913f;   /* secondary accent — WHO link + link hover */
    --white:  #ffffff;
    --body:   #2a2320;   /* body copy on the paper band */

    /* Type */
    --font-display: 'Anton', 'Archivo Black', system-ui, sans-serif;
    --font-body:    'Archivo', system-ui, -apple-system, sans-serif;

    /* Layout */
    --max: 1280px;       /* centered poster shell, matches the design */
    --pad-x: 24px;       /* section side padding — grows at the breakpoints */
    --radius: 2px;
}

/* --- Reset ---------------------------------------------------------------- */

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

body, h1, h2, h3, p, figure { margin: 0; }

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

/* --- Base ----------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }

.shell {
    max-width: var(--max);
    margin: 0 auto;
    background: var(--cyan);
    overflow: hidden;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    border: 2.5px solid transparent;   /* keeps solid + ghost the same size */
    border-radius: var(--radius);
    padding: 16px 26px;
    font-size: 14px;
    transition: transform 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

/* Colours */
.btn--cyan       { background: var(--cyan); color: var(--ink); }
.btn--ink        { background: var(--ink);  color: var(--cyan); }
.btn--ghost-ink  { border-color: var(--ink);  color: var(--ink); }
.btn--ghost-cyan { border-color: var(--cyan); color: var(--cyan); }

/* Sizes */
.btn--sm { padding: 11px 18px; font-size: 12px; letter-spacing: 0.1em; }
.btn--lg { padding: 18px 30px; font-size: 15px; }
.btn--xl { padding: 22px 44px; font-size: 18px; }

/* --- Top bar -------------------------------------------------------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--pad-x);
    background: var(--ink);
    border-bottom: 3px solid var(--cyan);
}

.topbar__logo {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--cyan);
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar__links {
    display: none;             /* hidden on small screens; logo + Buy stay */
    align-items: center;
    gap: 22px;
}

.topbar__link {
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper);
}

.topbar__link:hover { color: var(--orange); }

/* --- 1. Hero -------------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1fr;    /* mobile: text then photo */
    background: var(--cyan);
}

.hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px var(--pad-x) 44px;
}

.hero__eyebrow {
    margin-bottom: 22px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.5rem, 12vw, 7.25rem);
    line-height: 0.86;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 2px 2px 0 var(--ink);
}

.hero__title-line { display: block; }

.hero__date {
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: clamp(1.625rem, 7vw, 2.5rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero__tagline {
    margin-top: 14px;
    max-width: 40ch;
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: var(--ink);
}

/* Venue lockup — Anton, tiered like the poster, echoing the show title
   at a smaller scale. Line sizes come from the per-line size class. */
.hero__lockup {
    margin-top: 18px;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 2px 2px 0 var(--ink);
}

.hero__lockup-line { display: block; }
.hero__lockup-line--sm { font-size: clamp(1.24rem, 4.42vw, 1.56rem); }
.hero__lockup-line--lg { font-size: clamp(2.6rem, 8.84vw, 3.77rem); }
.hero__lockup-line--md { font-size: clamp(1.43rem, 5.2vw, 1.89rem); }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero__media {
    position: relative;
    min-height: 360px;
    border-top: 4px solid var(--ink);
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* --- 2. Marquee ----------------------------------------------------------- */

.marquee {
    overflow: hidden;
    padding: 14px 0;
    background: var(--ink);
    white-space: nowrap;
}

.marquee__track {
    display: inline-flex;
    animation: marq 22s linear infinite;
}

.marquee__group {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cyan);
}

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

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

/* --- Section shell + kicker ----------------------------------------------- */

.section { padding: 56px var(--pad-x) 64px; }

.section--ink   { background: var(--ink); }
.section--paper { background: var(--paper); color: var(--body); }
.section--cyan  { background: var(--cyan); }

.section--rule-top { border-top: 4px solid var(--ink); }

.kicker {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 36px;
}

.kicker__label {
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.kicker__rule { flex: 1; height: 2px; }

.kicker--cyan   .kicker__label { color: var(--cyan); }
.kicker--cyan   .kicker__rule  { background: rgba(92, 225, 230, 0.35); }
.kicker--orange .kicker__label { color: var(--orange); }
.kicker--orange .kicker__rule  { background: rgba(22, 17, 15, 0.14); }
.kicker--ink    .kicker__label { color: var(--ink); }
.kicker--ink    .kicker__rule  { background: rgba(22, 17, 15, 0.2); }

/* --- 3. When / nights ----------------------------------------------------- */

.nights {
    display: grid;
    grid-template-columns: 1fr;    /* mobile: stacked cards */
    gap: 2px;                        /* gap shows the border colour through */
    background: rgba(92, 225, 230, 0.35);
    border: 2px solid rgba(92, 225, 230, 0.35);
}

.night {
    padding: 30px 26px;
    background: var(--ink);
}

.night__day {
    display: block;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
}

.night__date {
    display: block;
    margin: 12px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 14vw, 4.75rem);
    line-height: 0.9;
    color: var(--white);
}

.night__time {
    display: block;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--paper);
}

.night__label {
    display: block;
    margin-top: 8px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(243, 239, 231, 0.55);
}

.when__note {
    margin-top: 22px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(243, 239, 231, 0.6);
}

/* --- 4. Who --------------------------------------------------------------- */

.who__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.who__figure {
    position: relative;
    margin-bottom: 14px;           /* room for the badge overhang */
}

.who__figure img {
    width: 100%;
    border: 4px solid var(--ink);
    object-fit: cover;
}

.who__badge {
    position: absolute;
    bottom: -14px;
    left: -14px;
    padding: 8px 16px;
    background: var(--cyan);
    border: 3px solid var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--ink);
}

.who__heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.125rem, 7vw, 3.625rem);
    line-height: 0.95;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--ink);
}

.who__bio {
    margin-top: 22px;
    max-width: 52ch;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--body);
    text-wrap: pretty;
}

.who__bio + .who__bio { margin-top: 16px; }

.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-bottom: 6px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 3px solid var(--orange);
}

.link:hover { color: var(--orange); }

/* --- 5. What / program ---------------------------------------------------- */

.what__heading {
    max-width: 16ch;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 9vw, 5.25rem);
    line-height: 0.9;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 4px 4px 0 var(--ink);
}

.program {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 40px;
    background: var(--ink);
    border: 3px solid var(--ink);
}

.program__item {
    padding: 30px 26px;
    background: var(--cyan);
}

.program__num {
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1;
    color: var(--ink);
}

.program__title {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
}

.program__blurb {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.what__note {
    margin-top: 22px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(22, 17, 15, 0.6);
}

/* --- 6. Where / map ------------------------------------------------------- */

.where__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.where__kicker {
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan);
}

.where__venue {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.75rem, 9vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--white);
}

.where__address {
    margin-top: 20px;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--paper);
}

.where__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.map {
    border: 4px solid var(--cyan);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ink);
}

.map__frame {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) contrast(1.05);
}

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

/* --- 7. Final CTA --------------------------------------------------------- */

.final {
    padding: 64px var(--pad-x) 72px;
    background: var(--cyan);
    text-align: center;
}

.final__kicker {
    margin-bottom: 18px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
}

.final__heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.25rem, 15vw, 8.75rem);
    line-height: 0.86;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 6px 6px 0 var(--ink);
}

.final__btn { margin-top: 36px; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 40px var(--pad-x);
    background: var(--ink);
    border-top: 3px solid var(--cyan);
}

.site-footer__wordmark {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--cyan);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
}

.site-footer__link {
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
}

.site-footer__link:hover { color: var(--orange); }

/* --- Wider: show nav links, split the strips into rows -------------------- */

@media (min-width: 40rem) {
    :root { --pad-x: 40px; }

    .topbar__links { display: flex; }

    .nights,
    .program { grid-template-columns: repeat(3, 1fr); }
}

/* --- Widest: the design's two-column bands -------------------------------- */

@media (min-width: 52rem) {
    :root { --pad-x: 48px; }

    .hero { grid-template-columns: 1.15fr 0.85fr; }

    .hero__body { padding: 56px 48px 60px; }

    .hero__media {
        min-height: 520px;
        border-top: 0;
        border-left: 4px solid var(--ink);
    }

    .section { padding: 72px var(--pad-x) 80px; }

    .who__grid  { grid-template-columns: 0.9fr 1.1fr; gap: 52px; }
    .where__grid { grid-template-columns: 1fr 1fr; gap: 52px; }
}
