:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #202020;
  --muted: #69655f;
  --line: #ded8cf;
  --accent: #276c63;
  --accent-dark: #16443e;
  --blue: #1f74d8;
  --green: #17803d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #080808;
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.brand {
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #f6f4ef;
  color: #080808;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  color: #080808;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.nav a {
  display: inline-flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(8, 8, 8, 0.18);
}

.nav a:nth-child(1) {
  background: #ff6a00;
}

.nav a:nth-child(2) {
  border-radius: 8px;
  background: #b9d9ff;
}

.nav a:nth-child(3) {
  border-radius: 999px;
  background: #43d354;
}

.nav a:nth-child(4) {
  border-radius: 4px;
  background: #f6f4ef;
}

.nav .study-tour-entry {
  border-radius: 999px;
  background: #ffd66e;
}

.hero {
  position: relative;
  min-height: calc(100svh - 24px);
  margin: 12px;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #1b1a16;
}

.hero-portrait {
  position: absolute;
  top: -6%;
  left: 50%;
  z-index: 1;
  width: auto;
  height: 116%;
  transform: translateX(-50%);
  filter: contrast(1.08) brightness(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(115, 23, 16, 0.84), rgba(84, 24, 17, 0.42) 38%, rgba(66, 22, 18, 0.66)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
  mix-blend-mode: multiply;
}

.hero-caption {
  position: absolute;
  right: 42px;
  bottom: 34px;
  z-index: 4;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.hero-caption p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button,
.search button,
.category-chip {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  background: var(--bg);
  padding: 64px clamp(18px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

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

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel {
  padding: 24px;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 24px;
}

.intro-layout h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.intro-layout p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.profile-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.panel h3,
.card h3 {
  margin: 0 0 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8e1d8;
}

.card-body {
  padding: 16px;
}

.card-body p,
.panel p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef5f2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.price {
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-link span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.feature-link strong {
  grid-column: 1;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.12;
}

.feature-link em {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.category-chip {
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.category-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.search {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin-bottom: 24px;
}

.search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  background: var(--accent);
  color: white;
}

.site-footer {
  background: var(--bg);
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
}

@media (max-width: 700px) {
  .site-header {
    top: 16px;
    left: 14px;
    right: 14px;
    align-items: center;
    gap: 12px;
  }

  .brand {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .nav {
    gap: 8px;
    font-size: 16px;
  }

  .nav a {
    min-height: 46px;
    padding: 0 12px;
  }

  .hero {
    min-height: calc(100svh - 16px);
    margin: 8px;
  }

  .hero-portrait {
    top: 6%;
    height: 86%;
  }

  .hero-caption {
    right: 16px;
    bottom: 78px;
    max-width: 260px;
  }

  .hero-caption p {
    font-size: 12px;
  }

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

  .intro-layout {
    grid-template-columns: 1fr;
  }

  .search {
    flex-direction: column;
  }
}
