:root {
  --sand: #f2e9d8;
  --sand-deep: #dfd0b7;
  --navy: #142b3b;
  --navy-soft: #254355;
  --orange: #e65a3f;
  --teal: #2f928b;
  --ink: #172027;
  --white: #fffaf0;
  --font-serif: "Songti SC", "Noto Serif SC", STSong, SimSun, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --page-pad: clamp(1.25rem, 5vw, 6.5rem);
  --section-gap: clamp(5rem, 11vw, 10rem);
  --display: clamp(3.25rem, 6.2vw, 7rem);
  --title: clamp(2rem, 4vw, 4.25rem);
  --body: clamp(1rem, 1.2vw, 1.18rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--font-sans);
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.7rem var(--page-pad);
  color: var(--white);
  background: rgb(20 43 59 / 96%);
  border-bottom: 1px solid rgb(255 250 240 / 18%);
  backdrop-filter: blur(12px);
}

.brand {
  max-width: 28rem;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.8rem);
}

.site-nav a {
  position: relative;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 0.18rem;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.75rem;
  color: inherit;
  background: transparent;
  border: 1px solid rgb(255 250 240 / 40%);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(2.2rem, 0.08fr) minmax(0, 1fr) minmax(9rem, 0.2fr);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(2.5rem, 7vh, 6.5rem) var(--page-pad);
  overflow: hidden;
  border-bottom: 1px solid var(--sand-deep);
}

.hero-company {
  align-self: stretch;
  padding-right: 1.25rem;
  font-size: clamp(0.7rem, 0.9vw, 0.88rem);
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-align: center;
  writing-mode: vertical-rl;
}

.hero-statement {
  z-index: 2;
  align-self: center;
  max-width: 72rem;
  padding: 1rem clamp(1rem, 2vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.42rem 0.75rem;
  color: var(--white);
  background: var(--orange);
  font-size: clamp(0.9rem, 1.3vw, 1.12rem);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 40rem;
  margin: clamp(1.8rem, 4vw, 3.5rem) 0 0;
  padding-left: 1.15rem;
  border-left: 0.38rem solid var(--teal);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

.hero-mark {
  position: relative;
  align-self: stretch;
  min-height: 28rem;
  color: var(--navy);
}

.question-mark,
.answer-dot {
  position: absolute;
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.75;
}

.question-mark {
  top: 4%;
  left: -0.18em;
  font-size: clamp(21rem, 38vw, 46rem);
  opacity: 0.12;
  transform: translateX(5%);
  animation: question-enter 900ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.answer-dot {
  right: -0.15em;
  bottom: 3%;
  color: var(--orange);
  font-size: clamp(10rem, 19vw, 23rem);
  animation: answer-enter 600ms 480ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

@keyframes question-enter {
  from { opacity: 0; transform: translateX(22%); }
  to { opacity: 0.12; transform: translateX(5%); }
}

@keyframes answer-enter {
  from { opacity: 0; transform: translateY(16%); }
  to { opacity: 1; transform: translateY(0); }
}

.services {
  padding: var(--section-gap) var(--page-pad);
}

.services-first {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.services-last {
  padding-top: clamp(3rem, 6vw, 6rem);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1rem;
  max-width: 84rem;
  margin: 0 auto clamp(3rem, 7vw, 6.5rem);
  border-bottom: 2px solid var(--ink);
}

.section-heading p {
  margin: 0 0 -0.16em;
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.7;
}

.section-heading h2,
.about h2,
.advantages h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--title);
  line-height: 1.1;
}

.section-heading h2 {
  padding-bottom: 1.1rem;
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: clamp(3rem, 6vw, 6rem) minmax(0, 1fr) clamp(5rem, 13vw, 13rem);
  align-items: start;
  max-width: 76rem;
  min-height: 21rem;
  margin: 0 auto clamp(3rem, 8vw, 8rem);
  padding: clamp(2rem, 4vw, 4.5rem);
  overflow: hidden;
  border-top: 0.25rem solid var(--ink);
  background: rgb(255 250 240 / 32%);
}

.service-offset {
  max-width: 62rem;
  margin-right: 0;
  background: var(--teal);
  color: var(--white);
  border-color: var(--navy);
}

.service-offset-left {
  max-width: 66rem;
  margin-left: 0;
  background: var(--orange);
  color: var(--navy);
  border-color: var(--navy);
}

.service-final {
  margin-bottom: 0;
}

.service-number {
  padding-top: 0.45rem;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.service-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.service h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 3.5rem);
  line-height: 1.18;
}

.service-point {
  display: inline-block;
  margin: 1.2rem 0 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 0.34rem solid currentColor;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 750;
}

.service-copy > p:last-child {
  margin: 0;
  font-size: var(--body);
}

.service-punctuation {
  align-self: center;
  color: currentColor;
  font-family: var(--font-serif);
  font-size: clamp(9rem, 17vw, 18rem);
  font-weight: 700;
  line-height: 0.6;
  opacity: 0.14;
  transform: translateX(12%);
  transition: opacity 450ms ease, transform 450ms ease;
}

.service.is-visible .service-punctuation {
  opacity: 0.26;
  transform: translateX(0);
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
  min-height: 36rem;
  padding: clamp(4rem, 9vw, 9rem) var(--page-pad);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.about-mark {
  position: relative;
  min-height: 18rem;
  color: var(--orange);
  font-family: var(--font-serif);
  font-weight: 700;
}

.about-mark span:first-child {
  position: absolute;
  top: -0.1em;
  left: -0.2em;
  font-size: clamp(13rem, 25vw, 29rem);
  line-height: 0.8;
  opacity: 0.22;
}

.about-mark span:last-child {
  position: absolute;
  right: 0.1em;
  bottom: -0.2em;
  color: var(--teal);
  font-size: clamp(9rem, 14vw, 16rem);
  line-height: 0.8;
}

.about-copy {
  align-self: center;
  max-width: 72rem;
  padding-left: clamp(1.5rem, 5vw, 6rem);
  border-left: 1px solid rgb(255 250 240 / 30%);
}

.about-copy h2 {
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: var(--sand);
}

.about-copy p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.52rem);
  line-height: 2.05;
}

.advantages {
  position: relative;
  padding: var(--section-gap) var(--page-pad);
  color: var(--white);
  background: var(--navy);
}

.advantages-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  max-width: 86rem;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.advantages-heading span {
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 12vw, 13rem);
  font-weight: 700;
  line-height: 0;
}

.advantage-flow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
  max-width: 86rem;
  margin: 0 auto;
}

.advantage {
  position: relative;
  min-height: 20rem;
  padding: clamp(1.6rem, 3vw, 3rem);
  border: 1px solid rgb(255 250 240 / 28%);
}

.advantage::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.65rem;
  height: 100%;
  content: "";
  background: var(--orange);
  transform: scaleY(0.25);
  transform-origin: top;
  transition: transform 500ms ease;
}

.advantage.is-visible::before {
  transform: scaleY(1);
}

.advantage-one {
  grid-column: 1 / 8;
  background: var(--navy-soft);
}

.advantage-two {
  grid-column: 8 / 13;
  margin-top: 5rem;
  background: var(--teal);
}

.advantage-three {
  grid-column: 1 / 6;
  margin-top: -1px;
  background: var(--orange);
  color: var(--navy);
}

.advantage-three::before {
  background: var(--teal);
}

.advantage-four {
  grid-column: 6 / 13;
  margin-top: 3rem;
  background: var(--sand);
  color: var(--ink);
}

.advantage-four::before {
  background: var(--orange);
}

.advantage h3 {
  max-width: 10ch;
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.2;
}

.advantage p {
  max-width: 35rem;
  margin: 0;
  font-size: var(--body);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding: 2rem var(--page-pad);
  color: var(--white);
  background: #0b1d29;
  font-size: 0.86rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-underline-offset: 0.25em;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

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

@media (max-width: 767px) {
  :root {
    --page-pad: clamp(1rem, 5vw, 1.5rem);
    --section-gap: 4.5rem;
  }

  .site-header {
    min-height: 4.2rem;
  }

  .brand {
    max-width: min(72vw, 18rem);
    font-size: 0.73rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--page-pad);
    background: var(--navy);
    border-bottom: 1px solid rgb(255 250 240 / 22%);
    transform: scaleY(0);
    transform-origin: top;
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: scaleY(1);
    visibility: visible;
  }

  .site-nav a {
    min-height: 3.25rem;
    padding: 0.8rem 0;
    border-top: 1px solid rgb(255 250 240 / 16%);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 4.2rem);
    padding-top: 2.2rem;
    padding-bottom: 2.5rem;
  }

  .hero-company {
    align-self: auto;
    padding: 0 0 1rem;
    text-align: left;
    writing-mode: horizontal-tb;
  }

  .hero-statement {
    align-self: center;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-subtitle {
    margin-top: 1.5rem;
  }

  .hero-mark {
    position: absolute;
    right: -13%;
    bottom: 0;
    width: 58%;
    min-height: 43%;
    pointer-events: none;
  }

  .question-mark {
    top: 0;
    font-size: clamp(15rem, 70vw, 22rem);
  }

  .answer-dot {
    font-size: clamp(8rem, 38vw, 13rem);
  }

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

  .section-heading p {
    font-size: 5.5rem;
  }

  .service,
  .service-offset,
  .service-offset-left {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    min-height: 0;
    margin: 0 0 2.5rem;
    padding: 1.5rem 1.2rem 2rem;
  }

  .service-punctuation {
    position: absolute;
    right: -0.1em;
    bottom: -0.05em;
    font-size: 9rem;
    pointer-events: none;
  }

  .about {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .about-mark {
    position: absolute;
    inset: 0;
    min-height: 0;
    pointer-events: none;
  }

  .about-mark span:first-child {
    top: 0.1em;
    left: auto;
    right: -0.2em;
    font-size: 14rem;
  }

  .about-mark span:last-child {
    right: auto;
    bottom: -0.1em;
    left: -0.15em;
    font-size: 10rem;
  }

  .about-copy {
    position: relative;
    z-index: 2;
    padding-left: 1rem;
  }

  .about-copy p {
    font-size: 1.03rem;
    line-height: 1.95;
  }

  .advantages-heading {
    margin-bottom: 3rem;
  }

  .advantages-heading span {
    font-size: 6rem;
  }

  .advantage-flow {
    display: block;
  }

  .advantage,
  .advantage-two,
  .advantage-three,
  .advantage-four {
    min-height: 0;
    margin: -1px 0 0;
    padding: 2rem 1.5rem 2.4rem;
  }

  .advantage h3 {
    max-width: none;
    margin-bottom: 1.25rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  :root {
    --page-pad: clamp(2rem, 5vw, 4rem);
  }

  .hero {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(6rem, 0.16fr);
  }

  .hero h1 {
    font-size: clamp(3.35rem, 7vw, 4.6rem);
  }

  .service {
    grid-template-columns: 4rem minmax(0, 1fr) 7rem;
  }

  .about {
    grid-template-columns: minmax(8rem, 0.22fr) minmax(0, 1fr);
  }
}

@media (min-width: 1100px) {
  .service-wide:nth-of-type(2) {
    margin-left: 4vw;
  }

  .service-offset-left {
    margin-left: 4vw;
  }
}

@media (min-width: 1440px) {
  :root {
    --page-pad: clamp(5rem, 7vw, 9rem);
  }

  .hero-statement {
    padding-left: 5vw;
  }

  .service-offset {
    margin-right: 4vw;
  }

  .advantage-flow,
  .advantages-heading,
  .section-heading {
    max-width: 96rem;
  }
}

@media (min-aspect-ratio: 2 / 1) and (min-width: 1000px) {
  .hero {
    min-height: max(34rem, calc(100svh - 4.5rem));
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 5.6vw, 7rem);
  }

  .hero-mark {
    min-height: 24rem;
  }
}

@media (max-aspect-ratio: 3 / 4) {
  .hero {
    min-height: min(56rem, calc(100svh - 4.2rem));
  }

  .hero-statement {
    align-self: center;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-header {
    position: relative;
    height: 3.5rem;
    min-height: 3.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .site-nav a {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .hero {
    grid-template-columns: 2rem minmax(0, 1fr) minmax(6rem, 0.14fr);
    min-height: calc(100svh - 3.5rem);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .hero-company {
    padding-right: 0.5rem;
    writing-mode: vertical-rl;
  }

  .hero-statement {
    padding: 0 0.65rem;
  }

  .eyebrow {
    margin-bottom: 0.45rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 6vw, 3.3rem);
    line-height: 0.96;
  }

  .hero-subtitle {
    max-width: 34rem;
    margin-top: 0.55rem;
    padding-left: 0.7rem;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .hero-mark {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    min-height: 18rem;
  }

  .question-mark {
    font-size: clamp(14rem, 33vw, 20rem);
  }

  .answer-dot {
    font-size: clamp(7rem, 16vw, 10rem);
  }
}

@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;
  }

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