/* ============================================================
   INSTANT — header, navigation & page hero
   ============================================================ */

/* Header ------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 10, 17, 0.72), transparent);
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(10, 14, 22, 0.82);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
  height: 70px;
}

.brand {
  position: relative;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand__word {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
}

.brand__cn {
  margin-left: 11px;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav > a {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 16px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav > a:hover,
.site-nav > a.is-active {
  color: #fff;
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.header-actions {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.header-phone svg {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.header-phone:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  color: #fff;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Page hero ---------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 15vw, 196px) 0 clamp(66px, 8vw, 104px);
  background: var(--ink);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 35%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 72% 35%, #000 10%, transparent 72%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -55%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.17), transparent 62%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.26);
}

.page-hero__title {
  max-width: 880px;
  font-size: clamp(36px, 5.1vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.page-hero__lead {
  max-width: 620px;
  margin-top: 26px;
  color: var(--dark-muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.page-hero__aside {
  display: grid;
  gap: 18px;
  min-width: 190px;
  padding-bottom: 6px;
}

.page-hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-hero__meta strong {
  color: var(--amber);
  font-weight: 500;
}

.page-coord {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}

