@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/HankenGrotesk-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/HankenGrotesk-400-latin.woff2') format('woff2');
  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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/HankenGrotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/HankenGrotesk-700-latin.woff2') format('woff2');
  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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/SpaceMono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/SpaceMono-400-latin.woff2') format('woff2');
  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;
}

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

:root {
  --paper: #19181a;
  --paper-2: #201f22;
  --deep: #000000;
  --ink: #f5f4f0;
  --dim: #d9d7ce;
  --edge: #333236;
  --hl: #f0e226;
  --face: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1180px;
  --round: 999px;
  --gap: 24px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: 1.0625rem;
  line-height: 1.58;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--hl); }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

/* — tipográfia — */
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.35rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.55rem); line-height: 1.16; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.tp-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.tp-badge {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tp-badge span { display: block; color: var(--dim); }

.tp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 26px;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  background: var(--hl);
  color: var(--deep);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.tp-pill:hover { background: var(--paper); color: var(--hl); transform: translateY(-2px); }
.tp-pill:active { transform: translateY(0); }
.tp-pill--ghost { background: transparent; color: var(--hl); }
.tp-pill--ghost:hover { background: var(--hl); color: var(--deep); }

.tp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
}
.tp-skip:focus {
  left: 12px;
  top: 12px;
  padding: 12px 20px;
  background: var(--hl);
  color: var(--deep);
  border-radius: var(--round);
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-decoration: none;
}

/* — fejléc — */
.tp-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(25, 24, 26, 0.94);
  backdrop-filter: blur(8px);
}
.tp-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.tp-brand {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.tp-brand__b { color: var(--hl); }

.tp-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  background: transparent;
  color: var(--hl);
  cursor: pointer;
}
.tp-burger:hover { background: var(--hl); color: var(--deep); }
.tp-burger svg { width: 20px; height: 20px; }
.tp-burger__x { display: none; }
.tp-burger[aria-expanded="true"] .tp-burger__x { display: block; }
.tp-burger[aria-expanded="true"] .tp-burger__lines { display: none; }

.tp-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tp-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 18px;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.tp-nav__link:hover { background: var(--hl); color: var(--deep); }

@media (max-width: 879px) {
  .tp-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 16px 20px 24px;
    background: var(--paper);
  }
  .tp-nav.is-open { display: block; }
  .tp-nav__list { flex-direction: column; }
  .tp-nav__link { width: 100%; }
  .tp-topbar__inner { position: relative; }
}
@media (min-width: 880px) {
  .tp-burger { display: none; }
}

/* — nyitókép — */
.tp-stage {
  position: relative;
  padding-block: 84px 92px;
  overflow: hidden;
  background-image: repeating-linear-gradient(90deg, transparent 0 34px, rgba(240, 226, 38, 0.07) 34px 38px);
}
.tp-stage__inner { text-align: center; }
.tp-stage__head { margin-block: 26px 0; }
.tp-stage__mark { color: var(--hl); }
.tp-stage__lede {
  margin: 22px auto 0;
  max-width: 44ch;
  color: var(--dim);
  font-size: 1.15rem;
}
.tp-stage__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.tp-stage__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  margin-top: 60px;
}
.tp-stage__bars i {
  flex: 1;
  background: var(--hl);
  opacity: 0.85;
}
.tp-stage__bars i:nth-child(3n) { height: 100%; }
.tp-stage__bars i:nth-child(3n + 1) { height: 42%; }
.tp-stage__bars i:nth-child(3n + 2) { height: 68%; }
.tp-stage__bars i:nth-child(5n) { height: 22%; }

@media (max-width: 640px) {
  .tp-stage { padding-block: 56px 64px; }
  .tp-stage__bars { height: 28px; margin-top: 40px; gap: 4px; }
}

/* — játéklista — */
.tp-reel { padding-block: 76px 84px; }
.tp-reel__intro { max-width: 58ch; }
.tp-reel__intro p { margin-top: 18px; color: var(--dim); }
.tp-reel__list { list-style: none; margin-top: 52px; display: grid; gap: 64px; }

.tp-reel__row { display: grid; gap: 26px; }
@media (min-width: 880px) {
  .tp-reel__row { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 40px; align-items: start; }
}

.tp-reel__shots { display: grid; gap: 12px; }
/* A kép doboza kötött arányú: a magassága betöltés előtt is ismert, így a sor nem ugrik meg. */
.tp-reel__shot {
  aspect-ratio: 3 / 4;
  width: 100%;
  border: 1px solid var(--deep);
  background: var(--deep);
}
.tp-reel__shot img { width: 100%; height: 100%; object-fit: contain; }
.tp-reel__shot--wide { aspect-ratio: 16 / 9; }
.tp-reel__shot--wide img { object-fit: cover; }

.tp-reel__top { display: flex; align-items: center; gap: 14px; }
.tp-reel__icon { width: 56px; height: 56px; flex: none; border: 1px solid var(--edge); }
.tp-reel__kind {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-reel__score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 16px;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.tp-reel__score svg { width: 14px; height: 14px; flex: none; }
.tp-reel__score span { color: var(--dim); letter-spacing: 0.02em; }
.tp-reel__text { margin-top: 18px; max-width: 62ch; }
.tp-reel__text p + p { margin-top: 0; }

@media (max-width: 879px) {
  .tp-reel { padding-block: 56px 60px; }
  .tp-reel__list { gap: 48px; }
}

/* — összevetés — */
.tp-track { padding-block: 60px 76px; background: var(--paper-2); }
.tp-track__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 26px; }
.tp-track__hint { color: var(--dim); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; }
.tp-track__scroll { margin-top: 32px; overflow-x: auto; }
.tp-track__scroll:focus-visible { outline: 2px solid var(--hl); outline-offset: 4px; }
.tp-track table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.97rem; }
.tp-track caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.tp-track thead th {
  padding: 0 18px 14px 0;
  border-bottom: 1px solid var(--hl);
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.tp-track tbody th,
.tp-track tbody td { padding: 15px 18px 15px 0; text-align: left; font-weight: 400; vertical-align: top; }
.tp-track tbody th { color: var(--ink); min-width: 190px; }
.tp-track tbody td { color: var(--dim); }
.tp-track tbody tr:nth-child(odd) { background: rgba(245, 244, 240, 0.045); }
.tp-track tbody th:first-child,
.tp-track tbody td:first-of-type { padding-left: 14px; }
.tp-note { margin-top: 26px; max-width: 74ch; color: var(--dim); font-size: 0.97rem; }

/* — kérdések — */
.tp-qa { padding-block: 84px 56px; }
.tp-qa__list { margin-top: 36px; display: grid; gap: 10px; }
.tp-qa__item { background: var(--paper-2); }
.tp-qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.tp-qa__q::-webkit-details-marker { display: none; }
.tp-qa__q h3 { font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.tp-qa__q svg { width: 18px; height: 18px; flex: none; color: var(--hl); transition: transform .2s ease; }
.tp-qa__item[open] .tp-qa__q svg { transform: rotate(45deg); }
.tp-qa__q:hover h3 { color: var(--hl); }
.tp-qa__a { padding: 0 20px 22px; color: var(--dim); max-width: 78ch; }

/* — kapcsolat — */
.tp-desk { padding-block: 44px 96px; }
.tp-desk__box {
  display: grid;
  gap: 30px;
  padding: 36px 32px;
  border: 1px solid var(--edge);
  background: var(--paper-2);
}
@media (min-width: 880px) {
  .tp-desk__box { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}
.tp-desk__box p { max-width: 58ch; color: var(--dim); }
.tp-desk__box h2 { margin-bottom: 18px; }
.tp-desk__card { padding: 24px 22px; background: var(--paper); }
.tp-desk__tag {
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tp-desk__mail {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--hl);
  word-break: break-word;
}
.tp-desk__who { margin-top: 22px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.75; color: var(--dim); }

/* — lábléc — */
.tp-base { padding-block: 56px 36px; background: var(--deep); }
.tp-base__cols { display: grid; gap: 34px; }
@media (min-width: 720px) {
  .tp-base__cols { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
}
.tp-base__label {
  margin-bottom: 10px;
  color: var(--hl);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tp-base__list { list-style: none; }
.tp-base__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  font-size: 0.95rem;
  text-decoration: none;
}
.tp-base__link:hover { color: var(--hl); text-decoration: underline; }
.tp-base__about { color: var(--dim); font-size: 0.95rem; max-width: 38ch; }
.tp-base__about a { color: var(--hl); }
.tp-base__sign { margin-top: 40px; color: var(--dim); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; }

/* — süti-sáv — */
.tp-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  width: min(calc(100% - 32px), 460px);
  padding: 20px 22px;
  border: 1px solid var(--hl);
  background: var(--paper);
  display: none;
}
.tp-notice.is-on { display: block; }
.tp-notice p { font-size: 0.9rem; line-height: 1.45; color: var(--dim); }
.tp-notice__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tp-notice__acts .tp-pill { min-height: 44px; padding-inline: 20px; font-size: 0.75rem; }
@media (max-width: 520px) {
  .tp-notice { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 15px 16px; }
  .tp-notice p { font-size: 0.84rem; }
}

/* — vissza a tetejére — */
.tp-lift {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hl);
  border-radius: var(--round);
  background: var(--paper);
  color: var(--hl);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, background-color .18s ease, color .18s ease;
}
.tp-lift.is-on { opacity: 1; visibility: visible; }
.tp-lift:hover { background: var(--hl); color: var(--deep); }
.tp-lift svg { width: 18px; height: 18px; }

/* — jogi oldalak — */
.tp-page { padding-block: 60px 84px; }
.tp-page__head { max-width: 62ch; }
.tp-page__date { margin-top: 16px; color: var(--dim); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.tp-page__body { margin-top: 44px; max-width: 76ch; }
.tp-page__body h2 { margin-top: 44px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.tp-page__body h2:first-child { margin-top: 0; }
.tp-page__body h3 { margin-top: 28px; font-size: 1.1rem; }
.tp-page__body p, .tp-page__body li { color: var(--dim); }
.tp-page__body ul { margin: 0 0 1.05em; padding-left: 20px; }
.tp-page__body li { margin-bottom: 8px; }
.tp-page__body dl { margin: 0 0 1.05em; color: var(--dim); }
.tp-page__body dt { margin-top: 14px; color: var(--ink); font-family: var(--mono); font-size: 0.82rem; }
.tp-page__body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.94rem; }
.tp-page__body caption { caption-side: top; text-align: left; padding-bottom: 14px; color: var(--dim); font-family: var(--mono); font-size: 0.78rem; }
.tp-page__body thead th { padding: 0 14px 12px 0; border-bottom: 1px solid var(--hl); color: var(--hl); font-family: var(--mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase; text-align: left; }
.tp-page__body tbody th, .tp-page__body tbody td { padding: 13px 14px 13px 0; text-align: left; font-weight: 400; vertical-align: top; color: var(--dim); }
.tp-page__body tbody th { color: var(--ink); }
.tp-page__body tbody tr:nth-child(odd) { background: rgba(245, 244, 240, 0.045); }
.tp-page__back { margin-top: 44px; }

/* — hibaoldal — */
.tp-lost { padding-block: 110px 130px; text-align: center; }
.tp-lost p { margin: 20px auto 30px; max-width: 46ch; color: var(--dim); }
.tp-lost__code { color: var(--hl); font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.2em; }

/* — segédosztályok — */
[data-motion="on"] .tp-rise {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-motion="on"] .tp-rise.is-seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-motion="on"] .tp-rise { opacity: 1; transform: none; }
}
