:root {
  color-scheme: light;
  --bg: #fff8ec;
  --bg-soft: #f7eedc;
  --text: #3b2416;
  --text-muted: #8a6a50;
  --primary: #5a351f;
  --primary-hover: #6b4228;
  --accent: #f6b93b;
  --accent-soft: #fff0c2;
  --green: #7cb342;
  --card: rgba(255, 255, 255, 0.72);
  --border: rgba(90, 53, 31, 0.13);
  --shadow: rgba(90, 53, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff8ec;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 248, 236, 0.82);
  box-shadow: 0 12px 36px var(--shadow);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 22;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  opacity: 0.92;
}

.nav a:hover {
  opacity: 1;
}

.nav-nas {
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    top 180ms ease,
    transform 180ms ease;
}

.menu-toggle span:first-child {
  top: 14px;
}

.menu-toggle span:last-child {
  top: 23px;
}

.site-header.is-open .menu-toggle span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

body.is-menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 96px 20px 70px;
  text-align: center;
  color: #fff8ec;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
span,
strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(30, 20, 12, 0.32);
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  row-gap: 0.04em;
  max-width: min(92vw, 980px);
}

.title-part {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 128px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.milestone-card:hover {
  transform: translateY(-3px);
}

.button-light {
  background: #fff8ec;
  color: var(--primary);
}

.button-ghost {
  border: 1px solid rgba(255, 248, 236, 0.7);
  background: rgba(255, 248, 236, 0.12);
  color: #fff8ec;
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  color: rgba(255, 248, 236, 0.76);
  font-size: 13px;
  font-weight: 750;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
}

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

.person-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 50px var(--shadow);
  backdrop-filter: blur(14px);
}

.person-card img {
  width: 120px;
  border-radius: 26px;
}

.person-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.person-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.person-card span {
  display: block;
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 850;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}

.milestone-track {
  display: grid;
  grid-auto-columns: clamp(280px, 34vw, 410px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.milestone-track:focus {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.milestone-card {
  scroll-snap-align: start;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px var(--shadow);
  transition: transform 160ms ease;
}

.milestone-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.milestone-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.milestone-date {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.milestone-card h3 {
  margin: 0;
  font-size: 26px;
}

.milestone-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.milestone-card.is-pending {
  border-style: dashed;
  background: rgba(255, 240, 194, 0.42);
}

.drawer-section {
  padding-bottom: 80px;
}

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

.drawer-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 44px var(--shadow);
}

.drawer-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.drawer-card a,
.drawer-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.drawer-card a {
  display: grid;
  gap: 4px;
}

.drawer-card strong {
  color: var(--text);
}

.site-footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 28px max(18px, calc((100% - 1120px) / 2)) 38px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 62px;
    color: #fff8ec;
  }

  .menu-toggle {
    display: block;
    z-index: 22;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 76px max(26px, 7vw) 24px;
    border-bottom: 1px solid rgba(90, 53, 31, 0.12);
    background: rgba(255, 248, 236, 0.9);
    color: var(--text);
    box-shadow: 0 18px 42px rgba(90, 53, 31, 0.12);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition:
      opacity 260ms ease,
      transform 320ms cubic-bezier(0.22, 0.72, 0.25, 1);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(90, 53, 31, 0.09);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.25;
    opacity: 0;
    filter: blur(3px);
    transform: translateY(-14px);
    transition:
      opacity 280ms ease,
      filter 300ms ease,
      transform 320ms cubic-bezier(0.22, 0.72, 0.25, 1);
  }

  .nav a:first-child {
    border-top: 1px solid rgba(90, 53, 31, 0.1);
  }

  .nav.is-open a {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .nav.is-open a:nth-child(1) {
    transition-delay: 100ms;
  }

  .nav.is-open a:nth-child(2) {
    transition-delay: 160ms;
  }

  .nav.is-open a:nth-child(3) {
    transition-delay: 220ms;
  }

  .nav.is-open a:nth-child(4) {
    transition-delay: 280ms;
  }

  .nav.is-open a:nth-child(5) {
    transition-delay: 340ms;
  }

  .nav-nas {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 14px 0 !important;
    border: 0;
    border-bottom: 1px solid rgba(90, 53, 31, 0.09);
    border-radius: 0;
    color: #2f1c12;
    font-size: 18px !important;
    font-weight: 900;
    line-height: 1.25;
  }

  h1 {
    max-width: none;
    font-size: clamp(30px, 7.2vw, 42px);
  }

  .person-grid,
  .drawer-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: auto;
  }

  .person-card img {
    width: 92px;
  }

  .row-heading {
    align-items: start;
    flex-direction: column;
  }

  .milestone-track {
    grid-auto-columns: 78vw;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    width: min(100%, 280px);
  }

  .button {
    width: 100%;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
