:root {
  --ink: #38291f;
  --muted: #756b62;
  --forest: #607d55;
  --forest-light: #e4eadb;
  --coral: #dd541d;
  --paper: #f7f2e9;
  --white: #ffffff;
  --line: #dfd7cc;
  --shell: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.section-space {
  padding: 112px 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100% - var(--shell)) / 2));
  border-bottom: 1px solid rgba(56, 41, 31, 0.11);
  color: var(--ink);
  background: rgba(247, 242, 233, 0.94);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  color: var(--ink);
  background: rgba(255, 252, 247, 0.98);
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
}

.brand-logo-frame {
  position: relative;
  display: block;
  width: 100px;
  height: 58px;
  overflow: hidden;
  border-radius: 4px;
  background: #79ad94;
}

.brand-logo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-23%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-contact {
  padding: 9px 15px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  height: 82svh;
  max-height: 790px;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background: #e9e1d5;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 28%;
  transform: scaleX(-1);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(247, 242, 233, 0.98) 0%, rgba(247, 242, 233, 0.88) 36%, rgba(247, 242, 233, 0.18) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 118px;
}

.hero-kicker,
.section-label {
  margin: 0 0 19px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--coral);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-slogan {
  max-width: 660px;
  margin: 24px 0 0;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-size: 58px;
  line-height: 1.28;
}

.hero-copy {
  max-width: 520px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-pill {
  display: inline-flex;
  margin: 18px 0 0;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #cdd7c4;
  border-radius: 999px;
  color: #56704e;
  background: rgba(239, 244, 232, 0.9);
  font-size: 12px;
  font-weight: 650;
}

.hero-pill svg {
  width: 15px;
  height: 15px;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: var(--white);
  background: var(--coral);
}

.button-ghost {
  border: 1px solid rgba(56, 41, 31, 0.35);
  color: var(--ink);
  background: rgba(255, 252, 247, 0.62);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 26px;
  left: 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(56, 41, 31, 0.18);
  padding-top: 18px;
  color: rgba(56, 41, 31, 0.58);
  font-size: 12px;
}

.intro-band {
  color: var(--ink);
  background: #eee5d8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1.6fr);
  gap: 48px;
  padding-top: 68px;
  padding-bottom: 72px;
}

.intro-grid .section-label {
  color: var(--coral);
}

.intro-statement {
  max-width: 860px;
  margin: 0;
  font-size: 34px;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-weight: 500;
  line-height: 1.42;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-label {
  color: var(--coral);
}

.section-heading h2,
.about-copy h2,
.cooperation-heading h2,
.contact-layout h2 {
  margin: 0;
  font-size: 42px;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf9;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: #9cafaa;
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #58724f;
  background: var(--forest-light);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  margin: 0;
  color: #a4ada9;
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin: 86px 0 14px;
  font-size: 21px;
  line-height: 1.4;
}

.service-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-band {
  padding: 112px 0;
  color: var(--ink);
  background: #e5eadf;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 84px;
  align-items: center;
}

.about-copy > p:not(.section-label) {
  margin: 28px 0 0;
  color: #62705d;
  font-size: 16px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 44px 0 0;
}

.about-facts div {
  border-top: 1px solid #bdc8b6;
  padding-top: 16px;
}

.about-facts dt {
  font-size: 34px;
  font-weight: 750;
}

.about-facts dd {
  margin: 2px 0 0;
  color: #6d7b68;
  font-size: 12px;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: end;
}

.photo-pair figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

.photo-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-large {
  height: 560px;
}

.photo-small {
  height: 350px;
}

.cooperation-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 96px;
}

.cooperation-heading {
  position: sticky;
  top: 118px;
  align-self: start;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.process-list h3 {
  margin: -6px 0 8px;
  font-size: 22px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  padding: 88px 0;
  color: var(--white);
  background: var(--coral);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.75fr);
  gap: 80px;
  align-items: end;
}

.contact-layout .section-label {
  color: #5b2414;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  padding-bottom: 18px;
}

.contact-email span,
.contact-email strong {
  display: block;
}

.contact-email span {
  margin-bottom: 6px;
  font-size: 12px;
  opacity: 0.72;
}

.contact-email strong {
  overflow-wrap: anywhere;
  font-size: 19px;
}

.icon-link {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: color 160ms ease, background-color 160ms ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--coral);
  background: var(--white);
}

.icon-link svg {
  width: 21px;
  height: 21px;
}

.site-footer {
  padding: 34px 0;
  color: #bac4c0;
  background: #2d211a;
}

.footer-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-layout strong {
  color: var(--white);
  font-size: 16px;
}

.footer-layout p {
  margin: 4px 0 0;
  font-size: 11px;
}

@media (max-width: 900px) {
  .section-space,
  .about-band {
    padding: 88px 0;
  }

  .hero h1 {
    font-size: 21px;
  }

  .hero-slogan {
    font-size: 49px;
  }

  .intro-statement {
    font-size: 29px;
  }

  .section-heading h2,
  .about-copy h2,
  .cooperation-heading h2,
  .contact-layout h2 {
    font-size: 35px;
  }

  .section-heading,
  .about-grid,
  .cooperation-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .service-card {
    min-height: 260px;
  }

  .service-card h3 {
    margin-top: 54px;
  }

  .about-grid {
    gap: 64px;
  }

  .cooperation-heading {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

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

  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

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

  .brand {
    min-width: 0;
  }

  .brand-logo-frame {
    width: 86px;
    height: 50px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: 19;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--paper);
    transition: max-height 220ms ease;
  }

  .site-nav.is-open {
    max-height: 360px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 17px 20px;
    border-top: 1px solid var(--line);
  }

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

  .nav-contact {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 580px;
    height: 78svh;
    max-height: 690px;
  }

  .hero-image {
    object-position: center 28%;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(247, 242, 233, 0.98) 0%, rgba(247, 242, 233, 0.82) 44%, rgba(247, 242, 233, 0.12) 88%);
  }

  .hero-content {
    padding-bottom: 126px;
  }

  .hero h1 {
    font-size: 19px;
  }

  .hero-slogan {
    margin-top: 18px;
    font-size: 38px;
  }

  .hero-copy {
    max-width: 92%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
  }

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

  .button {
    min-height: 44px;
    padding: 0 17px;
  }

  .hero-meta {
    bottom: 20px;
    display: grid;
    gap: 3px;
    padding-top: 13px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 50px;
    padding-bottom: 54px;
  }

  .intro-statement {
    font-size: 24px;
  }

  .section-space,
  .about-band {
    padding: 70px 0;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 36px;
  }

  .section-heading h2,
  .about-copy h2,
  .cooperation-heading h2,
  .contact-layout h2 {
    font-size: 30px;
  }

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

  .photo-pair {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10px;
  }

  .photo-large {
    height: 410px;
  }

  .photo-small {
    height: 250px;
  }

  .about-facts {
    margin-top: 34px;
  }

  .process-list li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .contact-band {
    padding: 64px 0;
  }

  .contact-layout {
    gap: 36px;
  }

  .contact-email strong {
    font-size: 16px;
  }

  .footer-layout {
    display: grid;
    gap: 24px;
  }
}

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

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