/* Flashback design system — "Youth Culture / Light Editorial".
   Shared by the public pages; colour comes from the posters, the interface stays neutral. */

:root {
  --fb-bg: #F5F3EE;
  --fb-ink: #242424;
  --fb-muted: #68645F;
  --fb-surface: #FFFFFF;
  --fb-line: #DCD9D2;
  --fb-milk: #F5F3EE;
  --fb-graphite-hover: #3B3A38;
  --fb-empty: #E8E5DE;
  /* Functional only: errors and alerts, never decoration. */
  --fb-alert: #9E2B1E;
  --fb-gutter: 1rem;
  --fb-max: 75rem;
  --fb-head: "Oswald Flashback", "Arial Narrow", "Roboto Condensed", sans-serif;
  --fb-text: "Inter Flashback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --fb-gutter: 2rem; }
}
@media (min-width: 1200px) {
  :root { --fb-gutter: 3rem; --fb-max: 80rem; }
}

.fb-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--fb-bg);
  color: var(--fb-ink);
  font-family: var(--fb-text);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.fb-page a { color: inherit; }
.fb-page :focus-visible {
  outline: 2px solid var(--fb-ink);
  outline-offset: 3px;
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.fb-page) { scroll-behavior: smooth; }
}

.fb-skip {
  position: absolute;
  left: var(--fb-gutter);
  top: -3rem;
  z-index: 10;
  padding: .5rem .75rem;
  background: var(--fb-ink);
  color: var(--fb-milk) !important;
  text-decoration: none;
}
.fb-skip:focus { top: .5rem; }

/* Header ------------------------------------------------------------------ */

.fb-header {
  border-bottom: 1px solid var(--fb-line);
  background: var(--fb-bg);
}
.fb-header__bar {
  max-width: var(--fb-max);
  margin: 0 auto;
  padding: .625rem var(--fb-gutter);
  min-height: 3.5rem;
}
.fb-logo {
  font-family: var(--fb-head);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  color: var(--fb-ink);
}
.fb-logo--small { font-size: 1.375rem; }

.fb-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: .375rem .75rem;
  border: 1px solid var(--fb-ink);
  border-radius: 0;
  background: transparent;
  color: var(--fb-ink);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fb-menu-toggle:focus { box-shadow: none; }
.fb-menu-toggle__icon,
.fb-menu-toggle__icon::before {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
}
.fb-menu-toggle__icon { position: relative; top: -3px; }
.fb-menu-toggle__icon::before { content: ""; position: absolute; top: 6px; }
.fb-menu-toggle[aria-expanded="true"] { background: var(--fb-ink); color: var(--fb-milk); }

.fb-menu__list {
  list-style: none;
  margin: 0;
  padding: .5rem 0 .25rem;
}
.fb-menu__link {
  display: block;
  padding: .75rem 0;
  border-top: 1px solid var(--fb-line);
  font-family: var(--fb-head);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.fb-menu__link[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

@media (min-width: 768px) {
  .fb-menu { justify-content: flex-end; }
  .fb-menu__list { display: flex; gap: 2rem; padding: 0; }
  .fb-menu__link {
    padding: .25rem 0;
    border-top: 0;
    font-family: var(--fb-text);
    font-size: .875rem;
    font-weight: 500;
  }
  .fb-menu__link:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
}

/* Layout ------------------------------------------------------------------ */

.fb-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--fb-max);
  margin: 0 auto;
  padding: 1.25rem var(--fb-gutter) 3rem;
}
@media (min-width: 992px) {
  .fb-main { padding-top: 3rem; padding-bottom: 5rem; }
}

.fb-label {
  margin: 0;
  font-family: var(--fb-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fb-ink);
}

/* Posters ----------------------------------------------------------------- */

.fb-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 35%;
  background: var(--fb-empty);
  border-radius: 2px;
}
/* Whole poster, letterboxed instead of cropped (event page). */
.fb-poster--contain { aspect-ratio: auto; height: auto; object-fit: contain; object-position: 50% 0; background: transparent; }
.fb-poster--empty {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .75rem;
  border: 1px solid var(--fb-line);
  color: var(--fb-muted);
}
.fb-poster__mark {
  font-family: var(--fb-head);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--fb-ink);
}
.fb-poster__note {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Facts list (date / venue) ---------------------------------------------- */

.fb-facts { margin: 0; }
.fb-facts__row {
  padding: .4375rem 0;
  border-top: 1px solid var(--fb-line);
}
.fb-facts dt {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--fb-muted);
}
.fb-facts dd {
  margin: 0;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .fb-facts__row {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: .75rem;
    padding: .75rem 0;
  }
  .fb-facts dt { font-size: .75rem; line-height: 1.6rem; }
  .fb-facts dd { font-size: 1.0625rem; line-height: 1.5; }
}

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

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border-radius: 2px;
  border: 1px solid var(--fb-ink);
  background: var(--fb-ink);
  color: var(--fb-milk) !important;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.fb-btn:hover { background: var(--fb-graphite-hover); }
.fb-btn:disabled { opacity: .45; cursor: not-allowed; }
/* Full-width buttons may wrap on narrow phones instead of cutting off their label. */
.fb-btn--block { display: flex; width: 100%; white-space: normal; text-align: center; }
.fb-btn--small { min-height: 2.5rem; padding: .5rem 1rem; font-size: .75rem; }
.fb-btn--ghost {
  background: transparent;
  color: var(--fb-ink) !important;
  border: 1px solid var(--fb-ink);
}
.fb-btn--ghost:hover { background: var(--fb-ink); color: var(--fb-milk) !important; }
.fb-btn--text:hover { background: none; text-decoration-thickness: 2px; }
.fb-btn--text {
  min-height: 3rem;
  padding: .75rem .25rem;
  border: 0;
  background: none;
  color: var(--fb-ink) !important;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
@media (min-width: 768px) {
  .fb-btn { padding-inline: 1.75rem; }
}

/* Text helpers, titles, notices -------------------------------------------- */

.fb-page-title {
  margin: 0 0 1.25rem;
  font-family: var(--fb-head);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.fb-section-title {
  margin: 0 0 .75rem;
  padding-bottom: .625rem;
  border-bottom: 1px solid var(--fb-ink);
  font-family: var(--fb-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.fb-back {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  min-height: 2.75rem;
  margin: -.5rem 0 .5rem;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
.fb-back:hover { text-decoration: underline; text-underline-offset: .25em; }
.fb-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.fb-muted { color: var(--fb-muted); }
.fb-hint { margin: .5rem 0 0; font-size: .8125rem; line-height: 1.45; color: var(--fb-muted); }

.fb-tag {
  display: inline-block;
  margin: 0;
  padding: .25rem .5rem;
  border: 1px solid var(--fb-ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}
.fb-tag--solid { background: var(--fb-ink); color: var(--fb-milk); }
.fb-tag--muted { border-color: var(--fb-line); color: var(--fb-muted); }
.fb-tag--alert { border-color: var(--fb-alert); color: var(--fb-alert); }

.fb-notice,
.fb-page .alert {
  margin: 0 0 1.25rem;
  padding: .875rem 1rem;
  border: 1px solid var(--fb-line);
  border-left: 3px solid var(--fb-ink);
  border-radius: 0;
  background: var(--fb-surface);
  color: var(--fb-ink);
  font-size: .9375rem;
}
.fb-notice p { margin: 0; }
.fb-notice p + p { margin-top: .375rem; }
.fb-notice__title { font-weight: 600; }
.fb-notice--alert,
.fb-page .alert-danger { border-left-color: var(--fb-alert); }
.fb-notice--alert .fb-notice__title { color: var(--fb-alert); }

@media (min-width: 768px) {
  .fb-page-title { font-size: 2.25rem; }
}

/* Footer ------------------------------------------------------------------ */
/* One muted line: © on the left, information and legal links on the right.
   Site navigation and the logo live in the header only. */

.fb-footer {
  border-top: 1px solid var(--fb-line);
  background: var(--fb-bg);
  font-size: .8125rem;
  color: var(--fb-muted);
}
.fb-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 2rem;
  max-width: var(--fb-max);
  margin: 0 auto;
  padding: 1.125rem var(--fb-gutter);
}
.fb-footer__copy { margin: 0; }
.fb-footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.fb-footer__links a {
  display: inline-block;
  padding: .25rem 0;
  color: var(--fb-muted);
  text-decoration: none;
}
.fb-footer__links a:hover { color: var(--fb-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
@media (max-width: 767.98px) {
  .fb-footer__inner { flex-direction: column-reverse; align-items: flex-start; gap: .5rem; }
  .fb-footer__links { gap: 0 1.125rem; }
}

/* Error pages ---------------------------------------------------------------- */
.fb-error { max-width: 36rem; padding: 1rem 0 2rem; }
.fb-error p { margin: 0 0 1rem; }
