:root {
    --yellow: #fffa4b;
    --magenta: #ce0f68;
    --magenta-dark: #a80c54;
    --ink: #191919;
    --paper: #ffffff;
    --display: "Anton", "Arial Narrow", Impact, sans-serif;
    --body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.display {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: .95;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
}
.brand-logo {
    height: clamp(1.25rem, 2.8vw, 1.85rem);
    width: auto;
}
.brand-pear {
    height: clamp(1.7rem, 4vw, 2.2rem);
    width: auto;
    flex-shrink: 0;
}
.brand-badge--light .brand-logo {
    filter: brightness(0) invert(1);
}
.topbar .brand-logo {
    height: clamp(1.1rem, 2.5vw, 1.5rem);
}
.topbar .brand-pear {
    height: clamp(1.85rem, 4.2vw, 2.35rem);
}

/* ---------- Top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--magenta);
    color: #fff;
}
.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}
.topbar nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    opacity: .92;
}
.topbar nav a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .topbar nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
    background: var(--yellow);
    position: relative;
    overflow: hidden;
}
.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2.5rem;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
}
.hero h1 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.6rem, 6.6vw, 5rem);
    line-height: 1.05;
    margin: 1.2rem 0 1.4rem;
}
.hero .hl {
    display: inline-block;
    background: var(--magenta);
    color: #fff;
    padding: .04em .35em;
    border-radius: 0.15em;
    transform: rotate(-2deg);
}
.hero-figure { position: relative; }
.hero-photo-frame {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 1;
    border-radius: 999px;
    overflow: hidden;
    border: 12px solid #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,.18);
    background: var(--magenta);
}
.hero-figure .photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pear-badge {
    position: absolute;
    right: -4%;
    bottom: 12%;
    width: clamp(88px, 20vw, 150px);
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.name-tag {
    position: absolute;
    left: -8px;
    bottom: 38px;
    background: var(--magenta);
    color: #fff;
    font-family: var(--display);
    text-transform: uppercase;
    padding: .5rem 1.3rem;
    border-radius: 12px;
    font-size: clamp(1.1rem, 2.6vw, 1.7rem);
    transform: rotate(-3deg);
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
}
.hero-meta { margin-top: 1.6rem; }
.btn {
    display: inline-block;
    background: var(--magenta);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .85rem 1.8rem;
    border-radius: 999px;
    transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: var(--magenta-dark); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 3px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

@media (max-width: 880px) {
    .hero .wrap { grid-template-columns: 1fr; text-align: left; }
    .hero-figure { max-width: 360px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-title {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    margin: 0 0 2.2rem;
}
.eyebrow {
    display: inline-block;
    background: var(--magenta);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .25rem .8rem;
    border-radius: 6px;
    font-size: .8rem;
    margin-left: .6rem;
    vertical-align: middle;
}

.band-yellow { background: var(--yellow); }
.band-magenta { background: var(--magenta); color: #fff; }
.band-ink { background: var(--ink); color: #fff; }

/* ---------- Story ---------- */
.story .wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}
.story-photo {
    border-radius: 999px;
    border: 10px solid var(--magenta);
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    background: #ddd;
}
.story p { font-size: 1.08rem; margin: 0 0 1.1rem; }
.social { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.social a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: .7rem 1.2rem;
    border-radius: 999px;
}
.social a:hover { background: var(--magenta); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 760px) {
    .story .wrap { grid-template-columns: 1fr; }
    .story-photo { max-width: 240px; }
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem 1.4rem;
}
.member {
    text-align: center;
    min-width: 0;
    width: 100%;
    margin: 0;
}
.member .m-photo {
    position: relative;
    width: 100%;
    max-width: 170px;
    margin: 0 auto 1rem;
    aspect-ratio: 1;
}
.member .m-num {
    left: auto;
    right: -6px;
    bottom: 14px;
    padding: .25rem .75rem;
    font-size: 1.1rem;
    border-radius: 10px;
}
.member .frame {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 5px solid var(--magenta);
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
    background: #cfe3f5;
}
.member .frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.06);
}
.member .m-name {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 1.25rem;
}
.member .m-role {
    color: var(--magenta);
    font-weight: 700;
    font-size: 1rem;
    margin: .2rem auto 0;
}
.member-social {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .6rem;
}
.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, transform .12s ease;
}
.member-social a:hover {
    background: var(--magenta);
    transform: translateY(-1px);
}
.member-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
@media (max-width: 860px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.8rem 1rem;
    }
    .member .m-photo {
        max-width: none;
    }
    .member .m-name { font-size: 1.35rem; }
    .member .m-role { font-size: 1.05rem; }
}
.team-cta {
    text-align: center;
    margin-top: 2.6rem;
}

/* ---------- Candidate list ---------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.candidates-band { background: #f6f6f6; }
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.2rem;
}
.candidate {
    position: relative;
    margin: 0;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1.25rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.candidate--photo { padding-top: 1.3rem; }
.candidate .c-photo {
    position: relative;
    width: 100%;
    max-width: 180px;
    margin: 0 auto .35rem;
    aspect-ratio: 1;
}
.candidate .c-photo .frame {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 5px solid var(--magenta);
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
    background: #cfe3f5;
}
.candidate .c-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.06);
}
.candidate .m-num {
    left: auto;
    right: -6px;
    bottom: 14px;
    padding: .25rem .75rem;
    font-size: 1.1rem;
    border-radius: 10px;
}
.candidate .c-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 2.4rem;
    background: var(--magenta);
    color: #fff;
    font-family: var(--display);
    text-transform: uppercase;
    padding: .2rem .7rem;
    border-radius: 10px;
    font-size: 1.15rem;
    transform: rotate(-3deg);
}
.candidate .c-body { min-width: 0; }
.candidate .c-name {
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.12;
    margin: 0 0 .15rem;
}
.candidate .c-person { text-transform: uppercase; }
.candidate .c-title { text-transform: none; }
.candidate .c-age {
    margin: 0 0 .7rem;
    color: var(--magenta);
    font-weight: 800;
    font-size: .92rem;
}
.candidate .c-facts {
    margin: 0;
    display: grid;
    gap: .55rem;
}
.candidate .c-facts div { min-width: 0; }
.candidate .c-facts dt {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6b6b6b;
    margin: 0 0 .1rem;
}
.candidate .c-facts dd {
    margin: 0;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
@media (max-width: 960px) {
    .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .candidate-grid { grid-template-columns: 1fr; }
    .candidate .c-photo { max-width: 220px; }
}

/* ---------- Achievements / plans ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 2.4rem; } }

.num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.num-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.num-list .n {
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 3px solid currentColor;
    display: grid; place-items: center;
    font-family: var(--display);
    font-size: 1.3rem;
}
.num-list li p { margin: 0; font-weight: 600; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.check-list .tick {
    width: 26px;
    height: 26px;
    margin-top: 2px;
}

/* ---------- Primátor block ---------- */
.primator .wrap { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: center; }
.primator-photo {
    border-radius: 999px;
    border: 12px solid var(--yellow);
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    background: #cfe3f5;
}
.leaders { display: flex; gap: 1.4rem; flex-wrap: wrap; margin: 1.4rem 0 1.8rem; }
.leader .l-name { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; }
.leader .l-role { opacity: .82; font-size: .92rem; }
.qr-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.qr-row img { width: 116px; height: 116px; border-radius: 12px; border: 6px solid #fff; }
.qr-row a { font-weight: 800; text-decoration: none; border-bottom: 3px solid currentColor; }
@media (max-width: 880px) { .primator .wrap { grid-template-columns: 1fr; } .primator-photo { max-width: 320px; } }

/* ---------- Endorsements ---------- */
.endorse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.quote {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1.1rem;
    align-items: start;
}
.quote .frame {
    width: 84px; height: 84px;
    border-radius: 999px;
    overflow: hidden;
    border: 4px solid var(--magenta);
    background: #cfe3f5;
}
.quote .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.quote .q-name { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; }
.quote .q-role { color: var(--magenta); font-weight: 700; font-size: .85rem; margin-bottom: .5rem; }
.quote .q-text { font-size: .96rem; }
@media (max-width: 820px) { .endorse-grid { grid-template-columns: 1fr; } }

/* ---------- CTA / footer ---------- */
.cta { text-align: center; }
.cta h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 1.6rem; }
footer { background: var(--ink); color: #fff; padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
footer .f-brand { font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; }
footer .f-note { opacity: .7; font-size: .85rem; }

/* ---------- Events (campaign tickets) ---------- */
.events-band { background: var(--ink); color: #fff; }
.event-tickets { display: grid; gap: 1.15rem; }
.event-ticket {
    position: relative;
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0,0,0,.22);
    transition: transform .12s ease, box-shadow .15s ease;
}
.event-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,.28);
}
.event-ticket-main {
    position: relative;
    display: grid;
    grid-template-columns: 132px 1fr;
    color: inherit;
}
.event-ticket-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.event-ticket-link:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: -2px;
}
.event-stamp {
    background: var(--magenta);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.1rem .7rem;
    transform: none;
}
.event-stamp-day {
    font-family: var(--display);
    font-size: 2.6rem;
    line-height: .9;
    text-transform: uppercase;
}
.event-stamp-month {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-top: .15rem;
}
.event-stamp-time {
    font-weight: 800;
    font-size: .85rem;
    margin-top: .45rem;
    background: var(--yellow);
    color: var(--ink);
    padding: .15rem .55rem;
    border-radius: 999px;
}
.event-ticket-body { padding: 1.2rem 1.4rem 1.35rem; }
.event-ticket-body h3 {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    line-height: 1.05;
    margin: 0 0 .45rem;
}
.event-place {
    font-weight: 800;
    color: var(--magenta);
}
.event-ticket .event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
}
.event-ticket .event-meta .event-place {
    margin: 0;
}
.event-place a:not(.event-fb) {
    color: inherit;
    text-decoration: none;
    border-bottom: 3px solid var(--yellow);
}
.event-place a:not(.event-fb):hover { border-bottom-color: var(--magenta); }
.event-ticket-body p { margin: 0; }
.event-ticket .event-fb {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.92rem;
    font-weight: 400;
    color: color-mix(in srgb, var(--ink), transparent 15%);
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.event-ticket .event-fb svg {
    display: block;
    flex-shrink: 0;
    width: 1.05em;
    height: 1.05em;
    color: #1877f2;
    fill: currentColor;
}
.event-ticket .event-fb:hover {
    color: color-mix(in srgb, var(--ink), transparent 5%);
}
.event-ticket .event-fb:hover svg {
    color: #0f5fcc;
}
.event-ticket .event-fb:hover span {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.event-ticket .event-fb:focus-visible {
    outline: 2px solid #1877f2;
    outline-offset: 2px;
    border-radius: 2px;
}
.event-fb--hero {
    position: static;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    gap: .55rem;
    margin-top: 1.1rem;
    margin-left: 0;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    line-height: 1;
    text-decoration: none;
}
.event-fb--hero svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.event-fb--hero:hover {
    background: var(--magenta);
    color: #fff;
}
.event-fb--hero span { font-size: .9rem; }
@media (max-width: 640px) {
    .event-ticket-main { grid-template-columns: 1fr; }
    .event-stamp {
        flex-direction: row;
        justify-content: flex-start;
        gap: .7rem;
        padding: .7rem 1.1rem;
    }
    .event-stamp-day { font-size: 1.8rem; }
    .event-stamp-month,
    .event-stamp-time { margin-top: 0; }
}

/* ---------- Event detail page ---------- */
.event-hero { background: var(--yellow); padding-top: 48px; padding-bottom: 48px; }
.event-kicker {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem;
    margin: 0 0 1.2rem;
}
.event-hero-grid {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 1.6rem;
    align-items: center;
}
.event-hero .event-stamp {
    min-height: 150px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.event-hero h1 {
    font-family: var(--display);
    text-transform: uppercase;
    font-size: clamp(2rem, 5.4vw, 3.6rem);
    line-height: .95;
    margin: 0 0 .7rem;
}
.event-hero .page-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem 1.1rem;
}
.event-hero .title-pear {
    height: clamp(5.5rem, 16vw, 9.5rem);
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.16));
}
.event-hero .event-place { font-size: 1.15rem; margin-bottom: .25rem; }
.event-when { font-weight: 700; margin: 0; }
.event-detail { background: var(--paper); }
.event-copy {
    font-size: 1.12rem;
    max-width: 62ch;
    margin-bottom: 2.4rem;
}
.event-copy p { margin: 0 0 1rem; }
.event-copy ul, .event-copy ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.event-copy a { color: var(--magenta); font-weight: 700; }
.event-copy h2, .event-copy h3 { margin: 0 0 .6rem; }
.event-map-block { margin-bottom: 2.4rem; }
.event-map {
    height: min(62vh, 460px);
    border-radius: 18px;
    overflow: hidden;
    border: 8px solid var(--magenta);
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
    background: #cfe3f5;
}
.event-map-note {
    margin: .7rem 0 0;
    font-size: .9rem;
    font-weight: 700;
}
.event-map-note a {
    color: var(--magenta);
    text-decoration: none;
    border-bottom: 3px solid var(--yellow);
}
.event-map-logo img {
    display: block;
    height: 22px;
    width: auto;
}
.event-map-pin {
    background: transparent;
    border: 0;
}
.event-map-pin span {
    display: block;
    width: 22px;
    height: 22px;
    background: var(--magenta);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 6px 12px rgba(0,0,0,.25);
}
@media (max-width: 640px) {
    .event-hero-grid { grid-template-columns: 1fr; }
    .event-hero .event-stamp { min-height: 0; }
}
