﻿/* =========================================================
   XIAOYOU — v2 art direction
   Moon-white paper, canal indigo, cinnabar, celadon.
   Layered on top of the base editorial system.
   ========================================================= */

/* ---------- brand ---------- */
.brand {
  gap: 10px;
}

.brand__mark {
  width: 30px;
  height: 19px;
}

.brand__word {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand__latin {
  align-self: center;
  margin: 0 0 1px 1px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1;
}

.brand__cn {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.site-header.is-scrolled {
  background: rgba(244, 247, 247, 0.94);
}

.site-header.is-scrolled .brand__latin {
  color: var(--muted);
}

/* ---------- home hero ---------- */
.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 3.2vw, 50px);
}

.hero__copy {
  padding-top: clamp(28px, 6vh, 66px);
  padding-bottom: clamp(50px, 7vh, 80px);
}

.hero__meta {
  font-size: 10px;
  letter-spacing: 0.13em;
}

.hero__title {
  margin-top: clamp(26px, 4.5vh, 56px);
  font-size: clamp(92px, 9.2vw, 170px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero__title .line:nth-child(2) {
  padding-left: 0.47em;
}

.hero__title .accent-dot {
  width: 0.08em;
  height: 0.08em;
  margin-left: 0.06em;
  vertical-align: 0.42em;
}

.hero__en {
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.08;
}

.hero__desc {
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.92;
}

.hero__actions .btn {
  min-width: 196px;
}

.hero__visual {
  position: relative;
  height: calc(100svh - var(--header-h) - 10px);
}

.hero__portal {
  background: var(--night);
}

.hero__portal img {
  object-position: center 46%;
  filter: saturate(0.84) contrast(1.02) brightness(1.04);
}

.portal__moon {
  position: absolute;
  top: 13%;
  left: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 40%, rgba(249, 251, 247, 0.98) 0 38%, rgba(216, 234, 226, 0.52) 58%, rgba(207, 228, 219, 0) 74%);
  filter: blur(0.65px);
  box-shadow: 0 0 52px rgba(188, 219, 208, 0.22);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__portal::before {
  background:
    radial-gradient(ellipse at 50% 14%, rgba(31, 93, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(5, 19, 26, 0.28) 0%, transparent 34%),
    linear-gradient(0deg, rgba(5, 19, 26, 0.82) 0%, transparent 57%),
    linear-gradient(90deg, rgba(5, 19, 26, 0.2), transparent 42%);
}

.portal__top {
  top: 25%;
  color: rgba(241, 245, 242, 0.52);
}

.portal__top::before {
  background: rgba(241, 245, 242, 0.36);
}

.portal__top strong {
  color: var(--paper);
}

.portal__top span {
  color: rgba(241, 245, 242, 0.47);
}

.portal__aside {
  color: rgba(241, 245, 242, 0.44);
}

.portal__place {
  color: var(--paper);
}

.portal__place small {
  color: rgba(241, 245, 242, 0.5);
}

.portal__coords {
  color: rgba(241, 245, 242, 0.46);
}

.companion-card {
  position: absolute;
  right: clamp(22px, 2.1vw, 32px);
  bottom: 16%;
  left: clamp(22px, 2.1vw, 32px);
  z-index: 6;
  max-width: 354px;
  padding: 15px 17px 16px;
  border: 1px solid rgba(241, 245, 242, 0.55);
  background: rgba(244, 247, 247, 0.50);
  -webkit-backdrop-filter: blur(16px) saturate(0.95);
  backdrop-filter: blur(16px) saturate(0.95);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(2, 10, 14, 0.32);
}

.companion-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  pointer-events: none;
}

.companion-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 31, 39, 0.14);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.companion-card__top span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.companion-card__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 7px;
}

.eq i {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--accent);
  opacity: 0.72;
  transform-origin: center bottom;
  animation: eq 1.5s ease-in-out infinite;
}

.eq i:nth-child(2) {
  height: 62%;
  animation-delay: 0.18s;
}

.eq i:nth-child(3) {
  height: 84%;
  animation-delay: 0.36s;
}

.eq i:nth-child(4) {
  height: 46%;
  animation-delay: 0.54s;
}

@keyframes eq {
  0%,
  100% {
    transform: scaleY(0.32);
  }
  50% {
    transform: scaleY(1);
  }
}

.companion-card__top span:first-child::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.companion-card__question {
  width: max-content;
  max-width: 92%;
  margin: 12px 0 0 auto;
  padding: 7px 11px;
  border-radius: 9px 9px 2px 9px;
  background: rgba(13, 31, 39, 0.06);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.companion-card__answer {
  display: flex;
  gap: 10px;
  margin-top: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.65;
}

.companion-card__answer::before {
  content: "友";
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background: var(--seal);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1;
}

.companion-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(13, 31, 39, 0.12);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.companion-card__meta span:last-child {
  color: var(--accent);
}

/* ---------- intro / statistics ---------- */
.intro {
  padding-top: calc(var(--section) * 0.82);
}

.intro__title {
  max-width: 980px;
  font-size: clamp(43px, 5.55vw, 91px);
}

.intro__en {
  color: var(--accent);
}

.metric__value {
  flex-wrap: wrap;
  gap: 4px;
}

/* ---------- system stage ---------- */
.product-showcase {
  background: var(--night);
}

.product-showcase::before {
  background: rgba(238, 245, 241, 0.13);
}

.stage {
  height: clamp(520px, 60vw, 830px);
  border-color: rgba(238, 245, 241, 0.15);
  background: var(--night);
}

.stage::before {
  background-image: url("../img/bridge-wide.webp");
  background-position: center 57%;
  background-size: cover;
  opacity: 0.42;
  filter: saturate(0.7) brightness(0.62);
  mix-blend-mode: normal;
}

.stage::after {
  border-color: rgba(238, 245, 241, 0.13);
}

.stage__ghost {
  top: 50%;
  font-size: clamp(180px, 25vw, 420px);
  letter-spacing: -0.12em;
  opacity: 0.45;
  -webkit-text-stroke-color: rgba(238, 245, 241, 0.14);
}

.stage__orbit {
  width: min(66vw, 940px);
  box-shadow: 0 0 120px rgba(31, 93, 255, 0.09), inset 0 0 130px rgba(31, 93, 255, 0.05);
}

.stage__orbit::before {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(31, 93, 255, 0.65);
}

.stage__orbit::after {
  content: "SCENIC INTELLIGENCE / 2026";
  color: rgba(238, 245, 241, 0.26);
}

.stage__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(56%, 700px);
  aspect-ratio: 1.8 / 1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(173, 199, 195, 0.2), transparent 68%);
  filter: blur(28px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stage__product {
  top: 53%;
  width: min(62%, 950px);
  transform: translate(-50%, calc(-50% + var(--shift)));
}

.stage__product img {
  filter: drop-shadow(0 36px 32px rgba(0, 0, 0, 0.5)) brightness(1.04);
}

.stage__spot {
  display: none;
}

.stage__topbar {
  color: rgba(238, 245, 241, 0.46);
}

.stage__topbar span:first-child {
  color: rgba(238, 245, 241, 0.78);
}

.stage__spec {
  top: 24px;
  right: 20px;
  width: 142px;
  padding: 13px 15px 12px;
  border-color: rgba(238, 245, 241, 0.17);
  background: rgba(7, 24, 32, 0.45);
  color: rgba(238, 245, 241, 0.65);
}

.stage__spec-label {
  color: rgba(238, 245, 241, 0.42);
}

.stage__spec strong {
  color: var(--paper);
  font-size: 28px;
}

.stage__spec strong small {
  color: var(--muted-light);
}

.stage__spot {
  color: rgba(238, 245, 241, 0.55);
}

.stage__spot i {
  border-color: rgba(238, 245, 241, 0.52);
  background: rgba(7, 24, 32, 0.5);
}

.stage__spot i::after {
  border-color: rgba(238, 245, 241, 0.2);
}

.stage__spot--a {
  top: 33%;
  left: 22%;
}

.stage__spot--b {
  top: 34%;
  right: 20%;
}

.stage__spot--c {
  bottom: 29%;
  left: 25%;
}

.stage__spot--d {
  right: 24%;
  bottom: 29%;
}

.stage__caption-title {
  color: rgba(238, 245, 241, 0.88);
}

.stage__caption-title span {
  color: var(--muted-light);
}

.principle h3 {
  color: var(--paper);
}

.principle p {
  color: rgba(238, 245, 241, 0.55);
}

.product-showcase__foot {
  color: rgba(238, 245, 241, 0.52);
}

/* ---------- journey ---------- */
.journey {
  padding: var(--section) var(--pad);
}

.journey__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-top: clamp(36px, 4vw, 60px);
}

.journey__head .display {
  max-width: 850px;
}

.journey__head-side {
  max-width: 360px;
  justify-self: end;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 7vw, 116px);
  align-items: start;
  margin-top: clamp(46px, 6vw, 82px);
}

.journey__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--night);
}

.journey__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 32, 0.06), transparent 30%),
    linear-gradient(0deg, rgba(7, 24, 32, 0.72), transparent 55%);
  pointer-events: none;
}

.journey__hud {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  padding: 15px 16px;
  border: 1px solid rgba(238, 245, 241, 0.22);
  background: rgba(6, 22, 29, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--paper);
}

.journey__hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(238, 245, 241, 0.17);
  color: rgba(238, 245, 241, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.journey__hud-top span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--celadon);
}

.journey__hud-top span:first-child::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 0 0 8px rgba(165, 192, 189, 0.8);
}

.journey__hud-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.journey__hud-main strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.journey__hud-main span {
  display: block;
  margin-top: 4px;
  color: rgba(238, 245, 241, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.journey__hud-distance {
  flex-shrink: 0;
  color: var(--paper) !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.02em !important;
}

.journey__hud-line {
  position: relative;
  height: 14px;
  margin-top: 9px;
  overflow: hidden;
}

.journey__hud-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(238, 245, 241, 0.18);
}

.journey__hud-line::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 58%;
  width: 4px;
  height: 4px;
  border: 1px solid var(--accent-soft);
  border-radius: 50%;
  background: rgba(7, 24, 32, 0.8);
}

.journey__steps {
  border-top: 1px solid var(--line);
}

.journey-step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 22px;
  padding: clamp(20px, 2.9vw, 35px) 0;
  border-bottom: 1px solid var(--line);
}

.journey-step__num {
  padding-top: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.journey-step h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.journey-step p {
  max-width: 440px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.journey__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

/* ---------- cases preview ---------- */
.cases-section {
  padding: var(--section) var(--pad);
  background: var(--paper-soft);
}

.cases-section .section-head {
  margin-top: clamp(34px, 4vw, 54px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 22px);
  margin-top: clamp(40px, 5vw, 72px);
}

.case-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}

.case-card:nth-child(2) {
  margin-top: clamp(18px, 3vw, 44px);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter 1.3s var(--ease);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 32, 0.24) 0%, transparent 24%),
    linear-gradient(0deg, rgba(5, 18, 24, 0.82) 0%, transparent 58%);
  pointer-events: none;
}

.case-card:hover img {
  filter: saturate(1.05) brightness(1.05);
  transform: scale(1.045);
}

.case-card__top {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: rgba(241, 245, 242, 0.66);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.case-card__top span:last-child {
  text-align: right;
}

.case-card__body {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
}

.case-card__body h3 {
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.case-card__body p {
  max-width: 270px;
  margin-top: 8px;
  color: rgba(241, 245, 242, 0.62);
  font-size: 10.5px;
  line-height: 1.75;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(241, 245, 242, 0.18);
  color: rgba(241, 245, 242, 0.5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.cases-section__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(30px, 4vw, 48px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- hardware boundary ---------- */
.boundary {
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}

.boundary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
}

.boundary__title {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1.14;
}

.boundary__title em {
  color: var(--muted);
  font-style: normal;
}

.boundary__body {
  max-width: 410px;
  margin-top: 28px;
}

.boundary__body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.boundary__tags {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.boundary__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.boundary__tag span:last-child {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.boundary__visual {
  position: relative;
  display: flex;
  aspect-ratio: 0.94 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
}

.boundary__visual::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 62%;
  height: 92%;
  border: 1px solid rgba(13, 31, 39, 0.12);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.boundary__visual img {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: none;
  transform: translateY(-3%);
}

.boundary__visual-label {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.boundary__visual-label span:first-child {
  color: var(--ink-soft);
}

/* ---------- cta ---------- */
.cta-band {
  min-height: clamp(620px, 85svh, 920px);
  background: var(--night);
}

.cta-band__bg {
  background-image: url("../img/bridge-wide.webp");
  background-position: center 57%;
}

.cta-band::after {
  background:
    linear-gradient(180deg, rgba(5, 18, 24, 0.3) 0%, rgba(5, 18, 24, 0.08) 30%, rgba(5, 18, 24, 0.68) 76%, rgba(5, 18, 24, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 18, 24, 0.62), transparent 64%);
}

.cta-band__title {
  max-width: 1250px;
  font-size: clamp(58px, 8.2vw, 138px);
  line-height: 1.02;
}

.cta-band__title em {
  color: var(--celadon);
  font-style: normal;
  font-family: var(--serif);
  letter-spacing: -0.06em;
}

.cta-band--solution .cta-band__bg {
  background-image: url("../img/case-tianyige-color.webp");
  background-position: center 48%;
}

.cta-band__note {
  color: rgba(238, 245, 241, 0.6);
}

.cta-band__meta {
  color: rgba(238, 245, 241, 0.38);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper);
}

.footer-top {
  grid-template-columns: minmax(280px, 1.45fr) minmax(120px, 0.52fr) minmax(140px, 0.6fr) minmax(270px, 0.88fr);
}

.footer-signature {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  margin: clamp(32px, 4vw, 52px) 0 clamp(20px, 2.6vw, 30px);
  padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.footer-signature__word {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(54px, 5.2vw, 92px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.84;
  white-space: nowrap;
}

.footer-signature__word span {
  color: var(--seal);
}

.footer-signature__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.footer-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--seal);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
}

.footer-newsletter .text-link {
  margin-top: 14px;
}

.footer-bottom {
  margin-top: clamp(44px, 5vw, 68px);
  border-color: var(--line);
}

/* ---------- menu / buttons / misc ---------- */
.menu {
  background: var(--night);
}

.menu__nav a:hover {
  color: var(--celadon);
}

.menu__nav a[aria-current="page"] {
  color: var(--celadon);
}

.menu__nav a[aria-current="page"] span {
  color: var(--accent-soft);
}

.btn--solid:hover {
  border-color: var(--accent);
}

.btn--solid::before {
  background: var(--accent);
}

.header-cta:hover .header-cta__dot {
  border-color: var(--accent);
  background: var(--accent);
}

.chat-bubble--ai::before {
  content: "友";
  font-family: var(--serif);
  font-size: 10px;
}

/* ---------- solution page ---------- */
.solution-hero {
  padding: calc(var(--header-h) + clamp(42px, 5.5vw, 84px)) var(--pad) 0;
}

.solution-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.solution-hero__index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.solution-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-top: clamp(38px, 5vw, 68px);
}

.solution-title {
  font-family: var(--serif);
  font-size: clamp(60px, 8.7vw, 132px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.solution-title em {
  display: block;
  padding-left: 0.34em;
  color: var(--muted);
  font-style: normal;
}

.solution-hero__side {
  max-width: 360px;
  justify-self: end;
  padding-bottom: 7px;
}

.solution-hero__side p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.solution-hero__side .text-link {
  margin-top: 23px;
}

.solution-banner {
  position: relative;
  height: clamp(440px, 52vw, 700px);
  margin-top: clamp(38px, 5vw, 68px);
  overflow: hidden;
  background: var(--night);
}

.solution-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.78);
}

.solution-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 18, 24, 0.34), transparent 35%),
    linear-gradient(0deg, rgba(5, 18, 24, 0.74), transparent 55%);
  pointer-events: none;
}

.solution-banner__top {
  position: absolute;
  top: 24px;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 56px);
  color: rgba(241, 245, 242, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.solution-banner__hud {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 48px);
  left: clamp(20px, 4vw, 56px);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: var(--paper);
}

.solution-banner__hud h2 {
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.solution-banner__hud p {
  max-width: 220px;
  color: rgba(241, 245, 242, 0.56);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

.solution-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(241, 245, 242, 0.28);
  color: rgba(241, 245, 242, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.solution-banner__chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--celadon);
}

.stack {
  padding: var(--section) var(--pad);
  background: var(--night);
  color: var(--paper);
}

.stack__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(45px, 9vw, 150px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 70px);
}

.stack__intro {
  position: sticky;
  top: 120px;
}

.stack__intro .display {
  max-width: 540px;
  margin-top: 25px;
  color: var(--paper);
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.18;
}

.stack__intro .display em {
  color: rgba(238, 245, 241, 0.48);
}

.stack__intro p {
  max-width: 350px;
  margin-top: 27px;
  color: rgba(238, 245, 241, 0.56);
  font-size: 12.5px;
  line-height: 1.95;
}

.stack__rows {
  border-top: 1px solid var(--line-light);
}

.stack-row {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0 27px;
  border-bottom: 1px solid var(--line-light);
}

.stack-row__num {
  padding-top: 4px;
  color: var(--celadon);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1;
}

.stack-row h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.stack-row p {
  max-width: 500px;
  margin-top: 9px;
  color: rgba(238, 245, 241, 0.52);
  font-size: 11.5px;
  line-height: 1.9;
}

.stack-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-top: 14px;
  color: rgba(238, 245, 241, 0.36);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.stack-row__tags span::before {
  content: "/";
  margin-right: 6px;
  color: var(--accent-soft);
}

.capabilities {
  padding: var(--section) var(--pad);
}

.capability-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: end;
  margin-top: 30px;
}

.capability-head .display {
  font-size: clamp(40px, 4.9vw, 74px);
  line-height: 1.16;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.capability {
  min-height: 260px;
  padding: 24px clamp(18px, 2.4vw, 34px) 30px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability:nth-child(3n + 1) {
  padding-left: 0;
  border-left: 0;
}

.capability__num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.capability h3 {
  margin-top: 35px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.capability p {
  max-width: 290px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

.capability__tag {
  display: inline-block;
  margin-top: 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.terminal-band {
  padding: var(--section) var(--pad);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.terminal-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(40px, 8vw, 134px);
  align-items: center;
}

.terminal-band__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
}

.terminal-band__media::before {
  content: "ROKID GLASS3 / 合作终端";
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.terminal-band__media img {
  width: 76%;
  max-width: none;
}

.terminal-band__copy h2 {
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 76px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.terminal-band__copy h2 em {
  color: var(--muted);
  font-style: normal;
}

.terminal-band__scope {
  max-width: 430px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.85;
}

.terminal-band__copy p {
  max-width: 420px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.terminal-band__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.terminal-band__fact {
  padding: 13px 12px 0 0;
  border-right: 1px solid var(--line);
}

.terminal-band__fact + .terminal-band__fact {
  padding-left: 14px;
}

.terminal-band__fact:last-child {
  border-right: 0;
}

.terminal-band__fact span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1.6;
  text-transform: uppercase;
}

.terminal-band__fact strong {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.delivery {
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 68px);
  border-top: 1px solid var(--line);
}

.delivery-step {
  padding: 24px clamp(12px, 2vw, 26px) 30px;
  border-left: 1px solid var(--line);
}

.delivery-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.delivery-step__num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.delivery-step h3 {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.delivery-step p {
  max-width: 190px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.delivery .faq {
  margin-top: 0;
}

.delivery .faq-head {
  display: block;
  margin-top: clamp(62px, 8vw, 108px);
  margin-bottom: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.delivery .faq-head h3 {
  margin-top: 15px;
}

/* ---------- cases page ---------- */
.cases-hero {
  padding: calc(var(--header-h) + clamp(42px, 5.5vw, 84px)) var(--pad) 0;
}

.cases-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.cases-title {
  max-width: 1000px;
  margin-top: clamp(38px, 5vw, 64px);
  font-family: var(--serif);
  font-size: clamp(54px, 7.6vw, 118px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.cases-title em {
  color: var(--muted);
  font-style: normal;
}

.cases-hero__side {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
}

.cases-hero__side p {
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.case-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  margin: clamp(38px, 5vw, 66px) var(--pad) 0;
}

.case-mosaic__item {
  position: relative;
  aspect-ratio: 1.3 / 1;
  overflow: hidden;
  background: var(--night);
}

.case-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 18, 24, 0.65), transparent 55%);
}

.case-mosaic__label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.case-mosaic__label strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-transform: none;
}

.case-list-section {
  padding: var(--section) var(--pad) 0;
}

.case-story {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(38px, 8vw, 134px);
  align-items: center;
  padding: clamp(58px, 8vw, 118px) 0;
  border-top: 1px solid var(--line);
}

.case-story--reverse {
  grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
}

.case-story--reverse .case-story__media {
  order: 2;
}

.case-story__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--night);
}

.case-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 18, 24, 0.62), transparent 50%);
  pointer-events: none;
}

.case-story__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(241, 245, 242, 0.26);
  background: rgba(7, 24, 32, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(241, 245, 242, 0.8);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.case-story__tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--celadon);
}

.case-story__copy {
  max-width: 500px;
}

.case-story--reverse .case-story__copy {
  justify-self: end;
}

.case-story__index {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.case-story__index::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

.case-story__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.case-story__body {
  max-width: 410px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.case-story__list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.case-story__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.case-story__list li span:last-child {
  flex-shrink: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-story__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.case-story__audio {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.case-story__audio::before {
  content: "◉";
  margin-right: 7px;
  color: var(--accent);
}

/* overlay UI on a case image */
.field-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  padding: 14px 15px;
  border: 1px solid rgba(241, 245, 242, 0.2);
  background: rgba(6, 22, 29, 0.56);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--paper);
}

.field-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(241, 245, 242, 0.16);
  color: rgba(241, 245, 242, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.field-card__top span:first-child {
  color: var(--celadon);
}

.field-card__question {
  margin: 10px 0 7px;
  color: rgba(241, 245, 242, 0.7);
  font-size: 10px;
  line-height: 1.6;
}

.field-card__answer {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.case-method {
  padding: var(--section) var(--pad);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.case-method__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 60px);
}

.case-method__intro .display {
  margin-top: 23px;
  font-size: clamp(38px, 4.6vw, 69px);
}

.case-method__intro p {
  max-width: 330px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.case-method__rows {
  border-top: 1px solid var(--line);
}

.case-method__row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.case-method__row span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.case-method__row h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.case-method__row p {
  max-width: 480px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

/* ---------- about additions ---------- */
.about-hero__place {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.about-hero__place::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.about-title {
  font-size: clamp(105px, 15.5vw, 244px);
  letter-spacing: -0.1em;
}

.about-title em {
  margin-left: 0.48em;
  color: var(--muted);
  font-family: "Bodoni MT", "Didot", "Baskerville", Georgia, serif;
  font-size: 0.34em;
  letter-spacing: -0.025em;
}

.about-hero__side .company-note {
  max-width: 290px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-transform: uppercase;
}

.about-cover img {
  object-position: center 55%;
}

.about-dark__bg {
  background-image: url("../img/bridge-wide.webp");
  background-position: center 55%;
  opacity: 0.24;
  mix-blend-mode: luminosity;
}

.work-list {
  margin-top: 54px;
}

.contact-block {
  border-top: 1px solid var(--line);
}

.contact-block__title {
  font-size: clamp(36px, 4.3vw, 66px);
  line-height: 1.2;
  text-wrap: balance;
}

.company-note {
  max-width: 310px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

/* ---------- legal additions ---------- */
.legal-title {
  font-size: clamp(62px, 8.8vw, 132px);
}

.legal-title em {
  font-style: normal;
}

.credit-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.credit-list li {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.credit-list li span:last-child {
  text-align: right;
}

.credit-list a {
  color: var(--ink-soft);
}

/* ---------- form tweaks ---------- */
.booking__content {
  padding: clamp(30px, 4vw, 50px);
}

.booking h2 {
  font-size: clamp(29px, 3.4vw, 44px);
}

.booking__visual img {
  object-position: center 44%;
}

.booking__visual-copy p {
  font-size: 23px;
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  }

  .hero__title {
    font-size: clamp(82px, 9.2vw, 118px);
  }

  .hero__title .line:nth-child(2) {
    padding-left: 0.32em;
  }

  .journey__grid {
    gap: 54px;
  }

  .footer-top {
    grid-template-columns: 1.35fr 0.55fr 0.62fr 0.88fr;
  }

  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .delivery-step:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .delivery-step:nth-child(4),
  .delivery-step:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .delivery-step:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .hero__title {
    font-size: clamp(82px, 13vw, 126px);
  }

  .hero__visual {
    height: 88svh;
    min-height: 600px;
  }

  .companion-card {
    max-width: 390px;
    bottom: 14%;
  }

  .journey__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .journey__head-side {
    justify-self: start;
  }

  .journey__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .journey__media {
    aspect-ratio: 4 / 3;
  }

  .journey__media img {
    object-position: center 48%;
  }

  .journey__hud {
    max-width: 410px;
  }

  .case-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-right: var(--pad);
    padding-bottom: 8px;
    margin-right: calc(-1 * var(--pad));
    scrollbar-width: none;
  }

  .case-grid::-webkit-scrollbar {
    display: none;
  }

  .case-card {
    flex: 0 0 42vw;
    scroll-snap-align: start;
    aspect-ratio: 4 / 5;
  }

  .case-card:nth-child(2) {
    margin-top: 0;
  }

  .boundary__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .boundary__visual {
    max-width: 560px;
    aspect-ratio: 1.05 / 1;
  }

  .footer-signature__word {
    font-size: clamp(54px, 7vw, 76px);
  }

  .solution-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solution-hero__side {
    justify-self: start;
  }

  .solution-title {
    font-size: clamp(56px, 11vw, 110px);
  }

  .solution-banner {
    height: 520px;
  }

  .solution-banner__hud {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .solution-banner__hud p {
    max-width: 330px;
    text-align: left;
  }

  .stack__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stack__intro {
    position: static;
  }

  .stack__intro .display {
    max-width: 650px;
  }

  .capability-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability:nth-child(3n + 1) {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .capability:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .capability:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .terminal-band__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .terminal-band__media {
    order: 2;
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .delivery-step:nth-child(3),
  .delivery-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .delivery-step:nth-child(5) {
    grid-column: span 2;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .case-mosaic {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-right: var(--pad);
    margin-right: 0;
    scrollbar-width: none;
  }

  .case-mosaic::-webkit-scrollbar {
    display: none;
  }

  .case-mosaic__item {
    flex: 0 0 58vw;
  }

  .case-story,
  .case-story--reverse {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 0;
  }

  .case-story--reverse .case-story__media {
    order: 0;
  }

  .case-story__media {
    aspect-ratio: 4 / 3;
  }

  .case-story__copy,
  .case-story--reverse .case-story__copy {
    justify-self: start;
    max-width: 600px;
  }

  .case-method__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-signature {
    gap: 30px;
  }

  .footer-signature__side {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .brand__word {
    font-size: 17px;
  }

  .brand__latin {
    font-size: 10px;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero__title {
    margin-top: 30px;
    font-size: clamp(66px, 18.3vw, 94px);
    line-height: 0.98;
  }

  .hero__title .line:nth-child(2) {
    padding-left: 0.2em;
  }

  .hero__en {
    font-size: 27px;
  }

  .hero__desc {
    font-size: 12.5px;
  }

  .hero__visual {
    height: 78svh;
    min-height: 500px;
  }

  .hero__portal img {
    object-position: center 39%;
  }

  .portal__top {
    top: 19%;
    max-width: calc(100% - 58px);
  }

  .portal__top strong {
    font-size: 10px;
  }

  .companion-card {
    right: 16px;
    bottom: 13%;
    left: 16px;
    max-width: none;
    padding: 13px 14px 14px;
  }

  .companion-card__top {
    font-size: 10px;
  }

  .companion-card__question {
    font-size: 10px;
  }

  .companion-card__answer {
    font-size: 14px;
    line-height: 1.6;
  }

  .companion-card__answer::before {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .companion-card__meta {
    font-size: 10px;
  }

  .portal__bottom {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .intro {
    padding-top: 82px;
  }

  .intro__title {
    font-size: clamp(36px, 10.4vw, 54px);
  }

  .intro__en {
    font-size: 18px;
  }

  .product-showcase .section-head__side {
    max-width: 360px;
  }

  .stage {
    height: 430px;
  }

  .stage__product {
    top: 55%;
    width: 90%;
  }

  .stage__glow {
    width: 78%;
  }

  .stage__ghost {
    font-size: 180px;
  }

  .stage__spec {
    top: 18px;
    right: 18px;
    width: 116px;
    padding: 10px 11px;
  }

  .stage__spec strong {
    font-size: 22px;
  }

  .stage__spec-label {
    font-size: 10px;
  }

  .stage__spot {
    display: none;
  }

  .stage__orbit {
    width: 112vw;
  }

  .stage__topbar {
    padding: 0 18px;
    font-size: 10px;
  }

  .stage__caption {
    padding: 0 18px;
    font-size: 10px;
  }

  .stage__caption-title {
    font-size: 11px;
  }

  .stage__caption-title span {
    font-size: 10px;
  }

  .journey {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .journey__media {
    aspect-ratio: 4 / 5;
  }

  .journey__hud {
    right: 13px;
    bottom: 13px;
    left: 13px;
    padding: 12px;
  }

  .journey__hud-main strong {
    font-size: 21px;
  }

  .journey-step {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .journey-step h3 {
    font-size: 27px;
  }

  .journey-step p {
    font-size: 11.5px;
  }

  .cases-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .case-grid {
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
  }

  .case-card {
    flex-basis: 78vw;
  }

  .case-card__body {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .case-card__body h3 {
    font-size: 30px;
  }

  .cases-section__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .boundary {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .boundary__title {
    font-size: 34px;
    line-height: 1.2;
  }

  .boundary__body p {
    font-size: 12.5px;
  }

  .boundary__visual {
    max-width: none;
    aspect-ratio: 1.03 / 1;
  }

  .boundary__visual img {
    width: 92%;
  }

  .footer-signature {
    display: block;
    margin-top: 28px;
    padding-top: 20px;
  }

  .footer-signature__word {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 0.9;
  }

  .footer-signature__side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin-top: 16px;
    text-align: left;
  }

  .footer-seal {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .solution-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .solution-title {
    font-size: 46px;
    line-height: 1.05;
  }

  .solution-title em {
    padding-left: 0.12em;
  }

  .solution-hero__side p {
    font-size: 12.5px;
  }

  .solution-banner {
    height: 420px;
  }

  .solution-banner__top {
    padding: 0 18px;
    font-size: 10px;
  }

  .solution-banner__hud {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .solution-banner__hud h2 {
    font-size: 31px;
  }

  .solution-banner__hud p {
    font-size: 10.5px;
  }

  .stack {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .stack__intro .display {
    font-size: 40px;
  }

  .stack-row {
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .stack-row h3 {
    font-size: 25px;
  }

  .stack-row p {
    font-size: 11px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability {
    min-height: 0;
    padding: 24px 0 27px;
    border-left: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .capability:nth-child(n) {
    padding-left: 0;
  }

  .capability h3 {
    margin-top: 21px;
    font-size: 28px;
  }

  .capability p {
    font-size: 11px;
  }

  .capability__tag {
    margin-top: 10px;
  }

  .terminal-band {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .terminal-band__copy h2 {
    font-size: 38px;
  }

  .terminal-band__scope {
  max-width: 430px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.85;
}

.terminal-band__copy p {
    font-size: 12.5px;
  }

  .terminal-band__media {
    aspect-ratio: 1.12 / 1;
  }

  .terminal-band__media img {
    width: 84%;
  }

  .terminal-band__facts {
    grid-template-columns: 1fr;
  }

  .terminal-band__fact,
  .terminal-band__fact + .terminal-band__fact {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .terminal-band__fact:last-child {
    border-bottom: 0;
  }

  .delivery {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .delivery-step,
  .delivery-step:nth-child(3),
  .delivery-step:nth-child(4),
  .delivery-step:nth-child(5) {
    grid-column: auto;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .delivery-step:first-child {
    border-top: 0;
  }

  .delivery-step h3 {
    margin-top: 14px;
    font-size: 25px;
  }

  .cases-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .cases-title {
    margin-top: 34px;
    font-size: clamp(46px, 12.8vw, 76px);
    line-height: 1.06;
  }

  .cases-hero__side p {
    font-size: 12.5px;
  }

  .case-mosaic {
    margin-top: 34px;
  }

  .case-mosaic__item {
    flex-basis: 74vw;
    aspect-ratio: 1 / 1;
  }

  .case-story {
    padding: 48px 0;
    gap: 26px;
  }

  .case-story__title {
    font-size: 36px;
  }

  .case-story__body {
    font-size: 12px;
  }

  .case-story__media {
    aspect-ratio: 4 / 5;
  }

  .case-method {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .case-method__intro .display {
    font-size: 39px;
  }

  .case-method__row {
    grid-template-columns: 34px 1fr;
    gap: 14px;
    padding: 19px 0;
  }

  .case-method__row h3 {
    font-size: 23px;
  }

  .about-title {
    font-size: clamp(62px, 19vw, 82px);
  }

  .about-title em {
    margin-left: 0.28em;
    font-size: 0.31em;
  }

  .legal-title {
    font-size: clamp(50px, 14vw, 78px);
  }

  .credit-list li {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 10px;
  }

  .credit-list li span:last-child {
    text-align: left;
  }

  .booking__visual-copy p {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .cta-band__title {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.1;
  }

  .cta-band__title em {
    display: block;
  }

  .solution-hero__top,
  .cases-hero__top {
    display: block;
  }

  .solution-hero__index {
    display: none;
  }

  .solution-hero__top .kicker,
  .cases-hero__top .kicker {
    white-space: nowrap;
  }

  .solution-banner__hud h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .cases-hero__side {
    display: block;
  }

  .cases-hero__side p + p {
    max-width: 100% !important;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-card img,
  .stage__product img,
  .eq i {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- contact QR ---------- */
.contact-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.contact-qr img {
  width: 128px;
  height: auto;
  padding: 6px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.contact-qr > div > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.contact-qr p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.contact-qr__id {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .contact-qr {
    margin-top: 26px;
  }

  .contact-qr img {
    width: 108px;
  }
}

/* ---------- news page ---------- */
.news-hero {
  padding: calc(var(--header-h) + clamp(42px, 5.5vw, 84px)) var(--pad) 0;
}

.news-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.news-hero__index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.news-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-top: clamp(38px, 5vw, 66px);
}

.news-title {
  font-family: var(--serif);
  font-size: clamp(62px, 8.4vw, 126px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.news-title em {
  display: block;
  padding-left: 0.36em;
  color: var(--muted);
  font-style: normal;
}

.news-hero__side {
  max-width: 340px;
  justify-self: end;
  padding-bottom: 5px;
}

.news-hero__side p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.news-hero__side .text-link {
  margin-top: 23px;
}

.news-feature-section {
  padding: clamp(44px, 6vw, 80px) var(--pad) 0;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(40px, 8vw, 134px);
  align-items: center;
  padding-top: clamp(42px, 6vw, 78px);
  border-top: 1px solid var(--line);
}

.news-feature__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--night);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 18, 24, 0.6), transparent 52%);
  pointer-events: none;
}

.news-feature__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(241, 245, 242, 0.25);
  background: rgba(7, 24, 32, 0.26);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(241, 245, 242, 0.8);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.news-feature__copy {
  max-width: 600px;
}

.news-feature__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.news-feature h2 {
  margin-top: 23px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.7vw, 56px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.news-feature__lead {
  margin-top: 22px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.65;
}

.news-feature__copy > p:not(.news-feature__lead) {
  max-width: 480px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.news-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin-top: 23px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.news-feature__tags span::before {
  content: "/";
  margin-right: 6px;
  color: var(--accent);
}

.news-feature__copy .text-link {
  margin-top: 22px;
}

.news-list-section {
  padding: var(--section) var(--pad);
  background: var(--paper-soft);
}

.news-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.news-list-head .kicker {
  margin: 0;
}

.news-list-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.news-list {
  border-top: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 42px;
  gap: 28px;
  align-items: start;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.news-item__cat {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.news-item h2 {
  max-width: 720px;
  text-wrap: pretty;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.news-item__body > p:not(.news-item__cat) {
  max-width: 670px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
}

.news-item__source {
  display: inline-block;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.news-item__source:hover {
  color: var(--accent);
}

.news-item__index {
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: right;
}

.news-note {
  max-width: 670px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.news-contact {
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}

.news-contact .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}

.news-contact h2 {
  max-width: 580px;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 76px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.news-contact h2 em {
  color: var(--muted);
  font-style: normal;
}

.news-contact__details {
  max-width: 470px;
  justify-self: end;
  border-top: 1px solid var(--line);
}

.news-contact__row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.news-contact__row span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

.news-contact__row a,
.news-contact__row span:last-child {
  color: var(--ink-soft);
}

.news-contact__row a:hover {
  color: var(--accent);
}

.news-contact__details .text-link {
  margin-top: 22px;
}

.news-contact__details .btn {
  margin-top: 23px;
}

@media (max-width: 900px) {
  .news-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-hero__side {
    justify-self: start;
  }

  .news-title {
    font-size: clamp(56px, 11vw, 108px);
  }

  .news-feature {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 34px;
  }

  .news-feature__copy {
    max-width: 640px;
  }

  .news-feature__media {
    aspect-ratio: 16 / 10;
  }

  .news-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
  }

  .news-item__source {
  display: inline-block;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.news-item__source:hover {
  color: var(--accent);
}

.news-item__index {
    display: none;
  }

  .news-contact .shell {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .news-contact__details {
    justify-self: start;
    width: 100%;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .news-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .news-hero__top {
    align-items: flex-start;
  }

  .news-hero__index {
    display: none;
  }

  .news-title {
    font-size: clamp(46px, 13vw, 70px);
    line-height: 1.06;
  }

  .news-title em {
    padding-left: 0.1em;
  }

  .news-hero__side p {
    font-size: 12.5px;
  }

  .news-feature h2 {
    font-size: 32px;
  }

  .news-feature__lead {
    font-size: 18px;
  }

  .news-feature__copy > p:not(.news-feature__lead) {
    font-size: 11.5px;
  }

  .news-list-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .news-item {
    display: block;
    padding: 23px 0 25px;
  }

  .news-item time {
    display: inline-block;
    margin-right: 14px;
  }

  .news-item__cat {
    display: inline-block;
    margin-bottom: 6px;
  }

  .news-item h2 {
    margin-top: 8px;
    font-size: 27px;
  }

  .news-item__body > p:not(.news-item__cat) {
    font-size: 11px;
  }

  .news-note {
    font-size: 10px;
  }

  .news-contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .news-contact h2 {
    font-size: 38px;
  }

  .news-contact__row {
    grid-template-columns: 0.8fr 1.2fr;
    font-size: 10.5px;
  }
}


/* ---------- news: IP portfolio ---------- */
.news-ip {
  padding: var(--section) var(--pad);
  border-top: 1px solid var(--line);
}

.news-ip__head {
  display: grid;
  grid-template-columns: minmax(180px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: start;
}

.news-ip__intro h2 {
  max-width: 710px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.1vw, 82px);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.news-ip__intro h2 em {
  color: var(--muted);
  font-style: normal;
}

.news-ip__intro p {
  max-width: 570px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(42px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.ip-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 20px clamp(16px, 2.4vw, 28px) 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ip-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.ip-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ip-card__status {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ip-card--published .ip-card__status {
  color: var(--muted);
}

.ip-card__type {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.ip-card h3 {
  max-width: 330px;
  margin-top: 37px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 29px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.ip-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.ip-card__meta a {
  width: max-content;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.ip-card__meta a:hover {
  color: var(--accent);
}

.ip-more {
  display: grid;
  grid-template-columns: minmax(180px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(38px, 8vw, 130px);
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.ip-more__label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  text-transform: uppercase;
}

.ip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ip-chips li {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.ip-note {
  max-width: 760px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .news-ip__head,
  .ip-more {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ip-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .ip-card,
  .ip-card:first-child {
    min-height: 0;
    padding: 19px 0 21px;
    border-left: 0;
  }

  .ip-card h3 {
    max-width: 620px;
    margin-top: 22px;
    font-size: 25px;
  }

  .ip-card__meta {
    padding-top: 19px;
  }
}

@media (max-width: 640px) {
  .news-ip {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .news-ip__intro h2 {
    font-size: 39px;
  }

  .news-ip__intro p {
    font-size: 11.5px;
  }

  .ip-chips {
    gap: 7px 16px;
  }
}


/* ---------- stage: scroll-driven product entrance ---------- */
.stage__product {
  transform-style: preserve-3d;
}

.stage__product-3d {
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 58%;
  opacity: calc(0.04 + var(--enter, 1) * 0.96);
  transform:
    translate3d(0, calc((1 - var(--enter, 1)) * 58px), 0)
    rotateX(calc((1 - var(--enter, 1)) * 13deg))
    rotateY(calc((1 - var(--enter, 1)) * -11deg))
    scale(calc(0.94 + var(--enter, 1) * 0.06));
  will-change: transform, opacity;
}

.stage__product-3d img {
  filter: drop-shadow(0 48px 44px rgba(0, 0, 0, 0.5)) brightness(calc(0.92 + var(--enter, 1) * 0.08));
}

.stage__spot {
  opacity: calc((var(--enter, 1) - 0.56) * 2.9);
  transform: translateY(calc((1 - var(--enter, 1)) * 12px));
  transition: none;
}

.stage__product-3d,
.stage__spot {
  backface-visibility: hidden;
}

@media (max-width: 640px) {
  .stage__product-3d {
    transform:
      translate3d(0, calc((1 - var(--enter, 1)) * 26px), 0)
      scale(calc(0.96 + var(--enter, 1) * 0.04));
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage__product-3d {
    opacity: 1;
    transform: none;
  }

  .stage__spot {
    opacity: 1;
    transform: none;
  }
}

.stage {
  perspective: 1400px;
}


@media (max-width: 640px) {
  .news-item__source {
    font-size: 10px;
  }
}


/* ---------- brand logo ---------- */
.brand .brand__mark--logo {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand .brand__mark--logo {
  width: 34px;
  height: 34px;
}


/* ---------- intrinsic image ratios ---------- */
/* HTML width/height attributes are for CLS; these images are fluid-width. */
.stage__product img,
.stage__product-3d img,
.boundary__visual img,
.terminal-band__media img {
  height: auto;
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .companion-card {
    background: rgba(4, 15, 22, 0.92);
  }
}


/* ---------- hero companion glass: dark HUD ---------- */
.companion-card {
  border-color: rgba(237, 244, 242, 0.26);
  background: rgba(4, 15, 22, 0.58);
  -webkit-backdrop-filter: blur(20px) saturate(0.92);
  backdrop-filter: blur(20px) saturate(0.92);
  color: var(--paper);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.42);
}

.companion-card__top {
  border-bottom-color: rgba(237, 244, 242, 0.16);
  color: rgba(237, 244, 242, 0.56);
}

.companion-card__top span:first-child {
  color: var(--accent-soft);
}

.companion-card__question {
  background: rgba(237, 244, 242, 0.1);
  color: rgba(237, 244, 242, 0.76);
}

.companion-card__answer {
  color: var(--paper);
}

.companion-card__meta {
  border-top-color: rgba(237, 244, 242, 0.16);
  color: rgba(237, 244, 242, 0.52);
}

.companion-card__meta span:last-child {
  color: var(--accent-soft);
}



/* ---------- typography pass: fewer steps, higher floor, lower ceiling ---------- */
/* Display headings: keep the editorial drama, but stop the poster-scale extremes. */
.hero__title {
  font-size: clamp(50px, 8.2vw, 112px);
  line-height: 1.03;
}

.about-title {
  font-size: clamp(60px, 11.5vw, 176px);
  line-height: 0.94;
}

.solution-title {
  font-size: clamp(46px, 6.6vw, 100px);
  line-height: 1.03;
}

.cases-title {
  font-size: clamp(44px, 6.4vw, 100px);
  line-height: 1.04;
}

.news-title {
  font-size: clamp(44px, 6.6vw, 100px);
  line-height: 1.04;
}

.legal-title {
  font-size: clamp(40px, 5.8vw, 88px);
  line-height: 1.05;
}

.cta-band__title {
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.03;
}

.display,
.intro__title,
.manifesto__body .display {
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.1;
}

.contact-block__title,
.news-contact h2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.12;
}

.terminal-band__copy h2 {
  font-size: clamp(32px, 4.1vw, 62px);
  line-height: 1.1;
}

.case-story__title {
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 1.15;
}

.news-item h2 {
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.35;
}

.news-ip__intro h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.12;
}

/* Body copy: no more 10.5–11.5px reading text. */
.intro__side .note,
.about-hero__side .note,
.principle p,
.principle-card p,
.work-item p,
.journey-step p,
.case-card__body p,
.boundary__body p,
.stack-row p,
.capability p,
.delivery-step p,
.case-story__body,
.case-story__list li,
.case-method__row p,
.news-feature__copy > p:not(.news-feature__lead),
.news-item__body > p:not(.news-item__cat),
.news-ip__intro p,
.news-hero__side p,
.solution-hero__side p,
.cases-hero__side p,
.legal-intro p,
.legal-content p,
.legal-content li {
  font-size: 14px;
  line-height: 1.9;
}

.footer-brand p,
.footer-newsletter p,
.contact-qr p {
  font-size: 12.5px;
  line-height: 1.85;
}

.footer-col a,
.footer-col button,
.footer-col span,
.contact-row a,
.contact-row p {
  font-size: 12.5px;
  line-height: 1.75;
}

/* Micro labels now share the same floor. */
.kicker,
.footer-col__title,
.footer-bottom,
.news-item__source,
.news-item time,
.news-item__index,
.news-list-count,
.stage__topbar,
.stage__caption,
.case-story__tag,
.case-story__audio,
.ip-card__status,
.ip-card__type,
.terminal-band__scope {
  letter-spacing: 0.08em;
}


.metric__label {
  font-size: 12.5px;
  line-height: 1.7;
}

.ip-chips li {
  font-size: 12px;
}

.news-contact__row {
  font-size: 12.5px;
}

.btn,
.hero__actions .btn,
.main-nav a,
.text-link {
  font-size: 12px;
}

.news-item__body > p:not(.news-item__cat),
.case-story__body,
.legal-content p,
.legal-content li {
  line-height: 1.9;
}


/* ---------- P0: vertical rhythm and contrast ---------- */
:root {
  --muted: #4a5e65;
  --section: clamp(72px, 7vw, 112px);
}

.on-dark {
  --muted: var(--muted-light);
}

.case-story {
  padding: clamp(44px, 5.5vw, 86px) 0;
}


/* ---------- P1: stage scale + footer rhythm ---------- */
.stage__product {
  top: 52%;
  width: min(58%, 900px);
}

.footer-col .footer-address {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .stage__product {
    width: min(62%, 560px);
  }
}


/* ---------- P1: hero meta flex fix ---------- */
.hero__meta-right {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .hero__meta {
    gap: 12px;
  }

  .hero__meta-left {
    min-width: 0;
  }

  .hero__meta-right {
    max-width: 132px;
  }
}


/* ---------- stage product scale ---------- */
.stage__product {
  top: 53%;
  width: min(44%, 680px);
}

@media (max-width: 640px) {
  .stage__product {
    width: min(55%, 400px);
  }
}


/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 33px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(8, 19, 25, 0.04);
}
.header-end .lang-switch { margin-right: 2px; }
@media (max-width: 640px) {
  .header-end .lang-switch {
    min-width: 31px;
    height: 23px;
    padding: 0 7px;
  }
}
