:root {
  --bg: #f7f4ef;
  --bg-soft: #efe7da;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --text: #1f1d1a;
  --muted: #6c665e;
  --line: #d6cfc3;
  --accent: #a8382b;
  --accent-soft: #e7c8ba;
  --success: #1f7a4f;

  --container: 1120px;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(48, 33, 21, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 56, 43, 0.06), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(130, 90, 51, 0.08), transparent 26%),
    var(--bg);
  line-height: 1.65;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #3b352f;
  padding: 0.3rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  background: var(--surface-strong);
  cursor: pointer;
}

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

.hero {
  min-height: 46vh;
  background-image:
    linear-gradient(rgba(23, 20, 17, 0.56), rgba(23, 20, 17, 0.5)),
    radial-gradient(circle at 18% 15%, rgba(214, 161, 112, 0.45), transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(168, 56, 43, 0.4), transparent 28%),
    linear-gradient(120deg, #8a6548 0%, #5c4330 100%);
  background-position: center;
  background-size: cover;
  display: grid;
  align-items: center;
}

.hero-inner {
  text-align: center;
  color: #fefaf2;
  padding: 4rem 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255, 250, 242, 0.92);
  margin: 0.9rem auto 0;
  max-width: 62ch;
}

main {
  flex: 1;
  padding: 2rem 0 3rem;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  margin-bottom: 1.3rem;
}

.section p {
  margin: 0;
}

.section-title {
  display: block;
  margin-bottom: 1rem;
}

.section-kicker {
  display: none;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-item {
  border-left: 3px solid var(--accent-soft);
  padding-left: 0.85rem;
}

.news-item h3 {
  font-size: 1.4rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.2rem 0 0.45rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.card h3 {
  font-size: 1.35rem;
}

.card p {
  margin-top: 0.45rem;
}

.person-card {
  text-align: center;
}

.person-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  border-radius: 999px;
}

.panel {
  min-height: 320px;
}

.contact-grid {
  display: grid;
  gap: 0.95rem;
}

.contact-item {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.album-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}

.album-cover-link {
  display: block;
}

.album-cover-link:hover {
  text-decoration: none;
}

.album-card h3 {
  font-size: 1.45rem;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.album-grid button {
  all: unset;
  cursor: pointer;
}

.album-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: border-color 150ms ease, opacity 150ms ease;
}

.album-grid img:hover {
  border-color: #bdb3a5;
  opacity: 0.96;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #413a34;
  font-size: 0.9rem;
  font-weight: 600;
}

.back-button:hover {
  text-decoration: none;
  border-color: #bdb3a5;
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-open {
  color: #fff;
  background: var(--success);
}

.status-closed {
  color: #fff;
  background: #8d2f2f;
}

.site-footer {
  border-top: 1px solid #2e2923;
  margin-top: 2.4rem;
  background: #1f1b17;
}

.footer-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d6cec4;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sponsor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.sponsor img {
  max-height: 70px;
  width: auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 120;
  padding: 1rem;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 11, 9, 0.86);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: min(1000px, 95vw);
  max-height: 90vh;
}

.modal-content img {
  display: block;
  width: min(92vw, 1000px);
  max-width: 100%;
  max-height: 88vh;
  height: auto;
  border-radius: 12px;
}

.modal-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  border: 0;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 1rem;
    width: min(280px, calc(100vw - 2rem));
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.3rem;
  }

  .site-nav a {
    border-bottom: 0;
    padding: 0.55rem;
    border-radius: 8px;
  }

  .site-nav a.is-active,
  .site-nav a:hover {
    background: var(--bg-soft);
  }

  .grid-3,
  .sponsors {
    grid-template-columns: 1fr;
  }

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

  .hero-inner {
    padding: 3rem 0;
  }
}
