:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --surface-alt: #f0f0ec;
  --text: #1b1b1a;
  --text-muted: #585856;
  --border: rgba(27, 27, 26, 0.12);
  --accent: #2e2e2c;
  --accent-2: #9a7b4f;
  --secondary: #3d3d3a;
  --on-accent: #fbfbf9;
  --dark: #1b1b1a;
  --radius: 6px;
  --radius-btn: 0px;
  --font-heading: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --font-body: 'Palatino Linotype', Palatino, serif;
  --max-w: 1160px;
  --section-pad: 112px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.14;
}

h2 {
  font-size: clamp(24px, 4vw, 38px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 26px);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant: small-caps;
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--on-accent);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.text-link {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-2);
}

.band {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.band-alt {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
}

.band-plain {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.band-surface {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.band-dark {
  padding: var(--section-pad) 0;
  background: var(--dark);
  color: var(--on-accent);
}

.band-dark h2,
.band-dark h3 {
  color: var(--on-accent);
}

.band-dark .kicker-on-dark {
  color: rgba(251, 251, 249, 0.55);
}

.band-dark .link-on-dark {
  color: var(--accent-2);
}

.category-grid-spaced {
  margin-top: 48px;
}

.confirm-followup {
  margin-top: 24px;
}

.band-dark p {
  color: rgba(251, 251, 249, 0.82);
}

.page-hero {
  padding: calc(var(--section-pad) - 24px) 0 64px;
  text-align: left;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.page-hero .kicker {
  margin-bottom: 1.2rem;
}

.page-hero p {
  max-width: 62ch;
  margin-left: 0;
  margin-right: 0;
  color: var(--text-muted);
}

.page-hero .legal-body {
  margin-inline: 0;
  text-align: left;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page {
  padding-top: calc(var(--section-pad) - 24px);
}

.contact-wrap .kicker {
  margin-bottom: 1.2rem;
}

.contact-wrap h1 {
  margin-bottom: 0.8em;
}

.venue-card .title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.85em;
}

.venue-card .title-block h2 {
  margin-bottom: 0;
}

.venue-card .title-block .meta {
  margin-bottom: 0;
}

.hero {
  padding: 72px 0 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-alt) 100%);
}

.hero-copy {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.hero-copy .independence-line {
  margin-top: 28px;
  max-width: 54ch;
  margin-inline: auto;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-frames {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: end;
  width: min(100% - 48px, var(--max-w));
  margin: 0 auto;
  padding-bottom: 48px;
}

.hero-frame {
  margin: 0;
}

.hero-frame img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.35s ease;
}

.hero-frame:hover img {
  transform: scale(1.02);
}

.hero-frame:nth-child(1) img {
  height: 220px;
}

.hero-frame:nth-child(2) img {
  height: 340px;
}

.hero-frame:nth-child(3) img {
  height: 280px;
}

.hero-frame figcaption {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.category-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.category-card .media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.category-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.02);
}

.category-card h2 {
  margin-bottom: 0.5em;
}

.category-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.4em;
}

.pull-quote {
  max-width: 42ch;
  margin: 0 auto;
  text-align: center;
}

.pull-quote blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.4px;
  font-weight: 400;
  color: var(--accent);
  quotes: none;
}

.pull-quote .frame {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 48ch;
  margin-inline: auto;
}

.mission-block {
  max-width: 720px;
}

.mission-block .lead {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.35;
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.mission-block p {
  color: var(--text-muted);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.notice-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--surface);
}

.notice-panel p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.catalog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.catalog-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.venue-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

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

.venue-card .media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.venue-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-grid-2 .venue-card img {
  height: 360px;
}

.venue-card:hover img {
  transform: scale(1.02);
}

.venue-card .kicker {
  margin-bottom: 0.55rem;
}

.venue-card h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 0.55em;
}

.venue-card .meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.85em;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.venue-card .desc {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5em;
}

.venue-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.catalog-close {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  max-width: 62ch;
}

.editorial-lead {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.5;
  color: var(--text);
  max-width: 100%;
  margin-bottom: 56px;
  font-family: var(--font-heading);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
}

.editorial-block h2 {
  margin-bottom: 0.8em;
}

.editorial-block p {
  color: var(--text-muted);
}

.narrow-column {
  max-width: 70ch;
  margin-inline: auto;
}

.narrow-column section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.narrow-column section:first-of-type {
  padding-top: 0;
}

.narrow-column section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.narrow-column p {
  color: var(--text-muted);
}

.contact-wrap {
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.contact-wrap .intro {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-email {
  margin-bottom: 32px;
  font-family: var(--font-heading);
  font-size: 18px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 1px;
}

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0;
}

.agree-row input {
  margin-top: 5px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.agree-row label {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.field-error {
  display: none;
  color: #8a2f2f;
  font-size: 14px;
  margin-top: 8px;
}

.field-error.is-visible {
  display: block;
}

.form-status[aria-live] {
  margin-top: 16px;
  color: #8a2f2f;
  font-size: 15px;
}

.confirm-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--surface);
}

.confirm-panel h2 {
  margin-bottom: 0.6em;
}

.confirm-panel p {
  color: var(--text-muted);
}

.legal-body {
  max-width: 72ch;
}

.legal-body h2 {
  margin-top: 2em;
}

.legal-body h3 {
  margin-top: 1.4em;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
}

.legal-body ul {
  padding-left: 1.2em;
}

.sitemap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 2;
}

.sitemap-lead {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 62ch;
}

.sitemap-row a {
  text-decoration: none;
  color: var(--accent);
}

.sitemap-row a:hover {
  color: var(--accent-2);
}

.sitemap-row .sep {
  color: var(--text-muted);
  margin: 0 4px;
  user-select: none;
}

.independence-line {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.site-footer {
  background: var(--surface-alt);
  margin-top: 0;
}

.footer-upper {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-blurb {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 42ch;
  margin-bottom: 20px;
}

.footer-requisites {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52ch;
}

.footer-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--accent-2);
}

.back-top {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  white-space: nowrap;
}

.back-top:hover {
  color: var(--accent);
}

.footer-mail {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent);
  margin-top: 8px;
}

.footer-mail:hover {
  color: var(--accent-2);
}

.footer-lower {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
}

.footer-lower-inner {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
}

.footer-lower .independence-line {
  margin-bottom: 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.cookie-settings-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 0 0 2px;
  color: var(--text-muted);
  cursor: pointer;
}

.cookie-settings-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-2);
}

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.consent-inner {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
  display: grid;
  gap: 20px;
}

.consent-copy h2 {
  font-size: 22px;
  margin-bottom: 0.4em;
}

.consent-copy p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
  max-width: 70ch;
}

.consent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.consent-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-heading);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-banner[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 88px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-upper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .category-grid,
  .catalog-grid-3,
  .closing-grid,
  .about-cols {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-grid,
  .catalog-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
  }

  .hero-frames {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
    -webkit-overflow-scrolling: touch;
  }

  .hero-frame {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .hero-frame:nth-child(1) img,
  .hero-frame:nth-child(2) img,
  .hero-frame:nth-child(3) img {
    height: 260px;
  }

  .closing-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .footer-upper,
  .footer-lower-inner,
  .hero-frames,
  .consent-inner {
    width: min(100% - 32px, var(--max-w));
  }

  .category-grid,
  .catalog-grid-3,
  .editorial-grid,
  .about-cols {
    grid-template-columns: 1fr;
  }

  .category-card img,
  .venue-card img,
  .catalog-grid-2 .venue-card img {
    height: 220px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }

  .brand-name {
    font-size: 15px;
  }

  .hero-copy {
    margin-bottom: 40px;
  }
}
