:root {
    --ink: #18362f;
    --ink-deep: #102b25;
    --ink-soft: #536861;
    --forest: #17483c;
    --forest-bright: #236552;
    --cream: #f6f1e8;
    --paper: #fffdf9;
    --white: #ffffff;
    --sun: #f1b85b;
    --sun-light: #f8d99d;
    --coral: #d96f51;
    --sage: #b9cbbb;
    --line: rgba(23, 72, 60, 0.14);
    --shadow-sm: 0 12px 30px rgba(20, 52, 44, 0.08);
    --shadow-md: 0 24px 70px rgba(20, 52, 44, 0.14);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1240px;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

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

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--white);
    background: var(--ink-deep);
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--forest-bright);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.brand__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 13px 13px 13px 5px;
    color: var(--forest);
    background: var(--sun);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    transform: rotate(-3deg);
}

.brand__name strong {
    font-weight: 850;
}

.button {
    position: relative;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:hover svg {
    transform: translateX(2px);
}

.button--primary {
    color: var(--ink-deep);
    background: var(--sun);
    box-shadow: 0 14px 30px rgba(241, 184, 91, 0.24);
}

.button--primary:hover {
    background: #f6c674;
    box-shadow: 0 18px 38px rgba(241, 184, 91, 0.34);
}

.button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.button--secondary {
    color: var(--white);
    background: var(--forest);
}

/* Hero */
.hero {
    --pointer-x: 0px;
    --pointer-y: 0px;
    position: relative;
    display: flex;
    min-height: min(860px, 92svh);
    overflow: hidden;
    align-items: center;
    isolation: isolate;
    color: var(--white);
    background: var(--ink-deep);
}

.hero__media,
.hero__veil,
.hero__glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    z-index: -3;
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__veil {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 32, 27, 0.92) 0%, rgba(9, 32, 27, 0.76) 33%, rgba(9, 32, 27, 0.16) 69%, rgba(9, 32, 27, 0.08) 100%),
        linear-gradient(0deg, rgba(8, 28, 24, 0.62) 0%, transparent 44%);
}

.hero__glow {
    z-index: -1;
    width: 720px;
    height: 720px;
    top: 16%;
    left: 5%;
    border-radius: 50%;
    background: rgba(241, 184, 91, 0.1);
    filter: blur(90px);
    pointer-events: none;
    transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
    transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero__topbar {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: max(28px, env(safe-area-inset-top));
    transform: translateX(-50%);
}

.brand--hero {
    color: var(--white);
}

.brand--hero .brand__mark {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.hero__organizer-link {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 650;
}

.hero__organizer-link::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 180ms ease;
}

.hero__organizer-link:hover::after {
    transform: scaleX(1);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
}

.hero__eyebrow {
    color: var(--sun-light);
    opacity: 0;
    animation: rise-in 700ms 180ms ease forwards;
}

.hero h1 {
    max-width: 740px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 6.1vw, 6.25rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.94;
    text-wrap: balance;
    opacity: 0;
    animation: rise-in 850ms 280ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero h1 em {
    display: block;
    color: var(--sun-light);
    font-weight: 400;
}

.hero__intro {
    max-width: 600px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.65;
    opacity: 0;
    animation: rise-in 700ms 420ms ease forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    opacity: 0;
    animation: rise-in 700ms 520ms ease forwards;
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    opacity: 0;
    animation: rise-in 700ms 620ms ease forwards;
}

.hero__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #90d3aa;
    box-shadow: 0 0 0 0 rgba(144, 211, 170, 0.5);
    animation: soft-pulse 2.4s ease-out infinite;
}

.hero__badges {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    color: var(--white);
    background: rgba(13, 43, 36, 0.52);
    box-shadow: 0 12px 28px rgba(4, 21, 17, 0.2);
    backdrop-filter: blur(12px);
    font-size: 0.77rem;
    font-weight: 700;
    animation: badge-float 5s ease-in-out infinite;
}

.floating-badge--one {
    top: 27%;
    right: 11%;
}

.floating-badge--two {
    top: 52%;
    right: 5%;
    animation-delay: -1.8s;
}

.floating-badge--three {
    right: 22%;
    bottom: 14%;
    animation-delay: -3.1s;
}

.hero__scroll {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero__scroll svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    animation: scroll-nudge 1.8s ease-in-out infinite;
}

/* Navigation */
.nav-sentinel {
    height: 0;
}

.site-nav {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(16px);
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-nav.is-stuck {
    border-color: var(--line);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 10px 34px rgba(16, 43, 37, 0.08);
}

.site-nav__inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 34px;
}

.brand--nav .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 11px 11px 11px 4px;
    font-size: 0.92rem;
}

.brand--nav {
    font-size: 1.22rem;
}

.site-nav__menu {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.3vw, 34px);
}

.site-nav__links a {
    position: relative;
    padding: 27px 0;
    color: #486058;
    font-size: 0.84rem;
    font-weight: 650;
}

.site-nav__links a::after {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    content: "";
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav__links a:hover {
    color: var(--ink-deep);
}

.site-nav__links a:hover::after {
    transform: scaleX(1);
}

.button--nav {
    min-height: 42px;
    padding: 10px 17px;
    color: var(--white);
    background: var(--forest);
    font-size: 0.78rem;
}

.menu-toggle {
    display: none;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 8px 0 8px 12px;
    cursor: pointer;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 750;
}

.menu-toggle__icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cream);
}

.menu-toggle__icon i {
    position: absolute;
    left: 11px;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: top 180ms ease, transform 180ms ease;
}

.menu-toggle__icon i:first-child {
    top: 15px;
}

.menu-toggle__icon i:last-child {
    top: 22px;
}

.menu-toggle[aria-expanded="true"] i:first-child {
    top: 19px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-child {
    top: 19px;
    transform: rotate(-45deg);
}

/* Search */
.search-section {
    position: relative;
    padding: clamp(64px, 7vw, 104px) 0 72px;
    background:
        radial-gradient(circle at 85% 15%, rgba(241, 184, 91, 0.14), transparent 26%),
        var(--cream);
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(270px, 0.72fr) minmax(520px, 1.28fr);
    gap: clamp(34px, 5vw, 74px);
    align-items: end;
}

.search-panel__intro h2,
.section-heading h2,
.city-section h2,
.organizer-card h2,
.about-section h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.1vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.search-panel__intro > p:last-child {
    max-width: 460px;
    margin: 18px 0 0;
    color: var(--ink-soft);
}

.search-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 9px;
    align-items: end;
    padding: 12px;
    border: 1px solid rgba(23, 72, 60, 0.09);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.search-form__field {
    display: grid;
    gap: 5px;
    padding: 0 5px;
    color: var(--ink-soft);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.search-form__input-wrap {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-form__input-wrap:focus-within {
    border-color: var(--forest-bright);
    box-shadow: 0 5px 0 -4px var(--forest-bright);
}

.search-form__input-wrap svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--coral);
    stroke-linecap: round;
    stroke-width: 1.8;
}

.search-form input {
    width: 100%;
    min-width: 0;
    padding: 7px 0 11px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.97rem;
    font-weight: 650;
}

.search-form input::placeholder {
    color: #95a29d;
    font-weight: 500;
}

.button--search {
    min-height: 54px;
    padding-inline: 24px;
    color: var(--white);
    background: var(--forest);
}

.button--locate {
    min-height: 54px;
    border: 1px solid var(--line);
    color: var(--forest);
    background: var(--paper);
}

.button--locate:hover {
    background: var(--cream);
}

.button--locate.is-loading svg {
    animation: locate-spin 1.1s linear infinite;
}

.search-status {
    grid-column: 2;
    min-height: 24px;
    margin: -48px 14px 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
    transform: translateY(38px);
}

/* Events */
.events-section {
    padding: clamp(80px, 9vw, 132px) 0;
    background: var(--paper);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.section-heading__aside {
    max-width: 340px;
    margin: 0 0 6px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.section-heading__aside strong {
    color: var(--ink);
}

.filter-bar {
    display: flex;
    gap: 8px;
    margin-top: 42px;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 9px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    color: var(--ink-soft);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 750;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-chip:hover {
    border-color: rgba(23, 72, 60, 0.35);
    color: var(--ink);
    transform: translateY(-1px);
}

.filter-chip.is-active {
    border-color: var(--forest);
    color: var(--white);
    background: var(--forest);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.event-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(23, 72, 60, 0.1);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(20, 52, 44, 0.045);
    transition: opacity 220ms ease, transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease;
}

.event-card:hover {
    border-color: rgba(23, 72, 60, 0.18);
    box-shadow: 0 20px 44px rgba(20, 52, 44, 0.12);
    transform: translateY(-6px);
}

.event-card.is-filtering-out {
    opacity: 0;
    transform: scale(0.97);
}

.event-card__media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--cream);
}

.event-card__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    content: "";
    background: linear-gradient(transparent, rgba(10, 36, 30, 0.26));
    pointer-events: none;
}

.event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.event-card:hover .event-card__media img {
    transform: scale(1.045);
}

.event-card__category,
.event-card__family {
    position: absolute;
    z-index: 1;
    top: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.event-card__category {
    left: 13px;
    color: var(--ink-deep);
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(8px);
}

.event-card__family {
    right: 13px;
    color: var(--white);
    background: rgba(217, 111, 81, 0.9);
}

.event-card__body {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 13px;
    padding: 20px;
}

.event-card__date {
    display: flex;
    height: 57px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--forest);
    background: var(--cream);
    line-height: 1;
}

.event-card__day {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.event-card__month {
    margin-top: 3px;
    color: var(--coral);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.event-card__time {
    margin: 0 0 3px;
    color: var(--coral);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.event-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.32rem;
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.event-card__place {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 9px 0 0;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.4;
}

.event-card__place svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 1px;
    fill: var(--sage);
}

.event-card__place strong {
    color: var(--ink);
    font-weight: 750;
}

.event-card__summary,
.event-card__organizer,
.event-card__footer {
    grid-column: 1 / -1;
}

.event-card__summary {
    min-height: 48px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 0.79rem;
    line-height: 1.55;
}

.event-card__organizer {
    margin: 10px 0 0;
    color: #82918c;
    font-size: 0.66rem;
}

.event-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.event-card__price {
    font-size: 0.73rem;
    font-weight: 850;
}

.event-card__price.is-free {
    color: var(--forest-bright);
}

.event-card__link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 4px 0 4px 8px;
    cursor: pointer;
    color: var(--forest);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 800;
}

.event-card__link span {
    transition: transform 180ms ease;
}

.event-card__link:hover span {
    transform: translateX(3px);
}

.empty-state {
    margin-top: 32px;
    padding: 56px 24px;
    border: 1px dashed rgba(23, 72, 60, 0.25);
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--cream);
}

.empty-state > span {
    display: block;
    color: var(--coral);
    font-family: var(--serif);
    font-size: 2.5rem;
}

.empty-state h3 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: 1.6rem;
}

.empty-state p {
    margin: 5px 0 20px;
    color: var(--ink-soft);
}

/* Cities */
.city-section {
    position: relative;
    padding: clamp(82px, 9vw, 130px) 0;
    overflow: hidden;
    color: var(--white);
    background: var(--ink-deep);
}

.city-section::before {
    position: absolute;
    width: 560px;
    height: 560px;
    top: -260px;
    right: -100px;
    border: 1px solid rgba(241, 184, 91, 0.18);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 80px rgba(241, 184, 91, 0.025), 0 0 0 160px rgba(241, 184, 91, 0.02);
}

.city-section__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(500px, 1.15fr);
    gap: clamp(60px, 9vw, 130px);
    align-items: center;
}

.city-section .eyebrow {
    color: var(--sun-light);
}

.city-section__intro > p:not(.eyebrow) {
    max-width: 500px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.65);
}

.text-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 28px;
    color: var(--sun-light);
    font-size: 0.84rem;
    font-weight: 800;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.city-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    transform: rotate(1.5deg);
}

.city-pill {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 19px;
    cursor: pointer;
    text-align: left;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.city-pill:nth-child(even) {
    transform: translateY(18px);
}

.city-pill:hover {
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) rotate(-1.5deg);
}

.city-pill:nth-child(even):hover {
    transform: translateY(15px) rotate(-1.5deg);
}

.city-pill span {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.city-pill small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.65rem;
    font-weight: 750;
}

.city-pill--1 {
    color: #193b32;
    background: #f2c46f;
}

.city-pill--1 small,
.city-pill--3 small {
    color: rgba(25, 59, 50, 0.68);
}

.city-pill--2 {
    color: var(--white);
    background: #2e6958;
}

.city-pill--3 {
    color: #193b32;
    background: #c8d7c7;
}

.city-pill--4 {
    color: var(--white);
    background: #b85d47;
}

/* Organizer and about */
.organizer-section {
    padding: clamp(72px, 8vw, 110px) 0;
    background: var(--cream);
}

.organizer-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    padding: clamp(34px, 5vw, 66px);
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 92% 0%, rgba(241, 184, 91, 0.18), transparent 25%),
        var(--forest);
    box-shadow: var(--shadow-md);
}

.organizer-card__icon {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px 28px 28px 10px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(-3deg);
}

.organizer-card__icon svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: var(--sun-light);
    stroke-linecap: round;
    stroke-width: 2;
}

.organizer-card .eyebrow {
    color: var(--sun-light);
}

.organizer-card h2 {
    max-width: 700px;
    font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.organizer-card__content > p:last-child {
    max-width: 700px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.button--light {
    color: var(--ink-deep);
    background: var(--white);
    white-space: nowrap;
}

.about-section {
    padding: clamp(84px, 10vw, 148px) 0;
    background: var(--paper);
}

.about-section__layout {
    display: grid;
    grid-template-columns: 0.35fr 1.05fr 0.8fr;
    gap: clamp(38px, 6vw, 84px);
    align-items: start;
}

.about-section__number {
    margin: 0;
    color: var(--cream);
    font-family: var(--serif);
    font-size: clamp(6rem, 10vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.12em;
    line-height: 0.8;
}

.about-section__content > p:last-child {
    max-width: 580px;
    margin: 24px 0 0;
    color: var(--ink-soft);
}

.about-section__values {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.about-section__values p {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.about-section__values strong {
    color: var(--coral);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.about-section__values span {
    color: var(--ink-soft);
    font-size: 0.8rem;
}

/* Dialog */
.event-dialog {
    width: min(900px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 28px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 30px 100px rgba(6, 29, 23, 0.32);
}

.event-dialog::backdrop {
    background: rgba(8, 32, 26, 0.74);
    backdrop-filter: blur(8px);
    animation: backdrop-in 180ms ease;
}

.event-dialog[open] {
    animation: dialog-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-dialog__frame {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border-radius: inherit;
}

.event-dialog__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--shadow-sm);
}

.event-dialog__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.event-dialog__media {
    min-height: 520px;
    overflow: hidden;
    border-radius: 28px 0 0 28px;
    background: var(--cream);
}

.event-dialog__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-dialog__content {
    align-self: center;
    padding: clamp(38px, 5vw, 64px);
}

.event-dialog__meta {
    margin: 0;
    color: var(--coral);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-dialog h2 {
    margin: 12px 0 0;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.event-dialog__date {
    margin: 22px 0 0;
    color: var(--forest);
    font-weight: 800;
}

.event-dialog__place {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.event-dialog__description {
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.event-dialog__organizer {
    margin: 20px 0 26px;
    font-size: 0.78rem;
}

/* Footer */
.site-footer {
    padding: 72px 0 22px;
    color: rgba(255, 255, 255, 0.68);
    background: #0c2721;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 0.8fr);
    gap: 56px;
    padding-bottom: 52px;
}

.brand--footer {
    color: var(--white);
}

.site-footer__brand p {
    max-width: 280px;
    margin: 18px 0 0;
    font-size: 0.82rem;
}

.site-footer h2 {
    margin: 6px 0 17px;
    color: var(--white);
    font-size: 0.71rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-footer__top > div:not(.site-footer__brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__top > div:not(.site-footer__brand) a {
    padding: 4px 0;
    font-size: 0.78rem;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer__top > div:not(.site-footer__brand) a:hover {
    color: var(--sun-light);
    transform: translateX(3px);
}

.site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.65rem;
}

.site-footer__legal p,
.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
}

.site-footer__bottom span {
    margin-left: 6px;
    color: var(--coral);
}

.noscript {
    position: fixed;
    z-index: 999;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
    border-radius: 10px;
    color: var(--white);
    background: var(--ink-deep);
    text-align: center;
}

/* Scroll reveals */
body.is-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
}

body.is-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.is-reveal-ready .event-card.reveal.is-visible {
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease;
}

@keyframes hero-drift {
    from { transform: scale(1.025) translate3d(0, 0, 0); }
    to { transform: scale(1.075) translate3d(-0.5%, -0.5%, 0); }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes soft-pulse {
    0% { box-shadow: 0 0 0 0 rgba(144, 211, 170, 0.5); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(144, 211, 170, 0); }
}

@keyframes scroll-nudge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes locate-spin {
    to { transform: rotate(360deg); }
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1180px) {
    .events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-panel {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .search-panel__intro {
        max-width: 720px;
    }

    .search-status {
        grid-column: 1;
        margin-top: -30px;
        transform: translateY(38px);
    }

    .organizer-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .organizer-card__icon {
        width: 74px;
        height: 74px;
    }

    .organizer-card .button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 980px) {
    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .hero {
        min-height: 800px;
    }

    .hero__media {
        object-position: 58% center;
    }

    .hero__veil {
        background:
            linear-gradient(90deg, rgba(9, 32, 27, 0.94) 0%, rgba(9, 32, 27, 0.73) 48%, rgba(9, 32, 27, 0.26) 100%),
            linear-gradient(0deg, rgba(8, 28, 24, 0.64) 0%, transparent 50%);
    }

    .hero__badges {
        opacity: 0.72;
    }

    .floating-badge--two {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .site-nav__inner {
        min-height: 70px;
    }

    .site-nav__menu {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: grid;
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        background: var(--paper);
        box-shadow: 0 18px 40px rgba(16, 43, 37, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height 320ms ease, padding 320ms ease, opacity 180ms ease, transform 320ms ease, visibility 320ms;
    }

    .site-nav.is-open .site-nav__menu {
        max-height: calc(100dvh - 70px);
        padding: 20px 20px 28px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav__links {
        display: grid;
        gap: 0;
    }

    .site-nav__links a {
        padding: 13px 2px;
        border-bottom: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 1.35rem;
        font-weight: 600;
    }

    .site-nav__links a::after {
        display: none;
    }

    .button--nav {
        margin-top: 8px;
        justify-self: start;
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-card__media {
        height: 220px;
    }

    .city-section__layout {
        grid-template-columns: 1fr;
    }

    .city-section__intro {
        max-width: 670px;
    }

    .about-section__layout {
        grid-template-columns: 0.28fr 1fr;
    }

    .about-section__values {
        grid-column: 2;
    }

    .site-footer__top {
        grid-template-columns: 1.4fr repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 82px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .hero {
        min-height: 760px;
        align-items: flex-end;
    }

    .hero__media {
        object-position: 62% center;
    }

    .hero__veil {
        background:
            linear-gradient(90deg, rgba(9, 32, 27, 0.88), rgba(9, 32, 27, 0.35)),
            linear-gradient(0deg, rgba(8, 28, 24, 0.96) 0%, rgba(8, 28, 24, 0.72) 48%, rgba(8, 28, 24, 0.18) 100%);
    }

    .hero__topbar {
        padding-top: max(20px, env(safe-area-inset-top));
    }

    .hero__organizer-link {
        display: none;
    }

    .hero__content {
        padding-top: 150px;
        padding-bottom: 88px;
    }

    .hero h1 {
        max-width: 560px;
        font-size: clamp(3rem, 14vw, 5.4rem);
    }

    .hero__intro {
        max-width: 520px;
        margin-top: 20px;
        font-size: 0.96rem;
    }

    .hero__actions {
        margin-top: 27px;
    }

    .hero__badges {
        display: none;
    }

    .hero__scroll {
        display: none;
    }

    .search-section {
        padding-top: 66px;
    }

    .search-panel {
        gap: 30px;
    }

    .search-form {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .search-form__field {
        grid-column: 1 / -1;
        padding: 0 4px 5px;
    }

    .button--search,
    .button--locate {
        min-width: 0;
        padding-inline: 14px;
    }

    .search-status {
        margin: 0 8px;
        transform: none;
    }

    .section-heading {
        display: grid;
        gap: 20px;
    }

    .section-heading__aside {
        max-width: 460px;
    }

    .filter-bar {
        width: 100%;
        margin-top: 30px;
        padding-right: 0;
    }

    .city-cloud {
        grid-template-columns: 1fr;
        transform: none;
    }

    .city-pill:nth-child(even),
    .city-pill:nth-child(even):hover {
        transform: none;
    }

    .organizer-card {
        grid-template-columns: 1fr;
    }

    .organizer-card .button {
        grid-column: 1;
    }

    .about-section__layout {
        grid-template-columns: 1fr;
    }

    .about-section__number {
        display: none;
    }

    .about-section__values {
        grid-column: 1;
    }

    .event-dialog__frame {
        grid-template-columns: 1fr;
    }

    .event-dialog__media {
        min-height: 250px;
        max-height: 38dvh;
        border-radius: 28px 28px 0 0;
    }

    .event-dialog__content {
        padding: 30px 24px 34px;
    }

    .site-footer__top {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__legal,
    .site-footer__bottom {
        display: grid;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero {
        min-height: 720px;
    }

    .brand__mark {
        width: 35px;
        height: 35px;
    }

    .hero__content {
        padding-bottom: 54px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14.3vw, 4.2rem);
        line-height: 0.96;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__note {
        justify-content: center;
    }

    .menu-toggle__label {
        display: none;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card__media {
        height: min(68vw, 290px);
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-form__field {
        grid-column: 1;
    }

    .search-form .button {
        width: 100%;
    }

    .city-pill {
        min-height: 76px;
    }

    .organizer-card {
        padding: 30px 24px;
        border-radius: 25px;
    }

    .organizer-card__icon {
        width: 64px;
        height: 64px;
        border-radius: 22px 22px 22px 8px;
    }

    .organizer-card__icon svg {
        width: 38px;
        height: 38px;
    }

    .organizer-card .button {
        width: 100%;
        white-space: normal;
    }

    .about-section__values p {
        grid-template-columns: 70px 1fr;
    }

    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 22px;
    }
}

@media (min-width: 1600px) {
    .hero__content {
        padding-top: 96px;
    }

    .hero h1 {
        max-width: 800px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__media,
    .hero__glow,
    .floating-badge,
    .hero__pulse,
    .hero__scroll svg {
        transform: none !important;
    }

    body.is-reveal-ready .reveal,
    body.is-reveal-ready .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
