/* China Belt Tours — demo site */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e6e2db;
  --paper: #f7f5f1;
  --cream: #fffdf9;
  --accent: #8b4513;
  --accent-hover: #6d3410;
  --tag-bg: #efeae3;
  --ok: #2d5a3d;
  --warn: #8a6a2f;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(26, 26, 26, 0.06);
  --max: 1120px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: #000; color: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Demo banner */
.demo-banner {
  background: var(--ink);
  color: #f5f0e8;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
}
.demo-banner strong { color: #f0c36a; font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex; flex-direction: column; gap: 2px;
  color: inherit; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-zh {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.nav {
  display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap;
}
.nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  text-decoration: none;
}
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  border-bottom: none !important;
  padding: 8px 14px !important;
  border-radius: 999px;
  font-size: 13px !important;
}
.nav-cta:hover { background: var(--accent) !important; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.view { display: none; }
.view.active { display: block; animation: fade .35s ease; }
@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Hero — full-bleed photo + dark veil for white type */
.hero {
  position: relative;
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  background-color: #1a1a1a;
  background-image:
    linear-gradient(105deg, rgba(12, 12, 12, 0.82) 0%, rgba(12, 12, 12, 0.55) 48%, rgba(12, 12, 12, 0.35) 100%),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0c36a;
  margin-bottom: 16px;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,.88);
  max-width: 38rem;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.14);
}
.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero .btn-primary:hover {
  background: #f0c36a;
  color: var(--ink);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--cream); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* Sections */
.section { padding: 64px 0; }
.section-head {
  display: flex; flex-wrap: wrap;
  align-items: end; justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 36rem; }
.section-link { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26,26,26,.11);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #d9d3c9;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}
.card:hover .card-media img {
  transform: scale(1.04);
}
.card-media-empty {
  background:
    linear-gradient(135deg, #e8e2d8, #d4cdc2);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}
.card-credit {
  display: block;
  font-size: 10px;
  color: #a39a8e;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.days { font-size: 12px; color: var(--muted); }
.maturity {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.maturity-ready { background: #e4f0e8; color: var(--ok); }
.maturity-partner { background: #f3eee3; color: var(--warn); }
.maturity-research { background: #ebebeb; color: #555; }
.card h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card h3 .zh {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}
.card-foot {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-foot a.ext {
  font-size: 13px; color: var(--muted);
}
.card-foot a.ext:hover { color: var(--accent); }

/* Type chips */
.types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.type-chip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  color: inherit;
  text-decoration: none !important;
  transition: border-color .15s, background .15s;
}
.type-chip:hover { border-color: var(--accent); background: #fff; }
.type-chip .emoji { font-size: 1.4rem; display: block; margin-bottom: 8px; }
.type-chip strong { display: block; font-size: 14px; }
.type-chip span { font-size: 12px; color: var(--muted); }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  font-family: var(--font);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Magazine strip */
.magazine {
  background: var(--ink);
  color: #f3efe8;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
}
.magazine h3 {
  font-family: var(--font);
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.magazine p { margin: 0; color: #c9c2b6; max-width: 36rem; font-size: 0.95rem; }
.magazine .btn-ghost {
  border-color: #555;
  color: #fff;
}
.magazine .btn-ghost:hover { border-color: #fff; background: transparent; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(180deg, transparent, rgba(139,69,19,.05));
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
}
.cta-band p { color: var(--muted); margin: 0 0 22px; }

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.filter-btn:hover { border-color: #bbb; }
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter-count {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Page hero (inner) */
.page-hero {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }

/* About */
.prose {
  max-width: 40rem;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 1em; }
.prose strong { color: var(--ink); }
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.team-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--tag-bg);
  display: grid; place-items: center;
  font-family: var(--font);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.team-card h3 { margin: 0 0 4px; font-size: 1rem; }
.team-card .role { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.team-card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 40px 0 64px;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { margin: 0 0 12px; font-family: var(--font); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  background: #f0ebe3;
  padding: 10px 12px;
  border-radius: 8px;
}

.form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}
.form .field { margin-bottom: 14px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid rgba(139,69,19,.25);
  border-color: var(--accent);
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #e4f0e8;
  color: var(--ok);
  font-size: 14px;
}
.form-msg.show { display: block; }
.form-error {
  color: #a33;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.field.has-error .form-error { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select {
  border-color: #c66;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #efeae3;
  padding: 40px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.footer-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 28rem; }
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 6px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #ddd6cb;
  padding-top: 18px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--muted);
}
.demo-stamp {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Empty state */
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .types { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 8px;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav a { padding: 10px 4px; }
  .nav-cta { text-align: center; }
  .grid, .grid-4, .steps, .team, .contact-grid, .types, .form .row {
    grid-template-columns: 1fr;
  }
  .types { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}


.photo-credits {
  margin: 12px 0 0;
  font-size: 11px;
  color: #8a847a;
  letter-spacing: 0.02em;
}
