/* TFI BANISA — base */

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  /* faint projector glow behind everything */
  content: '';
  position: fixed;
  inset: -20% 0 auto 0;
  height: 60vh;
  background: radial-gradient(60% 60% at 50% 0%, rgba(232, 35, 42, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0 0 var(--sp-4); }

a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--paper); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--red); color: #fff; }

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.shell--wide { max-width: var(--shell-wide); }

.stack > * + * { margin-top: var(--sp-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -80px;
  background: var(--ember);
  color: #1a1000;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 60;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: var(--sp-3); }

/* --- site header --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 6, 7, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 56px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.02em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark span { color: var(--red-bright); }
.wordmark:hover { color: var(--paper); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--sp-3);
  color: var(--paper-dim);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.site-nav a:hover,
.site-nav a[aria-current='page'] { color: var(--paper); background: var(--surface-2); }

/* --- film perforation strip ---------------------------------------------- */

.perf {
  height: 14px;
  background-image: repeating-linear-gradient(
    to right,
    var(--surface-3) 0 10px,
    transparent 10px 22px
  );
  background-size: auto 8px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: 0.7;
}

/* --- footer -------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-8);
  border-top: 1px solid var(--line);
  padding: var(--sp-6) 0 var(--sp-7);
  color: var(--muted);
  font-size: var(--step--1);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--paper);
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
  color: var(--muted);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--paper); text-decoration: underline; }

.legal-page h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-6);
  color: var(--paper);
}
.legal-page p, .legal-page li { color: var(--paper-dim); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
