﻿:root {
  --bg-top: #fffdf7;
  --bg-bottom: #f9f0e1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #3a2a1d;
  --muted: #705f50;
  --line: #e6d7bd;
  --brand: #8f3e50;
  --brand-2: #ad5568;
  --accent: #cfa45a;
  --accent-soft: #f4dfb8;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 8px 24px rgba(15, 30, 44, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 30, 44, 0.14);
  --container: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(207, 164, 90, 0.18), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(173, 85, 104, 0.12), transparent 34%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

a {
  color: var(--brand-2);
}

.container {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
}

.topline {
  background:
    linear-gradient(90deg, #8f3e50 0%, #ad5568 55%, #d3aa66 100%);
  color: #fff9ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topline-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.site-header {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(230, 215, 189, 0.95);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, #ffefd0, #d0a259 68%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 0.97rem;
}

.brand-text span:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a,
.menu-toggle {
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-2), #d3aa66);
}

.nav a:hover,
.nav a:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  background: rgba(207, 164, 90, 0.14);
}

.menu-toggle {
  display: none;
}

main {
  padding-bottom: 14px;
}

.page-intro {
  margin-top: 22px;
  padding: 34px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  color: #fff9f0;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(145deg, #9a4a5c 0%, #b86561 58%, #dcb97c 100%);
}

.page-intro::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 191, 139, 0.36), transparent 72%);
}

.page-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(215, 191, 139, 0.9), transparent);
}

.page-intro h1,
.section-head h2,
.card h3,
.contact-strip h2,
.panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.page-intro h1 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 5.3vw, 3.45rem);
  line-height: 0.95;
  text-wrap: balance;
}

.page-intro p {
  margin: 14px 0 0;
  max-width: 76ch;
  line-height: 1.68;
  color: rgba(255, 249, 240, 0.94);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbefd9;
}

.section {
  margin-top: 18px;
  padding: 24px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(251, 241, 223, 0.7), rgba(251, 241, 223, 0.3));
  border-top: 1px solid rgba(26, 36, 48, 0.07);
  border-bottom: 1px solid rgba(26, 36, 48, 0.07);
}

.section-head {
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  color: var(--brand);
  line-height: 0.98;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.64;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 67, 87, 0.26);
  box-shadow: 0 12px 30px rgba(15, 30, 44, 0.13);
}

.panel h2 {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 2rem;
}

.panel p {
  color: var(--muted);
  line-height: 1.68;
}

.card,
.contact-strip,
.gallery-item {
  padding: 22px;
}

.grid-2,
.grid-3,
.gallery-grid {
  display: grid;
  gap: 15px;
}

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

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

.notice-list,
.program-list,
.links-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.notice-list li,
.program-list li,
.links-list li {
  margin: 0;
  color: var(--ink);
  line-height: 1.66;
  position: relative;
  padding-left: 20px;
}

.notice-list li::before,
.program-list li::before,
.links-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d7b071);
}

.notice-list li + li,
.program-list li + li,
.links-list li + li {
  margin-top: 11px;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  text-decoration: none;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 4px solid var(--accent);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(157, 67, 87, 0.22);
  background:
    linear-gradient(135deg, #fff6e6, #f4e1bb);
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(157, 67, 87, 0.16);
}

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

.gallery-item {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.gallery-item figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), #ffffff);
}

.site-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: #fef8ee;
}

.footer-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 940px) {
  .grid-2,
  .grid-3,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(280px, 100%);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
  }

  .nav a {
    width: 100%;
  }

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

  .topline-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .site-header {
    top: 6px;
  }

  .page-intro {
    padding: 24px;
  }

  .page-intro h1 {
    font-size: clamp(1.95rem, 9vw, 2.8rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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