:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --surface-alt: #f2e9e4;
  --text: #241417;
  --text-muted: #63494e;
  --border: rgba(36, 20, 23, 0.12);
  --accent: #7b2233;
  --accent-2: #b8860b;
  --secondary: #3d1f26;
  --on-accent: #ffffff;
  --dark: #2b1219;
  --radius: 20px;
  --radius-btn: 2px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --font-heading: 'Times New Roman', Times, serif;
  --font-body: Verdana, Geneva, sans-serif;
  --content: 1140px;
  --section-pad: 96px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

h2 {
  font-size: clamp(26px, 4vw, 40px);
}

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

p {
  margin: 0 0 1.1em;
}

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

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

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  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--ghost {
  background: transparent;
  color: var(--accent);
}

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

.text-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

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

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand img {
  width: 140px;
  height: 28px;
  object-fit: contain;
}

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

.nav-center a,
.nav-contact a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-center a:hover,
.nav-contact a:hover {
  color: var(--accent);
}

.nav-center a[aria-current="page"],
.nav-contact a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-contact {
  justify-self: end;
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  padding: calc(var(--section-pad) - 16px) 0 var(--section-pad);
  background: var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .independence-line {
  margin-top: 28px;
  max-width: 36em;
}

.hero-frame {
  position: relative;
  margin: 0;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 1px solid var(--border);
  z-index: 0;
  pointer-events: none;
}

.hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

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

section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--bg {
  background: var(--bg);
}

.section--surface {
  background: var(--surface);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

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

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.category-card:hover {
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-card__body {
  padding: 28px 28px 32px;
}

.category-card h3 {
  margin-bottom: 12px;
}

.category-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.notes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.note-item {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.note-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.note-item p {
  font-size: 15px;
  color: var(--text-muted);
}

.accordion {
  border-top: 1px solid var(--border);
  max-width: 820px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
}

.accordion-trigger::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-trigger::after {
  content: "–";
}

.accordion-panel {
  display: none;
  padding: 0 0 22px;
  color: var(--text-muted);
  max-width: 640px;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--accent);
  margin: 0 0 32px;
  max-width: 18em;
}

.mission-body {
  max-width: 640px;
  color: var(--text-muted);
}

.page-hero {
  padding: calc(var(--section-pad) - 24px) 0 48px;
  background: var(--bg);
}

.page-hero p {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 17px;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.venue-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.venue-row:last-child {
  border-bottom: 1px solid var(--border);
}

.venue-row__thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: calc(var(--radius) / 2);
  border: 1px solid var(--border);
}

.venue-row__body {
  text-align: center;
}

.venue-row__body .kicker {
  margin-bottom: 6px;
}

.venue-row__body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
}

.venue-row__meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.venue-row__body p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 420px;
}

.venue-row__action {
  justify-self: end;
  white-space: nowrap;
}

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

.venue-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.venue-card:hover {
  box-shadow: var(--shadow);
}

.venue-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.venue-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
  background: var(--surface);
}

.venue-card__body .kicker {
  margin-bottom: 8px;
}

.venue-card__body h2 {
  font-size: clamp(22px, 2.5vw, 26px);
  margin-bottom: 8px;
}

.venue-card__meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.venue-card__body p {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
  margin-bottom: 24px;
}

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

.catalog-close {
  padding: 64px 0 var(--section-pad);
}

.catalog-close p {
  max-width: 560px;
  color: var(--text-muted);
}

.editorial-lead {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.55;
  max-width: none;
  color: var(--text);
  margin-bottom: 56px;
  font-family: var(--font-heading);
}

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

.editorial-block h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
}

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

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: var(--section-pad);
  text-align: center;
}

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

.contact-email {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 15px;
}

.contact-form {
  text-align: left;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

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

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

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

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.agree-row input {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

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

.form-error {
  display: none;
  font-size: 13px;
  color: var(--accent);
  margin: 6px 0 16px;
}

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

.form-actions {
  margin-top: 8px;
}

.form-actions .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

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

.confirm-panel h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

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

.legal-content {
  padding-bottom: var(--section-pad);
  max-width: 760px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.page-hero .legal-content > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
}

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

.sitemap-list {
  padding-bottom: var(--section-pad);
}

.sitemap-list p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
}

.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  line-height: 2;
}

.sitemap-links a {
  text-decoration: none;
  color: var(--accent);
  font-size: 15px;
}

.sitemap-links a:hover {
  text-decoration: underline;
}

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

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-band {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
  padding: 36px 0;
}

.footer-band + .footer-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-independence {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
  max-width: 52em;
}

.footer-brand-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.footer-brand:hover {
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 120px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-blurb {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-group h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0 0 14px;
  text-decoration: none;
}

.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-group li {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
}

.footer-bottom-right button {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-right button:hover {
  color: #fff;
}

.footer-requisites {
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px;
  pointer-events: none;
}

.consent__panel {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
}

.consent__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.consent__text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.consent__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.consent__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.consent__option input {
  margin-top: 3px;
}

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

.consent__actions .btn {
  font-size: 13px;
  padding: 10px 16px;
}

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

@media (max-width: 1024px) {
  .notes-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-center,
  .nav-contact {
    display: none;
  }

  .nav.is-open {
    grid-template-columns: 1fr auto;
  }

  .nav.is-open .nav-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: 1 / -1;
    gap: 4px;
    padding: 8px 0 16px;
  }

  .nav.is-open .nav-contact {
    display: block;
    grid-column: 1 / -1;
    justify-self: start;
    padding-bottom: 12px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-frame img {
    aspect-ratio: 4 / 3;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-brand-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .venue-row {
    grid-template-columns: 96px 1fr;
    gap: 20px;
  }

  .venue-row__thumb {
    width: 96px;
    height: 96px;
  }

  .venue-row__action {
    grid-column: 2;
    justify-self: center;
    margin-top: 4px;
  }

  .venue-row__body {
    text-align: left;
  }

  .venue-row__body p {
    margin: 0;
  }

  .notes-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom-right {
    justify-content: flex-start;
  }
}

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

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

  .footer-links {
    grid-template-columns: 1fr;
  }

  .venue-row {
    grid-template-columns: 1fr;
  }

  .venue-row__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .venue-row__action {
    grid-column: 1;
    justify-self: start;
  }

  .consent__actions {
    flex-direction: column;
  }

  .consent__actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 56px;
  }

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

  .brand img {
    width: 110px;
    height: 22px;
  }

  .accordion-trigger {
    font-size: 18px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
