:root {
  --shell: #f6e7dd;
  --shell-light: #fff8f3;
  --berry: #4b1739;
  --berry-deep: #35102a;
  --fruit: #d94f4f;
  --saffron: #f4b63e;
  --turquoise: #2e7d6e;
  --line: rgba(75, 23, 57, 0.2);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --page-pad: clamp(1.25rem, 4vw, 5.5rem);
  --content-max: 92rem;
  --section-gap: clamp(5rem, 10vw, 10rem);
  --header-height: 4.75rem;
  --ease: cubic-bezier(0.22, 0.78, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--berry);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(75, 23, 57, 0.055) 50%, transparent calc(50% + 0.5px)),
    var(--shell);
  font-family: var(--font-serif);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--berry);
  color: var(--shell-light);
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 231, 221, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(60vw, 31rem);
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.2vw, 0.96rem);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.brand-mark {
  width: 2.25rem;
  height: 1.4rem;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.18rem;
  border-top: 0.22rem solid var(--berry);
}

.brand-mark i {
  width: 0.19rem;
  height: var(--mark-height, 0.75rem);
  background: var(--fruit);
}

.brand-mark i:nth-child(2) { --mark-height: 1.05rem; }
.brand-mark i:nth-child(3) { --mark-height: 0.62rem; }
.brand-mark i:nth-child(4) { --mark-height: 0.9rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.4rem);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
}

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

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--berry);
  font: 700 0.8rem var(--font-sans);
}

main {
  overflow: clip;
}

.hero,
.business,
.about,
.advantages {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  padding-top: clamp(3rem, 7vh, 6rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(26rem, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: clamp(0.45rem, 0.7vw, 0.75rem) solid var(--fruit);
}

.section-tag {
  margin: 0 0 1rem;
  color: var(--turquoise);
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.9rem, 5.6vw, 6.2rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 29rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.9;
}

.comb-stage {
  position: relative;
  width: 100%;
  min-height: clamp(28rem, 58vw, 39rem);
  overflow: hidden;
  border-top: 0.22rem solid var(--berry);
  border-right: 0.22rem solid var(--berry);
  border-bottom: 0.22rem solid var(--berry);
  background: rgba(255, 248, 243, 0.48);
}

.comb-stage::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px dashed rgba(75, 23, 57, 0.22);
}

.comb-teeth {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 11%;
}

.comb-teeth i {
  display: block;
  height: 1px;
  background: var(--berry);
  transform-origin: left;
  animation: tooth-in 520ms var(--ease) both;
}

.comb-teeth i:nth-child(3n + 1) { width: 100%; }
.comb-teeth i:nth-child(3n + 2) { width: 72%; }
.comb-teeth i:nth-child(3n) { width: 46%; }

.hair-path {
  position: absolute;
  inset: 7% 2% 5% 8%;
  width: 90%;
  height: 88%;
  overflow: visible;
  fill: none;
}

.hair-path__shadow,
.hair-path__main {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.hair-path__shadow {
  stroke: rgba(75, 23, 57, 0.14);
  stroke-width: 15;
}

.hair-path__main {
  stroke: var(--fruit);
  stroke-width: 4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw-hair 900ms 180ms var(--ease) forwards;
}

.hero-point {
  position: absolute;
  z-index: 3;
  top: 40%;
  left: 19%;
  padding: 0.8rem 1rem;
  color: var(--shell-light);
  background: var(--berry);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 750;
  line-height: 1.45;
  transform: rotate(-2deg);
}

.clasp {
  position: absolute;
  z-index: 4;
  width: clamp(3rem, 5vw, 4.4rem);
  aspect-ratio: 1.8 / 1;
  display: grid;
  place-items: center;
  border: 0.18rem solid var(--berry);
  border-radius: 50% 15% 50% 15%;
  background: var(--saffron);
  color: var(--berry);
  font: 800 0.72rem var(--font-sans);
  opacity: 0;
  animation: clasp-in 380ms var(--ease) forwards;
}

.clasp::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 140%;
  border-left: 1px solid var(--berry);
  border-right: 1px solid var(--berry);
}

.clasp--one { bottom: 9%; left: 13%; animation-delay: 1.02s; transform: rotate(-22deg); }
.clasp--two { top: 13%; left: 35%; animation-delay: 1.14s; transform: rotate(13deg); }
.clasp--three { right: 23%; bottom: 17%; animation-delay: 1.26s; transform: rotate(-10deg); }
.clasp--four { top: 31%; right: 2%; animation-delay: 1.38s; transform: rotate(18deg); }

.business,
.advantages {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--berry);
}

.section-heading .section-tag {
  margin: 0;
}

.section-heading h2,
.woven-label h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.route-flow {
  position: relative;
  max-width: 76rem;
  margin: clamp(4rem, 8vw, 8rem) auto 0;
}

.route-line {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 14%;
  height: 100%;
  transform: translateX(-50%);
  overflow: visible;
}

.route-line path {
  fill: none;
  stroke: rgba(217, 79, 79, 0.32);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.route-item {
  --route-color: var(--fruit);
  position: relative;
  z-index: 1;
  width: min(51rem, 77%);
  min-height: 14rem;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: clamp(4rem, 8vw, 7rem) 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 3rem) 0;
  border-top: 0.18rem solid var(--berry);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 248, 243, 0.88), rgba(255, 248, 243, 0.35));
}

.route-item--one,
.route-item--three {
  margin-right: auto;
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

.route-item--two,
.route-item--four {
  margin-left: auto;
  padding-left: clamp(1.5rem, 4vw, 4rem);
}

.route-item--three { --route-color: var(--turquoise); width: min(47rem, 72%); }
.route-item--four { --route-color: var(--turquoise); width: min(55rem, 82%); }

.route-index {
  color: var(--route-color);
  font: 850 clamp(2.4rem, 5vw, 5rem)/1 var(--font-sans);
  letter-spacing: -0.08em;
}

.route-copy h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.2;
}

.route-point {
  margin: 0.8rem 0 1rem;
  color: var(--route-color);
  font-family: var(--font-sans);
  font-size: clamp(0.96rem, 1.5vw, 1.14rem);
  font-weight: 750;
}

.route-copy > p:last-child {
  max-width: 39rem;
  margin: 0;
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
}

.route-clasp {
  position: absolute;
  top: -1.05rem;
  width: 4.4rem;
  height: 1.9rem;
  border: 0.15rem solid var(--berry);
  border-radius: 50% 12% 50% 12%;
  background: var(--route-color);
  transition: transform 380ms var(--ease);
}

.route-item--one .route-clasp,
.route-item--three .route-clasp { right: 8%; transform: rotate(-7deg); }
.route-item--two .route-clasp,
.route-item--four .route-clasp { left: 8%; transform: rotate(7deg); }
.route-item.is-visible .route-clasp { transform: translateX(12px) rotate(0); }

.about {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.woven-label {
  position: relative;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 7rem);
  display: grid;
  grid-template-columns: minmax(13rem, 0.65fr) minmax(20rem, 1.35fr);
  gap: clamp(2rem, 7vw, 8rem);
  color: var(--shell-light);
  background: var(--berry);
  clip-path: polygon(0 0, 96% 0, 100% 1.6rem, 96% 3.2rem, 100% 4.8rem, 96% 6.4rem, 100% 8rem, 96% 9.6rem, 100% 11.2rem, 96% 12.8rem, 100% 14.4rem, 96% 16rem, 100% 100%, 0 100%);
}

.woven-label::before,
.woven-label::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.55rem;
  background: repeating-linear-gradient(to bottom, var(--saffron) 0 0.6rem, transparent 0.6rem 1.2rem);
}

.woven-label::before { left: 1rem; }
.woven-label::after { right: 3%; }

.woven-label .section-tag {
  color: var(--saffron);
}

.woven-label__copy {
  align-self: center;
}

.woven-label__copy p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 2.05;
}

.section-heading--right {
  flex-direction: row-reverse;
}

.measure-list {
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--berry);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 4%);
}

.measure {
  --measure-color: var(--fruit);
  width: var(--measure-width, 92%);
  min-height: 11rem;
  padding: clamp(1.7rem, 3vw, 3rem) clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: clamp(3.5rem, 7vw, 6.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--berry);
  border-left: 0.5rem solid var(--measure-color);
  background: rgba(246, 231, 221, 0.92);
}

.measure--one { --measure-width: 93%; }
.measure--two { --measure-width: 78%; margin-left: auto; }
.measure--three { --measure-width: 86%; --measure-color: var(--turquoise); }
.measure--four { --measure-width: 96%; --measure-color: var(--turquoise); margin-left: auto; }

.measure__mark {
  color: var(--measure-color);
  font: 850 clamp(1.8rem, 4vw, 3.7rem)/1 var(--font-sans);
  letter-spacing: -0.06em;
}

.measure h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.6vw, 2.25rem);
  line-height: 1.25;
}

.measure p {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  border-top: 0.3rem solid var(--berry);
  background: var(--berry-deep);
  color: var(--shell-light);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.5rem 0 0;
}

.site-footer a {
  padding: 0.35rem;
  color: var(--shell-light);
  text-underline-offset: 0.25em;
}

.footer-comb {
  width: min(18rem, 62vw);
  height: 2rem;
  display: flex;
  justify-content: space-between;
  border-top: 0.18rem solid var(--saffron);
}

.footer-comb i {
  width: 1px;
  height: var(--footer-tooth, 1rem);
  background: var(--saffron);
}

.footer-comb i:nth-child(2n) { --footer-tooth: 1.55rem; }

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

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

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

@keyframes tooth-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes clasp-in {
  from { opacity: 0; scale: 0.55; }
  to { opacity: 1; scale: 1; }
}

@media (max-width: 767px) {
  :root {
    --header-height: 4.2rem;
    --section-gap: 5rem;
  }

  .site-header {
    padding-inline: 1.1rem;
  }

  .brand {
    max-width: calc(100vw - 7rem);
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 1.8rem;
  }

  .menu-toggle {
    min-width: 3rem;
    min-height: 3rem;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
  }

  .menu-toggle__label {
    font-size: 0.66rem;
  }

  .menu-toggle__icon {
    width: 1.45rem;
    display: grid;
    gap: 0.3rem;
  }

  .menu-toggle__icon i {
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.75rem 1.1rem 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    border-bottom: 1px solid var(--berry);
    background: var(--shell);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

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

  .site-nav a {
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .comb-stage {
    min-height: min(118vw, 31rem);
  }

  .hero-point {
    top: 42%;
    left: 16%;
    font-size: clamp(0.96rem, 4.5vw, 1.3rem);
  }

  .section-heading,
  .section-heading--right {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .route-line {
    left: 1.5rem;
    width: 12%;
    transform: none;
  }

  .route-item,
  .route-item--three,
  .route-item--four {
    width: calc(100% - 1.25rem);
    min-height: 0;
    margin-right: 0;
    margin-left: 1.25rem;
    padding: 1.8rem 1rem 1.8rem 1.5rem;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .route-index {
    font-size: 2.35rem;
  }

  .route-copy h3 {
    font-size: 1.45rem;
  }

  .route-clasp,
  .route-item--one .route-clasp,
  .route-item--two .route-clasp,
  .route-item--three .route-clasp,
  .route-item--four .route-clasp {
    right: 5%;
    left: auto;
  }

  .woven-label {
    grid-template-columns: 1fr;
    gap: 2rem;
    clip-path: polygon(0 0, 95% 0, 100% 1rem, 95% 2rem, 100% 3rem, 95% 4rem, 100% 5rem, 95% 6rem, 100% 7rem, 95% 8rem, 100% 9rem, 95% 10rem, 100% 100%, 0 100%);
  }

  .woven-label::after {
    right: 5%;
  }

  .measure-list {
    background-size: 2rem 100%;
  }

  .measure,
  .measure--one,
  .measure--two,
  .measure--three,
  .measure--four {
    width: calc(100% - var(--measure-inset, 0rem));
    min-height: 0;
    margin-left: var(--measure-inset, 0rem);
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .measure--two { --measure-inset: 0.75rem; }
  .measure--three { --measure-inset: 0.25rem; }
  .measure--four { --measure-inset: 1rem; }

  .measure__mark {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
  }

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

  .comb-stage {
    min-height: 31rem;
  }

  .route-item {
    width: 82%;
  }

  .woven-label {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 3rem;
  }
}

@media (min-width: 1100px) {
  .route-item--one { transform: translateX(-3%); }
  .route-item--two { transform: translateX(2%); }
  .route-item--three { transform: translateX(4%); }
  .route-item--four { transform: translateX(-2%); }
  .route-item.is-visible { transform: translateX(0); }
}

@media (min-width: 1440px) {
  :root {
    --page-pad: clamp(4rem, 6vw, 7.5rem);
  }

  .hero {
    grid-template-columns: minmax(22rem, 0.72fr) minmax(40rem, 1.28fr);
  }

  .comb-stage {
    min-height: 39rem;
  }
}

@media (min-aspect-ratio: 2/1) and (min-width: 1100px) {
  .hero {
    min-height: max(38rem, calc(100svh - var(--header-height)));
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .comb-stage {
    min-height: min(31rem, calc(100svh - 8rem));
  }

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

@media (max-aspect-ratio: 3/4) and (min-width: 600px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .comb-stage {
    min-height: 36rem;
  }
}

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

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

  .hero {
    min-height: auto;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
    grid-template-columns: minmax(16rem, 0.85fr) minmax(25rem, 1.15fr);
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }

  .hero-subtitle {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .comb-stage {
    min-height: 23rem;
  }

  .hero-point {
    font-size: 1rem;
  }
}

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

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

  .hair-path__main {
    stroke-dashoffset: 0;
  }

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