/* Closer China — visual polish */
:root {
  --bg: #f4f1eb;
  --bg-elev: #ffffff;
  --ink: #14181a;
  --ink-muted: #4d565c;
  --border: #e0d8cc;
  --accent: #0e4a56;
  --accent-hover: #093843;
  --accent-soft: #e4eef0;
  --accent-warm: #c45c26;
  --accent-warm-soft: #f7ebe3;
  --warn: #6b4f1d;
  --warn-bg: #f5edd8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 26, 0.05), 0 10px 28px rgba(20, 24, 26, 0.07);
  --shadow-hover: 0 4px 10px rgba(20, 24, 26, 0.08), 0 18px 40px rgba(20, 24, 26, 0.1);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2a7a8c;
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.55rem 1rem;
}
.skip-link:focus { left: 0.6rem; top: 0.6rem; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 80;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  align-items: center;
}
.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.25rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--accent-hover); }

main { min-height: 55vh; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.35rem 3.5rem;
}

/* Full-bleed photo hero */
.hero-bleed {
  position: relative;
  min-height: clamp(22rem, 58vw, 34rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0a2f38;
}
.hero-bleed.hero-bleed-sm { min-height: clamp(16rem, 40vw, 22rem); }
.hero-bleed .hero-media {
  position: absolute; inset: 0;
}
.hero-bleed .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bleed .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,28,34,0.25) 0%, rgba(8,28,34,0.55) 45%, rgba(8,28,34,0.88) 100%),
    linear-gradient(90deg, rgba(8,28,34,0.55) 0%, rgba(8,28,34,0.15) 55%, transparent 100%);
}
.hero-bleed .hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.35rem 2.75rem;
}
.hero-bleed .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d7ebe7;
  margin: 0 0 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.hero-bleed h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 0.9rem;
  max-width: 16ch;
  font-weight: 750;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-bleed .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* In-page text hero (inquire/about fallback) */
.hero {
  padding: 1.5rem 0 0.5rem;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 20ch;
}
.hero .lede {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 40rem;
  margin: 0 0 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-hover); color: #fff !important; }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  border-color: rgba(255,255,255,0.45);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
}
.wrap .btn-secondary,
.hero .btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border-color: var(--border);
}
.wrap .btn-secondary:hover,
.hero .btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent) !important;
}
.cta-band .btn-primary:hover { background: var(--accent-soft); }

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: -2.25rem auto 0;
  max-width: var(--max);
  padding: 0 1.35rem;
  position: relative;
  z-index: 2;
}
.trust-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.trust-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.trust-item { color: var(--ink-muted); font-size: 0.95rem; }
.trust-item strong { color: var(--ink); }

.section { margin: 3.25rem 0; }
.section h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.section .section-intro {
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d8d2c8;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.card h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--ink-muted); flex: 1; font-size: 0.96rem; }
.card .meta { font-size: 0.84rem; color: var(--ink-muted); }
.card .price {
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
}
.card .price small {
  font-weight: 550;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.card .card-link {
  font-weight: 650;
  text-decoration: none;
  margin-top: 0.35rem;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  width: fit-content;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

.cta-band {
  background: linear-gradient(135deg, #0e4a56 0%, #146a6f 55%, #1a5c48 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 3rem 0 1rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.4rem; font-size: 1.4rem; color: #fff; letter-spacing: -0.02em; }
.cta-band p { margin: 0; opacity: 0.92; max-width: 36rem; }

.note {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn);
  padding: 0.9rem 1.05rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--warn);
  font-size: 0.95rem;
  margin: 1.15rem 0;
}

/* Split feature band */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-elev);
  margin: 2.5rem 0;
}
.feature-band .feature-media {
  min-height: 16rem;
  background: #cfc7bb;
}
.feature-band .feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 16rem;
}
.feature-band .feature-copy {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}
.feature-band h2 { margin: 0; font-size: 1.45rem; letter-spacing: -0.02em; }
.feature-band p { margin: 0; color: var(--ink-muted); }

.article-header { margin-bottom: 1.5rem; }
.article-header .meta { color: var(--ink-muted); font-size: 0.9rem; margin: 0.5rem 0 0; }
.tldr {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0 2rem;
}
.tldr strong { display: block; margin-bottom: 0.35rem; }
.prose h2 {
  margin-top: 2.15rem;
  margin-bottom: 0.65rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.prose p { color: var(--ink-muted); }
.prose .placeholder {
  font-style: italic;
  color: #5f6468;
  background: #ebe6de;
  padding: 0.85rem 1.05rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
}
.prose ul { color: var(--ink-muted); padding-left: 1.25rem; }
.mid-cta {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.form {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.form-row .hint { font-weight: 400; color: var(--ink-muted); font-size: 0.85rem; }
.req { color: #a33; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}
.check-grid label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.check-grid input { width: auto; }
.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
}
.consent input { margin-top: 0.3rem; width: auto; }

.site-footer {
  border-top: 1px solid var(--border);
  background: #ebe6de;
  margin-top: 2.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.footer-inner a { color: var(--ink-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.photo-credit {
  font-size: 0.8rem;
  color: #7a8288;
  margin-top: 0.75rem;
}
.photo-credit a { color: inherit; }

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs span { margin: 0 0.35rem; }
.breadcrumbs-on-dark {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.85rem;
}
.breadcrumbs-on-dark a { color: rgba(255,255,255,0.85); }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.list-plain li:last-child { border-bottom: none; }
.list-plain a { font-weight: 650; text-decoration: none; color: var(--ink); }
.list-plain a:hover { color: var(--accent); }
.list-plain .meta {
  display: block;
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

@media (max-width: 820px) {
  .trust { grid-template-columns: 1fr; margin-top: 1.25rem; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band .feature-media { min-height: 12rem; }
  .feature-band .feature-media img { min-height: 12rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-top: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55rem 0.15rem; }
  .nav .nav-cta { text-align: center; margin-top: 0.35rem; }
  .header-inner { flex-wrap: wrap; }
  .hero-bleed h1 { max-width: none; }
  .hero h1 { max-width: none; }
}
