:root {
  color-scheme: light;
  --red: #d71920;
  --red-dark: #a90e14;
  --ink: #111111;
  --muted: #666666;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f3f3f3;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .08em; line-height: 1.4; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; letter-spacing: .16em; }
nav { display: flex; gap: 30px; }
nav a { position: relative; text-decoration: none; font-size: .92rem; color: #333; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--red); transition: right .2s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 76px;
  padding: 70px 0 84px;
}
.eyebrow { margin: 0 0 16px; color: var(--red); font-weight: 800; font-size: .82rem; letter-spacing: .2em; }
.hero h1 { margin: 0; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span { color: var(--red); }
.lead { max-width: 650px; margin: 30px 0 34px; color: #444; font-size: 1.14rem; line-height: 2; }
.primary-link { display: inline-block; padding: 12px 23px; color: #fff; background: var(--ink); border-left: 5px solid var(--red); text-decoration: none; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.primary-link:hover, .primary-link:focus-visible { background: var(--red-dark); transform: translateY(-2px); }

.hero-mark { position: relative; min-height: 430px; background: var(--soft); overflow: hidden; }
.hero-mark::before { content: "印"; position: absolute; right: -24px; bottom: -82px; color: #e7e7e7; font-weight: 900; font-size: 19rem; line-height: 1; }
.paper-stack { position: absolute; inset: 68px 54px 62px 64px; }
.paper { position: absolute; width: 78%; height: 84%; box-shadow: 0 24px 48px rgba(0,0,0,.16); }
.paper-back { right: 0; bottom: 0; background: var(--red); transform: rotate(7deg); }
.paper-front { left: 0; top: 0; padding: 34px; background: #fff; transform: rotate(-4deg); }
.paper-front img { width: 92px; height: 92px; }
.sample-lines { margin-top: 42px; }
.sample-lines i { display: block; width: 72%; height: 8px; margin: 13px 0; background: #171717; }
.sample-lines i:nth-child(2) { width: 90%; background: #aaa; }
.sample-lines i:nth-child(3) { width: 56%; background: #d6d6d6; }
.color-row { display: flex; gap: 9px; position: absolute; left: 34px; bottom: 34px; }
.color-row b { width: 34px; height: 34px; background: #00aeef; }
.color-row b:nth-child(2) { background: #ec008c; }
.color-row b:nth-child(3) { background: #fff200; }
.color-row b:nth-child(4) { background: #111; }
.crop { position: absolute; width: 45px; height: 45px; border-color: #111; z-index: 3; }
.crop-one { top: 28px; left: 28px; border-top: 2px solid; border-left: 2px solid; }
.crop-two { right: 28px; bottom: 28px; border-right: 2px solid; border-bottom: 2px solid; }

.section { padding: 100px max(20px, calc((100% - var(--max)) / 2)); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .about h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.25; letter-spacing: -.025em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.04rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 285px; padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid span { color: var(--red); font-weight: 800; font-size: .8rem; letter-spacing: .12em; }
.service-grid h3 { margin: 46px 0 12px; font-size: 1.3rem; }
.service-grid p { margin: 0; color: var(--muted); }

.process { color: #fff; background: var(--ink); }
.section-heading.light { margin-bottom: 58px; }
.section-heading.light .eyebrow { color: #ff5459; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #444; }
.process-list li { position: relative; padding: 32px 30px 8px 0; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; top: 0; right: 25px; height: 100%; border-right: 1px solid #444; }
.process-list > li > span { display: inline-block; margin-bottom: 58px; color: #ff5459; font-weight: 800; }
.process-list h3 { margin: 0 0 10px; font-size: 1.25rem; }
.process-list p { margin: 0; color: #aaa; }

.about { background: var(--soft); }
.about-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 62px; background: #fff; border-top: 7px solid var(--red); }
.about-copy { padding-top: 4px; font-size: 1.08rem; }
.about-copy p { margin: 0 0 18px; }

footer {
  width: min(calc(100% - 40px), var(--max));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}
footer img { width: 34px; height: 34px; }
footer p { margin: 0; line-height: 1.5; }
footer span, .copyright { color: var(--muted); font-size: .86rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
  .hero-mark { min-height: 390px; }
  .service-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2)::after { display: none; }
  .about-card { grid-template-columns: 1fr; gap: 24px; padding: 45px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 80px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: .9rem; letter-spacing: .03em; }
  .brand small { font-size: .63rem; }
  nav { display: none; }
  .hero { min-height: auto; padding: 55px 0 65px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .lead { font-size: 1rem; }
  .hero-mark { min-height: 315px; }
  .paper-stack { inset: 52px 35px 46px 44px; }
  .paper-front { padding: 24px; }
  .paper-front img { width: 68px; height: 68px; }
  .color-row { left: 24px; bottom: 24px; }
  .color-row b { width: 27px; height: 27px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .service-grid, .process-list { grid-template-columns: 1fr; }
  .service-grid article { min-height: 235px; }
  .process-list li::after { display: none; }
  .process-list > li > span { margin-bottom: 20px; }
  .process-list li { padding: 28px 0; border-bottom: 1px solid #333; }
  .about-card { padding: 32px 24px; }
  footer { grid-template-columns: auto 1fr; padding: 34px 0; }
  .copyright { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
