/* Elkano AI. One canvas, one typeface in one weight, ink for what matters,
   grey for the detail, orange only for time. */
:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --grey: #8a8a8a;
  --line: #e8e8e8;
  --pill: #f2f2f2;
  --time: #2563eb;
  --red: #e5322d;
  --r: 22px;
  --gap: 18px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.45 var(--font); font-optical-sizing: auto; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.grey { color: var(--grey); }
.time { color: var(--time); }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px; border-radius: 999px;
  background: var(--pill); color: var(--ink); border: 0; font: inherit; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.pill:hover { background: #e7e7e7; }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: #2a2a2a; }
.pill--dark .time { color: var(--time); }
.pill--brand { padding-left: 5px; }
.pill--brand img { width: 28px; height: 28px; object-fit: contain; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* nav */
.nav { position: fixed; z-index: 10; inset: var(--gap) var(--gap) auto; display: flex; justify-content: space-between; pointer-events: none; }
.nav > *, .nav__right > * { pointer-events: auto; }
.nav__right { display: flex; gap: 8px; }
.nav .pill { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav .pill:not(.pill--dark) { background: rgba(242,242,242,.88); }

/* hero: the boat sails with the scroll */
.hero { height: 260vh; }
.hero__sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; gap: 28px; padding: clamp(110px, 22vh, 230px) var(--gap) var(--gap); }
.intro { max-width: 460px; }
.hero__card { position: relative; border-radius: var(--r); overflow: hidden; background: #c9d4d8; min-height: 0; }
.hero__card video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__next { position: absolute; left: 22px; bottom: 22px; color: #fff; display: grid; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero__next .dim { color: rgba(255,255,255,.7); }
.hero__time { position: absolute; right: 22px; bottom: 22px; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.18); }
.hero__bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: var(--gap); }
.card { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; display: block; }
.card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.card:hover > img { transform: scale(1.025); }
.card--sea .card__copy { position: absolute; inset: 22px; display: flex; justify-content: space-between; align-items: flex-start; color: #fff; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -.03em; }
.card--sea .card__copy .time { text-align: right; }
.card--head { background: linear-gradient(180deg, #f4f1ea 0%, #ece6da 100%); display: grid; place-items: center; }
.card--head > img { width: 62%; height: auto; object-fit: contain; }
.card--head p { position: absolute; left: 22px; bottom: 20px; }

/* rows: label on the left, content on the right */
.row { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); margin: 0 var(--gap); padding: 22px 0 70px; border-top: 1px solid var(--line); }
.row:first-of-type { margin-top: 90px; }
.row__label { color: var(--grey); }
.row__body { max-width: 640px; }
.big-gap { margin-top: 18px; }
.list { list-style: none; margin: 0; padding: 0; max-width: none; }
.list li { border-bottom: 1px solid var(--line); }
.list li:first-child a { padding-top: 0; }
.list a { display: grid; grid-template-columns: 1.4fr 1fr 110px; gap: 16px; padding: 12px 0; transition: opacity .2s; }
.list a .time { text-align: right; }
.list a:hover { opacity: .55; }
.crew a { border-bottom: 1px solid currentColor; }
.crew a:hover { color: var(--grey); }
.row--last { padding-bottom: 120px; }

/* footer */
.footer { display: flex; gap: 8px; padding: 0 var(--gap) var(--gap); }
.pill--wide { flex: 1; cursor: default; }
.pill--wide:hover { background: var(--pill); }
.pill--end { justify-content: space-between; }

@media (max-width: 860px) {
  .nav__right .pill:not(.pill--dark):not([href*="manifiesto"]):not(.is-current) { display: none; }
  .hero { height: 220vh; }
  .hero__sticky { padding-top: 96px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; padding-bottom: 48px; }
  .list a { grid-template-columns: 1fr 100px; }
  .list a .grey { display: none; }
  .footer { flex-wrap: wrap; }
  .pill--wide { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: 92svh; }
}

/* ---- v2.1: blue accent on dark, sections, map ---- */
.pill--dark .time { color: #8fb0ff; }
.hero__time { position: absolute; right: 22px; bottom: 22px; color: rgba(255,255,255,.85); }

.block { padding: 130px var(--gap) 30px; }
.block__head { max-width: 460px; margin-bottom: 34px; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.format__img { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--pill); }
.format__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.format:hover .format__img img { transform: scale(1.03); }
.format h3 { font: inherit; margin: 14px 0 2px; }
.format p { max-width: 38ch; }

.where { max-width: 1040px; margin: 0 auto; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--pill); }
.seg__btn { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; color: var(--grey); cursor: pointer; }
.seg__btn.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.tabs { display: flex; gap: 18px; margin: 18px 0 0; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 0 0 10px; border: 0; background: none; font: inherit; color: var(--grey); cursor: pointer; }
.tab.is-on { color: var(--ink); }
.tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); }
.tab--clear { margin-left: auto; color: var(--time); }
.ev { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .25s; }
.ev.is-dim { opacity: .3; }
.ev:hover .ev__title { color: var(--time); }
.ev__when { color: var(--time); font-size: 14px; }
.ev__title { margin: 3px 0 9px; transition: color .2s; }
.ev__people { display: grid; gap: 6px; font-size: 14px; color: var(--grey); }
.ev__person { display: flex; align-items: center; gap: 8px; }
.ev__person img, .ev__person i { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.ev__person i { display: grid; place-items: center; background: var(--pill); color: var(--ink); font-style: normal; font-size: 9.5px; letter-spacing: 0; }
.ev__city { margin-top: 9px; font-size: 14px; color: var(--grey); }
.empty { padding: 16px 0; color: var(--grey); }
.city-row { display: flex; justify-content: space-between; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; text-align: left; cursor: pointer; }
.city-row:hover { color: var(--time); }

.map { position: relative; }
.map canvas { display: block; width: 100%; cursor: crosshair; }
.map__cities { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.map__city { position: absolute; transform: translate(10px, -50%); pointer-events: auto; }
.map__city.is-flipped { transform: translate(calc(-100% - 10px), -50%); }
.map__label { display: inline-flex; align-items: baseline; gap: 7px; padding: 3px 9px; border: 1px solid transparent; border-radius: 8px; background: rgba(255,255,255,.88); font: inherit; font-size: 15px; color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.map__label:hover, .map__label.is-on { border-color: var(--line); background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.map__label .n { font-size: 13px; color: var(--grey); }
.map__label.is-quiet { color: var(--grey); }

.counters { display: grid; gap: 6px; margin: 0; }
.counters div { display: flex; align-items: baseline; gap: 8px; }
.counters dd { margin: 0; }
.counters dt { color: var(--grey); order: 2; }

@media (max-width: 1100px) {
  .where { grid-template-columns: 1fr; }
  .where .map { order: -1; }
  .counters { grid-auto-flow: column; justify-content: start; gap: 24px; }
}
@media (max-width: 860px) {
  .block { padding-top: 90px; }
  .formats { grid-template-columns: 1fr; }
  .map__label { font-size: 13px; padding: 2px 7px; }
}

/* ---- v0.4: banner loop, language switch, event cards ---- */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(242,242,242,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: auto; }
.lang button { height: 30px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; color: var(--grey); cursor: pointer; }
.lang button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.banner { position: relative; height: 88svh; min-height: 520px; overflow: hidden; background: #c9d4d8; }
.banner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.banner__video.is-on { opacity: 1; }
.banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.26)); pointer-events: none; }
.banner__copy { position: absolute; left: var(--gap); right: var(--gap); bottom: 22px; z-index: 2; max-width: 640px; color: #fff; font-size: 18px; text-wrap: balance; }
.banner__copy .dim { color: rgba(255,255,255,.78); }

/* one row, upcoming on the left, then newest to oldest; scrolls sideways when it does not fit */
.events { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, calc((100% - 3 * var(--gap)) / 4), 320px); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gap); overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gap)); padding: 0 var(--gap) 8px; scrollbar-width: none; }
.events::-webkit-scrollbar { display: none; }
.evcard { scroll-snap-align: start; }
.evcard__img { position: relative; display: block; aspect-ratio: 1; margin-bottom: 14px; border-radius: var(--r); overflow: hidden; background: var(--pill); }
.evcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.evcard__img:hover img { transform: scale(1.03); }
/* upcoming events show their Luma poster whole (square), on its own black */
.evcard__img--poster { background: #000; }
.evcard__img--poster img { object-fit: contain; }
.evcard__img--poster .evcard__tag { left: auto; right: 14px; }
.evcard__img--light { background: #fff; border: 1px solid var(--line); }
.evcard__tag.evcard__tag--dark { background: var(--ink); color: #fff; }
/* links under a card: a photo icon for past events, the Luma link for upcoming ones */
.evcard__actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.iconlink { display: inline-flex; color: var(--ink, #000); }
.iconlink img { border-radius: 5px; }
.cta { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--red); color: #fff; }
.cta:hover { background: #c4211c; }
.iconlink:hover { color: var(--grey); }
.lumalink { display: inline-flex; margin-top: 10px; align-items: center; gap: 8px; }
.lumalink img { border-radius: 5px; }
.lumalink:hover { color: var(--grey); }
.evcard__img--type { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.evcard__big { font-size: clamp(96px, 11vw, 168px); line-height: .85; letter-spacing: -.06em; }
.evcard__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 14px; }
.evcard h3 { font: inherit; margin: 2px 0; }
.evcard p.grey { max-width: 42ch; }
.link { display: inline-block; margin-top: 10px; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--grey); }
.row__img { display: block; width: min(320px, 100%); margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; }
.block + .row { margin-top: 90px; }
@media (max-width: 860px) {
  .events { grid-auto-columns: 58%; }
  .banner { height: 72svh; }
}

/* upcoming events: in grey with a clock until they happen; colour comes back on hover */
.evcard:not(.evcard--next) .time { color: var(--grey); }
.evcard--next .evcard__tag { left: auto; right: 14px; gap: 6px; background: var(--ink); color: #fff; }
.evcard__tag svg { flex: none; }

/* map: the small widget a city opens */
.pop { position: absolute; z-index: 5; width: 290px; max-height: 70%; overflow: auto; transform: translate(18px, -24px); padding: 14px 16px 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.10); font-size: 15px; animation: pop-in .22s cubic-bezier(.2,.7,.1,1); }
.pop.is-left { transform: translate(calc(-100% - 18px), -24px); }
.pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }
.pop__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.pop__x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--pill); font: inherit; line-height: 1; cursor: pointer; }
.pop__x:hover { background: var(--line); }
.pop__ev { padding: 12px 0; border-top: 1px solid var(--line); }
.pop__head + .pop__ev { border-top: 0; }
.pop__when { color: var(--time); font-size: 13px; }
.pop__title { margin: 2px 0 6px; }
.pop__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--grey); font-size: 13px; }
.pop__meta a { display: inline-flex; align-items: center; gap: 4px; }
.pop__meta a:hover { color: var(--ink); }
.pop__links { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pop__links:empty { display: none; }
.pop__empty { padding: 6px 0 12px; color: var(--grey); }
.cta--sm { height: 28px; padding: 0 12px; font-size: 13px; }
@media (max-width: 720px) {
  /* on phones the widget opens under the map, so it never covers the other cities */
  .pop, .pop.is-left { left: 0 !important; right: 0; top: 100% !important; width: auto; max-height: none; transform: translateY(10px); }
}

/* footer: the ship at night, the crew on the empty sky */
.foot { position: relative; min-height: 340px; margin-top: 100px; overflow: hidden; background: #0b1630; color: #fff; }
.foot { background: radial-gradient(120% 140% at 85% 0%, #1b2a55 0%, #0b1630 55%, #060c1c 100%); }
.foot__sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,25,0) 35%, rgba(5,10,25,.55) 100%); pointer-events: none; }
.foot__copy { position: absolute; z-index: 1; right: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; justify-items: end; }
.foot__brand { display: flex; align-items: center; gap: 12px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.03em; }
.foot__brand img { width: 1.25em; height: 1.25em; border-radius: 50%; background: #fff; object-fit: cover; }
.foot__label { margin-top: 10px; color: rgba(255,255,255,.6); font-size: 14px; }
.foot__crew { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 17px; }
.foot__crew li { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.crew-li { display: inline-flex; opacity: .7; transition: opacity .2s; }
.crew-li:hover { opacity: 1; }
.foot__end { margin-top: 18px; color: rgba(255,255,255,.6); }
@media (max-width: 720px) {
  .foot { min-height: 0; display: grid; margin-top: 72px; }
  .foot__sky { position: absolute; }
  .foot__copy { position: relative; }
  .foot::after { display: none; }
  .foot__copy { position: static; transform: none; justify-items: start; padding: 24px var(--gap) 32px; }
  .foot__crew li { justify-content: flex-start; }

}

.countdown { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: var(--grey); white-space: nowrap; }
.countdown svg { width: 13px; height: 13px; }
@media (max-width: 720px) {
  .block { padding-top: 64px; }
  .block__head { margin-bottom: 20px; }
  .banner { height: 62svh; min-height: 420px; }
  .banner { height: 56svh; }
  .banner__video { object-position: 0% 50%; }   /* main.js pans this to the right as the ship sails */
  .evcard h3 { font-size: 15px; }
  .evcard .time { font-size: 14px; }
}

.evcard__actions { min-height: 34px; }
.evcard__actions .iconlink svg, .evcard__actions .iconlink img { width: 20px; height: 20px; display: block; }
.evcard__img img { object-fit: cover; }

.cta--off, .cta--off:hover { background: var(--pill); color: var(--grey); cursor: default; }
.iconlink--off { filter: grayscale(1); opacity: .35; cursor: default; }

.evcard .evcard__img .evcard__tag--done { left: 14px; right: auto; background: rgba(255,255,255,.92); color: var(--ink); }
/* the line between what is coming and what already happened */
.today { position: relative; width: 1px; margin: 0 4px; background: var(--line); scroll-snap-align: none; }
.today span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; white-space: nowrap; }
.events { padding-top: 30px; margin-top: -30px; grid-auto-columns: auto; grid-template-columns: none; }
.events > .evcard { width: clamp(220px, calc((100vw - 5 * var(--gap) - 9px) / 4), 320px); }
@media (max-width: 720px) { .events > .evcard { width: 62vw; } }
.pop__ev:not(.is-next) .pop__when { color: var(--grey); }
.pop__ev:not(.is-next) .pop__title { color: #555; }
.evcard[hidden] { display: none; }

/* iPhone: no white strip under the footer (overscroll and the floating toolbar show the html background) */
html { background: #060c1c; }
body { background: var(--bg); }
.foot { padding-bottom: env(safe-area-inset-bottom); }
.evcard .time { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.evcard .countdown { margin-left: 0; }

/* nav: current page */
.nav .pill.is-current { background: var(--ink); color: #fff; }

/* manifesto page: one narrow column, big title, numbered principles (ghost lines until written) */
.mf { max-width: 680px; margin: 0 auto; padding: clamp(120px, 18vh, 190px) var(--gap) 120px; }
/* the painting is a small emblem beside the title, never the protagonist */
.mf__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.mf__art { margin: 0; }
.mf__art canvas, .mf__art img { display: block; width: 128px; border-radius: 999px 999px 0 0; background: #fff; }
.mf__art img { filter: grayscale(1) contrast(1.25); }
.mf__kicker { display: flex; gap: 10px; color: var(--grey); font-size: 15px; }
.mf__title { margin: 18px 0 0; font-weight: 400; font-size: clamp(56px, 11vw, 132px); line-height: .92; letter-spacing: -.055em; }
.mf__lead { margin-top: 28px; max-width: 34ch; color: var(--grey); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; }
.mf__list { margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mf__list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; }
.mf__n { color: var(--time); font-size: 15px; padding-top: 5px; }
.mf__bars { display: grid; gap: 12px; padding-top: 8px; }
.mf__bars i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #f1f1f1, #f7f7f7 50%, #f1f1f1); background-size: 200% 100%; animation: mf-shimmer 2.4s ease-in-out infinite; }
@keyframes mf-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .mf__bars i { animation: none; } }
.mf__sign { margin-top: 56px; font-size: 19px; }
.page-manifesto .foot { margin-top: 0; }
@media (max-width: 720px) {
  .mf__list li { grid-template-columns: 40px 1fr; padding: 20px 0; }
  .mf { padding-top: 104px; }
  .mf__head { gap: 14px; }
  .mf__art canvas, .mf__art img { width: 72px; }
  .nav .pill { padding-inline: 12px; }
}
@media (max-width: 380px) { .nav .pill--brand { font-size: 0; gap: 0; padding-right: 5px; } }

/* city labels on top of the ikurriña: solid black pills instead of see-through white */
.map.is-flag .map__label { background: var(--ink); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: background .4s, color .4s; }
.map.is-flag .map__label .n, .map.is-flag .map__label.is-quiet { color: rgba(255,255,255,.65); }
.map.is-flag .map__label.is-quiet { color: rgba(255,255,255,.8); }

/* footer: notify me of the next event */
.notify { position: absolute; z-index: 1; left: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%); width: min(400px, 40vw); display: grid; gap: 12px; }
.notify__h { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.notify__row { display: flex; gap: 8px; }
.notify__in { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, background .2s; }
.notify__in::placeholder { color: rgba(255,255,255,.45); }
.notify__in:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.notify__btn { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.notify__btn:hover { background: #e9e9e9; }
.notify__btn:disabled { opacity: .5; cursor: default; }
.notify__ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.6); cursor: pointer; }
.notify__ok input { margin: 2px 0 0; accent-color: #fff; flex: none; }
.notify__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__msg { min-height: 1.3em; font-size: 14px; }
.notify__msg.is-ok { color: #9fe3b0; }
.notify__msg.is-bad { color: #ffb4a8; }
.notify.is-done .notify__row, .notify.is-done .notify__ok { display: none; }
@media (max-width: 720px) {
  .notify { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 32px var(--gap) 4px; }
  .foot { display: block; }
}

/* ---- v0.5: clear sections (header, events, map, footer) and status tags on the cards ---- */
.block { padding: 0 var(--gap); margin-top: clamp(72px, 10vw, 128px); }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none;
  margin-bottom: 30px; padding-top: 16px; border-top: 1px solid var(--ink); }
.block__head h2 { margin: 0; font: inherit; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.block__head .grey { font-size: 15px; text-align: right; }
.banner + .block { margin-top: clamp(48px, 7vw, 88px); }
.foot { margin-top: clamp(96px, 12vw, 160px); }
@media (max-width: 720px) {
  .block { margin-top: 64px; }
  .block__head { flex-direction: column; gap: 4px; margin-bottom: 20px; }
  .block__head .grey { text-align: left; }
  .foot { margin-top: 80px; }
}

/* status tag, right after the date: open (sea blue), finished (green), soon (grey) */
.evtag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.evtag i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.evtag--open { background: #e2f0f5; color: #0b5c78; }
.evtag--open i { animation: tag-pulse 1.8s ease-in-out infinite; }
.evtag--done { background: #e7f5ec; color: #17793c; }
.evtag--soon { background: var(--pill); color: var(--grey); }
@keyframes tag-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .evtag--open i { animation: none; } }
.block { scroll-margin-top: 72px; }

/* map: the city you clicked hides its label while its widget is open (the widget already says the name) */
.map__city { transition: opacity .2s; }
.map__city.is-open { opacity: 0; pointer-events: none; }
.evcard--next .time { color: var(--ink); }   /* upcoming date in black, no blue */
