/* TrailerTrashTammy.com public styles.
   Mobile first. Loosely based on eatmytrash.com: near-black + mustard yellow, chunky uppercase headings.
   Light and dark follow the visitor's device setting through the custom properties below. */

/* ---- Fonts (self-hosted, latin subset, swap so text shows immediately) ---- */
@font-face {
    font-family: "Lilita One";
    src: url("/fonts/lilita-one-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Design tokens ---- */
:root {
    --black: #0A0A0A;
    --yellow: #F4CF40;
    --yellow-hover: #FFE16B;
    --teal: #18B49C;
    --white: #FFFFFF;

    --bg: #FFFFFF;
    --alt: #F2F2F2;
    --card: #FFFFFF;
    --text: #333333;
    --heading: #0A0A0A;
    --muted: #5E5E5E;
    --line: #E2E2E2;
    --link: #0A0A0A;

    --radius: 4px;
    --radius-lg: 8px;
    --wrap: 1180px;
    --gutter: 16px;

    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display: "Lilita One", "Arial Black", "Segoe UI", sans-serif;

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #141414;
        --alt: #1C1C1C;
        --card: #202020;
        --text: #D9D9D9;
        --heading: #F5F5F5;
        --muted: #A3A3A3;
        --line: #2E2E2E;
        --link: #F5F5F5;
        color-scheme: dark;
    }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .15em; }
p { margin: 0 0 1rem; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.08;
    margin: 0 0 .75rem;
}
h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--yellow); color: var(--black); padding: .5rem 1rem; z-index: 100; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- Wordmark ---- */
.wordmark {
    font-family: var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.35rem;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
}
.wordmark__name { color: var(--yellow); }
.wordmark__tld { color: var(--white); }
.wordmark--small { font-size: 1.1rem; }

/* ---- Header ---- */
.site-header { background: var(--black); color: var(--white); position: relative; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--white); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 24px; height: 3px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle__bars::before { position: absolute; top: -8px; }
.nav-toggle__bars::after { position: absolute; top: 8px; }

.site-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.site-nav a {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 6px;
    padding: .3rem .9rem;
    font-size: .95rem;
    transition: background-color .15s, color .15s, border-color .15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* With JS, small screens get a hamburger menu; without JS the links simply wrap. */
@media (max-width: 719px) {
    .js .nav-toggle { display: block; }
    .js .site-nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--black);
        flex-direction: column;
        padding: .75rem var(--gutter) 1rem;
        border-top: 1px solid #222222;
    }
    .js .site-nav.is-open { display: flex; }
    .js .site-nav a { text-align: center; padding: .6rem; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); background: var(--white); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); background: var(--white); }
}

/* ---- Footer ---- */
main { padding-bottom: 3rem; }
/* Pages that end with a full-width section butt it straight against the footer. */
main:has(> .section:last-child) { padding-bottom: 0; }
.site-footer { background: var(--black); color: #BBBBBB; padding: 2rem 0 1rem; border-top: 1px solid #222222; }
.site-footer__inner { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1fr auto; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .75rem; }
.footer-nav a, .footer-links a { color: #DDDDDD; text-decoration: none; }
.footer-nav a:hover, .footer-links a:hover { color: var(--yellow); }
.footer-heading { font-size: 1rem; color: var(--yellow); margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.site-footer__notice { font-size: .8rem; color: #999999; text-align: center; margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid #222222; }

/* ---- Buttons ---- */
.button-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0; }
.button-row > * { min-width: 0; max-width: 100%; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    padding: .65rem 1.2rem; border-radius: var(--radius);
    border: 2px solid var(--heading); background: transparent; color: var(--heading);
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--heading); color: var(--bg); }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); color: var(--black); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }

/* ---- Sections ---- */
.section { padding: 2.5rem 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--black); color: #DDDDDD; }
.section--dark h2 { color: var(--yellow); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.section-head__link { font-weight: 600; }
.intro { color: var(--muted); margin-top: 0; }

/* ---- Hero ---- */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.hero__content { position: relative; padding-top: 3.5rem; padding-bottom: 3rem; text-align: center; }
.hero__title { color: var(--white); max-width: 18ch; margin: 0 auto .75rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.hero__intro { max-width: 46rem; margin: 0 auto; color: #EEEEEE; font-size: 1.12rem; }
.hero .button-row { justify-content: center; }
/* Long video titles shrink with an ellipsis instead of widening the page. */
.hero .btn-ghost { display: block; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .hero__content { padding-top: 6rem; padding-bottom: 5.5rem; } }

/* ---- Breadcrumbs, chips, pagination ---- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 1.25rem 0 .5rem; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; }
.breadcrumbs a { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.5rem; }
.chip { border: 2px solid var(--line); border-radius: 999px; padding: .2rem .9rem; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--heading); }
.chip:hover { border-color: var(--heading); }
.chip.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 2.5rem 0 0; }
.pagination a, .pagination span { min-width: 2.4rem; text-align: center; padding: .35rem .7rem; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--heading); }
.pagination [aria-current="page"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.pagination__gap { border: 0 !important; min-width: auto !important; }

/* ---- Category tiles ---- */
.category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.category-tile {
    display: flex; justify-content:center; align-items: center; text-align: center; text-decoration: none;
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em;
    border: 2px solid var(--yellow); color: var(--yellow); border-radius: 6px; padding: .8rem .5rem;
    transition: background-color .15s, color .15s;
}
.category-tile:hover { background: var(--yellow); color: var(--black); }

/* ---- Video cards ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1.25rem 1rem; }
.video-card { text-decoration: none; color: var(--heading); display: flex; flex-direction: column; gap: .5rem; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--alt); border-radius: var(--radius); overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.video-card:hover .video-card__thumb img { transform: scale(1.03); }
.video-card__duration { position: absolute; right: 6px; bottom: 6px; background: rgba(0, 0, 0, .82); color: var(--white); font-size: .78rem; font-weight: 600; padding: .05rem .4rem; border-radius: 3px; }
.video-card__title { font-weight: 600; line-height: 1.3; }
.video-card:hover .video-card__title { text-decoration: underline; }

/* ---- Video page ---- */
.preview-banner { background: var(--yellow); color: var(--black); text-align: center; margin: 0; padding: .5rem var(--gutter); }
.video-page { max-width: 900px; }
.video-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.video-meta a { color: var(--muted); }
.yt-lite { position: relative; aspect-ratio: 16 / 9; background: #000000; border-radius: var(--radius-lg); overflow: hidden; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite__button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-lite__button img { width: 100%; height: 100%; object-fit: cover; }
.yt-lite__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: var(--yellow); border-radius: 14px; transition: transform .15s; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.yt-lite__play::after { content: ""; position: absolute; left: 31px; top: 16px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--black); }
.yt-lite__button:hover .yt-lite__play, .yt-lite__button:focus-visible .yt-lite__play { transform: scale(1.08); }
.video-body { margin-top: 1.5rem; font-size: 1.1rem; }
.prev-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; font-weight: 600; }
.prev-next a { text-decoration: none; color: var(--heading); max-width: 48%; }
.prev-next a:hover { text-decoration: underline; }
.prev-next__next { margin-left: auto; text-align: right; }
@media (max-width: 599px) { .prev-next a { max-width: 100%; } }

/* ---- Shows ---- */
.show-list { display: grid; gap: 0; padding-bottom:35px; }
.show-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.section--dark .show-row { border-color: #2A2A2A; }
.show-row__date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 62px; height: 62px; border-radius: 6px; background: var(--black); color: var(--yellow);
    text-decoration: none; font-family: var(--font-display); text-transform: uppercase; line-height: 1;
}
.section--dark .show-row__date { background: var(--yellow); color: var(--black); }
.show-row__month { font-size: .8rem; }
.show-row__day { font-size: 1.6rem; }
.show-row__info { display: flex; flex-direction: column; min-width: 0; }
.show-row__city { font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--heading); }
.section--dark .show-row__city { color: var(--white); }
.show-row__city:hover { text-decoration: underline; }
.show-row__venue { color: var(--muted); font-size: .92rem; }
.section--dark .show-row__venue { color: #AAAAAA; }
.show-row__status { font-weight: 600; color: #B4501E; font-size: .85rem; text-transform: uppercase; }
.show-row--cancelled .show-row__city { text-decoration: line-through; }
.show-row__tickets { padding: .5rem .95rem; }
@media (max-width: 479px) {
    .show-row { grid-template-columns: auto minmax(0, 1fr); }
    .show-row__tickets { grid-column: 2; justify-self: start; }
}

.presale-code { font-family: var(--font-display); letter-spacing: .05em; }
button.presale-code {
    background: var(--yellow); color: var(--black); border: 0; border-radius: var(--radius);
    padding: .15rem .6rem; font-size: 1.05rem; cursor: copy;
}

.show-page { max-width: 960px; }
.show-page__when { font-size: 1.15rem; font-weight: 600; color: var(--heading); margin-bottom: 1.25rem; }
.show-page__tour { display: inline-block; margin-left: .5rem; padding: .05rem .55rem; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: .9rem; font-weight: 600; }
.show-page__grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .show-page__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.show-facts { margin: 0; display: grid; gap: .75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.15rem; }
.show-facts div { display: grid; gap: .1rem; }
.show-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.show-facts dd { margin: 0; font-size: 1.05rem; color: var(--heading); }
.ticket-box { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 1.15rem; display: grid; gap: .7rem; text-align: center; }
.ticket-box__main { width: 100%; font-size: 1.05rem; padding: .8rem 1rem; }
.ticket-box__extra { color: var(--yellow); font-weight: 600; }
.ticket-box__presale, .ticket-box__calendar { margin: 0; color: #DDDDDD; }
.ticket-box__calendar a { color: var(--yellow); }
.show-page__body { margin-top: 1.75rem; font-size: 1.1rem; }
.notice { border-radius: var(--radius); padding: .7rem 1rem; }
.notice--warn { background: #FAEEDA; color: #633806; }

/* "Catch Tammy live" band on video pages */
.live-band { background: var(--black); color: var(--white); }
.live-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.live-band__title { font-family: var(--font-display); text-transform: uppercase; color: var(--yellow); font-size: 1.3rem; margin-right: .5rem; }
.live-band__text { margin: 0; }

/* Category tiles on a light section */
.section--alt .category-tile { border-color: var(--heading); color: var(--heading); }
.section--alt .category-tile:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.section--dark .section-head__link { color: var(--white); }

/* ---- Buttons on color ---- */
.btn-dark { background: var(--black); border-color: var(--black); color: var(--yellow); }
.btn-dark:hover { background: #262626; border-color: #262626; color: var(--yellow); }
.btn-outline-dark { border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.button-row--center { justify-content: center; margin-top: 2rem; }

/* ---- Shop ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 1.25rem 1rem; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--heading); }
.product-card__image { aspect-ratio: 1; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.product-card:hover .product-card__image img { transform: scale(1.03); }
.product-card__title { font-weight: 600; line-height: 1.3; }
.product-card:hover .product-card__title { text-decoration: underline; }
.product-card__price { color: var(--muted); font-size: .95rem; }
.product-card__was { margin-left: .35rem; color: var(--muted); }

/* ---- Pontoon Party ---- */
.pontoon-hero { background: var(--teal); color: var(--black); padding: .5rem 0 2.25rem; }
.pontoon-hero h1 { color: var(--black); margin-top: .5rem; }
.pontoon-hero__lead { font-size: 1.15rem; font-weight: 600; max-width: 52rem; }
.breadcrumbs--on-color ol, .breadcrumbs--on-color a { color: var(--black); }
.pontoon-page { padding-top: 1.75rem; }
.fact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.fact-tile { background: var(--alt); border-radius: var(--radius-lg); padding: .85rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.fact-tile--wide { grid-column: 1 / -1; }
.fact-tile__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.fact-tile__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--heading); text-transform: uppercase; }
.fact-tile__note { color: var(--text); }
.pontoon-page__body { font-size: 1.1rem; max-width: 52rem; }
.highlights { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.highlights li { background: var(--alt); border-radius: 999px; padding: .25rem .85rem; font-weight: 600; font-size: .95rem; }
.muted-note { color: var(--muted); font-size: .88rem; }
.pontoon-band { background: var(--teal); color: var(--black); }
.pontoon-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.pontoon-band__text { margin: 0; font-weight: 600; }
.pontoon-band__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; margin-right: .6rem; }

/* ---- About ---- */
.about-grid { display: grid; gap: 1.5rem; margin-top: .5rem; }
@media (min-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.about-body { font-size: 1.1rem; }
.quick-facts { background: var(--alt); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; }
.quick-facts h2 { font-size: 1.2rem; }
.quick-facts dl { margin: 0; display: grid; gap: .6rem; }
.quick-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.quick-facts dd { margin: 0; font-weight: 600; color: var(--heading); }
.official-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.official-links a { display: inline-block; border: 2px solid var(--heading); border-radius: 999px; padding: .1rem .7rem; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--heading); }
.official-links a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.faq { margin-top: 2.5rem; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .75rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; color: var(--heading); }
.faq details p { margin: .6rem 0 0; }
