/*
  Affichr poster design system — "printed gig poster on paper".
  Shared by marketing pages (aboutus, beta, starterpack, upgrade, privacy, terms).
  The main landing (index.html) carries its own copy of this language inline.

  Pieces:
  - Tokens (:root) + paper body base
  - .poster-header  : ink sticky header bar with red trim
  - .btn / .btn-primary / .btn-ghost-light / .btn-ghost-dark : ticket buttons
  - .eyebrow        : rubber-stamp chip
  - h1/h2 Anton caps + .text-highlighter red ink block
  - .af-marquee     : scrolling red tape band
  - .paper-card     : ink-bordered card with hard print shadow
*/

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anton";
  src: url("/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #15140E;
  --bg-card-dark: #1D1B13;
  --bg-surface-dark: #26231A;

  --accent: #CE2E22;
  --accent-soft: rgba(206, 46, 34, 0.16);
  --brand-light: #A8231B;

  --bg: #F8F6F1;
  --bg-soft: #EFECE4;
  --text: #1A1813;
  --muted: #6B6453;
  --soft: #8A8474;
  --border: rgba(26, 24, 19, 0.10);
  --border-strong: rgba(26, 24, 19, 0.18);

  --on-dark: rgba(244, 240, 231, 0.94);
  --on-dark-muted: rgba(244, 240, 231, 0.64);
  --on-dark-soft: rgba(244, 240, 231, 0.44);
  --on-dark-border: rgba(244, 240, 231, 0.10);

  --ink: #1A1813;
  --paper: #F8F6F1;
  --shadow-card: 10px 10px 0 rgba(26, 24, 19, 0.10);
  --shadow-dark: 14px 14px 0 rgba(16, 14, 9, 0.55);

  --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Anton", "Oswald", "Arial Narrow", Impact, sans-serif;

  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body.poster {
  margin: 0;
  background:
    radial-gradient(circle at 86% -6%, rgba(206, 46, 34, 0.06), transparent 28rem),
    linear-gradient(180deg, #FBF8F2 0%, var(--bg) 55%, #F1EDE2 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

.poster a { color: inherit; text-decoration: none; }
.poster img { display: block; max-width: 100%; }

.poster .wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

/* ---------- Header (ink bar, red trim) ---------- */
.poster-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(21, 20, 14, 0.92);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--on-dark-border);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  color: var(--on-dark);
}

.poster-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.poster-header .brand img { height: 30px; width: auto; }

.poster-header .nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.poster-header .nav-links a:hover { color: #fff; }

/* ---------- Ticket buttons ---------- */
.poster .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 2px 20px 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.poster .btn:hover { transform: translate(-2px, -2px); }

.poster .btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink) !important;
}

.poster .btn-primary {
  background: var(--accent);
  color: #FFF6EE;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.poster .btn-primary:hover {
  box-shadow: 6px 6px 0 var(--ink);
  background: #D9362A;
}

.poster .on-ink .btn-primary,
.poster .poster-header .btn-primary,
.poster .section-dark .btn-primary {
  border-color: #0E0D09;
  box-shadow: 4px 4px 0 rgba(248, 246, 241, 0.9);
}

.poster .on-ink .btn-primary:hover,
.poster .poster-header .btn-primary:hover,
.poster .section-dark .btn-primary:hover {
  box-shadow: 6px 6px 0 rgba(248, 246, 241, 0.9);
}

.poster .btn-ghost-light {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--text);
  box-shadow: 4px 4px 0 rgba(26, 24, 19, 0.2);
}

.poster .btn-ghost-light:hover {
  color: var(--accent);
  box-shadow: 6px 6px 0 rgba(26, 24, 19, 0.28);
}

.poster .btn-ghost-dark {
  background: transparent;
  border-color: rgba(248, 246, 241, 0.45);
  color: var(--on-dark);
  box-shadow: 4px 4px 0 rgba(248, 246, 241, 0.16);
}

.poster .btn-ghost-dark:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(206, 46, 34, 0.16);
  box-shadow: 6px 6px 0 rgba(206, 46, 34, 0.5);
}

/* ---------- Stamp eyebrow ---------- */
.poster .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 3px;
  border-radius: 0;
  border: 2px solid currentColor;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-1.6deg);
  box-shadow: 3px 3px 0 rgba(26, 24, 19, 0.14);
}

.poster .on-ink .eyebrow,
.poster .section-dark .eyebrow {
  color: #E1493C;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* ---------- Poster headlines ---------- */
.poster h1, .poster h2, .poster h3 {
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

.poster h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.0;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  margin-top: 22px;
}

.poster h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 14px;
}

.poster h3 {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.poster .text-highlighter {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0.02em 0.16em 0.08em;
  margin: 0 -0.04em;
  background: var(--accent);
  color: #FFF6EE;
  box-shadow: 0.12em 0.12em 0 rgba(26, 24, 19, 0.85);
  transform: rotate(-1.2deg);
}

.poster .lede {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Paper card ---------- */
.poster .paper-card {
  background: #FFFDF8;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* ---------- Ink section ---------- */
.poster .section-dark,
.poster .on-ink {
  background: var(--bg-dark);
  color: var(--on-dark);
  border-top: 3px solid var(--accent);
}

/* ---------- AF marquee ---------- */
.poster .af-marquee {
  position: relative;
  z-index: 4;
  width: 100%;
  overflow: hidden;
  background: var(--accent);
  color: #16130D;
  border-block: 3px solid #16130D;
  padding: 11px 0 9px;
  transform: rotate(-0.7deg) scaleX(1.03);
  box-shadow: 0 6px 0 rgba(26, 24, 19, 0.22);
}

.poster .af-marquee--flip { transform: rotate(0.7deg) scaleX(1.03); }

.poster .af-marquee__track {
  display: flex;
  width: max-content;
  animation: afMarqueeScroll 26s linear infinite;
}

.poster .af-marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.poster .af-marquee__group b {
  font-weight: 400;
  color: var(--paper);
  text-shadow: 2px 2px 0 rgba(14, 13, 9, 0.55);
}

.poster .af-marquee__group span[aria-hidden] { font-size: 12px; }

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

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

@media (max-width: 720px) {
  .poster .af-marquee__group { font-size: 15px; gap: 20px; padding-right: 20px; }
}

/* ---------- Focus ---------- */
.poster a:focus-visible,
.poster button:focus-visible,
.poster input:focus-visible,
.poster select:focus-visible,
.poster textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
