:root {
  --paper: #f6f1e8;
  --paper-deep: #eee6d9;
  --ink: #123f34;
  --ink-soft: #496159;
  --accent: #f15a32;
  --accent-dark: #d94622;
  --line: rgba(18, 63, 52, 0.18);
  --white: #fffdf8;
  --display-font: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --page-gutter: clamp(20px, 4.2vw, 72px);
  --section-space: clamp(76px, 9vw, 128px);
  --max-width: 1240px;
  color-scheme: light;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

button {
  font: inherit;
}

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

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

:focus-visible {
  outline: 3px solid rgba(241, 90, 50, 0.34);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.hero-inner,
.section-shell,
.footer-inner,
.footer-bottom {
  width: min(100% - (var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand {
  font-size: clamp(20px, 2vw, 27px);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  padding: 24px 0;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--white);
}

.nav-cta:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.hero,
.services,
.about {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  min-height: 610px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(30px, 5vw, 84px);
  padding: clamp(52px, 6vw, 84px) 0 clamp(58px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(54px, 5.4vw, 78px);
  line-height: 1.18;
}

.hero h1 span {
  color: var(--accent);
}

.hero-summary {
  max-width: 640px;
  margin: 28px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.9;
}

.button {
  padding: 0 24px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.button-primary {
  min-height: 52px;
  background: var(--accent);
  color: var(--white);
}

.button-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-art {
  overflow: hidden;
  align-self: stretch;
}

.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.services,
.about {
  padding: var(--section-space) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.25;
}

.section-heading > p:last-child {
  max-width: 500px;
  margin: 0 0 8px;
  color: var(--ink-soft);
}

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

.service-item {
  position: relative;
  min-height: 340px;
  padding: 36px clamp(22px, 2.8vw, 38px);
}

.service-item + .service-item {
  border-left: 1px solid var(--line);
}

.service-icon {
  margin-bottom: 48px;
  font-size: 34px;
}

.service-number {
  position: absolute;
  top: 38px;
  right: 30px;
  margin: 0;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 18px;
}

.service-item h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(25px, 2.1vw, 32px);
}

.service-item > p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 7vw, 100px);
}

.about-lead {
  margin: 26px 0 14px;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 23px);
}

.about-copy > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.about-art {
  overflow: hidden;
}

.about-art img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.site-footer {
  padding: clamp(58px, 7vw, 88px) 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(50px, 9vw, 150px);
}

.footer-description,
.footer-meta p {
  margin: 8px 0;
  color: rgba(255, 253, 248, 0.72);
}

.footer-inner .footer-brand {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.45;
}

.footer-description {
  max-width: 470px;
  font-size: 16px;
}

.footer-meta {
  margin-top: 34px;
  font-size: 13px;
}

.contact-panel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.06);
}

.contact-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-title {
  margin: 0 0 24px;
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.phone-link {
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  transition: color 180ms ease;
}

.phone-link:hover {
  color: #ff8a69;
}

.phone-link span {
  margin-bottom: 6px;
  color: rgba(255, 253, 248, 0.58);
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
}

.contact-note {
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 12px;
}

.wechat-card {
  margin: 0;
  padding: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.wechat-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.wechat-card figcaption {
  padding: 7px 4px 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  color: rgba(255, 253, 248, 0.48);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  }

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

  .service-item:nth-child(3) {
    border-left: 0;
  }

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    z-index: 99;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px var(--page-gutter) 40px;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      visibility 180ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .site-nav > a:not(.nav-cta) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display-font);
    font-size: 25px;
  }

  .site-nav .nav-cta {
    min-height: 52px;
    margin-top: 28px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 0 64px;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 72px);
  }

  .hero-art img {
    min-height: 0;
    aspect-ratio: 1.18 / 1;
    object-position: center;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

  .about-art {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 20px;
    --section-space: 72px;
  }

  body {
    font-size: 15px;
  }

  .hero-inner {
    gap: 28px;
    padding-top: 50px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.5vw, 62px);
    line-height: 1.15;
  }

  .hero-summary {
    margin: 22px 0 26px;
    font-size: 16px;
  }

  .button-primary {
    width: 100%;
  }

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

  .section-heading h2,
  .about-copy h2 {
    font-size: 38px;
  }

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

  .service-item {
    min-height: 0;
    padding: 28px 4px 32px;
  }

  .service-item + .service-item,
  .service-item:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-icon {
    margin-bottom: 30px;
  }

  .service-number {
    right: 4px;
  }

  .about-art img {
    aspect-ratio: 1.45 / 1;
    object-position: 64% center;
  }

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

  .footer-meta {
    margin-top: 26px;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 18px;
    padding: 18px;
  }

  .contact-title {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .phone-link {
    font-size: 22px;
  }
}

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

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