/* =========================================================
   Components: hero, sections, cards, process, stories, CTA
   ========================================================= */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: flex-end;
  overflow: hidden;
  padding: 160px 0 64px;
  background: var(--ink);
  color: var(--ivory);
}

.hero--page {
  min-height: 600px;
  padding-bottom: 56px;
}

.hero--compact {
  min-height: 520px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 29, 0.94) 0%, rgba(7, 25, 29, 0.78) 42%, rgba(7, 25, 29, 0.32) 100%),
    linear-gradient(0deg, rgba(7, 25, 29, 0.9) 0%, rgba(7, 25, 29, 0.12) 58%, rgba(7, 25, 29, 0.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.hero-copy {
  max-width: 920px;
}

.hero h1 {
  margin: 18px 0 24px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--copper-2);
  font-style: italic;
}

.hero--page h1 {
  max-width: 1050px;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
}

.hero-sub {
  max-width: 650px;
  color: rgba(247, 243, 236, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.17rem);
  line-height: 1.75;
}

.hero--page .hero-sub {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  max-width: 590px;
  margin-top: 22px;
  color: rgba(247, 243, 236, 0.55);
  font-size: 0.76rem;
  line-height: 1.6;
}

.hero-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(247, 243, 236, 0.18);
  border-radius: 24px;
  background: rgba(247, 243, 236, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-card-label {
  margin-bottom: 8px;
  color: var(--copper-2);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}

.hero-stat:last-of-type {
  border-bottom: 0;
}

.hero-stat strong {
  flex: 0 0 auto;
  color: var(--copper-2);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.hero-stat span {
  color: rgba(247, 243, 236, 0.72);
  font-size: 0.8rem;
  line-height: 1.5;
}

.hero-card .fineprint {
  margin-top: 18px;
  color: rgba(247, 243, 236, 0.48);
  font-size: 0.68rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(247, 243, 236, 0.6);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  color: var(--ivory);
}

.breadcrumb span {
  opacity: 0.45;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* ---------- Why China split ---------- */

.why-china-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.why-china-copy .lead {
  max-width: 640px;
  margin-top: 20px;
}

.why-china-note {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-china-copy .btn {
  margin-top: 26px;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.why-stat {
  padding: clamp(22px, 3.4vw, 36px) clamp(18px, 2.5vw, 30px);
  border-bottom: 1px solid var(--line);
}

.why-stat:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.why-stat strong {
  display: block;
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.why-stat span {
  display: block;
  max-width: 14ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* ---------- Why cards ---------- */

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

.why-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 14px;
  background: rgba(14, 59, 58, 0.07);
  color: var(--teal);
}

.why-icon svg {
  width: 23px;
  height: 23px;
}

.why-card h3 {
  padding-right: 48px;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.why-card .num {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(11, 31, 42, 0.08);
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
}

/* ---------- Pathway cards ---------- */

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pathway-card {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 133, 85, 0.35);
  box-shadow: var(--shadow-sm);
}

.pathway-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.pathway-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--teal);
  color: var(--ivory);
}

.pathway-icon svg {
  width: 21px;
  height: 21px;
}

.pathway-num {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.pathway-card h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.pathway-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.pathway-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14, 59, 58, 0.06);
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.pathway-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
}

.pathway-card:hover .pathway-link {
  color: var(--copper);
}

.pathway-link svg {
  width: 14px;
  height: 14px;
}

.pathway-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pathway-foot p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  position: relative;
  padding: 28px 22px 0;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
}

.process-num {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.process-step h3 {
  margin: 14px 0 8px;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.process-step p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.process-time {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14, 59, 58, 0.06);
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Split & media ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split--wide {
  grid-template-columns: 1.05fr 0.95fr;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.media-frame--landscape {
  aspect-ratio: 4 / 3;
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.media-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 18px 16px;
  background: linear-gradient(180deg, rgba(5, 18, 26, 0) 0%, rgba(5, 18, 26, 0.78) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.media-collage {
  position: relative;
  min-height: 560px;
}

.media-collage-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  height: 78%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-collage-main img,
.media-collage-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-collage-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 18px;
}

/* ---------- Tier cards ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.tier-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.tier-label {
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-card h3 {
  margin: 10px 0;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.tier-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- Experience list ---------- */

.experience-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.experience-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.experience-item .icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(14, 59, 58, 0.07);
  color: var(--teal);
}

.experience-item .icon svg {
  width: 17px;
  height: 17px;
}

.experience-item h3 {
  margin-bottom: 4px;
  font-size: 0.94rem;
  font-weight: 700;
}

.experience-item p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- Stories ---------- */

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

.story-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
}

.story-metric {
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.story-card blockquote {
  margin: 24px 0;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.story-meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-note {
  margin-top: 24px;
  color: rgba(247, 243, 236, 0.45);
  font-size: 0.68rem;
  line-height: 1.6;
}

/* ---------- Global network ---------- */

.global-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

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

.global-item {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.global-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.global-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.global-item--hq {
  background: var(--teal);
  color: var(--ivory);
}

.global-item--hq span {
  color: rgba(247, 243, 236, 0.6);
}

.global-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  width: 10px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 10px;
}

.faq details[open] .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-width: 760px;
  padding: 0 48px 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--ivory);
}

.cta-media {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 25, 29, 0.96), rgba(7, 25, 29, 0.55));
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 920px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.cta p {
  max-width: 640px;
  margin: 24px 0 32px;
  color: rgba(247, 243, 236, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-note {
  margin-top: 22px;
  color: rgba(247, 243, 236, 0.5);
  font-size: 0.72rem;
}

/* ---------- Notice / callout ---------- */

.notice {
  padding: 20px 24px;
  border-left: 3px solid var(--copper);
  border-radius: 0 12px 12px 0;
  background: var(--white);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.notice strong {
  color: var(--ink);
}
