:root {
  --bg: #f8f4eb;
  --ink: #1e2d44;
  --muted: #5f6e84;
  --line: #d7e2ee;
  --surface: #ffffff;
  --accent-coral: #e46d56;
  --accent-teal: #2f8d8f;
  --accent-gold: #f2b84a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 14px 30px rgba(24, 42, 67, 0.11);
  --max-width: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Commissioner", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, #fff2e2 0%, transparent 34%),
    radial-gradient(circle at 94% 1%, #e6f8f3 0%, transparent 24%),
    var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(248, 244, 235, 0.9);
  border-bottom: 1px solid rgba(30, 45, 68, 0.09);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 0.45rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-teal));
}

.brand-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
  width: 100%;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 38px;
  padding: 0.24rem 0.34rem;
  font-size: 0.79rem;
  line-height: 1.2;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(30, 45, 68, 0.15);
}

.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-coral), #cb4c32);
  border-color: transparent;
}

.hero {
  padding: 4.4rem 0 2.8rem;
  position: relative;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.hero::before {
  width: 315px;
  height: 315px;
  right: -80px;
  top: -80px;
  background: rgba(228, 109, 86, 0.2);
}

.hero::after {
  width: 250px;
  height: 250px;
  left: -70px;
  bottom: -90px;
  background: rgba(47, 141, 143, 0.18);
}

.hero-inner {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Yeseva One", Georgia, "Times New Roman", serif;
  line-height: 1.16;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-lead {
  margin: 0;
  max-width: 74ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.56rem 1.05rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-coral), #cf5034);
  box-shadow: 0 10px 20px rgba(207, 80, 52, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(30, 45, 68, 0.2);
}

.section {
  padding: 0.7rem 0 2.8rem;
}

.section-intro {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

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

.section-card,
.card,
.section-gallery,
.events-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-card {
  overflow: hidden;
}

.section-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.section-card-body {
  padding: 1rem;
}

.section-card-body h2 {
  margin-bottom: 0.55rem;
}

.section-card-body p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.page-main {
  padding-top: 1.2rem;
  padding-bottom: 2.4rem;
}

.back-link {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 600;
}

.text-card {
  margin-top: 0.8rem;
  padding: 1.18rem;
}

.text-card h1 {
  margin: 0.15rem 0 0.8rem;
  max-width: none;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.subhead {
  margin: 0.2rem 0 0.7rem;
  font-size: 1.25rem;
}

.text-flow {
  display: grid;
  gap: 0.6rem;
}

.text-flow p,
.text-card p {
  margin: 0;
}

.feature-list,
.contact-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li,
.contact-list li {
  border: 1px solid #dfe8f2;
  background: #f9fbff;
  border-radius: 12px;
  padding: 0.58rem 0.72rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 0.95rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
}

.feature-list.compact {
  margin-top: 0.9rem;
}

.feature-list.compact li {
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--accent-teal);
  font-weight: 600;
  text-decoration: none;
}

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

.events-wrap {
  margin-top: 1rem;
  padding: 1rem;
}

.events-wrap h2 {
  margin-bottom: 0.9rem;
}

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

.event-card {
  border: 1px solid #dbe5f0;
  border-radius: var(--radius-md);
  padding: 0.86rem;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.event-index {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-teal);
  font-weight: 700;
}

.event-card h3 {
  margin-bottom: 0.45rem;
}

.event-card p {
  margin: 0;
  color: var(--muted);
}

.event-card p + p {
  margin-top: 0.4rem;
}

.section-gallery {
  margin-top: 1rem;
  padding: 1rem;
}

.section-gallery h2 {
  margin-bottom: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.72rem;
}

.gallery-item {
  display: block;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(21, 37, 63, 0.08);
  background: #f9fbff;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.site-footer {
  margin-top: 2rem;
  background: #4b5b73;
  color: #eef3fb;
}

.footer-shell {
  padding-top: 1.2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 1rem 2.2rem;
  padding-bottom: 1.1rem;
}

.footer-main {
  display: grid;
  gap: 0.75rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-address {
  margin: 0;
  color: #f0f5fd;
  font-size: 0.94rem;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.footer-contact-row a {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-links h3 {
  margin: 0;
  font-family: "Commissioner", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.footer-links a {
  color: #f4f8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.93rem;
}

.footer-bottom {
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .cards-grid,
  .split-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), 100% - 1.35rem);
  }

  .header-inner {
    min-height: auto;
    align-items: stretch;
    padding: 0.45rem 0 0.35rem;
  }

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

  .hero {
    padding-top: 3.5rem;
  }

  .text-card,
  .section-gallery,
  .events-wrap,
  .section-card-body {
    padding: 0.9rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-title {
    font-size: 1.7rem;
  }

  .footer-bottom {
    min-height: auto;
    padding: 0.8rem 0 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
