@font-face {
  font-family: "Old Standard TT";
  src: url("./Old Standard TT/OldStandard-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Old Standard TT";
  src: url("./Old Standard TT/OldStandard-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #fdfbf7;
  --paper: #f7f2ea;
  --surface: #fffdf9;
  --text: #111827;
  --muted: #6d6256;
  --spruce: #0f2419;
  --forest: #142e20;
  --burgundy: #8b1e2f;
  --crimson: #8f3038;
  --gold: #d4af37;
  --bronze: #a88a58;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.18);
  --shadow: 0 24px 70px rgba(44, 35, 25, 0.09);
  --radius: 14px;
  --container: min(1240px, calc(100% - 56px));
  --section-space: clamp(88px, 11vw, 154px);
  --brand-cross-image: url("./content/images/крест.jpeg");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(253, 251, 247, 0.985), rgba(253, 251, 247, 0.985)),
    radial-gradient(circle at 80% 16%, rgba(168, 138, 88, 0.09), transparent 34%),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.025) 0 1px, transparent 1px 88px),
    var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  inset: 0;
  opacity: 0.035;
  background:
    linear-gradient(90deg, rgba(253, 251, 247, 0.92), rgba(253, 251, 247, 0.62)),
    var(--side-image, url("./content/images/1.jpg"));
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: multiply;
}

.page-shell::after {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(255, 248, 236, 0.14);
  background: #a7333d;
  box-shadow: 0 12px 34px rgba(94, 34, 39, 0.14);
  backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 360px;
  min-width: 280px;
  overflow: visible;
  padding: 14px 0;
  color: #fff8ec;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 248, 236, 0.38);
  border-radius: 50%;
  background:
    var(--brand-cross-image),
    linear-gradient(180deg, #fff8dc, #d4af37);
  background-position: center center;
  background-size: 52%, cover;
  background-repeat: no-repeat;
  box-shadow: none;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__text strong,
.brand__text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__text strong {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
}

.brand__text small {
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.6vw, 38px);
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
  color: rgba(255, 248, 236, 0.86);
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff8ec;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: flex;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(255, 248, 236, 0.34);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  visibility: hidden;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: #fff8ec;
}

.hero {
  position: relative;
  width: 100%;
  min-height: clamp(660px, calc(100svh - 82px), 920px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg);
  border: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(82vw, 1340px);
  background-image: var(--hero-image, url("./content/images/hero/main.jpg"));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(1.3) contrast(1.11) brightness(1.03);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 84%, rgba(0, 0, 0, 0.9) 94%, rgba(0, 0, 0, 0.52) 99%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 84%, rgba(0, 0, 0, 0.9) 94%, rgba(0, 0, 0, 0.52) 99%, transparent 100%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(253, 251, 247, 0) 0%, rgba(253, 251, 247, 0) 78%, rgba(253, 251, 247, 0.16) 94%, rgba(253, 251, 247, 0.38) 100%),
    linear-gradient(90deg, var(--bg) 0%, rgba(253, 251, 247, 0.9) 28%, rgba(253, 251, 247, 0.52) 47%, rgba(253, 251, 247, 0.02) 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: inherit;
  width: var(--container);
  max-width: none;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 140px) 0 clamp(132px, 11vw, 178px);
  color: var(--text);
}

.eyebrow {
  margin: 0;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.support-card h2,
.site-footer h2 {
  margin: 0;
  font-family: "Old Standard TT", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10.6ch;
  color: #111827;
  font-size: clamp(4.1rem, 6.4vw, 6.85rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: initial;
}

.hero__lead {
  max-width: min(100%, 520px);
  margin: 0;
  color: rgba(17, 24, 39, 0.62);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  padding-top: 18px;
}

.hero__actions .button {
  flex: 1 1 0;
  max-width: 220px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(17, 24, 39, 0.82);
  background: transparent;
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease;
}

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

.button--primary {
  border-color: var(--crimson);
  color: #fffaf1;
  background: var(--crimson);
  box-shadow: 0 12px 24px rgba(114, 28, 36, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: #7d252e;
  color: #fffaf1;
  background: #7d252e;
}

.button--ghost {
  border-color: var(--crimson);
  color: #fffaf1;
  background: var(--crimson);
  box-shadow: 0 12px 24px rgba(114, 28, 36, 0.18);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: #7d252e;
  color: #fffaf1;
  background: #7d252e;
}

.hero__facts {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(700px, 100%);
  margin: 22px 0 0;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(212, 175, 55, 0.24);
}

.hero__facts div {
  min-height: 128px;
  padding: 22px 20px;
  background: rgba(15, 36, 25, 0.5);
  backdrop-filter: blur(10px);
}

.hero__facts dt {
  margin-bottom: 10px;
  color: #fffaf1;
  font-family: "Cormorant Unicase", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
}

.hero__facts dd {
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.section-heading h2,
.support-card h2,
.site-footer h2 {
  color: var(--text);
  font-size: clamp(3rem, 5.8vw, 5.65rem);
  line-height: 0.94;
  text-wrap: balance;
}

.intro,
.schedule,
.news,
.gallery,
.contact-map {
  position: relative;
}

.intro {
  z-index: 5;
  margin-top: 0;
  padding-top: clamp(88px, 10vw, 146px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}

.intro .section-heading {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.intro .section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

.intro-card,
.gallery-card,
.contact-card,
.map-card {
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(168, 138, 88, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-card--text {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(28px, 3.4vw, 44px);
  border-color: rgba(168, 138, 88, 0.22);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: none;
}

.intro-card--text p {
  margin: 0;
  color: rgba(17, 24, 39, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.9;
}

.intro-card--large {
  grid-row: span 1;
}

.intro-card--large .content-image {
  min-height: 0;
  height: clamp(320px, 33vw, 460px);
}

.intro-card__caption {
  display: none;
  padding: 18px 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.content-image {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
}

.intro-card:not(.intro-card--large) .content-image {
  height: clamp(190px, 20vw, 270px);
  min-height: 0;
}

.schedule {
  width: 100%;
  max-width: none;
  padding: clamp(92px, 9vw, 138px) max(24px, calc((100vw - 1180px) / 2));
  background: #f3f0eb;
  border-block: 0;
  color: var(--text);
}

.schedule .section-heading {
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}

.schedule .section-heading h2 {
  color: var(--text);
  font-size: clamp(2.35rem, 3.8vw, 4.6rem);
  line-height: 1.04;
  text-transform: uppercase;
  max-width: none;
}

.schedule .eyebrow {
  color: var(--bronze);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.schedule-card {
  min-height: 254px;
  padding: clamp(28px, 3vw, 42px);
  border: 0;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 20px 60px rgba(44, 35, 25, 0.07);
}

.schedule-card__day {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.schedule-card h3,
.news-card h3,
.gallery-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Old Standard TT", Georgia, serif;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.03;
}

.schedule-card__time {
  margin: 28px 0 0;
  color: var(--text);
  font-family: "Old Standard TT", Georgia, serif;
  font-size: clamp(2.9rem, 4.8vw, 4.3rem);
  font-weight: 700;
  line-height: 0.9;
}

.schedule-card__text,
.news-card p,
.gallery-card p,
.contact-card p,
.support-card p,
.site-footer p {
  margin: 0;
  color: rgba(17, 24, 39, 0.66);
  line-height: 1.75;
}

.schedule-card__text {
  margin-top: 34px;
  font-size: 1rem;
}

.news {
  padding-bottom: calc(var(--section-space) * 0.9);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.news-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 20px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(168, 138, 88, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 22px 60px rgba(44, 35, 25, 0.07);
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: rgba(247, 242, 234, 0.68);
  border-radius: 6px;
}

.news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-card__source {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(168, 138, 88, 0.3);
  border-radius: 999px;
  background: rgba(168, 138, 88, 0.08);
  color: var(--bronze);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.news-card__source-text {
  display: grid;
  gap: 2px;
}

.news-card__source-text strong {
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-card__source-text span {
  color: rgba(17, 24, 39, 0.5);
  font-size: 0.84rem;
}

.news-card h3 {
  font-size: clamp(1.55rem, 2.1vw, 2rem);
}

.news-card p {
  font-size: 0.96rem;
}

.news-card__link {
  display: inline-flex;
  width: fit-content;
  align-self: end;
  margin-top: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(168, 138, 88, 0.6);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.24s ease, border-color 0.24s ease;
}

.news-card__link:hover,
.news-card__link:focus-visible {
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.gallery {
  width: 100%;
  max-width: none;
  padding: var(--section-space) max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(253, 251, 247, 0.94), rgba(253, 251, 247, 0.94)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.025) 0 1px, transparent 1px 88px);
}

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: -18px 0 24px;
}

.gallery-controls__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(168, 138, 88, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.86);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.gallery-controls__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gallery-controls__button:hover,
.gallery-controls__button:focus-visible {
  color: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 20vw, 290px);
  grid-template-columns: none;
  grid-template-rows: repeat(2, clamp(150px, 16vw, 220px));
  gap: 16px;
  margin: 0;
  padding: 0 0 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(178, 31, 45, 0.55) rgba(212, 175, 55, 0.18);
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  min-height: 0;
  scroll-snap-align: start;
}

.gallery-card--wide {
  grid-column: auto;
}

.gallery-card__meta {
  display: none;
  padding: 16px 18px 18px;
}

.gallery-card .content-image {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.gallery-card--wide .content-image {
  aspect-ratio: auto;
}

.support {
  width: 100%;
  max-width: none;
  padding: clamp(88px, 9vw, 138px) max(24px, calc((100vw - 1180px) / 2));
  background: #f3f0eb;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--text);
}

.support-card h2 {
  max-width: 13ch;
  color: var(--text);
}

.support .eyebrow {
  display: none;
}

.support-card__content {
  display: grid;
  gap: 24px;
}

.support-card__content > p {
  max-width: 580px;
  color: rgba(17, 24, 39, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.support-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(17, 24, 39, 0.66);
  line-height: 1.9;
}

.support-list:empty,
.support-list[hidden] {
  display: none;
}

.support-card__visual {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(168, 138, 88, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.74);
  backdrop-filter: none;
}

.qr-image {
  width: min(100%, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
}

.support-card__note {
  max-width: 300px;
  text-align: center;
  color: rgba(17, 24, 39, 0.58);
  font-size: 0.92rem;
}

.contact-map {
  padding-top: clamp(74px, 8vw, 116px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1.66fr);
  gap: 20px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 320px;
  padding: clamp(28px, 3.5vw, 42px);
  border-color: rgba(168, 138, 88, 0.16);
  background: rgba(255, 253, 249, 0.86);
}

.contact-card h3 {
  margin: 0 0 -8px;
  color: var(--burgundy);
  font-size: 0.74rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-card p {
  color: rgba(17, 24, 39, 0.68);
  font-size: 0.98rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-card__lead {
  color: rgba(17, 24, 39, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-card .button {
  width: fit-content;
  margin-top: 10px;
}

.map-card {
  min-height: 360px;
  border-color: rgba(168, 138, 88, 0.16);
  background: var(--paper);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.86) contrast(0.98);
}

.site-footer {
  margin: 0;
  padding: clamp(46px, 6vw, 72px) max(24px, calc((100vw - 1180px) / 2)) 30px;
  background:
    linear-gradient(rgba(15, 36, 25, 0.95), rgba(15, 36, 25, 0.95)),
    var(--footer-image, url("./content/images/11.jpg"));
  background-size: cover;
  background-position: center;
  color: #fffaf1;
}

.site-footer__top,
.footer-meta,
.site-footer__copy {
  max-width: 1180px;
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.site-footer h2 {
  max-width: none;
  color: #fffaf1;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.05;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 250, 241, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.24s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.footer-meta {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.35fr) minmax(110px, 0.36fr);
  gap: 1px;
  margin-top: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(197, 160, 89, 0.2);
}

.footer-meta__item {
  min-height: 112px;
  padding: 18px 22px;
  background: rgba(255, 250, 241, 0.035);
}

.footer-meta__item h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-meta__item p {
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
}

.site-footer__copy {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.5);
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  :root {
    --container: min(100% - 40px, 1180px);
  }

  .site-header {
    gap: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .site-nav {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 4px 0;
    color: rgba(255, 248, 236, 0.86);
    text-align: left;
  }

  .site-nav a::after {
    bottom: -4px;
  }

  .menu-toggle {
    display: none !important;
    visibility: hidden !important;
  }

  .menu-toggle span {
    background: #fff8ec;
  }

  .hero {
    min-height: clamp(640px, 78svh, 760px);
  }

  .hero__facts,
  .intro-grid,
  .schedule-grid,
  .news-grid,
  .support-card,
  .contact-grid,
  .site-footer__top,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .intro-card--large,
  .gallery-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (min-width: 1081px) {
  .schedule .section-heading h2 {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 24px, 1180px);
    --section-space: 72px;
  }

  .site-header {
    padding: 14px 12px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand__text strong {
    max-width: 220px;
    font-size: 1.05rem;
  }

  .brand__text small {
    display: none;
  }

  .site-header {
    padding: 14px 12px;
    background: #a7333d;
  }

  .hero {
    width: 100%;
    min-height: calc(100svh - 69px);
    border-inline: 0;
    background: var(--bg);
  }

  .hero::before {
    width: 100%;
    opacity: 1;
    background-position: 34% bottom;
  }

  .hero__backdrop {
    background:
      linear-gradient(to bottom, rgba(253, 251, 247, 0) 0%, rgba(253, 251, 247, 0.08) 72%, rgba(253, 251, 247, 0.4) 100%),
      linear-gradient(180deg, rgba(253, 251, 247, 0.72) 0%, rgba(253, 251, 247, 0.42) 34%, rgba(253, 251, 247, 0.02) 100%);
  }

  .hero__inner {
    align-content: start;
    min-height: calc(100svh - 69px);
    padding: clamp(86px, 22vw, 126px) 24px 128px;
  }

  .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.14rem, 9vw, 2.78rem);
    line-height: 0.94;
    letter-spacing: 0;
    text-wrap: initial;
  }

  .hero__lead {
    max-width: 310px;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    width: auto;
    gap: 10px;
  }

  .button {
    width: fit-content;
    min-height: 44px;
    padding-inline: 14px;
  }

  .contact-card .button {
    width: fit-content;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .hero__facts div {
    min-height: auto;
    padding: 18px;
  }

  .intro {
    margin-top: 0;
    padding-top: 76px;
    border-radius: 0;
  }

  .section-heading h2,
  .support-card h2,
  .site-footer h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .section,
  .schedule,
  .gallery,
  .support,
  .site-footer {
    padding-inline: 12px;
  }

  .intro-card,
  .gallery-card,
  .contact-card,
  .map-card {
    min-height: 260px;
  }

  .intro-card--text,
  .contact-card {
    padding: 26px;
  }

  .content-image {
    min-height: 260px;
  }

  .schedule-card {
    min-height: 236px;
  }

  .gallery-grid {
    grid-auto-columns: clamp(170px, 46vw, 220px);
    grid-template-columns: none;
    grid-template-rows: repeat(2, clamp(132px, 34vw, 172px));
    gap: 12px;
  }

  .gallery-card .content-image,
  .gallery-card--wide .content-image {
    aspect-ratio: auto;
  }

  .support-card__visual {
    padding: 18px;
  }

  .map-card iframe {
    min-height: 360px;
  }

  .footer-meta__item {
    min-height: auto;
    padding: 22px;
  }
}

@media (min-width: 560px) and (max-width: 720px) {
  .hero h1 {
    font-size: clamp(3rem, 8vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
