:root {
  --ink: #202522;
  --ink-deep: #163a3d;
  --paper: #f3efe4;
  --paper-light: #fbf8ef;
  --moss: #cad1c5;
  --vermilion: #c54832;
  --rule: rgba(22, 58, 61, 0.22);
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --header-h: 74px;
  --page-pad: clamp(20px, 5vw, 88px);
  --content-max: 1560px;
  --ease-paper: cubic-bezier(0.2, 0.72, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(22, 58, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 58, 61, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--sans);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: var(--paper-light);
  background: var(--ink-deep);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  color: var(--ink-deep);
  background: rgba(243, 239, 228, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
}

.brand-seal {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  background: var(--vermilion);
  font: 700 13px/1 var(--serif);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

.brand-name {
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.site-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 150ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--ink-deep);
  background: transparent;
  font: inherit;
}

main {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
  padding: calc(var(--header-h) + 72px) var(--page-pad) 88px;
}

.hero-rule {
  position: absolute;
  top: calc(var(--header-h) + 28px);
  bottom: 56px;
  left: calc(var(--page-pad) - 24px);
  width: 1px;
  background: var(--rule);
}

.hero-rule span {
  position: absolute;
  top: 0;
  left: -8px;
  color: var(--vermilion);
  font: 700 11px/1 var(--sans);
  writing-mode: vertical-rl;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-left: clamp(0px, 2vw, 26px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 8px;
  color: var(--vermilion);
  border-bottom: 2px solid var(--vermilion);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
}

h1 {
  margin-bottom: 30px;
  color: var(--ink-deep);
  font-size: clamp(48px, 6.7vw, 108px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.9;
}

.decision-path {
  position: relative;
  width: 100%;
  max-width: 610px;
  justify-self: end;
  aspect-ratio: 1.16;
  color: var(--ink-deep);
  background: rgba(251, 248, 239, 0.54);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--ink-deep);
  clip-path: polygon(0 0, 92% 0, 100% 10%, 100% 100%, 0 100%);
}

.decision-path svg {
  width: 100%;
  height: 100%;
}

.path-grid {
  fill: none;
  stroke: rgba(22, 58, 61, 0.13);
  stroke-width: 1;
}

.path-line {
  fill: none;
  stroke: var(--ink-deep);
  stroke-width: 5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: draw-path 900ms var(--ease-paper) 240ms forwards;
}

.path-dot {
  fill: var(--vermilion);
  opacity: 0;
  animation: stamp 240ms ease forwards;
}

.path-dot-one { animation-delay: 180ms; }
.path-dot-two { animation-delay: 480ms; }
.path-dot-three { animation-delay: 780ms; }

.path-label {
  position: absolute;
  padding: 2px 8px;
  color: var(--ink-deep);
  background: var(--paper-light);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.path-label-one { top: 15%; left: 7%; }
.path-label-two { top: 45%; left: 32%; }
.path-label-three { right: 7%; bottom: 16%; }

.path-note {
  position: absolute;
  right: 7%;
  bottom: 5%;
  color: var(--vermilion);
  font: 700 clamp(13px, 1.2vw, 16px)/1.4 var(--serif);
}

.hero-margin-note {
  position: absolute;
  right: max(10px, calc(var(--page-pad) * 0.25));
  bottom: 20px;
  color: rgba(22, 58, 61, 0.45);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
}

.services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  padding: 110px var(--page-pad) 130px;
  color: var(--paper-light);
  background: var(--ink-deep);
  isolation: isolate;
}

.services::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 228, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 228, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.section-heading {
  grid-column: 1 / 13;
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 72px;
  border-bottom: 1px solid rgba(243, 239, 228, 0.3);
}

.section-heading h2,
.about h2,
.advantages h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-index {
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-fold {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: clamp(32px, 4vw, 58px);
  border: 1px solid rgba(243, 239, 228, 0.3);
  background: rgba(15, 47, 50, 0.72);
  transform-origin: top;
}

.service-fold::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--vermilion);
}

.service-one {
  grid-column: 1 / 8;
  margin-right: 4vw;
}

.service-one::after { right: -9px; bottom: -9px; }

.service-two {
  grid-column: 6 / 13;
  margin-top: 74px;
  margin-left: 3vw;
}

.service-two::after { left: -9px; top: -9px; }

.service-three {
  grid-column: 1 / 7;
  margin-top: 80px;
  margin-right: 3vw;
}

.service-three::after { right: -9px; top: -9px; }

.service-four {
  grid-column: 5 / 13;
  margin-top: 58px;
  margin-left: 5vw;
}

.service-four::after { left: -9px; bottom: -9px; }

.service-number {
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.25em;
}

.service-highlight {
  margin: 0 0 8px;
  color: var(--moss);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.service-fold h3 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
}

.service-fold p:last-child {
  margin: 0;
  color: rgba(251, 248, 239, 0.82);
  font-size: clamp(15px, 1.25vw, 18px);
}

.about {
  grid-column: 2 / 12;
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2fr);
  gap: clamp(30px, 6vw, 96px);
  margin-top: 112px;
  padding: clamp(44px, 6vw, 84px);
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: -16px 18px 0 var(--vermilion);
  clip-path: polygon(0 0, 96% 0, 100% 8%, 100% 100%, 4% 100%, 0 92%);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31%;
  width: 1px;
  background: var(--rule);
}

.about-caption {
  color: var(--ink-deep);
}

.about-text p {
  margin: 0 0 20px;
  font-size: clamp(15px, 1.25vw, 18px);
}

.about-text p:last-child {
  margin-bottom: 0;
  padding-left: 20px;
  border-left: 3px solid var(--vermilion);
  font-weight: 600;
}

.advantages {
  position: relative;
  min-height: 1040px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(48px, auto));
  gap: 18px;
  padding: 130px var(--page-pad);
}

.advantages::before,
.advantages::after {
  content: "";
  position: absolute;
  background: var(--rule);
}

.advantages::before {
  top: 17%;
  bottom: 17%;
  left: 50%;
  width: 1px;
}

.advantages::after {
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
}

.advantages-core {
  z-index: 2;
  grid-column: 5 / 9;
  grid-row: 5 / 9;
  display: grid;
  place-content: center;
  min-height: 270px;
  padding: 42px;
  color: var(--paper-light);
  background: var(--ink-deep);
  text-align: center;
  clip-path: polygon(10% 0, 100% 0, 100% 88%, 90% 100%, 0 100%, 0 12%);
}

.advantages-core h2 {
  margin: 14px 0 0;
}

.core-mark {
  width: 18px;
  height: 18px;
  margin: 22px auto 0;
  background: var(--vermilion);
  transform: rotate(45deg);
}

.advantage-note {
  z-index: 2;
  padding: clamp(24px, 3vw, 42px);
  background: rgba(251, 248, 239, 0.91);
  border-top: 4px solid var(--ink-deep);
  box-shadow: 0 14px 34px rgba(32, 37, 34, 0.08);
}

.advantage-note > span {
  color: var(--vermilion);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.advantage-note h3 {
  margin: 14px 0;
  color: var(--ink-deep);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.25;
}

.advantage-note p {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 17px);
}

.advantage-a { grid-column: 1 / 6; grid-row: 1 / 5; }
.advantage-b { grid-column: 8 / 13; grid-row: 2 / 6; }
.advantage-c { grid-column: 1 / 6; grid-row: 9 / 13; }
.advantage-d { grid-column: 8 / 13; grid-row: 8 / 12; }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 56px 20px;
  color: rgba(251, 248, 239, 0.78);
  background: var(--ink-deep);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  padding: 8px;
  color: var(--paper-light);
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease-paper), transform 650ms var(--ease-paper);
}

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

@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

@keyframes stamp {
  0% { opacity: 0; transform: scale(0.4); transform-origin: center; }
  100% { opacity: 1; transform: scale(1); transform-origin: center; }
}

@media (max-width: 1099px) {
  :root { --header-h: 68px; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.86fr;
    gap: 38px;
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 92px;
  }

  .service-one { grid-column: 1 / 9; }
  .service-two { grid-column: 5 / 13; }
  .service-three { grid-column: 1 / 8; }
  .service-four { grid-column: 4 / 13; }

  .about { grid-column: 1 / 13; }

  .advantages { min-height: 930px; }
  .advantages-core { grid-column: 5 / 9; }
  .advantage-a, .advantage-c { grid-column: 1 / 6; }
  .advantage-b, .advantage-d { grid-column: 8 / 13; }
}

@media (max-width: 767px) {
  :root {
    --header-h: 62px;
    --page-pad: clamp(18px, 5.5vw, 28px);
  }

  .site-header {
    padding-right: 16px;
  }

  .brand {
    max-width: calc(100vw - 88px);
  }

  .brand-seal {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .brand-name {
    font-size: 13px;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-toggle-lines {
    width: 24px;
    display: grid;
    gap: 7px;
  }

  .menu-toggle-lines i {
    display: block;
    height: 2px;
    background: currentColor;
    transition: transform 150ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px var(--page-pad) 18px;
    background: rgba(243, 239, 228, 0.98);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 20px rgba(32, 37, 34, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--rule);
  }

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 44px;
    padding-top: calc(var(--header-h) + 58px);
    padding-bottom: 64px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-rule {
    left: 10px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(43px, 14vw, 64px);
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
  }

  .decision-path {
    max-width: 520px;
    justify-self: center;
  }

  .path-note {
    font-size: 12px;
  }

  .hero-margin-note {
    display: none;
  }

  .services {
    display: block;
    padding-top: 78px;
    padding-bottom: 86px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .service-fold,
  .service-one,
  .service-two,
  .service-three,
  .service-four {
    width: 100%;
    margin: 0 0 28px;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 26px 22px;
  }

  .service-two,
  .service-four {
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .service-three {
    width: calc(100% - 14px);
  }

  .service-fold h3 {
    font-size: 26px;
  }

  .about {
    display: block;
    margin: 68px 0 62px;
    padding: 40px 26px 46px;
    box-shadow: -8px 10px 0 var(--vermilion);
    clip-path: polygon(0 0, 94% 0, 100% 4%, 100% 100%, 6% 100%, 0 96%);
  }

  .about::before {
    top: 108px;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 1px;
  }

  .about-caption {
    margin-bottom: 48px;
  }

  .about h2 {
    margin: 8px 0 0;
    font-size: 38px;
  }

  .about-text p {
    font-size: 15px;
  }

  .advantages {
    min-height: auto;
    display: block;
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .advantages::before {
    top: 170px;
    bottom: 86px;
    left: calc(var(--page-pad) + 15px);
  }

  .advantages::after {
    display: none;
  }

  .advantages-core {
    min-height: 210px;
    margin-bottom: 42px;
    padding: 32px;
  }

  .advantages-core h2 {
    font-size: 42px;
  }

  .advantage-note {
    position: relative;
    margin: 0 0 24px 34px;
    padding: 26px 24px;
  }

  .advantage-note::before {
    content: "";
    position: absolute;
    top: 28px;
    left: -26px;
    width: 16px;
    height: 16px;
    background: var(--vermilion);
  }

  .site-footer {
    min-height: 190px;
    font-size: 14px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  :root { --header-h: 54px; }

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

  .brand-seal {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 520px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 28px;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 32px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(38px, 7vw, 56px);
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
  }

  .decision-path {
    max-height: 350px;
  }

  .site-nav {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .about {
    grid-template-columns: 0.65fr 1.75fr;
  }

  .about::before {
    left: 30%;
  }
}

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: 1.05fr 0.85fr;
  }

  .services {
    padding-top: 140px;
    padding-bottom: 160px;
  }

  .advantages {
    min-height: 1120px;
  }
}

@media (min-aspect-ratio: 2/1) and (min-width: 1100px) {
  .hero {
    min-height: 680px;
    padding-top: calc(var(--header-h) + 50px);
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(58px, 5vw, 88px);
  }

  .decision-path {
    max-width: 530px;
  }

  .services {
    padding-top: 92px;
  }
}

@media (max-aspect-ratio: 3/4) and (min-width: 768px) {
  .hero {
    min-height: 980px;
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-copy {
    max-width: 760px;
  }

  .decision-path {
    width: min(76vw, 590px);
    justify-self: end;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .path-line { stroke-dashoffset: 0; }
  .path-dot { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
