@font-face {
  font-family: "NT Somic";
  src: url("./fonts/NTSomic-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "NT Somic";
  src: url("./fonts/NTSomic-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f2f0ea;
  --ink: #121212;
  --muted: #74736f;
  --accent: #ff4f2e;
  --white: #fff;
  --pad: clamp(20px, 4vw, 60px);
  --content-width: 70vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "NT Somic", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }

.site-header {
  position: relative;
  z-index: 10;
  padding: 18px 0 16px;
  width: 100%;
}

.site-header__inner { display: grid; grid-template-columns: calc(50% - var(--content-width) / 2 + var(--pad) - 24px) minmax(240px, 430px) auto 1fr; align-items: center; gap: 24px; width: 100%; padding-inline: 28px; }
.header-title { display: grid; gap: 7px; min-width: 0; }
.header-title h1 { margin: 0; font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }

.wordmark { width: min-content; font-size: clamp(29px, 3vw, 42px); font-weight: 500; letter-spacing: -.09em; line-height: .85; }
.wordmark span { color: var(--accent); }
.header-search { position: relative; display: flex; align-items: center; justify-self: stretch; width: 100%; min-width: 0; }
.header-search svg { position: absolute; left: 17px; width: 18px; height: 18px; fill: none; stroke: #777671; stroke-width: 1.8; stroke-linecap: round; }
.header-search input { width: 100%; height: 44px; padding: 0 18px 0 47px; border: 0; border-radius: 999px; outline: none; background: #e4e2dc; color: var(--ink); font-size: 13px; }
.header-search input:focus { box-shadow: inset 0 0 0 1px var(--ink); background: #e9e7e1; }
.header-meta { display: flex; align-items: center; justify-content: flex-end; justify-self: end; gap: 10px; }
.header-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.header-location, .profile-button, .pro-badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; border: 0; border-radius: 999px; background: transparent; padding: 0 12px; font-size: 13px; white-space: nowrap; }
.header-location:hover, .profile-button:hover { background: #e4e2dc; }
.header-location svg, .profile-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-location.filter-trigger.is-active { background: var(--ink); color: var(--paper); }
.profile-button { padding-right: 4px; }
.profile-button svg { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.pro-badge { height: 34px; padding: 0 12px; background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: .08em; }
.pro-badge span { color: #aaa9a5; letter-spacing: 0; }
.is-pro .pro-badge { background: var(--accent); }
.is-pro .pro-badge span { color: var(--paper); }

.intro {
  width: var(--content-width);
  margin-inline: auto;
  min-height: 0;
  padding: 26px var(--pad) 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
}

.eyebrow { margin: 0 0 16px; font-size: 11px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.intro h1, .manifesto h2, .age-gate h1, .sheet h2 {
  margin: 0;
  font-size: clamp(58px, 9.4vw, 144px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.075em;
}
.intro h1 { font-size: clamp(38px, 4.1vw, 64px); line-height: .95; letter-spacing: -.055em; }
.intro__description { max-width: 290px; margin: 0; font-size: 14px; line-height: 1.25; letter-spacing: -.015em; }

.catalog { position: relative; width: var(--content-width); min-height: 60vh; margin-inline: auto; background: var(--paper); padding: 20px var(--pad) 90px; }
.featured-section { padding-bottom: 30px; }
.featured-section > .section-heading { padding-left: 0; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.035em;
}
.section-heading > span { color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.section-heading--events { margin-bottom: 12px; padding-top: 10px; }

.month-calendar {
  position: absolute;
  top: 20px;
  left: calc((var(--content-width) - 100vw) / 2 + 28px);
  width: 218px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .34);
  transform-origin: top left;
}
.month-calendar__header { display: flex; align-items: center; gap: 5px; margin-bottom: 9px; }
.month-calendar__today { justify-self: start; min-height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: #e7e4de; font-size: 10px; }
.month-calendar__nav { flex: 1; display: grid; grid-template-columns: 25px 1fr 25px; align-items: center; gap: 3px; }
.month-calendar__nav button { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 8px; background: #e7e4de; font-size: 17px; }
.month-calendar__nav strong { text-align: center; font-size: 13px; font-weight: 500; }
.month-calendar__weekdays, .month-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-calendar__weekdays { margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 400; text-align: center; text-transform: uppercase; }
.month-day {
  position: relative;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.month-day:hover { background: #e4e1db; }
.month-day.is-outside { color: #b7b4ad; }
.month-day.is-active { background: var(--ink); color: var(--paper); }
.month-day.is-current-week { border-radius: 0; background: var(--ink); color: var(--paper); }
.month-day.is-week-start { border-radius: 999px 0 0 999px; }
.month-day.is-week-end { border-radius: 0 999px 999px 0; }
.featured-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.featured-card {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.featured-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.6 / 1;
  margin-bottom: 9px;
  overflow: hidden;
  border-radius: 14px;
  background: #d8d6d0;
}
.featured-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}
.featured-card:hover img { transform: scale(1.025); }
.featured-card__meta { display: block; margin-bottom: 5px; color: var(--accent); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.featured-card strong { display: block; overflow: hidden; font-size: 15px; font-weight: 400; line-height: 1.1; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.calendar-shell {
  position: relative;
  width: 100%;
  margin: 0 0 15px;
}
.calendar-nav {
  position: absolute;
  z-index: 3;
  top: 0;
  width: 64px;
  height: 88px;
  padding: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease;
}
#calendarPrev { left: -1px; }
#calendarNext { right: -1px; }
#calendarPrev { background: linear-gradient(to right, var(--paper) 35%, transparent); }
#calendarNext { background: linear-gradient(to left, var(--paper) 35%, transparent); }
.calendar-shell.has-prev #calendarPrev, .calendar-shell.has-next #calendarNext { opacity: 1; visibility: visible; }
.calendar-nav:disabled { pointer-events: none; }
.calendar-nav:hover { color: var(--accent); }
.calendar-nav:focus-visible { color: var(--accent); }
.calendar-track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  height: 88px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.calendar-track::-webkit-scrollbar { display: none; }
.calendar-month-group { flex: 0 0 auto; height: 88px; }
.calendar-month-label { display: block; height: 16px; color: var(--muted); font-size: 9px; line-height: 12px; }
.calendar-month-days { display: flex; height: 72px; }
.calendar-day {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 72px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  text-align: center;
}
.calendar-day__inner { display: flex; width: 40px; height: 72px; flex-direction: column; align-items: center; justify-content: center; border-radius: 16px; transition: background 160ms ease, color 160ms ease; }
.calendar-day small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 400; text-transform: uppercase; }
.calendar-day strong { display: block; font-size: 21px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.calendar-day.is-weekend small { color: var(--accent); }
.calendar-day:hover .calendar-day__inner { background: rgba(255, 255, 255, .55); }
.calendar-day.is-active .calendar-day__inner { background: var(--ink); color: var(--paper); }
.calendar-day.is-active small { color: var(--accent); }
.calendar-day.is-today .calendar-day__inner { background: var(--ink); color: var(--paper); }
.calendar-day.is-today small { color: var(--paper); }
.calendar-shell:has(.calendar-day.is-active) .calendar-day.is-today:not(.is-active) .calendar-day__inner { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.calendar-shell:has(.calendar-day.is-active) .calendar-day.is-today:not(.is-active) small { color: var(--muted); }
.calendar-day__clear { position: absolute; z-index: 2; top: -5px; right: 1px; display: none; width: 21px; height: 21px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 400; line-height: 1; }
.calendar-day.is-active .calendar-day__clear { display: grid; }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8d6d0;
}
.search-control { flex: 0 0 0; width: 0; min-width: 0; overflow: hidden; opacity: 0; transition: flex-basis 180ms ease, width 180ms ease, opacity 180ms ease; }
.search-control.is-open { flex-basis: 170px; width: 170px; opacity: 1; }
.search-control input {
  height: 36px;
  padding: 0 11px;
  border: 1px solid #bdbdb8;
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, .36);
  color: var(--ink);
  font-size: 13px;
}
.search-control input { padding-left: 12px; border-color: #bdbdb8; }
.search-control input { width: 170px; border-radius: 999px; }
.search-control input:focus { border-color: var(--ink); }
.icon-filter {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #bdbdb8;
  border-radius: 50%;
  background: transparent;
  font-size: 19px;
  line-height: 1;
}
.icon-filter:hover, .icon-filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.access-filters { display: flex; flex: 0 0 auto; gap: 6px; }
.filter-trigger, .access-filter {
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #e9e7e1;
  font-size: 14px;
  white-space: nowrap;
}
.filter-trigger { display: inline-flex; align-items: center; gap: 8px; }
.filter-trigger svg, .access-filter svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.filter-trigger__chevron { width: 7px; height: 7px; margin: -3px 1px 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.filter-trigger__clear, .access-filter__clear { display: none; width: 18px; height: 18px; margin-right: -4px; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 400; line-height: 1; }
.filter-trigger.is-active .filter-trigger__chevron { display: none; }
.filter-trigger.is-active { background: var(--ink); color: var(--paper); }
.filter-trigger.is-active .filter-trigger__clear { display: grid; background: var(--paper); color: var(--ink); }
.filter-trigger:hover, .access-filter:hover { background: #dfdcd5; }
.filter-trigger.is-active:hover { background: var(--ink); }
.access-filter { display: inline-flex; align-items: center; gap: 7px; }
.access-filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.access-filter[aria-pressed="true"] .access-filter__clear { display: grid; background: var(--paper); color: var(--ink); }
.site-header .header-location { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "caption caption" "label chevron"; justify-items: start; align-items: center; gap: 1px 7px; width: auto; max-width: 210px; height: auto; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: left; }
.site-header .header-location small { grid-area: caption; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.site-header .header-location .filter-trigger__label { grid-area: label; min-width: 0; overflow: hidden; font-size: 24px; line-height: .95; letter-spacing: -.055em; text-overflow: ellipsis; text-transform: uppercase; }
.site-header .header-location .filter-trigger__chevron { grid-area: chevron; }
.site-header .header-location .filter-trigger__clear { grid-area: chevron; }
.site-header .header-location:hover { background: transparent; color: var(--accent); }
.site-header .header-location.is-active { padding: 0; border-radius: 0; background: transparent; color: var(--ink); }
.site-header .header-location.is-active:hover { background: transparent; color: var(--accent); }
.site-header .header-location.is-active .filter-trigger__clear { display: none; }
.site-header .header-location.is-active .filter-trigger__chevron { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.toolbar { min-height: 92px; display: flex; align-items: center; justify-content: space-between; }
.quick-filters { display: flex; gap: 24px; }
.quick-filter, .filter-button { padding: 5px 0; border: 0; background: transparent; font-size: 13px; }
.quick-filter { color: var(--muted); }
.quick-filter.is-active { color: var(--ink); box-shadow: inset 0 -1px var(--ink); }
.filter-button { display: flex; gap: 10px; }
.filter-button span { min-width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 10px; }
.result-meta { display: flex; justify-content: space-between; padding: 12px 0 22px; border-bottom: 1px solid #dededb; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.result-meta p { margin: 0; }

.catalog-tab { display: inline-flex; align-items: center; flex: 0 0 auto; height: 40px; padding: 0 15px; border: 0; border-radius: 999px; background: #e9e7e1; color: var(--ink); font-size: 14px; white-space: nowrap; }
.catalog-tab:hover { background: #dfdcd5; }
.catalog-tab.is-active:hover { background: var(--ink); }
.catalog-tab.is-active { background: var(--ink); color: var(--paper); }
.catalog-tab > span:not(.pro-mark) { display: inline-grid; min-width: 18px; height: 18px; margin-left: 5px; place-items: center; border-radius: 50%; background: #dedbd4; color: var(--ink); font-size: 9px; }
.pro-mark { display: inline-flex; margin-left: 4px; color: var(--accent); font-size: 8px; letter-spacing: .08em; }
.catalog-tab.is-active .pro-mark { color: var(--paper); }
.catalog-trust { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; margin: 0 0 0 auto; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.catalog-trust span { width: 7px; height: 7px; border-radius: 50%; background: #39a36c; box-shadow: 0 0 0 4px rgba(57, 163, 108, .1); }
/* В строке фильтров подпись об источниках держим только там, где она реально помещается. */
@media (max-width: 1399px) { .catalog-trust { display: none; } }
.recommendation-note { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; margin: 12px 0; padding: 28px; border-radius: 18px; background: var(--ink); color: var(--paper); }
.recommendation-note[hidden] { display: none; }
.recommendation-note .eyebrow { color: var(--accent); }
.recommendation-note h2 { margin: 0; font-size: clamp(30px, 3.4vw, 52px); font-weight: 400; line-height: .95; letter-spacing: -.055em; }
.recommendation-note > p { margin: 0; color: #aaa9a5; font-size: 13px; line-height: 1.45; }
.recommendation-note button, .recommendation-note a { display: block; margin-top: 14px; padding: 0; border: 0; background: transparent; color: var(--paper); }

.event-card {
  position: relative;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #dedcd6;
  border-radius: 12px;
  transition: background-color 180ms ease;
}
.event-card:hover { background: rgba(255, 255, 255, .32); }
.event-card__main { display: grid; grid-template-columns: minmax(112px, .5fr) minmax(150px, .5fr) minmax(210px, 1.35fr) minmax(130px, .72fr) 30px; align-items: center; gap: 20px; width: 100%; min-height: 96px; padding: 8px 12px; border: 0; background: transparent; text-align: left; }
.event-card__main:hover h2 { color: var(--accent); }
.event-card__date { display: grid; align-content: center; gap: 5px; }
.event-card__date-main { display: flex; align-items: baseline; gap: 10px; }
.event-card__day { font-size: clamp(42px, 4.5vw, 66px); line-height: 1; letter-spacing: -.07em; }
.event-card__month { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.event-card__weekday { color: var(--muted); font-size: 10px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.event-card__time { display: grid; align-content: center; gap: 5px; color: var(--ink); }
.event-card__time strong { font-size: clamp(42px, 4.5vw, 66px); font-weight: 400; line-height: 1; letter-spacing: -.065em; }
.event-card__time small { color: var(--muted); font-size: 10px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.event-card h2 { margin: 0 0 5px; font-size: clamp(20px, 2.1vw, 31px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.event-card__title-row { display: flex; align-items: center; gap: 7px; }
.verified-mark { display: inline-grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 10px; }
.event-card__tags { color: var(--muted); font-size: 12px; }
.event-card__tags { display: flex; gap: 14px; }
.event-card__place { display: grid; gap: 4px; line-height: 1.1; }
.event-card__place strong { font-size: 15px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.event-card__place small { color: var(--muted); font-size: 10px; }
.event-card__arrow { justify-self: end; font-size: 26px; transform: rotate(-45deg); transition: transform 180ms ease; }
.event-card__main:hover .event-card__arrow { transform: rotate(0); }
.event-card__status { display: inline-flex; margin-top: 5px; color: var(--accent); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.empty-state { text-align: center; padding: 100px 20px; }
.empty-state h2 { margin: 0 0 28px; font-size: 42px; font-weight: 400; letter-spacing: -.05em; }
.manifesto { width: var(--content-width); margin-inline: auto; padding: clamp(90px, 11vw, 150px) var(--pad); }
.manifesto__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: end; }
.manifesto h2 { font-size: clamp(48px, 7vw, 110px); }
.manifesto__grid > div { display: grid; gap: 22px; max-width: 430px; font-size: 15px; line-height: 1.45; }
.manifesto p { margin: 0; }

footer { width: var(--content-width); min-height: 300px; margin-inline: auto; padding: 45px var(--pad); border-top: 1px solid #cbc9c3; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.wordmark--footer { font-size: clamp(70px, 14vw, 210px); }
.footer-meta { display: flex; justify-content: space-between; font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }
.footer-meta p { margin: 0; }

.menu { position: fixed; z-index: 50; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: var(--pad); background: var(--ink); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__close, .sheet__close { position: absolute; top: 20px; right: var(--pad); border: 0; background: transparent; font-size: 38px; font-weight: 300; line-height: 1; }
.menu__inner { align-self: center; max-width: 950px; }
.menu__inner a, .menu__inner > button { display: flex; align-items: baseline; justify-content: space-between; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #3b3b3b; background: transparent; color: inherit; text-align: left; font-size: clamp(42px, 7vw, 100px); letter-spacing: -.06em; }
.menu__inner span { font-size: 12px; letter-spacing: .04em; }
.menu__foot { margin: 0; color: #989895; font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }

.age-gate { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: var(--ink); color: var(--paper); transition: opacity 250ms ease, visibility 250ms; }
.age-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate__panel { width: min(100%, 760px); }
.age-gate h1 { margin-bottom: 34px; font-size: clamp(62px, 10vw, 120px); }
.age-gate__copy { max-width: 580px; font-size: 18px; line-height: 1.35; }
.age-gate__actions { display: flex; align-items: center; gap: 20px; margin-top: 45px; }
.button { min-height: 50px; padding: 0 22px; border: 0; display: inline-flex; align-items: center; justify-content: center; }
.button--dark { background: var(--ink); color: var(--white); }
.age-gate .button--dark { background: var(--paper); color: var(--ink); }
.button--text { background: transparent; text-decoration: underline; text-underline-offset: 4px; }

.sheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 18, .34); overflow: hidden; }
.sheet::backdrop { background: rgba(18, 18, 18, .34); }
.sheet__panel { position: absolute; top: 12px; right: 12px; width: min(calc(100% - 24px), 620px); height: calc(100% - 24px); overflow-y: auto; padding: 44px clamp(22px, 5vw, 60px); border-radius: 18px; background: var(--paper); }
.sheet--detail .sheet__panel {
  top: 50%;
  right: auto;
  left: 50%;
  width: min(calc(100% - 32px), 720px);
  height: auto;
  max-height: calc(100% - 32px);
  transform: translate(-50%, -50%);
}
.sheet__header { display: flex; justify-content: space-between; margin-bottom: 56px; }
.sheet h2 { font-size: clamp(56px, 8vw, 88px); }
.sheet .sheet__close { position: static; align-self: flex-start; padding: 0; }
fieldset { margin: 0 0 40px; padding: 0; border: 0; }
legend { width: 100%; padding-bottom: 14px; border-bottom: 1px solid #d3d1cb; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.radio-row, .check-row { display: flex; justify-content: space-between; padding: 14px 0; font-size: 17px; }
input[type="radio"], input[type="checkbox"] { width: 19px; height: 19px; accent-color: var(--ink); }
.pro-filter { width: 100%; padding: 22px 0; border: 0; border-top: 1px solid #d3d1cb; border-bottom: 1px solid #d3d1cb; display: flex; justify-content: space-between; background: transparent; text-align: left; font-size: 16px; }
.pro-filter span { display: grid; gap: 7px; }
.pro-filter small { color: var(--accent); font-size: 10px; letter-spacing: .1em; }
.sheet__actions { position: sticky; bottom: -44px; display: flex; justify-content: space-between; gap: 20px; margin: 50px calc(-1 * clamp(22px, 5vw, 60px)) -44px; padding: 18px clamp(22px, 5vw, 60px); background: var(--paper); }

.detail-panel { display: flex; flex-direction: column; }
.detail-close { align-self: flex-end; margin-bottom: 28px; padding: 0; border: 0; background: transparent; font-size: 38px; line-height: 1; }
.detail-schedule { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.detail-schedule > div { display: grid; gap: 5px; padding: 17px 0 15px; }
.detail-schedule > div + div { padding-left: 24px; border-left: 1px solid #cbc8c1; }
.detail-schedule span { font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -.06em; }
.detail-schedule small { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-date { margin: 0 0 14px; color: var(--accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.detail-panel h2 { margin: 0 0 24px; font-size: clamp(44px, 6vw, 72px); }
.detail-lead { margin: 26px 0 38px; max-width: 560px; font-size: 19px; line-height: 1.35; }
.pro-perk p { display: grid; gap: 4px; margin: 0; }
.pro-perk strong { font-size: 12px; font-weight: 500; }
.pro-perk small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.detail-data { margin: 0 0 32px; }
.detail-data div { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-bottom: 1px solid #d3d1cb; font-size: 14px; }
.detail-data dt { color: var(--muted); }
.detail-data dd { margin: 0; }
.detail-disclaimer { color: var(--muted); font-size: 11px; line-height: 1.45; }
.detail-cta { width: 100%; min-height: 58px; margin-top: 20px; background: var(--ink); color: white; display: grid; place-items: center; }
.pro-perk { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--accent); border-radius: 14px; }
.pro-perk > span { color: var(--accent); font-size: 10px; letter-spacing: .08em; }

.filter-drawer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.filter-drawer::backdrop { background: rgba(18, 18, 18, .28); backdrop-filter: blur(2px); }
.filter-drawer__panel {
  position: fixed;
  top: var(--filter-top, 80px);
  left: var(--filter-left, 12px);
  width: var(--filter-width, min(360px, calc(100% - 24px)));
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 18px 18px 16px;
  border: 1px solid rgba(18, 18, 18, .1);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(18, 18, 18, .16);
  animation: drawer-in 160ms ease-out;
}
.filter-drawer__handle { display: none; }
.filter-drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.filter-drawer__header h2 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -.035em; }
.filter-drawer__close { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #e5e2dc; font-size: 20px; line-height: 1; }
.filter-option { width: 100%; min-height: 48px; padding: 0 10px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; background: transparent; text-align: left; font-size: 16px; transition: background-color 140ms ease; }
.filter-option:hover, .filter-option:focus-visible { outline: 0; background: #e5e2dc; }
.filter-option__check { width: 22px; height: 22px; border: 1px solid #bbb8b1; border-radius: 50%; display: grid; place-items: center; color: transparent; }
.filter-option.is-selected .filter-option__check { border-color: var(--ink); background: var(--ink); color: var(--paper); }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.pro-panel { background: var(--ink); color: var(--paper); }
.pro-panel h2 { margin: 50px 0 30px; font-size: clamp(48px, 6.5vw, 78px); }
.pro-panel__lead { max-width: 460px; color: #aaa9a5; font-size: 17px; line-height: 1.4; }
.pro-panel ul { list-style: none; margin: 50px 0; padding: 0; }
.pro-panel li { display: grid; grid-template-columns: 50px 1fr; padding: 15px 0; border-bottom: 1px solid #373737; font-size: 15px; }
.pro-panel li span { display: inline-block; width: 50px; color: var(--accent); font-size: 10px; }
.pro-panel li strong { font-weight: 400; }
.pro-panel li small { grid-column: 2; margin-top: 4px; color: #888783; font-size: 11px; }
.pro-price { display: flex; align-items: flex-end; gap: 15px; }
.pro-price strong { font-size: 54px; font-weight: 400; letter-spacing: -.05em; }
.pro-price span { margin-bottom: 8px; color: #aaa9a5; font-size: 11px; line-height: 1.35; text-transform: uppercase; }
.waitlist { margin-top: 50px; }
.waitlist label { display: block; margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.waitlist > div { display: flex; border-bottom: 1px solid #777; }
.waitlist input { flex: 1; min-width: 0; padding: 15px 0; border: 0; outline: 0; background: transparent; color: white; }
.waitlist button { border: 0; background: transparent; color: white; }
#waitlistMessage { min-height: 20px; color: var(--accent); font-size: 12px; }
.pro-activate { width: 100%; min-height: 56px; margin-top: 34px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); }
.pro-demo-note { margin: 12px 0 0; color: #777671; font-size: 10px; line-height: 1.4; text-align: center; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity 160ms ease, transform 160ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  :root { --content-width: 100%; }
  .site-header { padding: 18px 0 10px; }
  .site-header__inner { width: 100%; padding-inline: 20px; grid-template-columns: 1fr auto; gap: 14px; }
  .header-title { grid-column: 1; grid-row: 1; gap: 5px; }
  .header-title h1 { max-width: none; font-size: 13px; }
  .header-search { grid-column: 1; grid-row: 2; }
  .header-search input { height: 42px; }
  .header-meta { grid-column: 2; grid-row: 1; gap: 7px; width: auto; }
  .site-header .header-location { grid-column: 2; grid-row: 2; justify-self: end; width: auto; max-width: 40vw; }
  .site-header .header-location small { display: none; }
  .site-header .header-location .filter-trigger__label { font-size: 17px; }
  .profile-button span { display: none; }
  .profile-button { padding: 0; }
  .pro-badge { padding-inline: 10px; }
  .pro-badge span { display: none; }
  .intro { padding-top: 20px; padding-bottom: 20px; grid-template-columns: 1fr; }
  .intro h1 { font-size: 44px; }
  .intro__description { max-width: 310px; font-size: 14px; }
  .catalog { margin-top: 0; padding-top: 14px; }
  .month-calendar { position: static; width: 100%; margin-bottom: 24px; transform: none !important; }
  .featured-section > .section-heading { padding-left: 0; }
  .featured-section { padding-bottom: 28px; }
  .featured-strip { display: flex; gap: 10px; overflow-x: auto; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; }
  .featured-strip::-webkit-scrollbar { display: none; }
  .featured-card { flex: 0 0 68%; }
  .featured-card__image { aspect-ratio: 1.75 / 1; }
  .section-heading h2 { font-size: 20px; }
  .calendar-nav { width: 52px; }
  .calendar-day { flex-basis: 52px; width: 52px; padding-inline: 6px; }
  .calendar-track { gap: 26px; }
  .filter-bar { display: flex; overflow-x: auto; gap: 7px; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .search-control.is-open { flex: 0 0 165px; width: 165px; }
  .search-control input { width: 165px; }
  .toolbar { min-height: 80px; }
  .quick-filters { gap: 17px; }
  .access-filters { flex: 0 0 auto; }
  .catalog-trust { margin-left: 4px; }
  .recommendation-note { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; }
  .recommendation-note h2 { font-size: 36px; }
  .event-card { padding: 6px 0; }
  .event-card__main { grid-template-columns: 62px 72px minmax(0, 1fr) 18px; gap: 8px; min-height: 112px; padding-inline: 5px; }
  .event-card__date { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .event-card__time { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .event-card__copy { grid-column: 3; grid-row: 1; min-width: 0; }
  .event-card__place { grid-column: 3; grid-row: 2; align-self: end; margin-top: 0; }
  .event-card__arrow { grid-column: 4; grid-row: 1 / span 2; }
  .event-card__date { gap: 4px; }
  .event-card__date-main { gap: 6px; }
  .event-card__day { font-size: 32px; }
  .event-card__month { font-size: 9px; }
  .event-card__weekday { font-size: 8px; }
  .event-card__time strong { font-size: 30px; }
  .event-card__time small { font-size: 8px; }
  .event-card h2 { font-size: 21px; overflow-wrap: anywhere; }
  .event-card__tags { gap: 8px; font-size: 10px; }
  .event-card__place strong { font-size: 12px; }
  .event-card__place small { font-size: 9px; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto h2 { font-size: 52px; }
  footer { min-height: 270px; }
  .footer-meta { gap: 20px; }
  .menu { padding-top: 90px; }
  .age-gate { place-items: end start; }
  .age-gate__actions { align-items: stretch; flex-direction: column; }
  .sheet__panel { padding-top: 30px; }
  .sheet--detail .sheet__panel { width: min(calc(100% - 24px), 720px); max-height: calc(100% - 24px); }
  .detail-close { margin-bottom: 22px; }
  .detail-panel h2 { font-size: clamp(40px, 13vw, 58px); }
  .detail-lead { margin: 22px 0 30px; font-size: 17px; }
  .detail-schedule span { font-size: 32px; }
  .detail-schedule > div + div { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Сегодняшнее событие выделяем акцентом, прошедшие дни в календаре гасим. */
.event-card.is-today { background: rgba(255, 79, 46, .05); }
.event-card.is-today::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -10px;
  width: 2px;
  background: var(--accent);
}
.event-card.is-today .event-card__day,
.event-card.is-today .event-card__month { color: var(--accent); }
.event-card.is-today .event-card__weekday { color: var(--accent); }

.month-day.is-past { color: #c9c6bf; cursor: default; }
.month-day.is-past:hover { background: transparent; }
.month-day.is-today:not(.is-active) { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }

/* Правовые ссылки в подвале каталога. */
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.footer-legal a { color: inherit; text-decoration: none; opacity: .72; }
.footer-legal a:hover { opacity: 1; }
