:root {
  --bg: #0d0c0a;
  --bg-2: #161310;
  --ink: #f4efe6;
  --muted: #b8b0a4;
  --gold: #c9a36a;
  --gold-2: #e6c38a;
  --line: rgba(244, 239, 230, 0.12);
  --card: #1b1814;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.eyebrow {
  font-family: "Iowan Old Style", "Songti SC", "Source Han Serif SC", serif;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 12px;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 20px;
}

h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.muted,
.lead {
  color: var(--muted);
}

.lead {
  max-width: 560px;
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a140c;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 12, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-inner {
  justify-content: space-between;
  height: 64px;
}

.logo {
  letter-spacing: 0.3em;
}

nav a {
  color: var(--muted);
  font-size: 14px;
}

.nofee-bar {
  position: sticky;
  top: 64px;
  z-index: 9;
  background: #c9a36a;
  color: #1a140c;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nofee-bar .wrap {
  padding: 10px 0;
}

.nofee-short {
  display: none;
}

.routes {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg-2);
}

.route-line {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

.letter {
  max-width: 760px;
}

.letter p {
  color: var(--muted);
  font-size: 17px;
}

.sign {
  margin-top: 28px;
  color: var(--gold-2) !important;
  font-family: "Iowan Old Style", "Songti SC", serif;
}

.nofee-repeat {
  margin: 28px 0 0;
  color: var(--gold-2);
}

.empty-city {
  grid-column: 1 / -1;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 28px;
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 163, 106, 0.16), transparent 32%),
    linear-gradient(180deg, #14110e, var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-notes {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-collage {
  position: relative;
  min-height: 420px;
}

.hero-collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #221c16;
}

.hero-collage figure:nth-child(1) {
  width: 58%;
  height: 86%;
  left: 0;
  top: 8%;
  z-index: 1;
}

.hero-collage figure:nth-child(2) {
  width: 46%;
  height: 58%;
  right: 0;
  top: 0;
  z-index: 2;
}

.hero-collage figure:nth-child(3) {
  width: 42%;
  height: 46%;
  right: 6%;
  bottom: 0;
  z-index: 3;
}

.hero-collage img,
.person-photo img,
.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0;
}

.trust-row p {
  margin: 0;
}

.trust-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-2);
}

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

.section-note {
  max-width: 280px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

.filter-btn.is-on {
  color: #1a140c;
  background: var(--gold);
  border-color: var(--gold);
}

.people-grid,
.grid-3,
.split,
.steps {
  display: grid;
  gap: 18px;
}

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

.person-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.person-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.photo-upload {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 12, 10, 0.72);
  color: var(--gold-2);
  font-size: 12px;
  cursor: pointer;
}

.photo-upload input {
  display: none;
}

.person-card:hover {
  border-color: rgba(201, 163, 106, 0.5);
}

.person-photo {
  aspect-ratio: 3 / 4;
  height: auto;
  background: #221c16;
}

.person-body {
  padding: 16px 18px 18px;
}

.person-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 6px;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.person-tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 12px;
}

.card,
.panel,
.steps li,
.faq details,
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

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

.tag {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  list-style: none;
}

.steps span {
  display: block;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.steps p,
.card p,
.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.faq details {
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
}

.apply-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.apply-points p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-simple {
  grid-template-columns: 1fr;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form .full {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #221e19;
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.form .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.form .check input {
  width: auto;
  margin-top: 4px;
}

.form-msg {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--gold-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 96px;
  color: var(--muted);
  font-size: 13px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 10px;
  padding: 10px 16px 14px;
  background: rgba(13, 12, 10, 0.92);
  border-top: 1px solid var(--line);
  z-index: 12;
}

.sticky-cta .btn {
  flex: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(8, 7, 6, 0.78);
  padding: 20px;
}

.modal-card {
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.modal-photo {
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  background: #221c16;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(8, 7, 6, 0.82);
  padding: 20px;
}

.age-gate[hidden],
.modal[hidden] {
  display: none;
}

.age-card {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.age-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .people-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  nav,
  .header-inner .btn-sm {
    display: none;
  }

  .header-inner {
    height: 56px;
  }

  .nofee-bar {
    top: 56px;
    font-size: 12px;
  }

  .nofee-full {
    display: none;
  }

  .nofee-short {
    display: inline;
  }

  h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  h3 {
    font-size: 18px;
  }

  .lead,
  .letter p {
    font-size: 15px;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-grid,
  .trust-row,
  .people-grid,
  .grid-3,
  .split,
  .steps,
  .apply-wrap,
  .form,
  .modal-layout,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    margin: 20px 0 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-collage {
    min-height: 0;
    height: 210px;
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.9fr;
    gap: 8px;
  }

  .hero-collage figure,
  .hero-collage figure:nth-child(1),
  .hero-collage figure:nth-child(2),
  .hero-collage figure:nth-child(3) {
    position: relative;
    inset: auto;
    width: auto;
    height: 100%;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    border-radius: 14px;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -14px;
    margin-right: -14px;
    padding: 0 14px 6px;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 12px;
  }

  .route-line {
    font-size: 13px;
  }

  .form input,
  .form select,
  .form textarea,
  .btn {
    font-size: 16px;
  }

  .age-card {
    padding: 22px 18px;
  }

  .age-card h1 {
    font-size: 28px;
  }

  .age-actions {
    flex-direction: column;
  }

  .age-actions .btn,
  .sticky-cta .btn {
    width: 100%;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal-card {
    width: 100%;
    max-height: 88vh;
    padding: 18px 16px 20px;
    border-radius: 18px 18px 0 0;
  }

  .modal-close {
    min-height: 36px;
    min-width: 52px;
  }

  .sticky-cta {
    display: flex;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .hero-collage {
    height: 168px;
  }

  .card,
  .panel,
  .steps li,
  .faq details,
  .form {
    padding: 16px;
  }
}
