:root {
  --home-ink: #1d1d1f;
  --home-muted: #62676c;
  --home-soft: #f7faf8;
  --home-line: rgba(29, 29, 31, 0.1);
  --home-green: #1f644c;
  --home-gold: #b98a2f;
  --home-orange: #d65f16;
  --home-button: #343434;
  --home-button-hover: #1f1f1f;
  --home-panel: #ffffff;
  --home-shadow: 0 18px 54px rgba(29, 29, 31, 0.09);
  --home-soft-shadow: 0 10px 30px rgba(29, 29, 31, 0.07);
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body.home-page {
  margin: 0;
  color: var(--home-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faf8 48%, #f2f4f1 100%);
  letter-spacing: 0;
}

.home-page a {
  color: inherit;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.04);
  backdrop-filter: blur(20px);
}

.home-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: min(36vw, 248px);
  min-width: 168px;
  text-decoration: none;
}

.home-logo img {
  display: block;
  width: 100%;
  max-height: 50px;
  height: auto;
  object-fit: contain;
}

.home-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.home-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #d65f16;
  font-size: 16px;
  font-weight: 880;
  text-decoration: none;
  white-space: nowrap;
}

.home-nav a:hover {
  color: var(--home-green);
  background: rgba(31, 100, 76, 0.08);
}

.home-nav .home-nav-subtle {
  color: #777b80;
  font-size: 15px;
  font-weight: 720;
}

.home-nav .home-nav-cta {
  color: #fff;
  background: var(--home-button);
  box-shadow: 0 10px 20px rgba(245, 98, 0, 0.18);
}

.home-nav .home-nav-cta:hover {
  color: #fff;
  background: var(--home-button-hover);
}

.home-hero,
.home-section,
.home-footer {
  width: min(100% - 36px, 1180px);
  margin-inline: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: stretch;
  min-height: min(760px, calc(100vh - 128px));
  padding: 22px 0 20px;
}

.home-hero-copy {
  display: grid;
  align-content: center;
  padding: 36px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.95));
  box-shadow: var(--home-shadow);
}

.home-kicker {
  margin: 0 0 12px;
  color: var(--home-gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero h1,
.home-section h2,
.entry-card h3,
.path-list strong,
.home-hero p,
.home-section p {
  margin-top: 0;
}

.home-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #f79e02;
  font-size: clamp(36px, 4.2vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.home-lead {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--home-green);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 850;
  line-height: 1.34;
}

.home-text {
  max-width: 680px;
  margin: 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.85;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.entry-card a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 850;
  text-decoration: none;
}

.home-page .primary-button {
  color: #fff;
  background: var(--home-button);
  box-shadow: 0 12px 28px rgba(245, 98, 0, 0.2);
}

.home-page .primary-button:hover {
  background: var(--home-button-hover);
}

.secondary-button {
  color: var(--home-green);
  border: 1px solid rgba(31, 100, 76, 0.18);
  background: #fff;
}

.secondary-button:hover {
  background: rgba(31, 100, 76, 0.07);
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.home-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.home-facts dt {
  margin-bottom: 6px;
  color: var(--home-orange);
  font-size: 13px;
  font-weight: 900;
}

.home-facts dd {
  margin: 0;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.home-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(68vh, 680px);
  object-fit: contain;
}

.home-section {
  margin-bottom: 24px;
  padding: 44px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 8px;
  background: var(--home-panel);
  box-shadow: var(--home-soft-shadow);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--home-ink);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head > p:last-child {
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-head > .home-kicker:last-child {
  color: var(--home-gold);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

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

.entry-card {
  display: grid;
  min-height: 310px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92));
}

.entry-card span {
  margin-bottom: 24px;
  color: var(--home-gold);
  font-size: 13px;
  font-weight: 900;
}

.entry-card h3 {
  margin-bottom: 12px;
  color: var(--home-ink);
  font-size: 24px;
  line-height: 1.2;
}

.entry-card p {
  margin-bottom: 24px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.75;
}

.entry-card a {
  align-self: end;
  width: fit-content;
  margin-top: auto;
  color: #fff;
  background: var(--home-button);
}

.entry-card a:hover {
  background: var(--home-button-hover);
}

.entry-park {
  border-top: 4px solid var(--home-green);
}

.entry-class {
  border-top: 4px solid var(--home-orange);
}

.entry-member {
  border-top: 4px solid var(--home-gold);
}

.path-section {
  background:
    linear-gradient(135deg, #1d1d1f, #24342e);
  color: #fff;
}

.path-section .home-kicker,
.path-section h2,
.path-section p,
.path-list strong,
.path-list p {
  color: #fff;
}

.path-section .section-head h2 {
  color: #f56200;
  font-size: 21px;
  line-height: 1.35;
}

.path-section .home-kicker {
  color: #f0c166;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.path-list article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.path-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.path-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 34px;
  color: #6b7075;
  font-size: 13px;
}

.home-footer div {
  display: flex;
  gap: 14px;
}

.home-footer a {
  font-weight: 750;
  text-decoration: none;
}

.home-footer a:hover {
  color: var(--home-green);
}

@media (max-width: 980px) {
  .home-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-cover {
    min-height: 0;
  }

  .home-cover img {
    width: min(100%, 520px);
    height: auto;
  }

  .section-head,
  .entry-grid,
  .path-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero,
  .home-section,
  .home-footer {
    width: min(100% - 24px, 1180px);
  }

  .home-header {
    padding: 10px 12px;
  }

  .home-logo {
    width: 210px;
    min-width: 0;
  }

  .home-nav a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }

  .home-hero {
    gap: 14px;
    padding: 16px 0 18px;
  }

  .home-hero-copy,
  .home-section {
    padding: 24px;
  }

  .home-hero h1 {
    margin-bottom: 12px;
    font-size: 34px;
  }

  .home-lead {
    margin-bottom: 0;
    font-size: 18px;
  }

  .home-text {
    display: none;
  }

  .home-actions {
    display: grid;
    gap: 9px;
    margin-top: 18px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .home-facts {
    display: none;
  }

  .home-cover {
    padding: 12px;
  }

  .home-cover img {
    width: auto;
    max-width: 100%;
    height: min(34vh, 280px);
  }

  .entry-card {
    min-height: 0;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
