:root {
  --ink: #172023;
  --muted: #667074;
  --line: #d9dedb;
  --paper: #f6f4ef;
  --white: #ffffff;
  --teal: #0e6f71;
  --teal-dark: #063f43;
  --red: #a8332f;
  --gold: #b8965b;
  --shadow: 0 18px 50px rgba(18, 34, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 24, 26, 0.78), rgba(8, 24, 26, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 28px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 25, 28, 0.4);
}

.language-switch button {
  min-width: 36px;
  height: 30px;
  border: 0;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.language-switch button.active {
  color: var(--teal-dark);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 22, 0.94) 0%, rgba(6, 20, 22, 0.76) 38%, rgba(6, 20, 22, 0.18) 75%),
    linear-gradient(180deg, rgba(6, 20, 22, 0.2), rgba(6, 20, 22, 0.54));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 24vh 0 80px clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
}

.primary-action {
  background: var(--red);
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.intro-section,
.team-section,
.markets-section,
.cooperation-section,
.contact-section,
footer {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 7vw, 96px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 7vw, 90px);
  background: var(--white);
}

.intro-text p:last-child {
  max-width: 850px;
  color: var(--muted);
  font-size: 18px;
}

.credentials {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-aside {
  display: grid;
  gap: 18px;
}

.portrait-card {
  margin: 0;
  padding: 20px;
  background: #eef2f0;
  border-left: 4px solid var(--gold);
}

.portrait-card img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-card figcaption {
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 900;
}

.credentials div {
  padding: 24px;
  border-left: 4px solid var(--teal);
  background: #eef2f0;
}

.credentials dt {
  color: var(--teal-dark);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.credentials dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.band {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--teal-dark);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 280px;
  padding: 28px;
  background: #0a4d50;
}

.service-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-weight: 900;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.service-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 900;
}

.markets-section {
  background: var(--paper);
}

.team-section {
  color: var(--white);
  background: #10282b;
}

.team-section .section-heading {
  margin-bottom: 0;
}

.team-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.text-action {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 900;
}

.markets-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.markets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.markets div,
.article-list article,
.quote-box {
  background: var(--white);
  box-shadow: var(--shadow);
}

.markets div {
  padding: 28px;
  border-top: 4px solid var(--red);
}

.markets p {
  margin: 0;
  color: var(--muted);
}

.markets a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
}

.article-index-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 7vw, 96px);
  background: var(--paper);
}

.article-index {
  display: grid;
  gap: 18px;
}

.article-index article {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(220px, 0.9fr) minmax(220px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-index p {
  margin: 0;
  color: var(--red);
  font-weight: 950;
}

.article-index h2 {
  font-size: clamp(22px, 3vw, 34px);
}

.article-index span {
  color: var(--muted);
}

.article-index a {
  color: var(--teal);
  font-weight: 950;
  white-space: nowrap;
}

.articles-section {
  background: #1f2b2f;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-list article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--ink);
}

.article-list p {
  margin: 0;
  color: var(--red);
  font-weight: 900;
}

.article-list a {
  color: var(--teal);
  font-weight: 900;
}

.cooperation-section {
  background: var(--white);
}

.cooperation-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.cooperation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.cooperation-layout ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cooperation-layout li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
}

.quote-box {
  padding: 30px;
  border-left: 4px solid var(--gold);
}

.quote-box p {
  margin-top: 0;
  color: var(--muted);
  font-size: 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 34px;
  color: var(--white);
  background: var(--red);
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.contact-prompts {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-prompts li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 760;
}

address {
  display: grid;
  gap: 12px;
  align-content: start;
  font-style: normal;
  font-size: 20px;
}

address a {
  font-weight: 900;
}

address span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: rgba(255, 255, 255, 0.7);
  background: #121b1e;
}

footer p {
  margin: 0;
}

.article-page {
  background: var(--white);
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 7vw, 96px);
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.article-brand .brand-mark {
  color: var(--teal-dark);
  border-color: var(--line);
  background: #eef2f0;
}

.article-brand small {
  color: var(--muted);
}

.back-link {
  color: var(--teal);
  font-weight: 900;
}

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
}

.subpage-hero {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 20, 22, 0.94), rgba(6, 20, 22, 0.72)),
    url("assets/hero-global-ip.png") center / cover;
}

.subpage-hero h1 {
  max-width: 980px;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.china-hero {
  background:
    linear-gradient(90deg, rgba(16, 40, 43, 0.96), rgba(16, 40, 43, 0.76)),
    url("assets/hero-global-ip.png") center / cover;
}

.subpage-grid,
.timeline-section,
.process-section,
.deliverables-section,
.method-band {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 7vw, 96px);
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--paper);
}

.profile-panel {
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-panel.dark {
  color: var(--white);
  background: var(--teal-dark);
}

.profile-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.profile-panel.dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.portrait-panel img {
  width: min(300px, 70vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 24px;
  border: 4px solid rgba(255, 255, 255, 0.18);
}

.timeline-section,
.deliverables-section {
  background: var(--white);
}

.credentials-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 7vw, 96px);
  background: var(--paper);
}

.credentials-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.credential-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.credential-gallery figure {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.credential-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.credential-gallery figcaption {
  min-height: 82px;
  padding: 18px;
  color: var(--ink);
  font-weight: 850;
}

.timeline-section .section-heading p:not(.eyebrow),
.process-section .section-heading p:not(.eyebrow),
.deliverables-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.timeline-list,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.timeline-list article,
.process-grid article {
  min-height: 260px;
  padding: 26px;
  background: #f8f8f5;
}

.timeline-list span,
.process-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--red);
  font-weight: 950;
}

.timeline-list p,
.process-grid p {
  color: var(--muted);
}

.method-band,
.process-section {
  color: var(--white);
  background: #17272a;
}

.method-band h2 {
  max-width: 900px;
}

.method-band > p:not(.eyebrow) {
  max-width: 940px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.method-chain {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0;
  background: rgba(255, 255, 255, 0.2);
}

.method-chain span {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--white);
  background: #0a4d50;
  text-align: center;
  font-weight: 850;
}

.warning-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px clamp(18px, 7vw, 96px);
  color: var(--teal-dark);
  background: #efe7d8;
}

.deliverables-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.deliverables-list li {
  min-height: 110px;
  padding: 24px;
  background: #f8f8f5;
  font-size: 19px;
  font-weight: 850;
}

.article-shell {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) 0;
}

.article-shell h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 70px);
}

.article-deck {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 46px;
  color: var(--teal);
  font-weight: 800;
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 38px);
}

.article-section p,
.method-list {
  color: #3f494c;
  font-size: 18px;
}

.method-list {
  display: grid;
  gap: 18px;
  padding-left: 24px;
}

.method-list strong {
  color: var(--ink);
}

.original-text {
  background: #f7f7f4;
  margin: 18px -28px 0;
  padding: 34px 28px;
}

.original-text h3 {
  font-size: 25px;
}

.editor-note {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .language-switch {
    width: max-content;
  }

  .hero-content {
    padding-top: 260px;
  }

  .intro-section,
  .subpage-grid,
  .article-index article,
  .service-grid,
  .markets,
  .article-list,
  .timeline-list,
  .process-grid,
  .method-chain,
  .deliverables-list,
  .credential-gallery,
  .cooperation-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: 100%;
    padding-right: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy,
  .intro-text p:last-child {
    font-size: 16px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
