/* ==========================================================================
   Global IP Alliance — corporate site
   Static design system. No external fonts, frameworks, or runtime CSS.
   ========================================================================== */

:root {
  --paper: #f1efe8;
  --paper-deep: #e4e6df;
  --paper-cool: #d9dfda;
  --ink: #111411;
  --ink-soft: #333934;
  --muted: #6d726d;
  --line: rgba(17, 20, 17, 0.19);
  --line-inverse: rgba(241, 239, 232, 0.22);
  --accent: #bd3b2d;
  --accent-dark: #962a20;
  --white: #faf9f5;
  --font-sans: "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Iowan Old Style", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-gutter: 4rem;
  --header-height: 6rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
}

img,
svg,
canvas {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 9rem var(--page-gutter);
}

.section-index,
.eyebrow,
.section-heading__aside {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-index,
.eyebrow {
  color: var(--accent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
  margin-bottom: 5rem;
}

.section-heading h2 {
  max-width: 13ch;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 1.04;
}

.section-heading--light .section-index {
  color: #e15c4e;
}

.section-heading__aside {
  max-width: 22ch;
  color: var(--muted);
}

.statement {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 500;
  line-height: 1.35;
}

.body-copy {
  max-width: 35rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.95;
}

.text-link,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.text-link svg,
.cta-link svg {
  width: 1.01rem;
  height: 1.01rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.45s var(--ease-out);
}

.text-link:hover svg,
.cta-link:hover svg {
  transform: translate(0.2rem, -0.2rem);
}

/* Header and navigation */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition:
    height 0.45s var(--ease-out),
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 4.75rem;
  border-bottom-color: var(--line);
  background: rgba(241, 239, 232, 0.96);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  gap: 0.12rem;
}

.brand-mark__cn {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand-mark__en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.4;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.desktop-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  line-height: 1.2;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--accent);
  content: "";
  transition: transform 0.45s var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.desktop-nav a span {
  font-size: 0.78rem;
  font-weight: 600;
}

.desktop-nav a small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.header-ctmaa {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 1.1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
}

.header-ctmaa svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.35s var(--ease-out);
}

.header-ctmaa:hover svg {
  transform: translate(0.15rem, -0.15rem);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 1px;
  margin: 0.4rem auto;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.menu-toggle:hover span:first-child {
  transform: translateX(-0.2rem);
}

.menu-toggle:hover span:last-child {
  transform: translateX(0.2rem);
}

.mobile-nav {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: 1.4rem 1.4rem 2rem;
  transform: translateY(-100%);
  background: var(--ink);
  color: var(--paper);
  transition:
    transform 0.7s var(--ease-out),
    visibility 0.7s;
}

.mobile-nav.is-open {
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-inverse);
  color: rgba(241, 239, 232, 0.6);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.mobile-nav__top button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  place-items: center;
}

.mobile-nav__top svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.mobile-nav__links {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.mobile-nav__links a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-inverse);
}

.mobile-nav__links a span {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  line-height: 1.2;
}

.mobile-nav__links a small {
  color: rgba(241, 239, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.mobile-nav__ctmaa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e15c4e;
  color: #f07b6e;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.mobile-nav__ctmaa svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.mobile-nav__meta {
  padding-top: 1.5rem;
  color: rgba(241, 239, 232, 0.45);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.7;
}

/* Home hero */

.home-hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 1.75rem);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) var(--page-gutter) 3.5rem;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--page-gutter) - 1.5rem);
  width: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 62%;
  max-width: 67rem;
}

.hero-title {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 9.4rem;
  font-weight: 500;
  line-height: 0.9;
}

.hero-title__line {
  display: block;
  overflow: hidden;
}

.hero-title__line > span {
  display: block;
  animation: title-reveal 1.25s var(--ease-out) 0.05s both;
}

.hero-title__company {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(17rem, 1fr);
  gap: 4rem;
  align-items: start;
  width: min(100%, 58rem);
  margin-top: 3.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.hero-intro__cn {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.8;
}

.hero-intro__en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.85;
}

.hero-copy > .text-link {
  margin-top: 2.3rem;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 7.5rem;
  right: -4rem;
  width: min(49%, 48rem);
  aspect-ratio: 1;
}

.orbit-label {
  position: absolute;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.4;
}

.orbit-label--one {
  top: 12%;
  right: 20%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.orbit-label--one::before {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  animation: node-pulse 2.8s ease-in-out infinite;
}

.orbit-label--two {
  right: 7%;
  bottom: 14%;
  writing-mode: vertical-rl;
}

.orbit-cross {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.5;
}

.orbit-cross::before,
.orbit-cross::after {
  position: absolute;
  background: var(--muted);
  content: "";
}

.orbit-cross::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.orbit-cross::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.orbit-cross--one {
  top: 22%;
  left: 16%;
}

.orbit-cross--two {
  right: 21%;
  bottom: 28%;
}

.hero-rail {
  position: absolute;
  top: 10.5rem;
  bottom: 4rem;
  left: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  line-height: 1.4;
  writing-mode: vertical-rl;
}

.hero-signature {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

/* Company */

.company-section {
  background: var(--paper);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.72fr);
  gap: 8rem;
  align-items: start;
}

.company-copy {
  display: grid;
  gap: 2.4rem;
}

.company-copy .statement {
  max-width: 12ch;
}

.entity-card {
  position: relative;
  min-height: 35rem;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #e8e6de;
}

.entity-card__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.entity-card__identity {
  display: grid;
  gap: 1.35rem;
  padding: 6.5rem 0 4rem;
}

.entity-card__identity p:first-child {
  max-width: 8ch;
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.4;
}

.entity-card__identity p:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.65;
}

.entity-card__details {
  border-top: 1px solid var(--line);
}

.entity-card__details div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.entity-card__details dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.entity-card__details dd {
  font-size: 0.75rem;
}

.entity-card__seal {
  position: absolute;
  top: 4.5rem;
  right: 1.8rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  transform: rotate(7deg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  place-items: center;
}

/* CTMAA brand block */

.brand-section {
  padding: 8rem var(--page-gutter) 9rem;
  background: #111411;
  color: var(--paper);
}

.brand-section__inner {
  max-width: 92rem;
  margin: 0 auto;
}

.brand-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(25rem, 0.68fr);
  gap: 7rem;
  align-items: stretch;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-display {
  font-size: 9.3rem;
  font-weight: 500;
  line-height: 0.88;
}

.brand-expansion {
  margin-top: 1rem;
  color: rgba(241, 239, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.brand-statement {
  max-width: 19ch;
  margin-top: 4.75rem;
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.3;
}

.brand-translation {
  max-width: 32rem;
  margin-top: 1.6rem;
  color: rgba(241, 239, 232, 0.58);
  font-size: 0.86rem;
  line-height: 1.9;
}

.cta-link--light {
  margin-top: 3.5rem;
  border-color: #e15c4e;
  color: #f07b6e;
}

.brand-chain {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line-inverse);
}

.brand-chain__item {
  display: flex;
  min-height: 8.9rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
  border: 1px solid var(--line-inverse);
  background: #111411;
}

.brand-chain__item--brand {
  border-color: #e15c4e;
}

.brand-chain__label {
  margin-bottom: 0.6rem;
  color: rgba(241, 239, 232, 0.42);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.brand-chain__item strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
}

.brand-chain__item--brand strong {
  font-family: var(--font-sans);
  font-size: 2rem;
}

.brand-chain__item small {
  margin-top: 0.4rem;
  color: rgba(241, 239, 232, 0.48);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.5;
}

.brand-chain__line {
  position: relative;
  width: 1px;
  height: 2.8rem;
  margin-left: 1.7rem;
  transform: scaleY(0);
  transform-origin: top;
  background: #e15c4e;
  transition: transform 0.8s var(--ease-out) 0.25s;
}

.brand-chain__line:nth-of-type(4) {
  transition-delay: 0.45s;
}

.brand-chain.is-visible .brand-chain__line {
  transform: scaleY(1);
}

/* Services */

.services-section {
  background: var(--paper-deep);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: 5rem;
  align-items: end;
}

.services-heading .section-heading {
  margin-bottom: 0;
}

.services-intro {
  max-width: 26rem;
  justify-self: end;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
}

.service-list {
  margin-top: 5rem;
  border-bottom: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(18rem, 1fr) minmax(17rem, 0.8fr) 4.5rem;
  gap: 2rem;
  align-items: center;
  min-height: 7.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  transition: color 0.35s ease;
}

.service-row::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--ink);
  content: "";
  transition: transform 0.55s var(--ease-out);
}

.service-row:hover {
  color: var(--paper);
}

.service-row:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.service-row > span,
.service-row > svg {
  position: relative;
  z-index: 1;
}

.service-row__number {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  transition: color 0.35s ease;
}

.service-row:hover .service-row__number,
.service-row:hover .service-row__copy {
  color: rgba(241, 239, 232, 0.58);
}

.service-row__title {
  display: flex;
  flex-direction: column;
}

.service-row__title strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.service-row__title small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  transition: color 0.35s ease;
}

.service-row:hover .service-row__title small {
  color: rgba(241, 239, 232, 0.58);
}

.service-row__copy {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
  transition: color 0.35s ease;
}

.service-row__icon {
  width: 2rem;
  height: 2rem;
  justify-self: end;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  transition: transform 0.45s var(--ease-out);
}

.service-row:hover .service-row__icon {
  transform: rotate(45deg);
}

/* Qualification */

.qualification-section {
  padding: 9rem var(--page-gutter);
  background: var(--paper-cool);
}

.qualification-layout {
  display: grid;
  grid-template-columns: minmax(21rem, 0.72fr) minmax(30rem, 1fr);
  gap: 8rem;
  align-items: center;
}

.qualification-copy .section-heading {
  display: block;
  margin-bottom: 3.5rem;
}

.qualification-copy .section-heading h2 {
  margin-top: 0.8rem;
}

.qualification-copy .statement {
  max-width: 11ch;
}

.qualification-copy .body-copy {
  margin-top: 2rem;
}

.qualification-facts {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.qualification-facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.qualification-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.qualification-facts dd {
  font-size: 0.76rem;
  line-height: 1.6;
}

.qualification-copy .text-link {
  margin-top: 2.6rem;
}

.document-preview {
  padding: 1rem;
  border: 1px solid var(--ink);
  background: #f8f7f2;
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}

.document-preview:hover {
  transform: perspective(1100px) rotateY(0) rotateX(0);
}

.document-preview__top {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

.document-preview__image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.document-preview__image img {
  width: 100%;
  filter: saturate(0.45) contrast(1.02);
  transition: filter 0.6s ease;
}

.document-preview:hover .document-preview__image img {
  filter: saturate(1) contrast(1);
}

.document-preview figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

/* Contact */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 9rem var(--page-gutter) 0;
  background: var(--paper-cool);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(26rem, 0.7fr);
  gap: 7rem;
  max-width: 92rem;
  margin: 0 auto;
}

.contact-title {
  max-width: 7ch;
  margin-top: 0.7rem;
  font-family: var(--font-serif);
  font-size: 6.7rem;
  font-weight: 500;
  line-height: 0.98;
}

.contact-title span {
  display: block;
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
}

.contact-details {
  padding-top: 0.4rem;
}

.contact-block {
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-block__label {
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.contact-block__primary {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
}

.contact-block__secondary,
.contact-block address {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  line-height: 1.75;
}

.ctmaa-text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.contact-email {
  border-color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.copy-clauses .clause {
  display: inline-block;
}

.ctmaa-text-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.35s var(--ease-out);
}

.ctmaa-text-link:hover svg {
  transform: translate(0.15rem, -0.15rem);
}

.contact-map {
  position: relative;
  height: 16rem;
  margin-top: 7rem;
  border-top: 1px solid var(--line);
}

.contact-map svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--ink);
}

.map-line {
  fill: none;
  stroke: rgba(17, 20, 17, 0.27);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.map-line--accent {
  stroke: var(--accent);
}

.contact-map__coordinate,
.contact-map__city {
  position: absolute;
  z-index: 1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  line-height: 1.5;
}

.contact-map__coordinate {
  top: 1rem;
  left: 0;
}

.contact-map__city {
  top: 2.2rem;
  right: 23%;
  color: var(--accent);
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  padding: 4.5rem var(--page-gutter) 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__identity p:first-child {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.site-footer__identity p:last-child {
  margin-top: 0.7rem;
  color: rgba(241, 239, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.6;
}

.site-footer__brand p {
  font-size: 1.9rem;
  line-height: 1.2;
}

.site-footer__brand span {
  display: block;
  max-width: 15rem;
  margin-top: 0.4rem;
  color: rgba(241, 239, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.5;
}

.site-footer__email {
  display: inline-block;
  margin-top: 0.8rem;
  padding-bottom: 0.22rem;
  border-bottom: 1px solid rgba(156, 232, 255, 0.55);
  color: #9ce8ff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  white-space: nowrap;
}

.site-footer__email:hover {
  border-color: var(--cyan);
  color: var(--white);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
  align-content: start;
  justify-self: end;
  min-width: 16rem;
}

.site-footer__nav a {
  color: rgba(241, 239, 232, 0.62);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-footer__nav a:hover {
  color: var(--paper);
}

.site-footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-inverse);
  color: rgba(241, 239, 232, 0.4);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

/* Interior pages */

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 37rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 7rem var(--page-gutter) 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 14%;
  bottom: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.34fr);
  gap: 5rem;
  align-items: end;
}

.page-hero h1 {
  max-width: 10ch;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 6.8rem;
  font-weight: 500;
  line-height: 0.98;
}

.page-hero__en {
  max-width: 19ch;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.25;
}

.page-hero__number {
  position: absolute;
  z-index: 0;
  top: 1rem;
  right: 1rem;
  color: rgba(17, 20, 17, 0.045);
  font-family: var(--font-serif);
  font-size: 18rem;
  line-height: 0.8;
}

.page-hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.content-section {
  padding: 8rem var(--page-gutter);
}

.content-section--tint {
  background: var(--paper-deep);
}

.content-section--dark {
  background: var(--ink);
  color: var(--paper);
}

.content-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.content-heading h2 {
  max-width: 14ch;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1.08;
}

.content-heading--light .section-index {
  color: #e15c4e;
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.68fr);
  gap: 8rem;
  align-items: start;
}

.intro-split .statement {
  max-width: 13ch;
}

.intro-split .body-stack {
  display: grid;
  gap: 1.4rem;
}

.body-stack p {
  color: var(--ink-soft);
  line-height: 1.95;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-grid__item {
  min-height: 13rem;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.fact-grid__item:last-child {
  border-right: 0;
}

.fact-grid__item span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.fact-grid__item strong {
  display: block;
  margin-top: 3rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.45;
}

.fact-grid__item small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.5;
}

.entity-definition {
  display: grid;
  grid-template-columns: minmax(16rem, 0.48fr) minmax(0, 1fr);
  gap: 7rem;
  align-items: center;
}

.entity-definition__card {
  position: relative;
  min-height: 31rem;
  padding: 2rem;
  border: 1px solid var(--ink);
  background: #e8e6de;
}

.entity-definition__card::before {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--accent);
  content: "";
}

.entity-definition__card > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.entity-definition__card h3 {
  margin-top: 6rem;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.entity-definition__card p {
  margin-top: 1.2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.7;
}

.entity-definition__note {
  max-width: 35rem;
}

.entity-definition__note .statement {
  max-width: 11ch;
  margin-bottom: 2.5rem;
}

.brand-page .page-hero {
  background: var(--ink);
  color: var(--paper);
}

.brand-page .page-hero::after {
  background: var(--line-inverse);
}

.brand-page .page-hero__en,
.brand-page .page-hero__meta {
  color: rgba(241, 239, 232, 0.52);
}

.brand-page .page-hero__number {
  color: rgba(241, 239, 232, 0.04);
}

.brand-page .page-hero__meta {
  border-color: var(--line-inverse);
}

.brand-page__statement {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.65fr);
  gap: 7rem;
  align-items: end;
}

.brand-page__statement h2 {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.2;
}

.brand-page__statement p {
  color: var(--ink-soft);
  line-height: 1.95;
}

.brand-page__statement .cta-link {
  margin-top: 2.5rem;
}

.brand-chain--page {
  margin-top: 6rem;
  border-color: var(--line);
}

.brand-chain--page .brand-chain__item {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.brand-chain--page .brand-chain__item--brand {
  border-color: var(--accent);
}

.brand-chain--page .brand-chain__label {
  color: var(--muted);
}

.brand-chain--page .brand-chain__item small {
  color: var(--muted);
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: 5rem minmax(18rem, 0.55fr) minmax(20rem, 1fr);
  gap: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 7rem;
}

.service-detail__number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.service-detail h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1.3;
}

.service-detail h2 span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
}

.service-detail p {
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.record-status {
  display: grid;
  grid-template-columns: 1fr minmax(25rem, 0.65fr);
  gap: 7rem;
  align-items: end;
}

.record-status .statement {
  max-width: 13ch;
}

.record-status__badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.63rem;
}

.record-status__badge::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(21rem, 0.72fr);
  gap: 2rem;
  margin-top: 5rem;
}

.document-card {
  padding: 1rem;
  border: 1px solid var(--ink);
  background: var(--white);
}

.document-card__top {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

.document-card img {
  width: 100%;
  border: 1px solid var(--line);
}

.document-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

.record-note {
  padding: 2rem;
  border: 1px solid var(--line);
}

.record-note h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.record-note p {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.83rem;
  line-height: 1.9;
}

.record-facts {
  margin-top: 2rem;
}

.record-facts div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.record-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.record-facts dd {
  font-size: 0.73rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.55fr);
  gap: 8rem;
}

.contact-page-grid .statement {
  max-width: 11ch;
}

.contact-page-panel {
  border-top: 1px solid var(--line);
}

.contact-page-panel .contact-block {
  padding: 1.5rem 0 2rem;
}

.contact-page-map {
  position: relative;
  min-height: 23rem;
  margin-top: 6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.contact-page-map::before,
.contact-page-map::after {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  content: "";
}

.contact-page-map::before {
  top: 50%;
  left: 57%;
  width: 12rem;
  height: 12rem;
  transform: translate(-50%, -50%);
}

.contact-page-map::after {
  top: 50%;
  left: 57%;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border-color: var(--accent);
}

.contact-page-map__dot {
  position: absolute;
  top: 50%;
  left: 57%;
  width: 0.55rem;
  height: 0.55rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
}

.contact-page-map__label {
  position: absolute;
  top: calc(50% + 2.2rem);
  left: 57%;
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.contact-page-map__coord {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  line-height: 1.5;
}

/* Legal pages */

.legal-hero {
  padding: 9rem var(--page-gutter) 4rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 14ch;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.05;
}

.legal-hero p:last-child {
  margin-top: 2rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.legal-content {
  max-width: 52rem;
  padding: 6rem var(--page-gutter) 9rem;
}

.legal-content section + section {
  margin-top: 3.5rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.legal-content p,
.legal-content li {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.95;
}

.legal-content ul {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}

/* 404 */

.not-found {
  display: grid;
  min-height: 100svh;
  padding: var(--header-height) var(--page-gutter) 4rem;
  place-items: center;
}

.not-found__inner {
  display: grid;
  max-width: 54rem;
  gap: 1.5rem;
  text-align: center;
  justify-items: center;
}

.not-found__code {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.not-found h1 {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.1;
}

.not-found p {
  max-width: 30rem;
  color: var(--muted);
}

.scroll-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent);
  pointer-events: none;
  will-change: transform;
}

/* Motion */

@keyframes title-reveal {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-enter {
  opacity: 0;
  animation: enter-up 0.9s var(--ease-out) var(--delay, 0.2s) forwards;
}

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */

@media (max-width: 1280px) {
  :root {
    --page-gutter: 3rem;
  }

  .hero-title {
    font-size: 8rem;
  }

  .hero-visual {
    right: -6rem;
    width: 51%;
  }

  .brand-display {
    font-size: 8rem;
  }

  .brand-stage {
    gap: 5rem;
  }

  .company-layout,
  .qualification-layout {
    gap: 5rem;
  }

  .contact-title {
    font-size: 5.9rem;
  }

  .service-row {
    grid-template-columns: 3.5rem minmax(17rem, 1fr) minmax(14rem, 0.7fr) 3rem;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-ctmaa {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-copy {
    width: 66%;
  }

  .hero-visual {
    top: 9rem;
    right: -9rem;
    width: 57%;
  }

  .company-layout {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
    gap: 3rem;
  }

  .brand-stage {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.72fr);
    gap: 3rem;
  }

  .brand-display {
    font-size: 7rem;
  }

  .brand-statement {
    font-size: 2rem;
  }

  .qualification-layout {
    grid-template-columns: minmax(19rem, 0.7fr) minmax(28rem, 1fr);
    gap: 3rem;
  }

  .contact-grid {
    gap: 4rem;
  }

  .page-hero h1 {
    font-size: 5.7rem;
  }

  .page-hero__number {
    font-size: 14rem;
  }

  .intro-split,
  .entity-definition,
  .brand-page__statement,
  .record-status,
  .contact-page-grid {
    gap: 4rem;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid__item:nth-child(2) {
    border-right: 0;
  }

  .fact-grid__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-detail {
    grid-template-columns: 4rem minmax(15rem, 0.7fr) minmax(18rem, 1fr);
    gap: 2.5rem;
  }
}

/* Small tablet */

@media (max-width: 860px) {
  :root {
    --page-gutter: 2rem;
  }

  .section,
  .qualification-section,
  .brand-section,
  .contact-section,
  .content-section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .section-heading {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }

  .section-heading h2 {
    font-size: 3.5rem;
  }

  .home-hero {
    min-height: calc(100svh - 1rem);
    justify-content: flex-start;
    padding-top: 8.5rem;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title {
    font-size: 6.4rem;
  }

  .hero-intro {
    width: min(100%, 34rem);
    gap: 2rem;
  }

  .hero-visual {
    top: auto;
    right: -6rem;
    bottom: -4rem;
    width: 65%;
    opacity: 0.78;
  }

  .hero-copy > .text-link {
    margin-top: 1.8rem;
  }

  .hero-signature {
    width: 60%;
  }

  .company-layout,
  .qualification-layout,
  .brand-stage,
  .services-heading,
  .contact-grid,
  .intro-split,
  .entity-definition,
  .brand-page__statement,
  .record-status,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .company-copy .statement {
    max-width: 15ch;
  }

  .entity-card {
    min-height: 31rem;
  }

  .entity-card__identity {
    padding-top: 4.5rem;
  }

  .brand-display {
    font-size: 6.2rem;
  }

  .brand-statement {
    margin-top: 3.5rem;
  }

  .brand-chain {
    max-width: 34rem;
  }

  .services-intro {
    justify-self: start;
  }

  .service-list {
    margin-top: 3.5rem;
  }

  .service-row {
    grid-template-columns: 3rem minmax(0, 1fr) 2.5rem;
    gap: 1rem;
    min-height: 7rem;
  }

  .service-row__copy {
    display: none;
  }

  .service-row__title strong {
    font-size: 1.5rem;
  }

  .qualification-layout {
    align-items: start;
  }

  .qualification-copy .statement {
    max-width: 14ch;
  }

  .document-preview {
    transform: none;
  }

  .contact-title {
    font-size: 5rem;
  }

  .contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }

  .contact-block:last-child {
    grid-column: 1 / -1;
  }

  .contact-map {
    margin-top: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .site-footer__nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
  }

  .page-main {
    padding-top: 4.75rem;
  }

  .page-hero {
    min-height: 32rem;
    padding-top: 5rem;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-hero h1 {
    font-size: 5rem;
  }

  .page-hero__en {
    font-size: 1.35rem;
  }

  .page-hero__meta {
    margin-top: 3rem;
  }

  .content-heading {
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  .content-heading h2 {
    font-size: 3rem;
  }

  .fact-grid {
    margin-top: 4rem;
  }

  .entity-definition__card {
    min-height: 27rem;
  }

  .service-detail {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem 1.5rem;
  }

  .service-detail p {
    grid-column: 2;
  }

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

  .contact-page-map {
    min-height: 19rem;
  }
}

/* Mobile */

@media (max-width: 620px) {
  :root {
    --page-gutter: 1.25rem;
    --header-height: 4.25rem;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-header.is-scrolled {
    height: 4.25rem;
  }

  .brand-mark__cn {
    font-size: 1.15rem;
  }

  .brand-mark__en {
    font-size: 0.48rem;
  }

  .section,
  .qualification-section,
  .brand-section,
  .contact-section,
  .content-section {
    padding: 5.25rem 1.25rem;
  }

  .section-heading,
  .content-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.7rem;
  }

  .section-heading h2,
  .content-heading h2 {
    max-width: none;
    font-size: 2.6rem;
  }

  .statement {
    font-size: 1.95rem;
  }

  .home-hero {
    min-height: max(41rem, calc(100svh - 5rem));
    padding: calc(var(--header-height) + 2.2rem) 1.25rem 1.5rem;
  }

  .home-hero::before {
    display: none;
  }

  .hero-rail {
    display: none;
  }

  .hero-title {
    margin-top: 0.75rem;
    font-size: 4.4rem;
    line-height: 0.95;
  }

  .hero-title__company {
    margin-top: 0.65rem;
    font-size: 0.82rem;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.2rem;
    padding-top: 1rem;
  }

  .hero-intro__cn {
    font-size: 0.97rem;
  }

  .hero-intro__en {
    font-size: 0.6rem;
  }

  .hero-copy > .text-link {
    margin-top: 1.4rem;
  }

  .hero-visual {
    right: -5.2rem;
    bottom: -3rem;
    width: 88%;
    opacity: 0.64;
  }

  .orbit-label--one {
    right: 22%;
  }

  .hero-signature {
    display: flex;
    width: 100%;
    margin-top: auto;
    padding-top: 0.8rem;
    font-size: 0.46rem;
  }

  .hero-enter {
    animation-delay: var(--delay, 0.1s);
  }

  .company-copy {
    gap: 1.5rem;
  }

  .company-section {
    padding-top: 3.5rem;
  }

  .entity-card {
    min-height: 29rem;
    padding: 1.25rem;
  }

  .entity-card__identity {
    padding: 4rem 0 3rem;
  }

  .entity-card__identity p:first-child {
    font-size: 1.9rem;
  }

  .entity-card__details div {
    grid-template-columns: 5.5rem 1fr;
  }

  .brand-section {
    padding-bottom: 5.5rem;
  }

  .brand-stage {
    gap: 3rem;
  }

  .brand-display {
    font-size: 4.8rem;
  }

  .brand-statement {
    margin-top: 2.7rem;
    font-size: 1.7rem;
  }

  .brand-copy .cta-link {
    margin-top: 2.4rem;
  }

  .brand-chain {
    padding: 0.8rem;
  }

  .brand-chain__item {
    min-height: 7.8rem;
    padding: 1rem;
  }

  .brand-chain__item strong {
    font-size: 1.05rem;
  }

  .brand-chain__item--brand strong {
    font-size: 1.6rem;
  }

  .service-row {
    min-height: 6.5rem;
  }

  .service-row__title strong {
    font-size: 1.35rem;
  }

  .service-row__title small {
    font-size: 0.65rem;
  }

  .qualification-facts div {
    grid-template-columns: 5rem 1fr;
  }

  .document-preview {
    padding: 0.75rem;
  }

  .document-preview figcaption {
    gap: 1rem;
    font-size: 0.46rem;
  }

  .contact-section {
    padding-bottom: 0;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .contact-title {
    max-width: none;
    font-size: 4.1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-block:last-child {
    grid-column: auto;
  }

  .contact-map {
    height: 12rem;
    margin-top: 3.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.25rem 1.25rem;
  }

  .site-footer__nav {
    grid-column: auto;
    gap: 0.65rem 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-hero {
    min-height: 28rem;
    padding: 4rem 1.25rem 2rem;
  }

  .page-hero::after {
    right: 1.25rem;
  }

  .page-hero h1 {
    max-width: none;
    font-size: 3.7rem;
  }

  .page-hero__en {
    font-size: 1.15rem;
  }

  .page-hero__number {
    top: 1.5rem;
    font-size: 10rem;
  }

  .page-hero__meta {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
  }

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

  .fact-grid__item,
  .fact-grid__item:nth-child(2) {
    min-height: 10rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-grid__item:last-child {
    border-bottom: 0;
  }

  .fact-grid__item strong {
    margin-top: 2rem;
  }

  .entity-definition__card {
    min-height: 24rem;
    padding: 1.4rem;
  }

  .entity-definition__card h3 {
    margin-top: 4.5rem;
    font-size: 1.8rem;
  }

  .brand-page__statement h2 {
    font-size: 2.5rem;
  }

  .brand-chain--page {
    margin-top: 4rem;
  }

  .service-detail {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    padding: 2.2rem 0;
  }

  .service-detail h2 {
    font-size: 1.8rem;
  }

  .record-status__badge {
    width: 100%;
  }

  .document-grid {
    margin-top: 3rem;
  }

  .record-note {
    padding: 1.3rem;
  }

  .contact-page-grid {
    gap: 2.5rem;
  }

  .contact-page-map {
    min-height: 15rem;
    margin-top: 3.5rem;
  }

  .legal-hero {
    padding: 6rem 1.25rem 2.5rem;
  }

  .legal-hero h1 {
    font-size: 3.4rem;
  }

  .legal-content {
    padding: 4rem 1.25rem 6rem;
  }

  .not-found {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .not-found h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 3.8rem;
  }

  .hero-intro__en {
    display: none;
  }

  .brand-display {
    font-size: 4.2rem;
  }

  .contact-title {
    font-size: 3.6rem;
  }

  .page-hero h1 {
    font-size: 3.25rem;
  }
}

/* ==========================================================================
   Cobalt corporate redesign
   Deep navy, electric blue, ice white, and technical concept imagery.
   ========================================================================== */

:root {
  --paper: #f3f7fc;
  --paper-deep: #e6eef8;
  --paper-cool: #d6e5f4;
  --ink: #071a33;
  --ink-soft: #203b5d;
  --muted: #617792;
  --line: rgba(7, 26, 51, 0.17);
  --line-inverse: rgba(231, 246, 255, 0.2);
  --accent: #2f6bff;
  --accent-dark: #1646ba;
  --white: #f8fcff;
  --navy: #06162e;
  --cobalt: #0a3d8b;
  --cyan: #67e1ff;
  --font-display: "Helvetica Neue", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-height: 5.5rem;
}

html,
body {
  background: var(--paper);
}

body {
  color: var(--ink);
}

::selection {
  background: var(--cyan);
  color: var(--navy);
}

.site-header {
  padding-right: 3.25rem;
  padding-left: 3.25rem;
}

body:not([data-page="404"]) .site-header:not(.is-scrolled) {
  color: var(--white);
}

body:not([data-page="404"]) .site-header:not(.is-scrolled) .brand-mark__en,
body:not([data-page="404"]) .site-header:not(.is-scrolled) .desktop-nav a small {
  color: rgba(226, 241, 255, 0.58);
}

body:not([data-page="404"]) .site-header:not(.is-scrolled) .desktop-nav a::after {
  background: var(--cyan);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(7, 26, 51, 0.12);
  background: rgba(245, 249, 254, 0.97);
  color: var(--ink);
}

.brand-mark__cn {
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-mark__en,
.desktop-nav a small,
.section-index,
.eyebrow,
.section-heading__aside,
.page-hero__meta,
.hero-rail,
.hero-signature,
.orbit-label,
.document-preview__top,
.document-preview figcaption,
.document-card__top,
.document-card figcaption,
.contact-block__label,
.site-footer__bottom,
.service-row__number {
  font-family: var(--font-mono);
}

.header-ctmaa {
  border-color: currentColor;
}

.mobile-nav {
  background: var(--navy);
}

.mobile-nav__ctmaa {
  border-color: var(--cyan);
  color: var(--cyan);
}

.section,
.qualification-section,
.brand-section,
.contact-section,
.content-section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.section-heading {
  margin-bottom: 4rem;
}

.section-heading h2,
.content-heading h2,
.page-hero h1,
.hero-title,
.brand-display,
.brand-statement,
.contact-title,
.service-row__title strong,
.service-detail h2,
.fact-grid__item strong,
.entity-card__identity p:first-child,
.entity-definition__card h3,
.legal-hero h1,
.not-found h1 {
  font-family: var(--font-display);
  font-weight: 650;
}

.section-heading h2,
.content-heading h2 {
  font-size: 3.6rem;
  line-height: 1.08;
}

.statement {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.45;
}

.body-copy {
  color: var(--ink-soft);
}

.page-main {
  background: var(--navy);
}

.content-section {
  background: var(--paper);
  color: var(--ink);
}

.content-section--tint {
  background: var(--paper-deep);
}

.content-section--dark {
  background: var(--navy);
  color: var(--white);
}

/* Home hero */

.home-hero {
  background:
    url("../images/hero-cobalt.webp") center right / cover no-repeat,
    var(--navy);
  color: var(--white);
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-city {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 42%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.34;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 54%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 54%, #000 100%);
}

.home-hero::before {
  z-index: 1;
  background: var(--line-inverse);
}

.home-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 42, 0.76) 0%, rgba(5, 20, 42, 0.26) 48%, transparent 72%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 64%;
}

.hero-title {
  margin-top: 0.8rem;
  font-size: 8.7rem;
  font-weight: 650;
  line-height: 1;
}

.hero-title__line {
  padding-bottom: 0.1em;
  margin-bottom: -0.035em;
}

.hero-title__company {
  color: #b8cee5;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
}

.home-hero .eyebrow {
  color: #d9f8ff;
}

.hero-intro {
  width: min(100%, 55rem);
  border-top-color: var(--line-inverse);
}

.hero-intro__cn {
  color: var(--white);
}

.hero-intro__en {
  color: #a8d9f3;
}

.hero-copy > .text-link,
.hero-rail,
.hero-signature {
  color: rgba(235, 247, 255, 0.76);
}

.hero-signature {
  position: relative;
  z-index: 2;
  border-top-color: var(--line-inverse);
}

.hero-visual {
  top: 4.5rem;
  right: -3rem;
  z-index: 2;
  width: 58%;
  aspect-ratio: 1.6;
}

.hero-rail {
  z-index: 2;
}

.orbit-label {
  color: #b9e8fb;
}

.orbit-label--one::before {
  background: var(--cyan);
}

.orbit-cross::before,
.orbit-cross::after {
  background: #78b2d9;
}

/* Company */

.company-section {
  background:
    linear-gradient(90deg, rgba(47, 107, 255, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 12.5% 100%;
}

.company-copy .statement {
  max-width: 11ch;
}

.entity-card {
  min-height: 33rem;
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(4, 20, 42, 0.92) 0%, rgba(4, 20, 42, 0.62) 52%, rgba(4, 20, 42, 0.94) 100%),
    url("../images/business-meeting.webp") center / cover no-repeat;
  color: var(--white);
}

.entity-card::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(103, 225, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.entity-card__top,
.entity-card__details,
.entity-card__details div {
  border-color: var(--line-inverse);
}

.entity-card__top,
.entity-card__identity p:last-child,
.entity-card__details dt {
  color: rgba(226, 242, 255, 0.52);
}

.entity-card__identity {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
}

.entity-card__details {
  position: relative;
  z-index: 1;
}

.entity-card__seal {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* CTMAA */

.brand-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.brand-section::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 17, 37, 0.98) 0%, rgba(4, 20, 43, 0.82) 48%, rgba(4, 20, 43, 0.35) 100%);
  content: "";
}

.brand-section__inner {
  position: relative;
  z-index: 1;
}

.brand-concept {
  position: absolute;
  inset: 0 0 auto auto;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.58;
  pointer-events: none;
}

.section-heading--light .section-index {
  color: var(--cyan);
}

.brand-display {
  font-size: 8.5rem;
  font-weight: 680;
  line-height: 0.92;
}

.brand-expansion {
  color: #8fbada;
}

.brand-statement {
  max-width: 16ch;
  font-size: 2.35rem;
  font-weight: 580;
  line-height: 1.28;
}

.brand-translation {
  color: rgba(232, 246, 255, 0.68);
}

.brand-chain {
  border-color: rgba(123, 215, 255, 0.24);
  background: rgba(4, 20, 42, 0.76);
}

.brand-chain__item {
  border-color: var(--line-inverse);
  background: rgba(9, 37, 74, 0.7);
}

.brand-chain__item--brand {
  border-color: var(--cyan);
  background: rgba(47, 107, 255, 0.14);
}

.brand-chain__label,
.brand-chain__item small {
  color: rgba(222, 241, 255, 0.52);
}

.brand-chain__line {
  background: var(--cyan);
}

.cta-link--light {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Services */

.services-section {
  background: var(--paper-deep);
}

.services-intro {
  color: var(--ink-soft);
}

.service-list {
  padding: 0 2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2rem 5rem rgba(25, 67, 115, 0.08);
}

.service-row {
  min-height: 6.8rem;
}

.service-row::before {
  background: var(--accent);
}

.service-row__number {
  color: var(--accent);
}

.service-row__title strong {
  font-size: 1.55rem;
  font-weight: 620;
}

.service-row__icon {
  color: var(--accent);
}

.service-row:hover .service-row__number,
.service-row:hover .service-row__title small,
.service-row:hover .service-row__copy {
  color: rgba(249, 253, 255, 0.72);
}

/* Qualification */

.qualification-section {
  background: var(--navy);
  color: var(--white);
}

.qualification-section .section-index {
  color: var(--cyan);
}

.qualification-copy .section-heading h2,
.qualification-copy .statement {
  color: var(--white);
}

.qualification-copy .body-copy {
  color: rgba(227, 242, 255, 0.7);
}

.qualification-facts {
  border-color: var(--line-inverse);
}

.qualification-facts div {
  border-color: var(--line-inverse);
}

.qualification-facts dt {
  color: #7fb4d6;
}

.qualification-facts dd {
  color: #e5f4ff;
}

.qualification-copy .text-link {
  color: var(--cyan);
}

.document-preview {
  border: 1px solid rgba(149, 218, 255, 0.36);
  background: var(--white);
  box-shadow: 0 2.5rem 7rem rgba(1, 9, 23, 0.36);
}

.document-preview__top,
.document-preview figcaption {
  color: var(--muted);
}

.document-preview__image img {
  filter: none;
}

.document-preview:hover .document-preview__image img {
  filter: none;
}

/* Contact and footer */

.contact-section {
  background:
    linear-gradient(180deg, rgba(4, 17, 37, 0.72), rgba(4, 17, 37, 0.97)),
    url("../images/contact-horizon.webp") center bottom / cover no-repeat,
    var(--navy);
  color: var(--white);
}

.contact-section .section-index {
  color: var(--cyan);
}

.contact-title {
  max-width: none;
  font-size: 5.8rem;
  font-weight: 640;
}

.contact-title span {
  color: #9ec7df;
}

.contact-section .contact-block {
  border-color: var(--line-inverse);
}

.contact-section .contact-block__label {
  color: #a5dcf5;
}

.contact-section .contact-block__primary {
  font-family: var(--font-display);
  font-weight: 620;
}

.contact-section .contact-block__secondary,
.contact-section .contact-block address {
  color: rgba(228, 243, 255, 0.7);
}

.ctmaa-text-link {
  border-color: var(--cyan);
}

.contact-map {
  background:
    linear-gradient(180deg, rgba(6, 22, 46, 0.08), rgba(6, 22, 46, 0.46)),
    url("../images/shanghai-global.webp") center bottom / 100% auto no-repeat,
    var(--navy);
  border-color: var(--line-inverse);
}

.contact-map .map-line {
  stroke: rgba(219, 243, 255, 0.28);
}

.contact-map .map-line--accent {
  stroke: var(--cyan);
}

.contact-map__coordinate,
.contact-map__city {
  color: #82b9d8;
}

.site-footer {
  background: #030d1d;
}

.site-footer__nav a {
  color: rgba(219, 239, 255, 0.62);
}

/* Interior page heroes */

.page-hero {
  background-color: var(--navy);
  background-position: center right;
  background-size: cover;
  color: var(--white);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 34, 0.98) 0%, rgba(4, 18, 39, 0.9) 43%, rgba(4, 18, 39, 0.24) 100%);
  content: "";
}

.page-hero::after {
  background: rgba(220, 243, 255, 0.16);
}

.page-hero__inner,
.page-hero__meta {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 6.1rem;
  font-weight: 650;
  line-height: 1;
}

.page-hero__en {
  color: #d2e9fa;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
}

.page-hero__number {
  color: rgba(218, 243, 255, 0.045);
  font-family: var(--font-sans);
  font-weight: 700;
}

.page-hero__meta {
  border-color: var(--line-inverse);
  color: rgba(218, 242, 255, 0.74);
}

body[data-page="about"] .page-hero {
  background-image: url("../images/china-global.webp");
}

body[data-page="ctmaa"] .page-hero {
  background-image: url("../images/ctmaa-legal.webp");
  background-position: 64% 38%;
}

body[data-page="services"] .page-hero {
  background-image: url("../images/services-signal.webp");
}

body[data-page="qualification"] .page-hero {
  background-image: url("../images/hero-cobalt.webp");
}

body[data-page="contact"] .page-hero {
  background-image: url("../images/contact-horizon.webp");
}

.page-hero .section-index {
  color: var(--cyan);
}

.content-heading .verification-title {
  max-width: none;
  font-size: 3.2rem;
  white-space: nowrap;
}

.brand-page .page-hero {
  background-color: var(--navy);
  color: var(--white);
}

.brand-page .page-hero__en,
.brand-page .page-hero__meta {
  color: rgba(214, 238, 255, 0.62);
}

.brand-page .page-hero__number {
  color: rgba(218, 243, 255, 0.045);
}

.brand-page__statement h2 {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 620;
  line-height: 1.18;
}

.brand-page__statement p {
  color: var(--ink-soft);
}

.brand-chain--page {
  border-color: var(--line);
}

.brand-chain--page .brand-chain__item {
  border-color: var(--line);
  background: #edf4fb;
  color: var(--ink);
}

.brand-chain--page .brand-chain__item--brand {
  border-color: var(--accent);
  background: #e1ebfa;
}

.brand-chain--page .brand-chain__label,
.brand-chain--page .brand-chain__item small {
  color: var(--muted);
}

.brand-page .site-header:not(.is-scrolled) {
  color: var(--white);
}

.brand-page .site-header:not(.is-scrolled) .brand-mark__en,
.brand-page .site-header:not(.is-scrolled) .desktop-nav a small {
  color: rgba(226, 241, 255, 0.58);
}

/* Concept image bands */

.concept-figure {
  margin-top: 5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
}

.concept-figure img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1.2s var(--ease-out);
}

.concept-figure:hover img {
  transform: scale(1.025);
}

.concept-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.concept-figure--dark {
  border-color: var(--line-inverse);
  background: var(--navy);
}

.concept-figure--dark figcaption {
  border-color: var(--line-inverse);
  color: rgba(219, 240, 255, 0.58);
}

.entity-definition__card {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(4, 18, 39, 0.42), rgba(4, 18, 39, 0.94)),
    url("../images/business-workspace.webp") center / cover no-repeat;
  color: var(--white);
}

.entity-definition__card::before {
  border-color: var(--cyan);
}

.entity-definition__card > span,
.entity-definition__card p {
  color: rgba(223, 241, 255, 0.62);
}

.entity-definition__card h3 {
  color: var(--white);
}

.fact-grid {
  border-color: var(--line);
}

.fact-grid__item {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--line);
}

.fact-grid__item span,
.fact-grid__item small {
  color: var(--muted);
}

.fact-grid__item strong {
  font-size: 1.25rem;
  font-weight: 620;
}

/* Content-page document cards */

.document-card {
  border-color: transparent;
  background: var(--white);
  box-shadow: 0 1.5rem 4rem rgba(2, 14, 32, 0.14);
}

.document-card__top,
.document-card figcaption {
  color: var(--muted);
}

.document-card img {
  border-color: var(--line);
}

.record-note {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.record-note h3 {
  font-family: var(--font-display);
  font-weight: 620;
}

.contact-page-map {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(5, 20, 41, 0.08), rgba(5, 20, 41, 0.48)),
    url("../images/shanghai-global.webp") center bottom / 100% auto no-repeat,
    var(--navy);
}

.contact-page-map::before,
.contact-page-map::after {
  border-color: rgba(219, 244, 255, 0.28);
}

.contact-page-map::after {
  border-color: var(--cyan);
}

.contact-page-map__dot {
  background: var(--cyan);
}

.contact-page-map__label,
.contact-page-map__coord {
  color: rgba(234, 248, 255, 0.76);
}

.contact-page-panel .contact-block__label {
  color: var(--muted);
}

.contact-page-panel .contact-block__secondary,
.contact-page-panel .contact-block address {
  color: var(--ink-soft);
}

.contact-page-panel .ctmaa-text-link {
  border-color: var(--ink);
}

.legal-hero,
.legal-content {
  background: var(--paper);
}

.not-found {
  background:
    linear-gradient(180deg, rgba(6, 22, 46, 0.92), rgba(6, 22, 46, 0.98)),
    url("../images/contact-horizon.webp") center / cover no-repeat;
  color: var(--white);
}

.not-found p {
  color: rgba(219, 240, 255, 0.7);
}

.not-found .cta-link {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (max-width: 1280px) {
  .hero-title {
    font-size: 7.4rem;
  }

  .hero-visual {
    right: -5rem;
    width: 59%;
  }

  .brand-display {
    font-size: 7.2rem;
  }

  .page-hero h1 {
    font-size: 5.4rem;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }

  .hero-copy {
    width: 68%;
  }

  .hero-visual {
    top: 7rem;
    right: -8rem;
    width: 61%;
  }
}

@media (max-width: 860px) {
  .section,
  .qualification-section,
  .brand-section,
  .contact-section,
  .content-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-title {
    font-size: 5.8rem;
  }

  .hero-visual {
    top: auto;
    right: -4rem;
    bottom: -1rem;
    width: 72%;
  }

  .hero-copy {
    width: 100%;
  }

  .brand-display {
    font-size: 5.8rem;
  }

  .service-list {
    padding: 0 1.5rem;
  }

  .page-hero {
    background-position: 68% center;
  }

  .page-hero h1 {
    font-size: 4.8rem;
  }

  .concept-figure {
    margin-top: 3.5rem;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 1.25rem;
    --header-height: 4.25rem;
  }

  .section,
  .qualification-section,
  .brand-section,
  .contact-section,
  .content-section {
    padding: 5rem 1.25rem;
  }

  .section-heading h2,
  .content-heading h2 {
    font-size: 2.55rem;
  }

  .content-heading .verification-title {
    font-size: 1.65rem;
  }

  .statement {
    font-size: 1.72rem;
  }

  .home-hero {
    min-height: max(43rem, calc(100svh - 3rem));
    padding: calc(var(--header-height) + 2rem) 1.25rem 1.25rem;
  }

  .hero-title {
    font-size: 4.3rem;
    line-height: 0.96;
  }

  .hero-title__company {
    font-size: 0.82rem;
  }

  .hero-intro {
    margin-top: 2rem;
  }

  .hero-visual {
    right: -24%;
    bottom: -1rem;
    width: 108%;
    opacity: 0.74;
  }

  .hero-signature {
    color: rgba(232, 247, 255, 0.58);
  }

  .home-hero {
    background-position: 68% center;
  }

  .hero-video {
    object-position: 68% center;
  }

  .hero-city {
    right: -22%;
    width: 112%;
    height: 38%;
    opacity: 0.24;
  }

  .home-hero::after {
    background: linear-gradient(180deg, rgba(5, 20, 42, 0.7) 0%, rgba(5, 20, 42, 0.46) 62%, rgba(5, 20, 42, 0.32) 100%);
  }

  .brand-display {
    font-size: 4.5rem;
  }

  .brand-statement {
    font-size: 1.65rem;
  }

  .brand-concept {
    width: 100%;
    opacity: 0.34;
  }

  .service-list {
    padding: 0 1rem;
  }

  .service-row {
    min-height: 6.2rem;
  }

  .service-row__title strong {
    font-size: 1.3rem;
  }

  .contact-title {
    font-size: 3.7rem;
  }

  .page-hero {
    min-height: 30rem;
    padding: 4rem 1.25rem 2rem;
  }

  .page-hero h1 {
    font-size: 3.55rem;
  }

  .page-hero__en {
    font-size: 1.05rem;
  }

  .brand-page__statement h2 {
    font-size: 2.35rem;
  }

  .concept-figure img {
    aspect-ratio: 1.55 / 1;
  }

  .concept-figure figcaption {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.46rem;
  }

  .fact-grid__item strong {
    margin-top: 2rem;
  }

  .contact-section {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .page-hero h1 {
    font-size: 3.18rem;
  }

  .brand-display {
    font-size: 4rem;
  }

  .content-heading .verification-title {
    font-size: 1.35rem;
  }
}

/* Shared content measure and typographic wrapping */

:root {
  --content-max: 1360px;
  --content-pad: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
}

.site-header,
.home-hero,
.section,
.brand-section,
.qualification-section,
.contact-section,
.page-hero,
.content-section,
.legal-hero,
.site-footer {
  padding-right: var(--content-pad);
  padding-left: var(--content-pad);
}

.legal-content {
  max-width: 52rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.hero-title,
.section-heading h2,
.content-heading h2,
.page-hero h1,
.brand-display,
.brand-statement,
.brand-page__statement h2,
.contact-title,
.service-row__title,
.service-detail h2,
.entity-card__identity p:first-child,
.entity-definition__card h3,
.record-note h3,
.legal-hero h1 {
  text-wrap: balance;
}

.body-copy,
.body-stack p:not(.body-copy--en),
.legal-content p:not(.legal-summary) {
  text-wrap: pretty;
}

.entity-card__identity p:first-child,
.entity-definition__card h3,
.brand-chain__item strong,
.contact-block__primary,
.contact-company {
  word-break: keep-all;
  overflow-wrap: normal;
}

.contact-page-grid .statement {
  max-width: none;
}

.body-copy--en,
.record-note__en {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.8;
}

.body-copy--en {
  margin-top: 0.35rem;
}

.record-note__en {
  margin-top: 1rem;
}

.legal-summary {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--accent);
  background: rgba(47, 107, 255, 0.06);
  color: var(--ink-soft) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
}

/* Language switcher */

.site-header {
  grid-template-columns: minmax(12rem, 1fr) auto auto auto;
  column-gap: 1.75rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
  padding: 0.65rem 0;
  color: rgba(230, 244, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.site-header.is-scrolled .language-switch {
  color: var(--muted);
}

.language-switch .is-current {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.mobile-nav__language {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-inverse);
  color: rgba(230, 246, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.mobile-nav__language .is-current {
  color: var(--cyan);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .language-switch {
    display: none;
  }
}

/* English overview */

.hero-title--en {
  font-size: 6.8rem;
  line-height: 0.94;
}

.hero-title--en .hero-title__line {
  padding-bottom: 0.07em;
}

.lang-en .hero-intro {
  grid-template-columns: minmax(18rem, 1.2fr) minmax(14rem, 0.8fr);
}

.lang-en .hero-intro__cn {
  font-size: 1.08rem;
  line-height: 1.65;
}

.lang-en .hero-intro__en {
  line-height: 1.8;
}

.lang-en .company-copy .statement {
  max-width: 15ch;
}

.lang-en .entity-card__identity p:first-child {
  max-width: 12ch;
  font-size: 1.6rem;
  line-height: 1.35;
  word-break: normal;
}

.lang-en .brand-statement {
  max-width: 19ch;
  font-size: 2rem;
}

.lang-en .brand-translation {
  max-width: 32rem;
}

.lang-en .service-row__title strong {
  font-size: 1.38rem;
}

.lang-en .service-row__copy {
  font-size: 0.75rem;
}

.lang-en .statement {
  max-width: 18ch;
  font-size: 1.8rem;
}

.lang-en .contact-title {
  max-width: 8ch;
}

.lang-en[data-page="qualification"] .page-hero h1 {
  font-size: 5.2rem;
}

.lang-en .content-heading .verification-title {
  max-width: 18ch;
  white-space: normal;
}

.lang-en .record-facts div {
  grid-template-columns: 8rem 1fr;
}

.lang-en .site-footer__identity p:first-child {
  max-width: 24ch;
  font-size: 1.2rem;
}

#company,
#ctmaa,
#services,
#record,
#contact {
  scroll-margin-top: 6rem;
}

@media (max-width: 1280px) {
  .hero-title--en {
    font-size: 6rem;
  }
}

@media (max-width: 860px) {
  .hero-title--en {
    font-size: 5rem;
  }

  .lang-en[data-page="qualification"] .page-hero h1 {
    font-size: 4.2rem;
  }

  .lang-en .hero-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-title--en {
    font-size: 3.35rem;
  }

  .lang-en[data-page="qualification"] .page-hero h1 {
    font-size: 3rem;
  }

  .lang-en .statement {
    font-size: 1.55rem;
  }

  .lang-en .record-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .lang-en .entity-card__identity p:first-child {
    font-size: 1.4rem;
  }

  .lang-en .brand-statement {
    font-size: 1.55rem;
  }
}

@media (max-width: 380px) {
  .hero-title--en {
    font-size: 3rem;
  }

  .lang-en[data-page="qualification"] .page-hero h1 {
    font-size: 2.45rem;
  }
}
