/* Evergreen Handbook theme */
:root {
  --evergreen-dark: #14532d;
  --evergreen-mid: #166534;
  --evergreen-accent: #15803d;
  --evergreen-light: #dcfce7;
  --evergreen-bg: #f0fdf4;
  --evergreen-cream: #fafaf8;
  --text-primary: #162033;
  --text-muted: #4a5568;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  background-color: var(--evergreen-bg);
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: var(--evergreen-cream);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0;
}

.section-sub {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.9rem;
  color: var(--evergreen-mid);
  font-weight: 500;
}

.section-header p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero {
  padding-top: 6rem;
  padding-bottom: 4.5rem;
  background: radial-gradient(circle at top left, var(--evergreen-light) 0, var(--evergreen-bg) 45%, var(--evergreen-cream) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--evergreen-mid);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.25rem;
  color: var(--evergreen-dark);
  font-family: "Black Han Sans", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.hero-subtitle {
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.hero-subtitle.hero-tagline-en {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--evergreen-mid);
  margin-bottom: 0.5rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.meta-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--evergreen-mid);
}

.meta-value {
  font-weight: 500;
  color: var(--text-primary);
}

.meta-link a {
  color: var(--evergreen-mid);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-size: 0.9rem;
  font-weight: 600;
}

.meta-link a:hover {
  color: var(--evergreen-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease,
    color 0.12s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--evergreen-mid), var(--evergreen-accent));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 128, 61, 0.35);
}

.btn.secondary {
  background: var(--evergreen-light);
  color: var(--evergreen-dark);
}

.btn.secondary:hover {
  background: #bbf7d0;
}

.btn.btn-youtube {
  background: #ff0000;
  color: #ffffff;
}

.btn.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

.btn.btn-wrap {
  white-space: normal;
  text-align: center;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.grid-three {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.6rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--evergreen-accent);
}

.en-text {
  display: block;
  font-size: 0.86rem;
  color: #6b7280;
  margin-top: 0.1rem;
}

.packing-list .bullet-list li {
  margin-bottom: 0.6rem;
}

.packing-intro {
  margin-bottom: 1.25rem;
}

.packing-list {
  margin-top: 2.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21, 101, 52, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.logo-area {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-ko {
  font-weight: 700;
  font-size: 1rem;
  color: var(--evergreen-dark);
  font-family: "Black Han Sans", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.logo-en {
  font-size: 0.76rem;
  color: var(--evergreen-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-tagline {
  display: block;
  font-size: 0.68rem;
  color: var(--evergreen-mid);
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

.main-nav {
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.3rem;
  height: 2px;
  background: #1f2933;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  right: 0;
  top: 110%;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  display: none;
  gap: 0.4rem;
}

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

.nav-links li a {
  display: block;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  border-radius: 999px;
  color: #1f2933;
  white-space: nowrap;
}

.nav-links li a:hover {
  background: var(--evergreen-light);
}

.groups-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.groups-scroll {
  overflow-x: auto;
}

.groups-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.groups-table th,
.groups-table td {
  text-align: center;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.groups-table th {
  background: var(--evergreen-light);
  color: var(--evergreen-dark);
  font-weight: 600;
}

.groups-image {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.small-note {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.schedule-scroll {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.5rem;
  text-align: center;
}

.schedule-table th {
  background: var(--evergreen-light);
  color: var(--evergreen-dark);
}

.schedule-image {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.schedule-link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.9rem;
}

.schedule-link-button {
  font-size: 1rem;
  padding: 0.85rem 1.2rem;
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.talks-intro {
  margin-bottom: 2rem;
}

.talks-cta {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.talks-grid {
  margin-top: 1rem;
}

.songs-grid {
  margin-top: 0.5rem;
}

.songs-grid .card {
  display: flex;
  flex-direction: column;
}

.songs-grid .card .bullet-list {
  flex: 1 1 auto;
}

.songs-grid .card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
}

.contact-inline {
  font-size: 0.95rem;
  color: #1f2933;
}

.site-footer {
  border-top: 1px solid rgba(21, 101, 52, 0.12);
  background: var(--evergreen-light);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-link {
  color: #2563eb;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

.back-to-top {
  color: var(--evergreen-mid);
  font-weight: 500;
}

@media (min-width: 720px) {
  .hero-inner {
    padding: 2rem 0 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

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

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

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

  .header-inner {
    padding: 0.6rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 5.2rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .card {
    padding: 1.3rem 1.4rem;
  }
}

/* Important Notes card: pin Waiver button to bottom of card area */
.card-important-notes {
  display: flex;
  flex-direction: column;
}

.card-important-notes .bullet-list {
  flex: 1 1 auto;
}

.card-important-notes .btn {
  margin-top: auto;
}

