/* ==========================================================================
   创海云官网 · 2026
   ========================================================================== */

:root {
  --navy: #06111f;
  --navy-2: #0a1c30;
  --navy-3: #0d243d;
  --blue: #2e7cf6;
  --blue-2: #1f6bff;
  --blue-soft: #eaf2ff;
  --cyan: #2bd2e6;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #0b1b2b;
  --text: #2a3b4d;
  --muted: #66798d;
  --muted-2: #8b9caf;
  --line: #dfe6f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --container: 1240px;
  --pad: 40px;
  --header-h: 78px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - var(--pad) * 2), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
  transition: transform 0.2s;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(6, 17, 31, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-solid::after {
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-text span {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  opacity: 0.58;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--blue);
  transition: right 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.is-active::after {
  right: 0;
}

.is-solid .nav a {
  color: var(--muted);
}

.is-solid .nav a:hover,
.is-solid .nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}

.header-tel svg {
  width: 14px;
  height: 14px;
}

.is-solid .header-tel {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.header-cta:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  transform: translateY(-1px);
}

.header-cta svg {
  width: 13px;
  height: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.is-solid .menu-toggle {
  border-color: var(--line);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Buttons / labels
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 0 25px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-line {
  color: var(--ink);
  background: transparent;
  border-color: #c8d5e5;
}

.btn-line:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow.on-dark {
  color: var(--cyan);
}

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

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: 120px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-rack.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.58;
  transform: scale(1.015);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 11, 22, 0.97) 0%, rgba(4, 14, 27, 0.88) 36%, rgba(4, 14, 27, 0.42) 74%, rgba(4, 14, 27, 0.62) 100%),
    linear-gradient(180deg, rgba(3, 11, 22, 0.58) 0%, transparent 34%, rgba(3, 11, 22, 0.66) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

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

.hero-copy {
  max-width: 1040px;
  padding: 20px 0 56px;
}

.hero .eyebrow {
  color: var(--cyan);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: #86b8ff;
}

.hero-sub {
  max-width: 650px;
  margin-top: 30px;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
  color: rgba(223, 234, 246, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 32px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(201, 218, 236, 0.6);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat {
  padding: 26px 26px 32px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:not(:first-child) {
  padding-left: 30px;
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat > span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: rgba(207, 222, 238, 0.58);
}

.hero-stat strong span {
  display: inline;
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.hero-side {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.28);
}

/* --------------------------------------------------------------------------
   Brand strip
   -------------------------------------------------------------------------- */

.brand-strip {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #071525;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brand-strip-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-strip-label {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.34);
}

.brand-marquee {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 12.5px;
  white-space: nowrap;
}

.brand-track span::after {
  content: "";
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 112px 0;
}

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

.section.is-tight {
  padding: 84px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head h2.on-dark {
  color: var(--white);
}

.section-lead {
  padding-bottom: 5px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.section-lead.on-dark {
  color: rgba(222, 233, 245, 0.62);
}

.section-foot {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
  gap: 86px;
  align-items: center;
}

.about-copy .lead {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy .body {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

.about-copy .text-link {
  margin-top: 30px;
}

.about-figure {
  position: relative;
  padding: 16px 16px 0 0;
}

.about-figure::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 60px;
  left: 32px;
  border: 1px solid rgba(46, 124, 246, 0.32);
}

.about-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-figure figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof {
  padding: 19px 20px;
  background: var(--white);
}

.proof strong {
  display: block;
  font-family: var(--font-en);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.proof span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 27px 24px 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  z-index: 1;
  background: #f8fbff;
  box-shadow: 0 18px 40px rgba(11, 27, 43, 0.07);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}

.service-card h3 {
  margin-top: 17px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.service-en {
  margin-top: 5px;
  font-family: var(--font-en);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.service-card p {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

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

.tag {
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.4;
  color: #50657a;
  background: #f0f4f9;
}

.service-card:hover .tag {
  background: #e8f0fc;
}

/* --------------------------------------------------------------------------
   Featured cases
   -------------------------------------------------------------------------- */

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

.case-card {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.case-card.w-7 {
  grid-column: span 7;
}

.case-card.w-5 {
  grid-column: span 5;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 14, 27, 0.06) 20%, rgba(4, 14, 27, 0.32) 55%, rgba(4, 14, 27, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 14, 27, 0.35), transparent 55%);
}

.case-card:hover img {
  transform: scale(1.045);
}

.case-card-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 32px 32px;
}

.case-card-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.case-card-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.case-card h3 {
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.case-card p {
  max-width: 520px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(225, 235, 246, 0.64);
}

.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 10.5px;
  color: rgba(225, 235, 246, 0.62);
}

.case-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.case-card-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

.case-card-arrow {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.case-card-arrow svg {
  width: 15px;
  height: 15px;
}

.case-card:hover .case-card-arrow {
  background: var(--blue);
  border-color: var(--blue);
  transform: translate(3px, -3px);
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #cfdae8;
}

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

.process-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
}

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

.process-step:not(:first-child) {
  padding-left: 20px;
}

.process-num {
  font-family: var(--font-en);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
}

.process-step h3 {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.process-step p {
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.rule {
  padding: 23px 22px;
  background: var(--white);
}

.rule h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.rule p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Standards (dark)
   -------------------------------------------------------------------------- */

.standards {
  position: relative;
  padding: 112px 0;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.standards::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/rack-macro.webp");
  background-position: right center;
  background-size: cover;
  opacity: 0.24;
}

.standards::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06111f 0%, rgba(6, 17, 31, 0.96) 32%, rgba(6, 17, 31, 0.45) 68%, rgba(6, 17, 31, 0.7) 100%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.35), transparent 30%, rgba(6, 17, 31, 0.6));
}

.standards .container {
  position: relative;
  z-index: 2;
}

.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 90px;
  align-items: start;
}

.standards h2 {
  max-width: 640px;
  margin-top: 16px;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.standards .section-lead {
  margin-top: 24px;
  color: rgba(218, 232, 246, 0.62);
}

.standard-list {
  margin-top: 10px;
}

.standard-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.standard-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.standard-item .num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
}

.standard-item h3 {
  font-size: 18px;
  font-weight: 500;
}

.standard-item p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(218, 232, 246, 0.58);
}

.standard-stats {
  display: flex;
  gap: 54px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.standard-stat strong {
  display: block;
  font-family: var(--font-en);
  font-size: 33px;
  font-weight: 500;
  line-height: 1;
}

.standard-stat > span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: rgba(207, 222, 238, 0.52);
}

.standard-stat strong span {
  display: inline;
  margin: 0;
  font-size: inherit;
  color: inherit;
}

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

.cta-band {
  position: relative;
  padding: 76px 0;
  color: var(--white);
  background: linear-gradient(115deg, #0a1c30 0%, #0c2a4d 56%, #123a67 100%);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(46, 124, 246, 0.34), transparent 68%);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-inner h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cta-inner p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(218, 232, 246, 0.62);
}

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

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 190px 0 92px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 38%, rgba(46, 124, 246, 0.25), transparent 42%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.3), rgba(6, 17, 31, 0.98));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

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

.breadcrumb span {
  color: var(--cyan);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-hero h1 .accent {
  color: #86b8ff;
}

.page-hero p {
  max-width: 620px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(218, 232, 246, 0.64);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  font-size: 11px;
  color: rgba(207, 222, 238, 0.54);
}

.page-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-hero-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */

.error-hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 170px 0 104px;
}

.error-code {
  position: absolute;
  z-index: 1;
  top: 46%;
  right: -0.035em;
  font-family: var(--font-en);
  font-size: clamp(220px, 34vw, 520px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(134, 184, 255, 0.16);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.error-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

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

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

.error-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.error-link {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--white);
  transition: background 0.25s, color 0.25s;
}

.error-link span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.error-link strong {
  font-size: 24px;
  font-weight: 600;
}

.error-link svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.25s;
}

.error-link:hover {
  color: var(--white);
  background: var(--navy);
}

.error-link:hover span {
  color: rgba(255, 255, 255, 0.52);
}

.error-link:hover svg {
  color: var(--cyan);
  transform: translate(4px, -4px);
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.service-index {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.service-index-inner {
  display: flex;
  gap: 8px;
  padding: 13px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-index-inner::-webkit-scrollbar {
  display: none;
}

.service-index a {
  flex: none;
  padding: 7px 12px;
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.service-index a:hover {
  color: var(--blue);
  border-color: #cfe0f8;
  background: #f7fbff;
}

.service-block {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 52px);
}

.service-block:nth-child(even) {
  background: var(--paper);
}

.service-block-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 78px;
  align-items: center;
}

.service-block.reverse .service-block-media {
  order: -1;
}

.service-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

.service-kicker strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-block h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.service-block .service-en-title {
  margin-top: 7px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.service-block-desc {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 28px;
}

.service-list li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text);
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue);
}

.service-typical {
  margin-top: 26px;
  padding-left: 14px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 2px solid var(--blue);
}

.service-typical strong {
  color: var(--ink);
  font-weight: 600;
}

.service-block-media {
  position: relative;
}

.service-block-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-block-media::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 74px;
  height: 74px;
  border-top: 1px solid rgba(46, 124, 246, 0.5);
  border-right: 1px solid rgba(46, 124, 246, 0.5);
}

/* --------------------------------------------------------------------------
   Cases page
   -------------------------------------------------------------------------- */

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

.case-stat {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.case-stat:not(:first-child) {
  padding-left: 26px;
}

.case-stat:last-child {
  border-right: 0;
}

.case-stat strong {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.case-stat span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 8px 15px;
  font-size: 11.5px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  color: var(--blue);
  border-color: #bfd6f6;
}

.filter-btn.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.case-grid-all {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.case-tile.is-hidden {
  display: none;
}

.case-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.case-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(4, 14, 27, 0.9) 100%);
}

.case-tile:hover img {
  transform: scale(1.04);
}

.case-tile-body {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 28px;
}

.case-tile-cat {
  font-family: var(--font-en);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.case-tile h3 {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.case-tile p {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(225, 235, 246, 0.6);
}

.project-table {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.55fr 1.9fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.project-row h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.project-row .area,
.project-row .cat {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--muted);
}

.project-row .scope {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.project-row.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 88px;
  align-items: start;
}

.story-copy .lead {
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
}

.story-copy p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.story-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-side figure:first-child {
  grid-row: span 2;
}

.story-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-side figure:first-child img {
  aspect-ratio: 4 / 5;
}

.story-side figure:not(:first-child) img {
  aspect-ratio: 4 / 3;
}

.story-side figcaption {
  margin-top: 7px;
  font-size: 9.5px;
  color: var(--muted-2);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-card {
  padding: 30px 26px;
  background: var(--white);
}

.value-card .num {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
}

.value-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.value-card p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

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

.cred-card {
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.cred-card .cred-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: var(--blue-soft);
}

.cred-card h3 {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.cred-card p {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.brand-item {
  display: grid;
  place-items: center;
  min-height: 78px;
  font-size: 12.5px;
  color: #4d6278;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area-band {
  padding: 74px 0;
  color: var(--white);
  background: var(--navy);
}

.area-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-inner h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 600;
  line-height: 1.3;
}

.area-inner p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(218, 232, 246, 0.6);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: start;
}

.contact-primary {
  padding: 10px 0;
}

.contact-primary .eyebrow {
  margin-bottom: 26px;
}

.phone-block {
  display: inline-flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 8px;
}

.phone-block a {
  font-family: var(--font-en);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.phone-block a:hover {
  color: var(--blue);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  margin-bottom: 5px;
  font-size: 10.5px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #d6e6ff;
}

.copy-btn:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.contact-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.contact-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.contact-row dt {
  font-size: 10.5px;
  color: var(--muted-2);
}

.contact-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.contact-row a {
  border-bottom: 1px solid #c9d9ee;
}

.contact-row a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-card {
  position: relative;
  padding: 34px 30px 30px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
}

.map-card::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 26px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(43, 210, 230, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(43, 210, 230, 0.045), 0 0 0 46px rgba(43, 210, 230, 0.025);
}

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

.map-card .eyebrow {
  color: var(--cyan);
}

.map-card h2 {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.map-card p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(218, 232, 246, 0.62);
}

.map-card .text-link {
  margin-top: 24px;
  color: var(--cyan);
}

.start-steps {
  padding: 28px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.start-steps h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

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

.start-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.start-step .num {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
}

.start-step h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.start-step p {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Case detail
   -------------------------------------------------------------------------- */

.case-detail-hero {
  position: relative;
  padding: 190px 0 0;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.case-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 11, 22, 0.96), rgba(3, 11, 22, 0.52)), var(--case-cover) center / cover no-repeat;
  opacity: 0.8;
}

.case-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.2), var(--navy) 100%);
}

.case-detail-hero .container {
  position: relative;
  z-index: 2;
}

.case-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.case-detail-hero p {
  max-width: 640px;
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(218, 232, 246, 0.66);
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.case-fact {
  padding: 24px 24px 28px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.case-fact:not(:first-child) {
  padding-left: 26px;
}

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

.case-fact strong {
  display: block;
  font-family: var(--font-en);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.case-fact span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: rgba(207, 222, 238, 0.52);
}

.case-body {
  padding: 90px 0 100px;
}

.case-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.case-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-section h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-section-content {
  max-width: 780px;
}

.case-section-content .big {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
}

.case-section-content p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.case-section-content ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.case-section-content li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
}

.case-section-content li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.case-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.case-scope span {
  padding: 5px 10px;
  font-size: 10.5px;
  color: #50657a;
  background: var(--paper);
  border: 1px solid var(--line);
}

.case-gallery {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 16px;
  margin-top: 30px;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: 4 / 3;
}

.case-gallery img:not(:first-child) {
  aspect-ratio: 16 / 10;
}

.case-gallery.is-one {
  grid-template-columns: 1fr;
}

.case-gallery.is-one img:first-child {
  grid-row: auto;
  aspect-ratio: 16 / 9;
}

.case-gallery.is-two {
  grid-template-columns: 1fr 1fr;
}

.case-gallery.is-two img:first-child {
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.case-gallery.is-two img:not(:first-child) {
  aspect-ratio: 4 / 3;
}

.case-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.case-next span {
  font-size: 10.5px;
  color: var(--muted-2);
}

.case-next a {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  color: var(--ink);
}

.case-next a:hover {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 62px 0 22px;
  color: rgba(203, 219, 236, 0.56);
  background: #040c16;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 1fr;
  gap: 54px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(203, 219, 236, 0.5);
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(203, 219, 236, 0.48);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col .footer-phone {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 9.5px;
  color: rgba(203, 219, 236, 0.32);
}

.footer-bottom span:last-child {
  font-family: var(--font-en);
  letter-spacing: 0.08em;
}

.footer-icp a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav {
    gap: 24px;
  }

  .header-tel {
    display: none;
  }

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

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

  .process-step:nth-child(3n) {
    border-right: 0;
  }

  .process-step:nth-child(n + 4) {
    margin-top: 34px;
  }

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

@media (max-width: 980px) {
  :root {
    --pad: 28px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-solid,
  .site-header.menu-active {
    color: var(--white);
    background: var(--navy);
    border-color: transparent;
  }

  .site-header.menu-active {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.menu-active .nav a {
    color: rgba(255, 255, 255, 0.78);
  }

  .site-header.menu-active .nav a.is-active {
    color: var(--cyan);
  }

  .site-header.menu-active .nav {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 42px var(--pad);
    color: var(--white);
    background: var(--navy);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav a {
    width: 100%;
    padding: 17px 0;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active {
    color: var(--cyan);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 68px);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat:nth-child(2) {
    border-right: 0;
  }

  .hero-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat:nth-child(3) {
    padding-left: 0;
  }

  .hero-side {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-lead {
    max-width: 620px;
  }

  .about-grid,
  .standards-grid,
  .story-grid,
  .contact-grid,
  .service-block-grid,
  .area-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-figure {
    max-width: 620px;
  }

  .service-block.reverse .service-block-media {
    order: 0;
  }

  .service-block-media {
    max-width: 680px;
  }

  .case-card.w-7,
  .case-card.w-5 {
    grid-column: span 6;
  }

  .case-card {
    min-height: 390px;
  }

  .standards::before {
    background-position: center bottom;
    opacity: 0.18;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .case-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-stat:nth-child(2) {
    border-right: 0;
  }

  .case-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .case-stat:nth-child(3) {
    padding-left: 0;
  }

  .project-row {
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
  }

  .project-row .scope {
    grid-column: span 3;
    margin-top: -6px;
  }

  .case-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .case-gallery img:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 720px) {
  :root {
    --pad: 22px;
    --header-h: 66px;
  }

  .hero {
    min-height: 780px;
    padding-top: 108px;
  }

  .hero-copy {
    padding-bottom: 46px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(36px, 10.2vw, 52px);
    line-height: 1.2;
  }

  .hero-sub {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    margin-top: 24px;
    font-size: 10.5px;
  }

  .hero-stat {
    padding: 20px 14px 24px 0;
  }

  .hero-stat:not(:first-child) {
    padding-left: 16px;
  }

  .hero-stat strong {
    font-size: 31px;
  }

  .error-hero {
    min-height: 640px;
    padding: 138px 0 76px;
  }

  .error-code {
    top: 58%;
    right: -0.04em;
    font-size: 58vw;
  }

  .error-links {
    grid-template-columns: 1fr;
  }

  .error-link {
    min-height: 150px;
    padding: 24px 22px;
  }

  .brand-strip-inner {
    display: block;
  }

  .brand-strip-label {
    display: block;
    margin-bottom: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

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

  .service-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-figure {
    padding: 10px 10px 0 0;
  }

  .about-figure::before {
    left: 18px;
  }

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

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

  .case-card.w-7,
  .case-card.w-5 {
    grid-column: span 1;
  }

  .case-card {
    min-height: 350px;
  }

  .case-card-content {
    padding: 24px;
  }

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

  .process-step {
    padding: 24px 14px 24px 0;
  }

  .process-step:not(:first-child) {
    padding-left: 14px;
  }

  .process-step:nth-child(2n) {
    border-right: 0;
  }

  .process-step:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .process-step:nth-child(n + 3) {
    margin-top: 0;
    border-top: 1px solid var(--line);
  }

  .rules {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .standard-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 150px 0 70px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 9.6vw, 48px);
  }

  .service-block {
    padding: 66px 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .case-grid-all {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 16px 0;
  }

  .project-row h3 {
    font-size: 14px;
  }

  .project-row .cat {
    grid-column: 1;
    grid-row: 2;
  }

  .project-row .area {
    grid-column: 2;
    grid-row: 1;
  }

  .project-row .scope {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2px;
  }

  .value-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }

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

  .story-side {
    grid-template-columns: 1fr 1fr;
  }

  .story-side figure:first-child {
    grid-row: auto;
  }

  .story-side figure:first-child img {
    aspect-ratio: 4 / 3;
  }

  .case-facts {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .case-fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .case-fact:nth-child(3) {
    padding-left: 0;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery img:first-child {
    grid-column: auto;
  }

  .case-gallery.is-one,
  .case-gallery.is-two {
    grid-template-columns: 1fr;
  }

  .case-gallery.is-one img:first-child,
  .case-gallery.is-two img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .case-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .phone-block {
    flex-wrap: wrap;
    gap: 12px;
  }

  .phone-block a {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .contact-row {
    grid-template-columns: 76px 1fr;
    gap: 14px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
