:root {
  --primary: #0f2747;
  --primary-deep: #091729;
  --secondary: #6e7c8c;
  --accent: #b99a5e;
  --accent-soft: #eadfc8;
  --base: #f7f8fa;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #1e2430;
  --muted: #566172;
  --line: rgba(15, 39, 71, 0.12);
  --line-strong: rgba(15, 39, 71, 0.22);
  --shadow: 0 24px 64px rgba(15, 39, 71, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(185, 154, 94, 0.1), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(15, 39, 71, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfcfe 0%, #f5f7fa 48%, #eef2f7 100%);
  font-family: "BIZ UDPGothic", "Yu Gothic", "Hiragino Sans", sans-serif;
  line-height: 1.7;
}

.site-body {
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  will-change: transform, opacity;
}

.page-shell.is-page-exiting {
  pointer-events: none;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  animation-fill-mode: forwards;
}

.page-shell.is-page-exiting-next {
  animation-name: page-exit-to-left;
}

.page-shell.is-page-exiting-prev {
  animation-name: page-exit-to-right;
}

html[data-page-enter="next"] .page-shell {
  animation: page-enter-from-right 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html[data-page-enter="prev"] .page-shell {
  animation: page-enter-from-left 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-enter-from-right {
  from {
    transform: translate3d(18vw, 0, 0);
    opacity: 0.16;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes page-enter-from-left {
  from {
    transform: translate3d(-18vw, 0, 0);
    opacity: 0.16;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes page-exit-to-left {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(-14vw, 0, 0);
    opacity: 0.08;
  }
}

@keyframes page-exit-to-right {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(14vw, 0, 0);
    opacity: 0.08;
  }
}

.narrow {
  width: min(840px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 250, 0.88);
  border-bottom: 1px solid rgba(15, 39, 71, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.nav-header {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(15, 39, 71, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(15, 39, 71, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 39, 71, 0.26);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header.is-nav-open .nav-toggle {
  background: rgba(15, 39, 71, 0.06);
  border-color: rgba(15, 39, 71, 0.24);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-copy strong,
.hero h1,
.section-head h2,
.page-hero h1,
.footer-title,
.greeting-portrait strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.brand-copy strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.brand-copy small {
  display: block;
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #f7f5ef;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 150, 0.28), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(255, 240, 242, 0.22), transparent 18%),
    linear-gradient(115deg, rgba(6, 15, 24, 0.9) 0%, rgba(10, 27, 49, 0.76) 38%, rgba(17, 35, 60, 0.6) 66%, rgba(82, 48, 18, 0.42) 100%),
    var(--hero-image, url("../img/top-season-visual.jpg")) center center / cover no-repeat;
  padding: 88px 0 76px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 24, 0.36) 0%, rgba(6, 15, 24, 0.16) 32%, transparent 62%),
    radial-gradient(circle at 72% 22%, rgba(255, 244, 215, 0.22), transparent 22%);
  pointer-events: none;
}

.hero-grid,
.intro-grid,
.card-grid,
.feature-grid,
.x-grid,
.footer-grid,
.stats-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.hero-copy {
  max-width: 740px;
  margin: 0;
  color: rgba(247, 245, 239, 0.9);
  font-size: 18px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 154, 94, 0.28);
  background: rgba(15, 39, 71, 0.05);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label-light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f5ef;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d2b176);
  color: var(--primary-deep);
  box-shadow: 0 14px 32px rgba(185, 154, 94, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f7f5ef;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.98);
  color: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-stat,
.card,
.news-card,
.x-card,
.feature-card,
.article-body,
.admin-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stat {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
}

.hero-stat span,
.hero-stat small {
  display: block;
}

.hero-stat span {
  color: rgba(247, 245, 239, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stat small {
  margin-top: 6px;
  color: rgba(247, 245, 239, 0.74);
  font-size: 13px;
}

.feature-points,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.quick-link,
.text-link {
  color: var(--primary);
  font-weight: 700;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.quick-link::after,
.text-link::after {
  content: "->";
  font-size: 13px;
}

.section {
  padding: 78px 0;
}

.section-visual {
  padding-top: 28px;
  padding-bottom: 12px;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(15, 39, 71, 0.04));
}

.intro-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.season-visual-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow);
}

.season-visual-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.season-visual-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(185, 154, 94, 0.08), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(15, 39, 71, 0.04), transparent);
}

.season-visual-body h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
}

.season-visual-body p {
  margin: 0;
  color: var(--muted);
}

.card,
.news-body,
.feature-card,
.prose-block,
.admin-panel {
  padding: 30px;
}

.card,
.news-card,
.x-card,
.feature-card,
.article-body,
.admin-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.93));
  border: 1px solid var(--line);
}

.prose-block h2,
.prose-block h3,
.feature-card h3,
.x-summary h3 {
  margin-top: 0;
  color: var(--primary);
}

.prose-block h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.24;
}

.prose-block p,
.news-body p,
.feature-card p,
.page-heading-block p,
.footer-summary p {
  color: var(--muted);
}

.feature-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.greeting-card {
  background:
    linear-gradient(180deg, rgba(185, 154, 94, 0.12), rgba(255, 255, 255, 0.9) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
}

.welcome-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(185, 154, 94, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(17, 45, 85, 0.92) 58%, rgba(185, 154, 94, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(185, 154, 94, 0.34);
  box-shadow:
    0 24px 54px rgba(8, 17, 30, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.welcome-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 233, 0.16), transparent 68%);
  pointer-events: none;
}

.welcome-kicker {
  margin-bottom: 14px;
  color: rgba(255, 248, 233, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.welcome-card h2,
.welcome-card p {
  position: relative;
  z-index: 1;
}

.welcome-card h2 {
  margin-bottom: 16px;
  color: #fff8e9;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.welcome-card p {
  max-width: 30em;
  margin-bottom: 24px;
  color: rgba(247, 245, 239, 0.9);
  font-size: 17px;
  line-height: 1.95;
}

.welcome-highlights {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 248, 233, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8e9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.greeting-accent {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.greeting-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.greeting-portrait {
  min-height: 220px;
  padding: 24px;
  border-radius: 26px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(15, 39, 71, 0.1), rgba(15, 39, 71, 0.04)),
    linear-gradient(135deg, #f4ecdc, #ffffff);
  border: 1px solid rgba(185, 154, 94, 0.24);
}

.greeting-portrait span {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.greeting-portrait strong {
  margin-top: 10px;
  color: var(--primary);
  font-size: 32px;
  line-height: 1.2;
}

.greeting-portrait-image {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: none;
}

.greeting-portrait-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.greeting-meta {
  margin: 0 0 10px;
  color: var(--secondary) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn-inline {
  margin-top: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2,
.section-head h1,
.admin-panel h1 {
  margin: 10px 0 0;
  color: var(--primary);
}

.section-head h2,
.section-head h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.section-text {
  max-width: 680px;
  margin: 10px 0 0;
}

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

.news-card,
.x-card {
  overflow: hidden;
}

.news-card a,
.x-card a {
  display: block;
  height: 100%;
}

.thumb {
  aspect-ratio: 16 / 9;
  background-color: #dfe6ef;
  background-size: cover;
  background-position: center;
}

.news-body h3,
.feature-card h3,
.x-summary h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(185, 154, 94, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.feature-card-accent {
  background:
    linear-gradient(180deg, rgba(15, 39, 71, 0.06), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(185, 154, 94, 0.08), transparent);
}

.x-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.x-grid-live {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.x-grid-live-single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.x-summary-live {
  min-height: 100%;
}

.x-timeline-card {
  padding: 18px;
}

.x-timeline-card-wide {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px;
}

.x-preview-card {
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 240, 0.98));
  box-shadow: 0 18px 36px rgba(15, 39, 71, 0.12);
}

.x-preview-media {
  display: block;
  min-height: 220px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.x-preview-body {
  display: grid;
  gap: 12px;
  padding: 22px 24px 24px;
}

.x-preview-kicker {
  color: #6e7c8c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.x-preview-title {
  color: #0f2747;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.x-preview-copy {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.x-preview-link {
  color: #0f2747;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.x-embed-note {
  margin: 0 0 18px;
  min-height: 148px;
  padding: 24px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff8ea;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 12px 28px rgba(10, 20, 36, 0.28);
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.72), rgba(15, 39, 71, 0.18)),
    radial-gradient(circle at 18% 24%, rgba(248, 216, 128, 0.28), transparent 30%),
    url("../img/top-season-visual.jpg") center center / cover no-repeat;
  box-shadow: 0 24px 48px rgba(15, 39, 71, 0.18);
}

.x-embed-fallback {
  text-decoration: none;
}

.x-embed-title {
  display: block;
  margin-bottom: 10px;
}

.x-embed-copy {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.x-card-link {
  cursor: pointer;
}

.x-post-embed {
  margin: 0 auto 12px !important;
}

.x-post-embed.twitter-tweet {
  max-width: 560px !important;
}

.x-timeline-card .twitter-timeline {
  width: 100% !important;
}

.list-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #f7f5ef;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 241, 208, 0.28), transparent 24%),
    linear-gradient(115deg, rgba(6, 15, 24, 0.6) 0%, rgba(10, 27, 49, 0.42) 42%, rgba(20, 43, 72, 0.26) 100%),
    var(--page-hero-image, url("../img/image.png")) center 30% / cover no-repeat;
  min-height: 240px;
}

.page-hero .container {
  min-height: inherit;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 24, 0.38) 0%, rgba(6, 15, 24, 0.12) 32%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.seasonal-hero {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.seasonal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seasonal-hero--sakura {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 240, 245, 0.3)),
    url("https://images.unsplash.com/photo-1522383225653-ed111181a951?auto=format&fit=crop&w=1600&q=80") center center / cover no-repeat;
}

.seasonal-hero--sakura::before {
  background: rgba(255, 255, 255, 0.12);
}

.seasonal-hero--maple {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 240, 220, 0.25)),
    url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1600&q=80") center center / cover no-repeat;
}

.seasonal-hero--maple::before {
  background: rgba(255, 255, 255, 0.08);
}

.seasonal-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.seasonal-hero-particle {
  position: absolute;
  top: -10%;
  opacity: 0.85;
  will-change: transform, margin-left, rotate;
  animation-timing-function: linear, ease-in-out, linear;
  animation-iteration-count: infinite, infinite, infinite;
}

.seasonal-hero-particle--petal {
  width: 18px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, #ffdbe8 0%, #f8b7cc 65%, #f39ab8 100%);
  border-radius: 70% 30% 70% 30%;
  filter: blur(0.2px);
  box-shadow: 0 0 4px rgba(255, 192, 203, 0.25);
  animation-name: seasonal-petal-fall, seasonal-petal-sway, seasonal-petal-spin;
}

.seasonal-hero-particle--petal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.seasonal-hero-particle--leaf {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff7a18, #d32f2f);
  clip-path: polygon(
    50% 0%,
    65% 20%,
    100% 25%,
    75% 45%,
    85% 75%,
    50% 60%,
    15% 75%,
    25% 45%,
    0% 25%,
    35% 20%
  );
  animation-name: seasonal-leaf-fall, seasonal-leaf-sway, seasonal-leaf-spin;
}

@keyframes seasonal-petal-fall {
  0% {
    transform: translateY(-10vh) scale(var(--seasonal-scale, 1));
  }

  100% {
    transform: translateY(110vh) scale(var(--seasonal-scale, 1));
  }
}

@keyframes seasonal-petal-sway {
  0% {
    margin-left: 0;
  }

  25% {
    margin-left: 18px;
  }

  50% {
    margin-left: -14px;
  }

  75% {
    margin-left: 22px;
  }

  100% {
    margin-left: 0;
  }
}

@keyframes seasonal-petal-spin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

@keyframes seasonal-leaf-fall {
  0% {
    transform: translateY(-10vh) scale(var(--seasonal-scale, 1));
  }

  100% {
    transform: translateY(110vh) scale(var(--seasonal-scale, 1));
  }
}

@keyframes seasonal-leaf-sway {
  0% {
    margin-left: 0;
  }

  25% {
    margin-left: 25px;
  }

  50% {
    margin-left: -20px;
  }

  75% {
    margin-left: 30px;
  }

  100% {
    margin-left: 0;
  }
}

@keyframes seasonal-leaf-spin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

.page-heading-block {
  margin-bottom: 28px;
}

.page-heading-block-wide {
  max-width: 900px;
}

.page-heading-block h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(32px, 4vw, 46px);
}

.page-heading-block p {
  max-width: 760px;
  margin: 14px 0 0;
}

.page-heading-block time {
  display: inline-block;
  margin-top: 14px;
  color: var(--secondary);
  font-weight: 700;
}

.error-state-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 52px 48px;
  background:
    radial-gradient(circle at top right, rgba(185, 154, 94, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 244, 236, 0.94));
}

.error-state-card::after {
  content: "";
  position: absolute;
  inset: auto auto -72px -48px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 39, 71, 0.08), transparent 68%);
  pointer-events: none;
}

.error-state-kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.error-state-card h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.16;
}

.error-state-card p {
  max-width: 34em;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.error-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.article-crumb {
  margin: 0 0 18px;
}

.article-image {
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.article-image img {
  width: 100%;
}

.article-image-after {
  max-width: 360px;
  margin: 24px auto 0;
}

.article-image-after img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.article-crumb-end {
  margin-top: 22px;
  margin-bottom: 0;
}

.article-body-secretary {
  position: relative;
}

.article-body-secretary::after {
  content: "";
  display: block;
  clear: both;
}

.article-body-secretary > :not(.article-secretary-portrait) {
  padding-right: 0;
}

.article-secretary-portrait {
  float: right;
  width: 320px;
  height: 320px;
  margin: 0 0 12px 20px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(185, 154, 94, 0.28);
  box-shadow: 0 14px 28px rgba(15, 39, 71, 0.14);
}

.article-secretary-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secretary-intro {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: linear-gradient(135deg, rgba(185, 154, 94, 0.12), rgba(255, 255, 255, 0.94));
}

.secretary-intro > *:first-child {
  margin-top: 0;
}

.secretary-intro > *:last-child {
  margin-bottom: 0;
}

.article-split {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  padding: 0;
}

.article-split-media {
  height: 100%;
  background: #eff2f6;
}

.article-split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.article-split .article-body {
  padding: 38px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.article-body {
  padding: 38px;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body > *:last-child {
  margin-bottom: 0;
}

.flash-wrap {
  padding-top: 20px;
}

.flash {
  padding: 14px 18px;
  border-radius: 18px;
  margin: 12px 0;
  border: 1px solid transparent;
}

.flash-success {
  background: #e7f4eb;
  border-color: #b7d8c0;
}

.flash-error {
  background: #fdeaea;
  border-color: #e8bbbb;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
}

.form-grid label span {
  font-size: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.table-wrap table {
  width: 100%;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(185, 154, 94, 0.26);
  outline-offset: 1px;
  border-color: rgba(185, 154, 94, 0.5);
}

.form-grid .full,
.checkbox {
  grid-column: 1 / -1;
}

.form-grid input[type="file"] {
  padding: 12px;
  background: #fff;
}

.checkbox {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.checkbox input {
  width: auto;
}

.setting-preview {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.setting-preview p {
  margin: 0;
  color: var(--muted);
}

.setting-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.settings-note-card p {
  margin: 0;
}

.settings-hero-list {
  display: grid;
  gap: 20px;
}

.settings-hero-card {
  gap: 18px;
}

.settings-hero-head {
  display: grid;
  gap: 6px;
}

.settings-subtitle {
  margin: 0;
  color: var(--primary);
  font-size: 24px;
}

.settings-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.settings-hero-preview {
  padding: 18px;
}

.settings-hero-actions {
  display: grid;
  gap: 16px;
}

.setting-preview-compact img {
  width: auto;
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.setting-help-card ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  line-height: 1.8;
}

.setting-help-card code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(15, 39, 71, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.media-dropzone {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 2px dashed rgba(15, 39, 71, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.98));
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.media-dropzone strong {
  color: var(--text);
  font-size: 1rem;
}

.media-dropzone p,
.media-dropzone-note {
  margin: 0;
  color: var(--muted);
}

.media-dropzone.is-dragover,
.media-dropzone:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 39, 71, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.x-thumbnail-preview img[hidden] {
  display: none;
}

.article-thumb-preview img {
  max-width: 280px;
  max-height: 180px;
}

.section-card-spacer {
  margin-top: 32px;
}

.story-grid,
.club-grid,
.logo-cloud,
.jobs-grid {
  display: grid;
  gap: 24px;
}

.story-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.story-main h2 {
  margin-top: 0;
}

.story-sidebar {
  padding: 30px;
}

.story-sidebar h3 {
  margin-top: 12px;
  color: var(--primary);
}

.heritage-quote {
  margin: 28px 0;
  padding: 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 24px 24px 0;
  background: linear-gradient(135deg, rgba(185, 154, 94, 0.12), rgba(255, 255, 255, 0.94));
  color: var(--primary);
}

.heritage-quote p {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
}

.heritage-source {
  color: var(--secondary) !important;
  font-size: 14px;
}

.greeting-layout-wide {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
}

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

.club-card {
  overflow: hidden;
}

.club-card-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.club-card-body {
  padding: 24px;
}

.club-card-body h3,
.job-card h3,
.story-main h2,
.story-sidebar h3 {
  font-size: 24px;
  line-height: 1.35;
}

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

.sponsor-tier {
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(185, 154, 94, 0.06), transparent);
  border: 1px solid rgba(185, 154, 94, 0.14);
  box-shadow: var(--shadow);
}

.sponsor-tier-head {
  margin-bottom: 22px;
}

.sponsor-tier-grid {
  gap: 20px;
}

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

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

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

.sponsor-logo-card {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 22px 26px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 248, 242, 0.95)),
    linear-gradient(135deg, rgba(185, 154, 94, 0.08), transparent);
}

.sponsor-logo-card img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.sponsor-logo-card-diamond {
  min-height: 300px;
  padding: 34px 42px;
}

.sponsor-logo-card-diamond img {
  max-height: 144px;
}

.sponsor-logo-card-gold {
  min-height: 150px;
  padding: 22px 26px;
}

.sponsor-logo-card-gold img {
  max-height: 72px;
}

.sponsor-logo-card-silver {
  min-height: 150px;
}

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

.sponsor-name-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  height: 150px;
  padding: 22px 26px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 248, 242, 0.95)),
    linear-gradient(135deg, rgba(185, 154, 94, 0.08), transparent);
}

.sponsor-name-card span {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

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

.job-card {
  padding: 30px;
}

.job-meta {
  margin: 8px 0 18px;
  color: var(--secondary);
  font-weight: 700;
}

.tokai-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-footer {
  background:
    radial-gradient(circle at top right, rgba(185, 154, 94, 0.14), transparent 26%),
    linear-gradient(135deg, #08111e, #0f2747 58%, #182d4a);
  color: rgba(247, 245, 239, 0.84);
  padding: 48px 0 54px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

.footer-title {
  margin-bottom: 14px;
  color: #fff8e9;
  font-size: 22px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(247, 245, 239, 0.84);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff8e9;
}

code {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(15, 39, 71, 0.08);
  color: var(--primary);
}

.admin-body {
  background: #eef2f7;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--primary-deep), var(--primary));
  color: #fff;
  padding: 28px 24px;
}

.admin-brand {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.admin-nav {
  display: grid;
  gap: 10px;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.84);
  padding: 12px 14px;
  border-radius: 14px;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-main {
  padding: 30px;
}

.narrow-panel {
  max-width: 620px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.table-wrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(15, 39, 71, 0.08);
  text-align: left;
  vertical-align: top;
}

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

.actions form {
  margin: 0;
}

.actions button {
  padding: 0;
  border: 0;
  background: none;
  color: #9b2d2d;
  cursor: pointer;
}

.help-text {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid,
  .intro-grid,
  .season-visual-card,
  .footer-grid,
  .admin-shell,
  .stats-grid,
  .card-grid,
  .feature-grid,
  .x-grid,
  .x-grid-live,
  .story-grid,
  .logo-cloud,
  .sponsor-name-grid,
  .jobs-grid,
  .article-split {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .greeting-layout,
  .greeting-layout-wide,
  .club-grid,
  .settings-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) and (min-width: 841px) {
  .brand-logo {
    width: 142px;
  }

  .main-nav {
    gap: 8px 12px;
  }

  .main-nav a {
    font-size: 12px;
  }
}

@media (max-width: 840px) {
  .nav-wrap {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-header {
    width: 100%;
  }

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

  .brand-logo {
    width: 132px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  html.js .main-nav {
    display: none;
    width: 100%;
    gap: 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.98));
    box-shadow: 0 24px 52px rgba(15, 39, 71, 0.12);
  }

  html.js .site-header.is-nav-open .main-nav {
    display: grid;
  }

  html.js .main-nav a {
    padding: 12px 0;
    font-size: 15px;
  }

  html.js .main-nav a + a {
    border-top: 1px solid rgba(15, 39, 71, 0.08);
  }

  html.js .main-nav a::after {
    bottom: 6px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 56px);
  }

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

  .admin-main {
    padding: 20px;
  }

  .article-body,
  .card,
  .news-body,
  .feature-card,
  .admin-panel {
    padding: 24px;
  }

  .article-body-secretary {
  }

  .article-body-secretary > :not(.article-secretary-portrait) {
    padding-right: 0;
  }

  .article-secretary-portrait {
    width: 180px;
    height: 180px;
    margin: 0 0 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell,
  .page-shell.is-page-exiting,
  html[data-page-enter] .page-shell {
    animation: none !important;
  }

  .seasonal-hero-particles {
    display: none;
  }
}
