.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0 60 C 150 120 350 0 600 60 C 850 120 1050 0 1200 60 L1200 120 L0 120 Z' fill='%23f1f5ff'/></svg>");
  background-repeat: repeat-x;
  background-size: 1200px 120px;
  animation: heroWave 18s linear infinite;
}

.hero-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0 70 C 200 110 360 10 600 70 C 840 130 1040 20 1200 70 L1200 120 L0 120 Z' fill='%23f1f5ff'/></svg>");
  background-repeat: repeat-x;
  background-size: 1400px 120px;
  opacity: 0.6;
  animation: heroWaveAlt 26s linear infinite;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.hero-scroll-line {
  position: relative;
  width: 2px;
  height: 46px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  border-radius: 999px;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -60%;
  height: 60%;
  background: rgba(255, 255, 255, 0.9);
  animation: heroScroll 1.8s ease-in-out infinite;
}

.hero-slide {
  position: absolute;
  inset: -2%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  animation: heroSlide 18s infinite;
  will-change: transform, opacity;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8, 12, 24, 0.15), rgba(8, 12, 24, 0.05));
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroSlide {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: scale(1.08);
  }
  41% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes heroWave {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -1200px;
  }
}

@keyframes heroWaveAlt {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 1400px;
  }
}

@keyframes heroScroll {
  0% {
    top: -60%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 120%;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 760px;
  padding: 100px 0 140px;
  text-shadow: 0 18px 40px rgba(8, 12, 24, 0.35);
}

.hero-content h1 {
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.1;
}

.hero-content p {
  font-size: 18px;
  max-width: 640px;
}

.hero-content .tag {
  color: rgba(255, 255, 255, 0.8);
}

.hero-content h1,
.hero-content p {
  color: #ffffff;
}

.hero-content p {
  opacity: 0.9;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-badges span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(8, 12, 24, 0.35);
}

.notice-section .section-title {
  margin-bottom: 24px;
}

.notice-section.section.band {
  border-top: 0;
}

.notice-banner {
  margin-bottom: 20px;
}

.notice-banner .important-notice-list {
  display: grid;
  gap: 10px;
}

.notice-banner .important-notices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.notice-banner .important-notices a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(68, 68, 68, 0.18);
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.notice-banner .important-notices a:hover {
  border-color: rgba(68, 68, 68, 0.4);
  box-shadow: 0 12px 24px rgba(68, 68, 68, 0.08);
  transform: translateY(-1px);
}

.notice-banner .important-notices time {
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: 0.08em;
}

.notice-banner .important-notices span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.notice-banner .important-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.notice-panel {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.notice-panel h3 {
  margin: 0;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 18px;
}

.notice-panel p {
  margin: 0;
  color: var(--text);
}

/* .notice-alert {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 244, 0.98));
} */

.notice-em {
  color: #e11d48;
  font-weight: 700;
}

.notice-item {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  display: grid;
  gap: 8px;
}

.notice-topics .notice-item p:not(.notice-note) {
  font-size: 14px;
  line-height: 1.7;
}


.notice-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}

.notice-item-head span {
  font-size: 12px;
  color: var(--muted);
}

.notice-note {
  font-size: 12px;
  color: var(--muted);
}

.notice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 4px;
}

.notice-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 2px;
  border-radius: 0;
  border: none;
  background: transparent;
  font-size: 11px;
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-table {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.notice-table-row {
  display: grid;
  grid-template-columns: minmax(140px, 170px) 1fr;
  border-top: 1px solid var(--line);
}

.notice-table-row:first-child {
  border-top: none;
}

.notice-table-label {
  padding: 8px 12px;
  background: #f1f5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
}

.notice-table-content {
  padding: 8px 12px;
}

.notice-table .notice-links {
  margin: 0;
  flex-wrap: nowrap;
}

@media (max-width: 720px) {
  .notice-banner .important-notices a {
    grid-template-columns: 1fr;
  }
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature {
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.concept-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
  min-height: 380px;
}

.concept-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  color: #ffffff;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: grid;
  gap: 4px;
}

.concept-caption small {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 18px;
}

.gallery-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  cursor: zoom-in;
}

.gallery-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
  cursor: zoom-in;
}

.gallery-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.05), rgba(8, 12, 24, 0.45));
  pointer-events: none;
}

.gallery-panel:hover img {
  transform: scale(1.08);
}

.panel-hero {
  grid-column: span 7;
  grid-row: span 2;
}

.panel-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.panel-wide {
  grid-column: span 8;
}

.panel-mid {
  grid-column: span 4;
}

.panel-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: #ffffff;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 16px;
}

.panel-caption small {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

.programs-showcase {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}

.program-feature {
  position: relative;
  --edge-padding: max(30px, calc((100vw - var(--max-width)) / 2));
  padding: clamp(20px, 4vw, 48px) 0;
  border-radius: 0;
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.95));
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.program-feature::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24), transparent 70%);
  top: -140px;
  right: -140px;
  pointer-events: none;
}

.program-feature.is-reverse {
}

.program-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  margin: 0;
  padding: 0;
}

.program-feature.is-reverse .program-feature-inner {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.program-feature.is-reverse .program-feature-body {
  order: 2;
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: var(--edge-padding);
}

.program-feature.is-reverse .program-feature-media {
  order: 1;
}

.program-feature.is-reverse::before {
  right: auto;
  left: -140px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}

.program-feature.is-reverse .program-feature-media {
  border-radius: 0 26px 26px 0;
  margin: 0;
}

.program-feature-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding-left: var(--edge-padding);
  padding-right: clamp(20px, 3vw, 40px);
}

.program-feature-body h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 460px;
}

.program-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.program-feature-media {
  position: relative;
  z-index: 1;
  border-radius: 26px 0 0 26px;
  overflow: hidden;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.16);
  margin: 0;
}

.program-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-feature-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.program-card {
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: grid;
  gap: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.14);
}

.program-content {
  padding: 20px 22px 24px;
  display: grid;
  gap: 8px;
}

.program-card h3 {
  margin: 8px 0 12px;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
}

.news-item time,
.news-item .news-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.news-item h4 {
  margin: 6px 0 0;
  font-size: 18px;
}

.news-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
}

.access-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

@media (max-width: 980px) {
  .hero-content {
    padding: 100px 0 120px;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

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

  .gallery-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }

  .panel-hero,
  .panel-tall,
  .panel-wide,
  .panel-mid {
    grid-column: span 2;
    grid-row: span 1;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

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

  .program-feature-inner,
  .program-feature.is-reverse .program-feature-inner {
    grid-template-columns: 1fr;
  }

  .program-feature-body {
    order: 2;
    padding-left: 30px;
    padding-right: 30px;
  }

  .program-feature.is-reverse .program-feature-body {
    padding-left: 30px;
    padding-right: 30px;
  }

  .program-feature-media {
    order: 1;
    min-height: 260px;
    margin: 0;
    border-radius: 0;
  }

  .program-feature.is-reverse .program-feature-media {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 0;
  }

  .hero-content {
    padding: 90px 0 100px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-wave {
    height: 80px;
    background-size: 900px 80px;
  }

  .hero-wave::after {
    background-size: 1000px 80px;
  }

  .hero-scroll {
    bottom: 50px;
    font-size: 10px;
    letter-spacing: 0.3em;
  }

  .hero-scroll-line {
    height: 36px;
  }

  .programs-showcase {
    padding: 0;
  }

  .program-feature {
    border-radius: 0;
  }

  .program-feature-body h3 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .program-feature-body p {
    font-size: 15px;
  }

  .program-feature-label {
    right: 12px;
    bottom: 12px;
  }

  .program-feature-media {
    border-radius: 0;
  }

  .program-feature.is-reverse .program-feature-media {
    border-radius: 0;
  }

  .notice-table-row {
    grid-template-columns: 1fr;
  }

  .notice-table-label {
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }

  .hero-wave,
  .hero-wave::after {
    animation: none;
  }

  .hero-scroll-line::after {
    animation: none;
  }
}
