/* ABOUTME: Shared 2027 "Pipacs" identity — tokens, type, buttons, castle/sun motif, section */
/* ABOUTME: components, and the nav/footer reskin. Loaded after style.css on every 2027 page. */

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

:root {
    --sky: #F2E8D8;
    --sun: #E03A22;
    --hill: #1E2B38;
    --paper: #FBF6EE;
    --pill: #F0B23A;
    --pillT: #1E2B38;
    --onSky: #1E2B38;
    --onHill: #F2E8D8;
    --acc: #F0B23A;
    --row: #FFFFFF;
    --disp: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
    --txt: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--sky);
    color: var(--onSky);
    font-family: var(--txt);
    font-size: 17px;
    line-height: 1.5;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.3 .78'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 220px 220px;
    mix-blend-mode: multiply;
    opacity: .38;
    pointer-events: none;
    z-index: 50;
    animation: pipacs-grain-fizz .7s steps(1) infinite;
}

/* Jumping the noise tile between offsets on whole steps makes the grain fizz
   like film grain rather than sit still. */
@keyframes pipacs-grain-fizz {
    0%   { background-position: 0 0; }
    12.5% { background-position: -37px 19px; }
    25%  { background-position: 23px -41px; }
    37.5% { background-position: -51px -13px; }
    50%  { background-position: 44px 32px; }
    62.5% { background-position: -17px 47px; }
    75%  { background-position: 31px -28px; }
    87.5% { background-position: -44px -7px; }
}

@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; }
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}

@media (min-width: 1300px) {
    .wrap { max-width: 1260px; }
}

.d {
    font-family: var(--disp);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: .005em;
}

.lab {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;
    align-items: center;
    background: var(--pill);
    color: var(--pillT);
    font-family: var(--disp);
    text-transform: uppercase;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.sun {
    background: var(--sun);
    clip-path: polygon(99.97% 50.00%,99.96% 51.74%,99.68% 53.47%,99.66% 55.22%,99.47% 56.95%,99.23% 58.68%,98.56% 60.32%,98.21% 62.02%,97.62% 63.65%,97.36% 65.39%,96.72% 67.01%,95.85% 68.52%,95.56% 70.28%,94.86% 71.88%,94.02% 73.40%,93.22% 74.96%,92.22% 76.38%,91.26% 77.83%,90.46% 79.40%,89.25% 80.66%,88.16% 82.02%,86.99% 83.31%,85.69% 84.46%,84.53% 85.76%,83.22% 86.89%,81.99% 88.12%,80.55% 89.10%,79.21% 90.20%,77.78% 91.18%,76.39% 92.23%,74.89% 93.11%,73.37% 93.95%,71.98% 95.06%,70.41% 95.84%,68.78% 96.49%,67.14% 97.08%,65.44% 97.51%,63.77% 98.01%,62.10% 98.52%,60.39% 98.87%,58.74% 99.56%,56.99% 99.77%,55.28% 100.25%,53.52% 100.30%,51.77% 100.69%,50.00% 100.71%,48.24% 100.32%,46.48% 100.28%,44.71% 100.35%,42.99% 99.86%,41.24% 99.69%,39.58% 99.02%,37.93% 98.41%,36.20% 98.13%,34.52% 97.64%,32.94% 96.87%,31.34% 96.19%,29.68% 95.64%,27.97% 95.17%,26.44% 94.32%,25.03% 93.24%,23.51% 92.39%,22.10% 91.36%,20.71% 90.32%,19.15% 89.48%,17.98% 88.16%,16.58% 87.11%,15.35% 85.89%,14.19% 84.58%,12.82% 83.48%,11.85% 82.01%,10.57% 80.80%,9.70% 79.28%,8.61% 77.92%,7.78% 76.38%,6.92% 74.87%,5.90% 73.45%,5.26% 71.82%,4.80% 70.12%,3.97% 68.60%,3.66% 66.87%,3.04% 65.26%,2.32% 63.67%,1.90% 61.99%,1.65% 60.28%,0.86% 58.67%,0.81% 56.91%,0.49% 55.20%,0.05% 53.49%,0.10% 51.74%,0.05% 50.00%,0.16% 48.26%,0.23% 46.52%,0.17% 44.76%,0.50% 43.04%,0.59% 41.29%,0.97% 39.58%,1.28% 37.85%,1.47% 36.09%,2.14% 34.45%,2.65% 32.77%,3.17% 31.08%,4.14% 29.58%,4.94% 28.02%,5.51% 26.35%,6.46% 24.86%,7.63% 23.52%,8.64% 22.10%,9.47% 20.55%,10.44% 19.10%,11.76% 17.91%,12.62% 16.34%,13.78% 15.02%,15.05% 13.81%,16.34% 12.62%,17.73% 11.54%,19.10% 10.45%,20.28% 9.09%,21.92% 8.37%,23.32% 7.30%,24.95% 6.62%,26.40% 5.62%,28.03% 4.96%,29.69% 4.37%,31.32% 3.77%,32.87% 2.95%,34.62% 2.65%,36.27% 2.10%,37.92% 1.55%,39.60% 1.09%,41.35% 0.93%,43.10% 0.87%,44.80% 0.48%,46.55% 0.71%,48.28% 0.76%,50.00% 0.66%,51.72% 0.61%,53.44% 0.83%,55.16% 0.86%,56.90% 0.90%,58.64% 0.98%,60.33% 1.40%,62.06% 1.61%,63.82% 1.79%,65.52% 2.24%,67.13% 2.93%,68.76% 3.56%,70.34% 4.31%,71.83% 5.25%,73.34% 6.10%,74.85% 6.96%,76.54% 7.53%,77.97% 8.53%,79.49% 9.41%,80.67% 10.74%,82.21% 11.61%,83.51% 12.79%,84.86% 13.90%,85.97% 15.26%,87.36% 16.36%,88.20% 17.95%,89.44% 19.19%,90.55% 20.54%,91.63% 21.92%,92.56% 23.40%,93.52% 24.88%,94.48% 26.35%,95.41% 27.85%,96.03% 29.51%,96.91% 31.05%,97.67% 32.65%,98.25% 34.32%,98.56% 36.08%,99.11% 37.76%,99.45% 39.49%,99.57% 41.26%,99.77% 43.01%,99.79% 44.77%,99.96% 46.51%,100.01% 48.25%);
}

.castle {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--hill);
    overflow: visible;
}

.castle .main,
.castle .mis {
    filter: url(#rough);
}

.castle .mis {
    fill: var(--sun);
    opacity: .92;
    transform: translate(9px, 6px);
}

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

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    background: var(--hill);
    color: var(--onHill);
    font-family: var(--disp);
    text-transform: uppercase;
    font-size: 20px;
    padding: 12px 22px 13px;
    border-radius: 999px;
    line-height: 1;
    text-decoration: none;
    transition: transform .15s;
}

.cta:hover { transform: translateY(-2px); }
.cta.y { background: var(--acc); color: var(--hill); }
.cta.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }

.soc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 11px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: inset 0 0 0 2px currentColor;
    transition: background-color .15s, color .15s;
}

.soc span { font-size: 13px; }
.soc:hover { background: var(--onSky); color: var(--sky); }
.socs { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- hero (Főoldal) ---- */
/* padding-top clears the fixed floating .nav-container (same 12rem/9rem
   convention as .rules-section in css/hazirend.css). */
.hero { position: relative; overflow: hidden; padding-top: 12rem; text-align: center; }
.hero .lab.top { margin-bottom: 10px; }
.hero h1 { font-size: clamp(40px, 7.6vw, 112px); margin: 0; line-height: 1.02; text-wrap: balance; position: relative; z-index: 4; }
.hero .tease { position: relative; z-index: 6; margin-top: clamp(18px, 3vw, 34px); }
.hero .tease .pill { font-size: clamp(20px, 2.6vw, 36px); padding: 9px 24px 12px; transform: rotate(-2deg); box-shadow: 5px 5px 0 var(--hill); }
.hero .scene { position: relative; margin-top: clamp(-40px, -3vw, -10px); }
.hero .sunbox { position: relative; z-index: 1; width: min(480px, 56vw); aspect-ratio: 1; margin: 0 auto -26%; }
.hero .sunbox .sun { position: absolute; inset: -1.5%; }
.hero .castlebox { position: relative; z-index: 3; margin-top: -12%; }
.hero .castlebox .castle { width: 118%; margin-left: -9%; }
.hero .base { background: var(--hill); color: var(--onHill); position: relative; z-index: 3; margin-top: -8px; }
.hero .slogan { font-size: clamp(34px, 5.6vw, 80px); line-height: 1.05; margin: 0; padding-top: 4px; }
.hero .slogan em { font-style: normal; color: var(--acc); }
.hero .base .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 44px 38px; text-align: left; border-top: 2px solid rgba(242, 232, 216, .18); margin-top: 40px; }
.eb { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.eb b { font-family: var(--disp); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: .01em; }
.count { display: flex; gap: 22px; }
.count div { text-align: center; }
.count .d { font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.count .lab { font-size: 11px; opacity: .8; margin-top: 6px; }

@media (max-width: 820px) {
    .hero .sunbox { width: min(440px, 84vw); margin-bottom: -30%; }
    .hero .castlebox .castle { width: 172%; margin-left: -36%; }
    .hero .castlebox { margin-top: -24%; }
}

@media (max-width: 480px) {
    .hero, .sub { padding-top: 9rem; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero .sunbox .sun { animation: pipacs-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes pipacs-rise { from { transform: translateY(14%); } to { transform: none; } }
}

/* ---- subpage header: sky -> small sun + castle -> hill ---- */
.sub { position: relative; overflow: hidden; padding-top: 12rem; }
.sub .wrap { position: relative; z-index: 4; }
.sub h1 { font-size: clamp(56px, 10vw, 150px); line-height: .98; margin: 0; max-width: 11ch; text-wrap: balance; }
.sub .intro { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin: 24px 0 0; font-weight: 500; }
.subscene { position: relative; margin-top: clamp(0px, 1vw, 12px); }
.subscene .sun { position: absolute; z-index: 1; right: 18%; bottom: 18%; width: clamp(110px, 14vw, 210px); aspect-ratio: 1; }
.subscene .castle { position: relative; z-index: 3; width: min(980px, 68%); margin-left: auto; margin-right: -2%; }
.subbase { height: 30px; background: var(--hill); margin-top: -10px; position: relative; z-index: 4; }

@media (max-width: 820px) {
    .subscene .castle { width: min(640px, 118%); margin-right: -12%; }
    .subscene .sun { right: 20%; width: clamp(90px, 22vw, 150px); }
}

/* ---- sections ---- */
section.blk { padding-block: 96px; }
.kick { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.kick::before {
    content: "";
    width: 34px;
    height: 34px;
    flex: none;
    background: var(--sun);
    clip-path: polygon(99.78% 50.00%,99.80% 51.74%,99.88% 53.49%,99.68% 55.22%,99.59% 56.97%,99.50% 58.73%,99.11% 60.44%,98.82% 62.17%,98.17% 63.81%,97.65% 65.48%,97.29% 67.21%,96.52% 68.79%,95.85% 70.41%,95.19% 72.04%,94.26% 73.54%,93.33% 75.01%,92.71% 76.69%,91.70% 78.12%,90.72% 79.58%,89.64% 80.97%,88.62% 82.41%,87.25% 83.54%,86.14% 84.90%,84.76% 85.99%,83.52% 87.22%,82.22% 88.39%,80.78% 89.39%,79.35% 90.40%,78.05% 91.58%,76.67% 92.68%,75.17% 93.59%,73.62% 94.43%,72.10% 95.32%,70.42% 95.87%,68.79% 96.50%,67.14% 97.11%,65.52% 97.77%,63.74% 97.92%,62.03% 98.24%,60.31% 98.53%,58.60% 98.76%,56.90% 99.09%,55.19% 99.40%,53.47% 99.65%,51.73% 99.54%,50.00% 99.60%,48.27% 99.54%,46.54% 99.45%,44.80% 99.47%,43.09% 99.15%,41.41% 98.73%,39.73% 98.33%,37.98% 98.23%,36.30% 97.78%,34.61% 97.38%,33.02% 96.65%,31.32% 96.24%,29.61% 95.80%,28.04% 95.02%,26.38% 94.42%,24.99% 93.32%,23.31% 92.72%,22.06% 91.42%,20.57% 90.51%,19.31% 89.28%,17.79% 88.39%,16.54% 87.16%,15.20% 86.04%,14.01% 84.75%,12.76% 83.53%,11.71% 82.13%,10.41% 80.93%,9.38% 79.51%,8.46% 78.02%,7.25% 76.72%,6.53% 75.10%,5.73% 73.54%,4.98% 71.96%,4.10% 70.44%,3.52% 68.78%,2.60% 67.25%,2.00% 65.60%,1.75% 63.84%,1.29% 62.14%,0.68% 60.48%,0.45% 58.74%,-0.00% 57.03%,-0.33% 55.29%,-0.21% 53.51%,-0.30% 51.76%,-0.43% 50.00%,-0.09% 48.25%,0.18% 46.52%,0.22% 44.77%,0.56% 43.05%,0.87% 41.34%,1.33% 39.65%,1.84% 37.99%,2.16% 36.28%,2.58% 34.59%,3.18% 32.96%,3.93% 31.39%,4.57% 29.77%,5.26% 28.18%,5.92% 26.56%,6.86% 25.10%,7.78% 23.62%,8.65% 22.11%,9.90% 20.86%,10.75% 19.34%,11.92% 18.05%,12.96% 16.65%,14.03% 15.26%,15.40% 14.17%,16.46% 12.75%,18.01% 11.87%,19.24% 10.63%,20.67% 9.62%,22.20% 8.78%,23.62% 7.78%,25.16% 6.97%,26.70% 6.17%,28.20% 5.30%,29.89% 4.82%,31.40% 3.95%,32.93% 3.09%,34.63% 2.68%,36.17% 1.77%,37.90% 1.48%,39.54% 0.80%,41.29% 0.61%,43.00% 0.17%,44.74% -0.05%,46.50% -0.06%,48.24% -0.41%,50.00% -0.34%,51.76% -0.39%,53.51% -0.25%,55.27% -0.12%,57.01% 0.09%,58.74% 0.44%,60.52% 0.51%,62.15% 1.25%,63.93% 1.42%,65.60% 1.99%,67.18% 2.79%,68.83% 3.40%,70.38% 4.22%,71.92% 5.06%,73.38% 6.04%,74.88% 6.90%,76.37% 7.80%,77.83% 8.74%,79.44% 9.48%,80.72% 10.69%,82.12% 11.72%,83.48% 12.82%,84.89% 13.87%,86.03% 15.20%,87.23% 16.48%,88.25% 17.91%,89.30% 19.30%,90.23% 20.77%,91.22% 22.20%,92.14% 23.67%,93.22% 25.05%,93.92% 26.65%,94.56% 28.27%,95.43% 29.77%,95.97% 31.42%,96.76% 32.98%,97.26% 34.64%,97.90% 36.26%,98.06% 38.02%,98.65% 39.66%,98.69% 41.41%,99.24% 43.08%,99.31% 44.82%,99.25% 46.56%,99.74% 48.26%);
}
h2.big { font-size: clamp(46px, 7vw, 92px); margin: 0 0 34px; text-wrap: balance; }
.more-link { display: inline-flex; margin-top: 30px; }

/* ---- scheduled reveal (js/pipacs.js initScheduledReveal) ---- */
/* Some elements this gates (.pill) set their own `display`, which would
   otherwise outrank the UA's default `[hidden]{display:none}` at equal
   specificity since author CSS comes after it in the cascade. */
[data-reveal-at][hidden], [data-hide-at][hidden] { display: none !important; }

/* ---- fellépők: announced lineup cards ---- */
.lineup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 48px 32px; margin-bottom: 64px; }
.lineup-card { display: flex; flex-direction: column; }
.lineup-photo { position: relative; aspect-ratio: 4 / 3; background: var(--row); }
.lineup-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The hand-cut wobble (same #rough2 turbulence as the castle edge and the
   secret bars) lives on this ::after, not on the photo itself — filtering
   the img directly would smear the actual photo pixels, not just its edge. */
.lineup-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid var(--hill);
    filter: url(#rough2);
    pointer-events: none;
}
.lineup-name {
    display: inline-block;
    align-self: center;
    text-align: center;
    background: var(--hill);
    color: var(--acc);
    font-family: var(--disp);
    text-transform: uppercase;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.1;
    padding: 10px 18px 12px;
    margin: -16px 0 0;
    position: relative;
    transform: rotate(-1.4deg);
    box-shadow: 4px 4px 0 var(--sun);
}

/* ---- fellépők teaser ---- */
.paper { background: var(--paper); }
.secret { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bar { height: clamp(44px, 5.6vw, 72px); background: var(--hill); border-radius: 6px; position: relative; filter: url(#rough2); }
.bar:nth-child(odd) { transform: rotate(-.6deg); }
.bar:nth-child(even) { transform: rotate(.5deg); }
.bar span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--disp); color: var(--acc); font-size: clamp(22px, 2.6vw, 34px); line-height: 1; }
.side p { font-size: 19px; max-width: 30em; margin: 0 0 22px; }
.side .pill { font-size: 26px; padding: 9px 20px 11px; transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--hill); margin-bottom: 26px; }
.side .socs { margin-bottom: 22px; }

@media (max-width: 820px) {
    .secret { grid-template-columns: 1fr; gap: 36px; }
}

/* ---- tickets ---- */
.tickets { background: var(--sun); color: var(--paper); }
.tickets .kick::before { background: var(--paper); }
.tgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.tgrid.tgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tk { background: var(--paper); color: var(--hill); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tk .lab { opacity: .75; }
.tk .t { font-size: 34px; line-height: 1.1; }
.tk .price { font-size: 84px; line-height: 1; margin-top: auto; font-variant-numeric: tabular-nums; }
.tk.big { background: var(--hill); color: var(--onHill); position: relative; overflow: hidden; }
.tk.big .t { font-size: clamp(40px, 4.4vw, 58px); }
.tk.big .stock { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk.big .pill { font-size: 20px; padding: 7px 14px 9px; }
.tk.big .seal {
    position: absolute;
    z-index: 0;
    right: -30px;
    top: -30px;
    width: 190px;
    aspect-ratio: 1;
    background: var(--sun);
    clip-path: polygon(99.88% 50.00%,99.71% 51.74%,99.68% 53.47%,99.45% 55.20%,99.34% 56.93%,98.94% 58.63%,98.89% 60.39%,98.49% 62.09%,97.92% 63.74%,97.43% 65.41%,96.97% 67.09%,96.17% 68.65%,95.62% 70.31%,94.83% 71.86%,93.94% 73.37%,92.81% 74.72%,91.92% 76.20%,91.10% 77.72%,90.19% 79.20%,89.34% 80.74%,88.37% 82.19%,87.22% 83.51%,86.12% 84.88%,84.91% 86.15%,83.51% 87.22%,82.34% 88.54%,80.90% 89.55%,79.55% 90.68%,78.02% 91.54%,76.70% 92.73%,75.25% 93.74%,73.56% 94.31%,72.11% 95.33%,70.43% 95.89%,68.87% 96.72%,67.20% 97.27%,65.63% 98.10%,63.91% 98.51%,62.21% 98.96%,60.41% 98.98%,58.71% 99.42%,56.97% 99.59%,55.22% 99.65%,53.49% 99.93%,51.74% 99.89%,50.00% 99.79%,48.25% 99.99%,46.51% 99.86%,44.78% 99.65%,43.02% 99.66%,41.33% 99.18%,39.58% 99.02%,37.87% 98.64%,36.26% 97.92%,34.53% 97.61%,32.98% 96.76%,31.29% 96.30%,29.76% 95.46%,28.26% 94.58%,26.53% 94.13%,25.21% 92.95%,23.70% 92.09%,22.17% 91.26%,20.81% 90.17%,19.37% 89.20%,18.07% 88.06%,16.77% 86.91%,15.55% 85.67%,14.44% 84.34%,13.31% 83.03%,12.03% 81.86%,11.01% 80.47%,9.88% 79.15%,8.67% 77.87%,7.95% 76.28%,6.85% 74.91%,5.80% 73.50%,5.10% 71.90%,4.03% 70.47%,3.44% 68.81%,2.83% 67.17%,2.32% 65.49%,1.52% 63.90%,1.47% 62.10%,0.78% 60.46%,0.51% 58.73%,0.16% 57.01%,0.01% 55.25%,-0.02% 53.50%,-0.23% 51.75%,-0.44% 50.00%,-0.04% 48.25%,-0.28% 46.48%,-0.02% 44.74%,0.43% 43.03%,0.43% 41.26%,1.08% 39.60%,1.62% 37.94%,1.98% 36.23%,2.37% 34.52%,3.09% 32.93%,3.44% 31.19%,4.11% 29.57%,4.83% 27.97%,5.43% 26.30%,6.31% 24.78%,7.10% 23.20%,8.14% 21.76%,9.21% 20.37%,10.33% 19.00%,11.55% 17.73%,12.89% 16.58%,14.27% 15.50%,15.44% 14.21%,16.69% 13.01%,17.93% 11.78%,19.37% 10.79%,20.78% 9.78%,22.31% 8.95%,23.64% 7.82%,25.27% 7.16%,26.77% 6.31%,28.34% 5.59%,29.80% 4.62%,31.37% 3.88%,33.04% 3.40%,34.73% 3.01%,36.29% 2.19%,38.01% 1.90%,39.63% 1.20%,41.32% 0.78%,43.02% 0.30%,44.78% 0.34%,46.51% 0.11%,48.25% -0.03%,50.00% 0.06%,51.75% -0.23%,53.49% 0.06%,55.20% 0.48%,56.94% 0.59%,58.63% 1.05%,60.41% 1.03%,62.06% 1.65%,63.71% 2.20%,65.48% 2.35%,67.10% 3.02%,68.80% 3.47%,70.46% 4.05%,71.93% 5.03%,73.59% 5.64%,75.21% 6.34%,76.56% 7.50%,78.03% 8.45%,79.57% 9.30%,80.83% 10.53%,82.43% 11.36%,83.79% 12.48%,85.16% 13.59%,86.41% 14.84%,87.56% 16.18%,88.68% 17.54%,89.80% 18.91%,90.84% 20.33%,91.89% 21.75%,92.46% 23.47%,93.37% 24.96%,94.10% 26.55%,94.72% 28.19%,95.35% 29.81%,96.23% 31.32%,96.76% 32.98%,97.38% 34.61%,97.74% 36.31%,98.31% 37.96%,98.59% 39.67%,98.93% 41.37%,99.20% 43.09%,99.61% 44.79%,99.82% 46.52%,99.76% 48.26%);
}
.tk.big > *:not(.seal) { position: relative; z-index: 1; }

@media (max-width: 600px) {
    .tk.big .seal { width: 120px; right: -34px; top: -34px; }
}
.tk .cta { align-self: flex-start; margin-top: 8px; }
.tk .price.soon { font-size: clamp(40px, 3.8vw, 58px); white-space: nowrap; }
.tk .when { margin: 4px 0 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.tk.big .cta { background: var(--acc); color: var(--hill); }
.tickets .fine { margin-top: 22px; font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.tickets .cta.ghost { color: var(--paper); }

@media (max-width: 900px) {
    .tgrid, .tgrid.tgrid-4 { grid-template-columns: 1fr; }
    .tk .price { font-size: 64px; }
}

.tinfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tinfo div { border-top: 3px solid var(--paper); padding-top: 16px; min-width: 0; }
.tinfo b { display: block; font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin-bottom: 6px; }

@media (max-width: 900px) {
    .tinfo { grid-template-columns: 1fr; }
}

/* ---- pajtás napok bridge ---- */
.pajta { background: var(--acc); color: var(--hill); position: relative; overflow: hidden; }
.pajta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; z-index: 2; }
.pajta h2 { font-size: clamp(46px, 7.4vw, 104px); margin: 0; line-height: 1; }
.pajta p { font-size: 19px; margin: 0 0 24px; max-width: 28em; }
.pajta .kick::before { background: var(--hill); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 820px) {
    .pajta .wrap { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- photo band ---- */
.band { position: relative; background: var(--hill); }
.band img { display: block; width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; }
.band .over { position: absolute; inset: auto 0 0 0; padding-bottom: 40px; }
.band .over .d { color: var(--onHill); font-size: clamp(40px, 6.4vw, 96px); line-height: 1.06; max-width: 900px; text-wrap: balance; text-shadow: 0 2px 30px rgba(30, 43, 56, .55); }

/* ---- info cards ---- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 30px; background: var(--row); color: var(--hill); text-decoration: none; min-width: 0; box-shadow: inset 0 0 0 2px rgba(30, 43, 56, .12); transition: transform .15s; }
a.card:hover { transform: translateY(-3px); }
.card .t { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.02; }
.card p { margin: 0; max-width: 30em; }
.card .go { margin-top: auto; font-weight: 700; letter-spacing: .14em; font-size: 14px; text-transform: uppercase; }
.card .mail { font-family: var(--disp); font-size: clamp(26px, 3vw, 38px); text-transform: none; word-break: break-word; }

@media (max-width: 820px) {
    .cards { grid-template-columns: 1fr; }
}

/* ---- sponsor strip reskin (component lives in css/sponsors.css) ---- */
.sponsors-title { color: var(--hill); }
.sponsors-inner--on-dark .sponsors-title { color: var(--sky); }
.sponsors-container--no-title .sponsors-title { display: none; }
.sponsor-logo-box { background-color: var(--row); border-color: rgba(30, 43, 56, .15); }

/* ---- házirend ---- */
.rules { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 110px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 7px 0; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--hill); border-bottom: 1px solid rgba(30, 43, 56, .14); }
.toc a:hover { color: var(--sun); }
.rule { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 2px solid var(--hill); scroll-margin-top: 110px; }
.rule:last-child { border-bottom: 0; }
.rule h2 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 16px; line-height: 1.05; }
.rule .no { font-size: .5em; color: var(--sun); }
.rule ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 10px; max-width: 44em; }
.rule li::marker { color: var(--sun); }
.accept { display: inline-block; background: var(--hill); color: var(--onHill); padding: 14px 20px; font-weight: 600; margin-bottom: 36px; }

@media (max-width: 900px) {
    .rules { grid-template-columns: 1fr; gap: 28px; }
    .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .toc a { border: 2px solid var(--hill); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
}

/* ---- kapcsolat ---- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact .card { min-height: 260px; }
.contact .handle { font-size: clamp(26px, 2.5vw, 38px); overflow-wrap: anywhere; }
.copy { align-self: flex-start; border: 0; cursor: pointer; background: var(--hill); color: var(--onHill); font-weight: 700; letter-spacing: .1em; font-size: 13px; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }

@media (max-width: 900px) {
    .contact { grid-template-columns: 1fr; }
    .contact .card { min-height: 0; }
}

/* ---- toast ---- */
.toast {
    position: fixed;
    z-index: 61;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    background: #141414;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    max-width: calc(100% - 32px);
    text-align: center;
}

/* ---- nav edge spacing ---- */
/* How far the nav bar sits from the viewport's own top/left/right edge, and
   how tall its own row is — one set of tokens instead of scattered numbers,
   tiered to the project's own breakpoints (desktop default, then tablet
   1023px, mobile nagy 767px, mobile kicsi 480px; the 918px breakpoint below
   is style.css's own, separate, logo/button-row-to-hamburger switch). */
:root {
    --nav-edge: 2rem;
    --nav-top: .75rem;
    --nav-height: 4.5rem;
}
@media (max-width: 1023px) {
    :root { --nav-edge: 1.5rem; --nav-top: .7rem; --nav-height: 4.2rem; }
}
@media (max-width: 767px) {
    :root { --nav-edge: 1.25rem; --nav-top: .6rem; --nav-height: 3.8rem; }
}
@media (max-width: 480px) {
    :root { --nav-edge: 1rem; --nav-top: .5rem; --nav-height: 3.2rem; }
}
.nav-container { top: var(--nav-top); height: var(--nav-height); }
@media (max-width: 918px) {
    .nav-pill-left { left: var(--nav-edge) !important; }
    .nav-pill-right { right: var(--nav-edge) !important; }
    .nav-hamburger { right: var(--nav-edge); }
}

/* ---- nav logo (the brand vector, swapped in by Pipacs.init(); draws itself in once on load) ---- */
/* Cropped to the VÁRLAK wordmark only (js/pipacs.js drops the castle shape) —
   the castle already appears in the hero, so the nav mark doesn't repeat it. */
.nav-pill { align-items: center; }
.nav-logo-wrap { position: relative; display: inline-block; }
svg.nav-logo { width: auto; aspect-ratio: 441.8 / 100; display: block; overflow: visible; position: relative; z-index: 1; height: 2.4rem; }

@media (max-width: 918px) {
    svg.nav-logo { height: 2.6rem; }
}
@media (max-width: 480px) {
    svg.nav-logo { height: 2.1rem; }
}

.logo-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--sun) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(.3);
    opacity: 0;
    pointer-events: none;
}

.logo-castle, .logo-word .ch {
    fill: var(--hill);
    stroke: var(--hill);
    stroke-width: 2.2;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    fill-opacity: 0;
    stroke-opacity: 1;
}

/* A smooth, decisive deceleration — the family of curve most polished
   product UI reaches for, instead of linear/"ease-in-out" default motion. */
@keyframes glow-in {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
    28%  { opacity: .55; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); }
}
/* Traces the outline first (stroke-dashoffset 1→0, pathLength="1" on every
   shape normalises this to the shape's own length), then fades the stroke
   out as the fill fades in — "drawn, then filled in". Castle and every
   letter run on the exact same clock, so the whole mark draws at once. */
@keyframes logo-draw-fill {
    0%   { stroke-dashoffset: 1; fill-opacity: 0; stroke-opacity: 1; }
    62%  { stroke-dashoffset: 0; fill-opacity: 0; stroke-opacity: 1; }
    80%  { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: .5; }
    100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-opacity: 0; }
}

.logo-anim .logo-glow { animation: glow-in 1.3s cubic-bezier(.33, 1, .68, 1) both; }
.logo-anim .logo-castle,
.logo-anim .logo-word .ch { animation: logo-draw-fill 1.7s cubic-bezier(.33, 1, .68, 1) .25s both; }

@media (prefers-reduced-motion: reduce) {
    .logo-glow, .logo-anim .logo-castle, .logo-anim .logo-word .ch { animation: none; }
    .logo-castle, .logo-word .ch { fill-opacity: 1; stroke-opacity: 0; }
}

/* ---- nav reskin (shared DOM/JS from js/components.js; colours and type only) ---- */
/* Desktop: no dropdown. js/pipacs.js moves the six rendered links out of
   .nav-menu-panel (now unused) into two new halves flanking the logo, so the
   menu reads as a row split evenly left/right of a centred mark. Below
   919px that split stays hidden — the hamburger + fullscreen overlay take
   over, and the logo sits back at its original left-aligned spot. */
.nav-menu-button { display: none; }
.nav-menu-half { display: none; }

@media (min-width: 919px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(1rem, 3vw, 2.5rem);
        padding-inline: var(--nav-edge);
    }
    .nav-pill-left { position: static; left: auto; }
    .nav-pill-right { display: none; }
    .nav-menu-half {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 0;
    }
    .nav-menu-half-left { justify-content: flex-start; }
    .nav-menu-half-right { justify-content: flex-end; }
}

.nav-menu-half .nav-menu-link {
    font-family: var(--txt);
    font-weight: 700;
    font-size: .85rem;
    color: var(--hill);
    background: var(--row);
    border: 1px solid var(--hill);
    border-radius: 999px;
    padding: 5px 14px;
    white-space: nowrap;
}
.nav-menu-half .nav-menu-link:hover { background-color: var(--hill); color: var(--sky); }
.nav-menu-half .nav-menu-link-active,
.nav-menu-half .nav-menu-link-active:hover { background-color: var(--hill); color: var(--sky); border-color: var(--hill); }
/* Jegyek is always the CTA pill, red whether or not it's the active page —
   written after .nav-menu-link-active so it wins when both classes land on
   the same link (the jegyek page itself). */
.nav-menu-half .nav-menu-link-cta,
.nav-menu-half .nav-menu-link-cta:hover { background-color: var(--sun); color: var(--paper); border-color: var(--sun); }
.nav-menu-group-label { color: rgba(30, 43, 56, .55); }
.nav-hamburger span { background-color: var(--hill); }
.nav-hamburger.open span { background-color: var(--sky); }
.mobile-menu-overlay { background-color: var(--hill); }
.mobile-menu-nav .nav-menu-link {
    font-family: var(--disp);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--sky);
    font-size: clamp(28px, 6vw, 40px);
}
.mobile-menu-nav .nav-menu-link:hover,
.mobile-menu-nav .nav-menu-link-active,
.mobile-menu-nav .nav-menu-link-active:hover { background: none; color: var(--sun); }
.mobile-menu-nav .nav-menu-group-label { color: rgba(242, 232, 216, .55); }

/* ---- footer (Varlak.renderFooterPipacs) ---- */
/* padding:0 cancels the 2026-era .footer{padding:1rem} from css/footer.css
   (loaded globally via style.css), which otherwise framed this footer in a
   band of the page's own background on every side. */
footer.footer { background: var(--sky); padding: 40px 0 0; overflow: hidden; }
footer.footer .castle { width: min(1400px, 120%); margin-left: 50%; transform: translateX(-50%); }
footer.footer .base { background: var(--hill); color: var(--onHill); margin-top: -14px; position: relative; z-index: 2; }
footer.footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; padding-block: 16px 40px; }
footer.footer .footer-logo-mark { width: 150px; height: auto; display: block; }
footer.footer .slog { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; margin: 16px 0 0; }
footer.footer .slog em { font-style: normal; color: var(--acc); }
footer.footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 28px 56px; font-size: 15px; }
footer.footer .cols b { display: block; font-size: 12px; letter-spacing: .16em; opacity: .7; margin-bottom: 8px; }
footer.footer .cols a { text-decoration: none; color: inherit; }
footer.footer .cols a:hover { text-decoration: underline; }
footer.footer .cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
footer.footer .soc:hover { background: var(--onHill); color: var(--hill); }
footer.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(242, 232, 216, .2); font-size: 13px; opacity: .75; }

@media (max-width: 820px) {
    footer.footer .cols { grid-template-columns: 1fr 1fr; }
}

/* ---- cookie consent reskin (shared DOM/JS from js/consent.js; colours and type only) ---- */
.consent-inner { background-color: var(--hill); border-color: rgba(242, 232, 216, .15); border-radius: .6rem; box-shadow: 0 .5rem 2rem rgba(30, 43, 56, .35); }
.consent-title { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; color: var(--acc); }
.consent-text, .consent-option { color: var(--sky); }
.consent-text a { color: var(--sky); text-decoration-color: rgba(242, 232, 216, .5); }
.consent-text a:hover { text-decoration-color: var(--sun); }
.consent-option input { accent-color: var(--sun); }
.consent-button { font-family: var(--txt); border-radius: 999px; }
.consent-button--solid { background-color: var(--sun); border-color: var(--sun); color: var(--paper); }
.consent-button--solid:hover { background-color: var(--acc); border-color: var(--acc); color: var(--hill); }
.consent-button--plain { background-color: transparent; border-color: rgba(242, 232, 216, .4); color: var(--sky); }
.consent-button--plain:hover { background-color: rgba(242, 232, 216, .12); }
