/* =============================================================================
   Emerging Minds — weboldal v2 · „az oldal maga az asztal"
   Arculat: 2026-os brand book. Három szín, se több, se kevesebb:
   bordó #59020B · világoskék #ACC6DD · blush #F5E1E1.
   Kék/blush felületen minden bordó, bordó felületen minden kék.
   Mozgás: stop-motion, 12 kép/mp (steps()), önmagukat rajzoló firkák.
============================================================================= */

/* Libre Franklin — saját tárhelyről (SIL OFL, assets/fonts/OFL.txt), nem a Google-től,
   így a látogatók IP-címe nem jut el a Google-höz. Változó súlyú fájlok, latin + latin-ext (ő, ű). */
@font-face {
  font-family: 'Libre Franklin'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(assets/fonts/libre-franklin-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(assets/fonts/libre-franklin-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: 'Libre Franklin'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(assets/fonts/libre-franklin-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Franklin'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(assets/fonts/libre-franklin-italic-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;
}

:root {
  --burgundy: #59020B;
  --blue: #ACC6DD;
  --blush: #F5E1E1;

  --font: 'Univers Next Pro', 'Libre Franklin', ui-sans-serif, sans-serif;
  --header-h: 104px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  /* egy stop-motion kocka = 1/12 mp */
  --frame: 83ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  background: var(--blue);
  color: var(--burgundy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

::selection { background: var(--burgundy); color: var(--blue); }
.on-burgundy ::selection { background: var(--blue); color: var(--burgundy); }

:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.on-burgundy :focus-visible { outline-color: var(--blue); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* papír-szálak: finom zaj a blush és kék felületeken (nem szín, csak textúra) */
.paper { position: relative; isolation: isolate; }
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .01 0 0 0 0 .04 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .09; mix-blend-mode: multiply;
}

.bg-blue { background-color: var(--blue); color: var(--burgundy); }
.bg-blush { background-color: var(--blush); color: var(--burgundy); }
.bg-burgundy { background-color: var(--burgundy); color: var(--blue); }

/* ---------- tipó-elemek ---------- */

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow .dots { display: inline-flex; gap: 4px; }
.eyebrow .dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow .dots i:nth-child(2) { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 300; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 300; max-width: 34em; }

/* a kampány címkéje: bordó szalag, vékony blush papírszél, kék nagybetűk */
.tag {
  display: inline-block;
  background: var(--burgundy); color: var(--blue);
  font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.15;
  padding: .42em .7em .38em;
  box-shadow: 0 0 0 3px var(--blush), 0 6px 14px -8px rgba(89, 2, 11, .55);
  transform: rotate(var(--tilt, -1.2deg));
}
.on-burgundy .tag, .tag--blue {
  background: var(--blue); color: var(--burgundy);
  box-shadow: 0 0 0 3px var(--blush), 0 6px 14px -8px rgba(0, 0, 0, .5);
}

/* gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  padding: 17px 28px; border-radius: 2px; cursor: pointer; text-decoration: none;
  background: var(--burgundy); color: var(--blue); border: 1.5px solid var(--burgundy);
  transition: transform var(--frame) steps(1), box-shadow var(--frame) steps(1);
}
.btn:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 4px 4px 0 var(--burgundy); }
.btn:active { transform: none; box-shadow: none; }
.on-burgundy .btn { background: var(--blue); color: var(--burgundy); border-color: var(--blue); }
.on-burgundy .btn:hover { box-shadow: 4px 4px 0 var(--blue); }
.btn--sm { padding: 12px 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--burgundy); }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { display: inline-block; transition: transform var(--frame) steps(1); }
.link-arrow:hover span { transform: translateX(5px); }

/* =============================================================================
   FIRKÁK — kézzel rajzolt vonalak, amelyek stop-motionben megrajzolják magukat
============================================================================= */

.doodles { overflow: visible; }
.doodles path, .doodles use, .doodles circle, .doodles ellipse {
  fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
}
.doodles .fill { fill: currentColor; stroke: none; }

@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes in-pop   { 0% { transform: scale(.2); opacity: 1; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes tag-bump { 0% { transform: rotate(var(--tilt, -1.2deg)) scale(.6); opacity: 1; } 50% { transform: rotate(var(--tilt, -1.2deg)) scale(1.08); opacity: 1; } 100% { transform: rotate(var(--tilt, -1.2deg)); opacity: 1; } }

/* elemszelektorok szándékosan: a [pathLength] attribútum-szelektort a Chrome nem frissíti megbízhatóan osztályváltáskor */
.js .assemble path, .js .assemble ellipse, .js .assemble use { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .assemble .fill { opacity: 0; transform-box: fill-box; transform-origin: center; }
.assemble.is-playing path, .assemble.is-playing ellipse, .assemble.is-playing use { animation: draw calc(var(--frame) * 6) steps(6) both; animation-delay: var(--at, 0ms); }
.assemble.is-playing .fill { animation: in-pop calc(var(--frame) * 2) steps(2) both; animation-delay: var(--at, 0ms); }

/* =============================================================================
   FEJLÉC
============================================================================= */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue); border-bottom: 1.5px solid var(--burgundy);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; text-transform: lowercase; }
.wordmark img { width: 20px; }
.nav { display: none; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 250ms steps(3); padding-bottom: 2px; }
.nav a:hover { background-size: 100% 1.5px; }
@media (min-width: 860px) { .nav { display: flex; } }
/* fejléc: Csatlakozom + Következő est (mobilon is elérhető a naptár); keskeny kijelzőn csak az alma marad */
.bar-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 560px) {
  .site-header .bar { gap: 12px; }
  .wordmark .wm-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wordmark img { width: 24px; }
  .bar-actions .btn--sm { padding: 13px 14px; font-size: 13.5px; }
}

.today {
  border-top: 1px solid rgba(89, 2, 11, .35);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-align: center; padding: 7px var(--gutter);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.today .today-date { display: none; }
@media (min-width: 640px) { .today .today-date { display: inline; } }
@media (max-width: 420px) { .today { font-size: 10px; letter-spacing: .12em; } }

/* =============================================================================
   HERO — a két címke kitölti az oldalt, középen
============================================================================= */

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: start center; text-align: center; /* fentről indul, hogy az asztalnak több hely jusson */
  padding: clamp(22px, 3vw, 40px) var(--gutter) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-center { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { justify-content: center; flex-wrap: wrap; }

.hero-title-wrap { position: relative; width: 100%; margin: clamp(14px, 2.2vw, 28px) 0 clamp(18px, 2.6vw, 34px); }
.hero-title {
  font-size: clamp(1rem, 2.7vw, 2.8rem);
  display: flex; flex-direction: column; align-items: center; gap: .26em;
}
.hero-title .tag { white-space: nowrap; }
.hero-title .tag:nth-child(1) { --tilt: -1.6deg; }
.hero-title .tag:nth-child(2) { --tilt: 1deg; }

/* a kézzel rajzolt asztal a cím alatt — a hero .assemble-jével együtt rajzolódik ki */
.hero-table { display: block; width: clamp(300px, 64vw, 820px); max-width: 100%; height: auto; margin: clamp(8px, 2vw, 24px) auto; color: var(--burgundy); overflow: visible; }
.doodles path.wash { fill: var(--blue); stroke: none; stroke-dasharray: none; }
.js .hero.assemble .hero-table .wash { opacity: 0; }
.hero.assemble.is-playing .hero-table .wash { animation: wash-in calc(var(--frame) * 2) steps(2) 4000ms both; }
@keyframes wash-in { to { opacity: 1; } }

.js .hero.assemble .hero-title .tag { opacity: 0; }
.hero.assemble.is-playing .hero-title .tag { animation: tag-bump calc(var(--frame) * 3) steps(3) both; animation-delay: var(--at, 0ms); }

.hero .lead { margin: 0 auto 34px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; }

/* =============================================================================
   MI EZ? — három firka-ikon bordó korongon
============================================================================= */

.miez { padding: clamp(80px, 11vw, 150px) 0; }
.manifesto {
  margin: 30px 0 clamp(56px, 8vw, 100px); padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1.5px solid var(--burgundy); border-bottom: 1.5px solid var(--burgundy);
  font-size: clamp(1.6rem, 3.8vw, 2.8rem); font-weight: 300; font-style: italic; line-height: 1.22;
}
.manifesto strong { font-style: normal; font-weight: 500; }

.stickers { display: grid; gap: clamp(48px, 6vw, 40px); }
@media (min-width: 820px) { .stickers { grid-template-columns: repeat(3, 1fr); } }

.icon { position: relative; height: 230px; display: grid; place-items: center; margin-bottom: 26px; overflow: hidden; } /* a rajz a ikon-sávnál véget ér (pl. a lámpazsinór nem lóg a szövegbe) */
.icon .disc {
  position: absolute; width: 196px; aspect-ratio: 1; border-radius: 50%;
  background: var(--burgundy); left: 50%; top: 50%; translate: -50% -50%;
  transition: scale 250ms steps(3);
}
.icon svg { position: relative; width: 168px; color: var(--blue); overflow: visible; }
.icon svg path, .icon svg ellipse { stroke-width: 6; }
.sticker-card:hover .icon .disc { scale: 1.06; }

.sticker-card .label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-top: 14px; border-top: 1.5px solid var(--burgundy); margin-bottom: 8px; }
.sticker-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.sticker-card p { font-size: 15.5px; font-weight: 300; max-width: 30em; }

/* =============================================================================
   AZ ESTE — műsorlap egy pillantásra: bordó sáv, kék sín, három megálló
============================================================================= */

.este { padding: clamp(64px, 8vw, 110px) 0; }
.este-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .este-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; } }

/* telefonon függőleges lista, a sín a bal szélen fut */
.programme { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 26px; }
.programme::before, .programme::after { content: ""; position: absolute; pointer-events: none; }
.programme::before { /* a sín */
  left: 6px; top: 14px; bottom: 6px; width: 1.5px; background: currentColor;
  transform-origin: 50% 0; transition: transform 500ms steps(6);
}
.programme::after { /* nyitott kör a végén: a beszélgetés megy tovább */
  left: 0; bottom: -6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--burgundy); box-shadow: inset 0 0 0 1.5px currentColor;
}
.programme-item { position: relative; }
.programme-item::before { /* megálló */
  content: ""; position: absolute; left: -30px; top: 12px; width: 13px; height: 13px; border-radius: 50%; background: currentColor;
}

.programme .time { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.programme .clock { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 200; line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.programme .roman { font-size: 1.05rem; font-weight: 300; font-style: italic; }
.programme h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.programme p:not(.time) { font-size: 15px; font-weight: 300; max-width: 24em; }

/* asztali nézet: egy vízszintes sáv, három oszlop */
@media (min-width: 860px) {
  .programme { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 34px 0 0; }
  .programme::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1.5px; transform-origin: 0 50%; }
  .programme::after { left: auto; right: 0; bottom: auto; top: 0; }
  .programme-item::before { left: 0; top: -34px; }
}

/* a sín egyszer megrajzolja magát, a megállók egymás után jönnek */
.js .programme::before { transform: scaleY(0); }
@media (min-width: 860px) { .js .programme::before { transform: scaleX(0); } }
.js .programme.is-drawn::before { transform: none; }
.programme-item.reveal:nth-child(2) { transition-delay: 80ms; }
.programme-item.reveal:nth-child(3) { transition-delay: 160ms; }
.programme-item.reveal:nth-child(4) { transition-delay: 240ms; }

.este-cta { margin-top: clamp(36px, 4.5vw, 56px); }
.este-cta .link-arrow:hover span { transform: translateY(-4px); }

/* =============================================================================
   TÉMÁK — húsz kérdés, számozott korong, valódi jelölőnégyzetek
============================================================================= */

.temak { padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.temak-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
@media (min-width: 900px) { .temak-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; } }

.topic-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.topic-item {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 18px 18px 20px 16px; border: 1.5px solid var(--burgundy); border-radius: 2px;
  cursor: pointer; background: transparent;
  transition: transform var(--frame) steps(1), box-shadow var(--frame) steps(1), background-color var(--frame) steps(1);
}
.topic-item:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--burgundy); }
.topic-item input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topic-item:has(input:focus-visible) { outline: 3px solid var(--burgundy); outline-offset: 3px; }

.topic-item .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  background: var(--burgundy); color: var(--blue);
}
.topic-item:nth-child(even) .num { background: var(--blue); color: var(--burgundy); }
.topic-item .num svg { width: 20px; display: none; }
.topic-item .cat { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; opacity: .85; }
.topic-item .q { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.topic-item .teaser { display: block; font-size: 14px; font-weight: 300; line-height: 1.45; }

.topic-item.is-checked { background: var(--burgundy); color: var(--blue); }
/* elérte a 7-es limitet: a többi téma halványul és nem választható */
.topic-item.is-locked { opacity: .42; cursor: not-allowed; }
.topic-item.is-locked:hover { transform: none; box-shadow: none; }
.topic-item.is-checked .num { background: var(--blue); color: var(--burgundy); animation: in-pop calc(var(--frame) * 3) steps(3); }
.topic-item.is-checked .num b { display: none; }
.topic-item.is-checked .num svg { display: block; }

.vote-bar {
  position: sticky; bottom: 16px; z-index: 10; margin-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--burgundy); color: var(--blue); padding: 10px 10px 10px 20px; border-radius: 2px;
  font-size: 15px; font-weight: 600; box-shadow: 0 18px 40px -20px rgba(89, 2, 11, .7);
}
.vote-bar[hidden] { display: none; }
.vote-bar .btn { background: var(--blue); color: var(--burgundy); border-color: var(--blue); }
.vote-bar .btn:hover { box-shadow: 3px 3px 0 var(--blush); }

/* =============================================================================
   HELYFOGLALÁS — a helykártya
============================================================================= */

.signup { padding: clamp(80px, 11vw, 150px) 0; }
.signup-grid { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 5fr 6fr; } }
.signup .h2 { margin: 22px 0 18px; }
.signup .small { margin-top: 22px; font-size: 13px; font-weight: 500; }

.placecard {
  position: relative; background: var(--blush); color: var(--burgundy);
  border-radius: 2px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
  transform: rotate(.6deg);
}
.placecard ::selection { background: var(--burgundy); color: var(--blue); }
.placecard :focus-visible { outline-color: var(--burgundy); }
.placecard::before { /* a hajtás vonala — sátorkártya */
  content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(28px, 4vw, 48px) + 30px); border-top: 1.5px dashed rgba(89, 2, 11, .45);
}
.placecard .pc-head { display: flex; justify-content: space-between; align-items: center; margin: -8px 0 40px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.placecard .pc-head img { width: 18px; }

.field { margin-bottom: 22px; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font: inherit; font-size: 18px; color: var(--burgundy);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--burgundy); border-radius: 0;
  padding: 8px 2px 10px;
}
.field input[type="text"]:focus, .field input[type="email"]:focus { outline: none; border-bottom-width: 3px; padding-bottom: 8.5px; }
.field .err { min-height: 1.3em; margin-top: 6px; font-size: 13px; font-weight: 600; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; font-weight: inherit; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span {
  display: inline-block; padding: 8px 14px; border: 1.5px solid var(--burgundy); border-radius: 99px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color var(--frame) steps(1);
}
.pills input:checked + span { background: var(--burgundy); color: var(--blue); }
.pills input:focus-visible + span { outline: 3px solid var(--burgundy); outline-offset: 2px; }

.chosen { font-size: 13px; font-weight: 500; margin: 0 0 22px; }
.chosen:empty { display: none; }
.placecard .btn { width: 100%; padding-top: 19px; padding-bottom: 19px; font-size: 16px; background: var(--burgundy); color: var(--blue); border-color: var(--burgundy); }
.placecard .btn:hover { box-shadow: 4px 4px 0 var(--burgundy); }
.placecard .btn:disabled { opacity: .6; cursor: wait; }
.form-error { margin-top: 14px; font-size: 15px; font-weight: 600; }
.form-error:empty { display: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* siker: a kártya „megfordul", rajta a neved */
@keyframes flip-in { from { transform: rotateX(80deg); } to { transform: none; } }
.pc-done { text-align: center; padding: 10px 0 4px; }
.pc-done:focus { outline: none; }
.js .pc-done:not([hidden]) { animation: flip-in calc(var(--frame) * 6) steps(6) both; transform-origin: 50% 0; }
.pc-done .tag { font-size: 13px; margin-bottom: 26px; background: var(--burgundy); color: var(--blue); }
.pc-name { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; font-style: italic; line-height: 1.1; margin-bottom: 14px; overflow-wrap: anywhere; }
.pc-done p { font-weight: 300; max-width: 26em; margin: 0 auto 26px; }
.pc-done .btn { width: auto; }
.pc-done .share-note { margin-top: 12px; font-size: 13px; font-weight: 500; }

/* =============================================================================
   LÁBLÉC
============================================================================= */

.site-footer { padding: clamp(64px, 8vw, 100px) 0 48px; text-align: center; }
.site-footer .sun { width: min(300px, 70vw); margin: 0 auto 6px; }
.site-footer .wm { font-weight: 700; font-size: 20px; text-transform: lowercase; }
.site-footer .sub { font-size: 13px; font-weight: 300; margin: 4px 0 22px; }
/* partnerek: a Luma-borítók TUBA | MTA sora (EM_Luma/partner_lockup.py), változtatás nélkül */
.site-footer .partners { display: grid; justify-items: center; gap: 12px; max-width: 340px; margin: 0 auto 30px; padding-top: 24px; border-top: 1px solid rgba(89, 2, 11, .3); }
.site-footer .partners-label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.site-footer .partners img { display: block; height: clamp(44px, 4vw, 56px); width: auto; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: 13.5px; }
.site-footer .links a { text-underline-offset: 4px; padding: 2px 0; margin: -2px 0; } /* ≥24 px koppintási felület, a tördelés nem változik */
.site-footer .edge { margin-top: 40px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }

/* =============================================================================
   ADATKEZELÉSI TÁJÉKOZTATÓ (adatkezeles.html) — nyugodt, olvasható jogi oldal
============================================================================= */

.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.legal-wrap { max-width: 780px; }
.legal h1 { margin: 18px 0 10px; }
.legal-meta { font-size: 13px; font-weight: 500; margin-bottom: clamp(28px, 4vw, 44px); }
.legal section { margin-top: clamp(30px, 4vw, 44px); }
.legal h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.legal p, .legal li { font-size: 16px; font-weight: 300; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal strong { font-weight: 600; }
.legal ul { margin: 0; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; }

.legal-summary {
  background: var(--burgundy); color: var(--blue); border-radius: 2px;
  padding: clamp(22px, 3.5vw, 36px); margin-top: 0 !important;
}
.legal-summary ::selection { background: var(--blue); color: var(--burgundy); }

.legal-table { overflow-x: auto; margin: 4px 0 14px; border: 1.5px solid var(--burgundy); border-radius: 2px; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid rgba(89, 2, 11, .35); }
.legal-table th { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--burgundy); color: var(--blue); }
.legal-table td { font-weight: 300; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-back { margin-top: clamp(40px, 5vw, 60px); }

/* a gomb alatti tisztázás: a feliratkozás nem regisztráció egy estére */
.disclaimer { margin-top: 16px; padding: 12px 14px; border: 1.5px dashed rgba(89, 2, 11, .5); border-radius: 2px; font-size: 13px; font-weight: 500; line-height: 1.5; }

/* a helykártya alatti hozzájárulási sor */
.consent { margin-top: 14px; font-size: 12.5px; font-weight: 400; line-height: 1.5; }
.consent a { font-weight: 600; text-underline-offset: 3px; }

/* =============================================================================
   Görgetésre előbukkanó elemek
============================================================================= */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 330ms steps(4), transform 330ms steps(4); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================================
   Csökkentett mozgás: minden áll, minden látszik
============================================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero.assemble .hero-title .tag { opacity: 1 !important; transform: rotate(var(--tilt, -1.2deg)) !important; }
  .js .reveal { transform: none !important; }
  .js .assemble path, .js .assemble ellipse, .js .assemble use { stroke-dashoffset: 0 !important; }
  .js .assemble .fill { opacity: 1 !important; }
  .js .hero-table .wash { opacity: 1 !important; animation: none !important; }
  .js .programme::before { transform: none !important; }
}

/* =============================================================================
   NAPTÁR — a Luma-naptár beágyazva (bordó sáv, blush „papír” keret)
============================================================================= */

.naptar { padding: clamp(64px, 8vw, 110px) 0; }
.naptar-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 52px); }
@media (min-width: 900px) { .naptar-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; } }

/* három Luma-esemény egymás mellett; a beágyazás magassága = szélesség (négyzetes borító) + az adatok és a gomb */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 980px) { .event-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.event-card {
  container-type: inline-size;
  background: var(--blush); padding: 8px; border-radius: 2px;
  box-shadow: 6px 6px 0 var(--blue);
}
.event-card iframe { display: block; width: 100%; height: 820px; height: calc(100cqw + 440px); border: 0; background: #fff; }
.naptar-cta { margin-top: 28px; }
