@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-deep: #e7e1d5;
  --ink: #11110f;
  --ink-muted: #545149;
  --blue: #0b5fff;
  --red: #e04436;
  --hairline: rgba(17, 17, 15, 0.24);
  --content: min(1320px, calc(100vw - 64px));
  --display: "Smiley Sans", "Microsoft YaHei", sans-serif;
  --body: "Microsoft YaHei", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--blue); }
*:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 76px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 max(24px, calc((100vw - 1320px) / 2)); color: var(--ink); background: rgba(244, 241, 234, 0.96); border-bottom: 1px solid var(--ink); }
.brand { min-height: 52px; display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-name { font-family: var(--display); font-size: clamp(17px, 1.55vw, 23px); font-weight: 700; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.site-nav a { min-height: 48px; display: inline-flex; align-items: center; position: relative; font-size: 15px; font-weight: 700; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; background: var(--blue); transition: right 220ms cubic-bezier(.2,.8,.2,1); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; min-width: 56px; min-height: 48px; border: 0; padding: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle-label { font-weight: 700; }
.menu-toggle-lines { width: 26px; display: grid; gap: 7px; }
.menu-toggle-lines i { display: block; height: 2px; background: currentColor; transition: transform 220ms ease; }

main { overflow: clip; }
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 0.92fr); position: relative; border-bottom: 1px solid var(--ink); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 128px) max(32px, calc((100vw - 1320px) / 2)) clamp(64px, 7vw, 104px); padding-right: clamp(36px, 6vw, 96px); }
.hero-context { width: fit-content; margin: 0 0 30px; padding-bottom: 7px; border-bottom: 2px solid var(--blue); font-weight: 700; letter-spacing: 0.08em; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(60px, 7.2vw, 108px); line-height: 0.96; }
h1 span { display: block; }
h1 span:last-child { color: var(--blue); }
.hero-lead { max-width: 38rem; margin: 38px 0 0; font-size: clamp(18px, 1.55vw, 23px); color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.action { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--ink); font-weight: 800; text-decoration: none; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.action-primary { color: #fff; background: var(--ink); }
.action-primary:hover { background: var(--blue); border-color: var(--blue); }
.action-secondary:hover { color: #fff; background: var(--red); border-color: var(--red); }
.hero-visual { min-height: 620px; position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.hero-visual img { height: 100%; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,15,.26), transparent 34%); pointer-events: none; }
.hero-visual figcaption { position: absolute; right: 24px; bottom: 22px; z-index: 1; color: #fff; font-size: 13px; letter-spacing: .12em; }
.registration-mark { position: absolute; left: 50%; bottom: -14px; z-index: 2; width: 28px; height: 28px; border: 2px solid var(--red); border-radius: 50%; transform: translateX(-50%); background: var(--paper); }
.registration-mark::before, .registration-mark::after { content: ""; position: absolute; background: var(--red); }
.registration-mark::before { width: 42px; height: 1px; left: -9px; top: 12px; }
.registration-mark::after { width: 1px; height: 42px; left: 12px; top: -9px; }
.registration-mark span { position: absolute; inset: 8px; border-radius: 50%; background: var(--red); }

.service-index { width: var(--content); margin: 0 auto; padding: clamp(104px, 10vw, 168px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .6fr); gap: 8vw; align-items: end; margin-bottom: 72px; }
h2 { margin: 0; max-width: 15ch; font-size: clamp(46px, 5.4vw, 78px); line-height: 1.02; }
.section-heading p { max-width: 38rem; margin: 0; color: var(--ink-muted); font-size: 18px; }
.service-list { border-top: 2px solid var(--ink); }
.service-row { min-height: 92px; display: grid; grid-template-columns: minmax(180px, .42fr) 1fr; align-items: center; gap: 48px; border-bottom: 1px solid var(--hairline); transition: color 180ms ease; }
.service-row:hover { color: var(--blue); }
.service-row strong { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.025em; transition: transform 180ms ease; }
.service-row:hover strong { transform: translateX(12px); }
.service-row span { color: var(--ink-muted); }

.material-spread { display: grid; grid-template-columns: 1.2fr .8fr; background: var(--ink); color: #fff; }
.material-macro { grid-row: span 2; margin: 0; min-height: 900px; overflow: hidden; }
.material-macro img { width: 100%; height: 100%; object-fit: cover; }
.material-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 112px); }
.material-copy h2 { color: #fff; }
.material-copy > p { max-width: 38rem; margin: 30px 0 0; color: #d4d0c8; font-size: 18px; }
.fact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 52px 0 0; background: rgba(255,255,255,.22); }
.fact-pair div { padding: 22px 0; background: var(--ink); }
.fact-pair dt { color: #aaa59d; }
.fact-pair dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(30px, 4vw, 56px); font-variant-numeric: tabular-nums; }
.hardcover-visual { margin: 0; position: relative; min-height: 520px; overflow: hidden; background: var(--paper); }
.hardcover-visual img { width: 100%; height: 100%; object-fit: cover; }
.hardcover-visual figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 12px 16px; color: var(--ink); background: rgba(244,241,234,.92); }

.audience-spread { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(36px, 8vw, 120px); align-items: center; padding: clamp(104px, 11vw, 176px) 0; }
.audience-copy p { max-width: 34rem; margin: 30px 0; color: var(--ink-muted); font-size: 18px; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration-thickness: 2px; }
.text-link span { color: var(--blue); font-size: 24px; }
.audience-visual { margin: 0; transform: translateY(38px); }

.press-stage { min-height: 820px; display: grid; grid-template-columns: 1.35fr .65fr; background: var(--ink); color: #fff; }
.press-visual { margin: 0; min-height: 820px; overflow: hidden; }
.press-visual img { height: 100%; object-fit: cover; }
.press-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(52px, 6vw, 96px); border-left: 1px solid rgba(255,255,255,.2); }
.press-copy h2 { color: #fff; font-size: clamp(44px, 5vw, 72px); }
.press-copy p { max-width: 36rem; margin: 30px 0 0; color: #d4d0c8; }

.binding-stage { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 120px); align-items: center; padding: clamp(112px, 12vw, 184px) 0; }
.binding-copy > p { max-width: 36rem; margin: 30px 0 0; color: var(--ink-muted); }
.process-line { margin: 54px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.process-line li { position: relative; display: grid; grid-template-columns: .9fr 1fr; gap: 18px; padding: 20px 0 20px 28px; border-bottom: 1px solid var(--hairline); }
.process-line li::before { content: ""; position: absolute; top: 28px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.process-line span { font-weight: 800; }
.process-line small { color: var(--ink-muted); font-size: 14px; }
.binding-visual { margin: 0; }

.quality-stage { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-deep); }
.quality-visual { margin: 0; min-height: 760px; overflow: hidden; }
.quality-visual img { height: 100%; object-fit: cover; }
.quality-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 128px); }
.quality-copy p { max-width: 40rem; margin: 30px 0 0; color: var(--ink-muted); }
.equipment-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.equipment-line span { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--ink); font-weight: 700; }

.development { padding: clamp(104px, 11vw, 176px) 0 0; background: var(--paper); }
.development-head { width: var(--content); margin: 0 auto 72px; display: grid; grid-template-columns: 1fr .6fr; gap: 8vw; align-items: end; }
.development-head p { margin: 0; color: var(--ink-muted); }
.timeline { width: var(--content); margin: 0 auto 88px; position: relative; border-top: 2px solid var(--ink); }
.timeline::before { content: ""; position: absolute; left: 112px; top: 0; bottom: 0; width: 1px; background: var(--blue); }
.timeline article { min-height: 142px; display: grid; grid-template-columns: 112px 1fr; align-items: start; border-bottom: 1px solid var(--hairline); }
.timeline time { padding-top: 28px; font-family: var(--display); font-size: 34px; font-variant-numeric: tabular-nums; }
.timeline p { max-width: 62rem; margin: 0; padding: 32px 0 32px 54px; position: relative; }
.timeline p::before { content: ""; position: absolute; top: 45px; left: -5px; width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.development-visual { margin: 0; height: min(68vw, 860px); overflow: hidden; background: var(--ink); }
.development-visual img { height: 100%; object-fit: cover; }

.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.contact-copy { padding: clamp(64px, 8vw, 128px) max(32px, calc((100vw - 1320px) / 2)); padding-right: clamp(44px, 6vw, 92px); }
.contact-copy h2 { color: #fff; }
.contact-copy > p { max-width: 38rem; margin: 28px 0 0; color: #d4d0c8; }
.contact-copy address { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 52px; font-style: normal; }
.contact-copy address a { min-height: 44px; display: inline-flex; align-items: center; color: #fff; font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; }
.contact-copy address span { margin-top: 14px; color: #aaa59d; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; align-content: center; padding: clamp(64px, 8vw, 128px); background: var(--blue); }
.form-row { display: grid; gap: 8px; }
.form-row-wide { grid-column: 1 / -1; }
.form-row label { font-weight: 800; }
.form-row input, .form-row textarea { width: 100%; border: 0; border-bottom: 2px solid rgba(255,255,255,.76); border-radius: 0; padding: 12px 0; color: #fff; background: transparent; caret-color: #fff; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-bottom-color: #fff; outline: 3px solid #fff; outline-offset: 4px; }
.submit-button { min-height: 52px; width: fit-content; border: 1px solid #fff; padding: 10px 26px; color: var(--ink); background: #fff; font-weight: 900; cursor: pointer; transition: color 180ms ease, background-color 180ms ease; }
.submit-button:hover { color: #fff; background: var(--ink); }
.form-status { grid-column: 1 / -1; min-height: 28px; margin: 0; font-weight: 700; }

.site-footer { min-height: 128px; display: grid; grid-template-columns: 1.4fr repeat(3, auto); align-items: center; gap: 28px; padding: 32px max(24px, calc((100vw - 1320px) / 2)); border-top: 1px solid rgba(255,255,255,.22); color: #d4d0c8; background: var(--ink); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; }
.site-footer p { margin: 0; }

.image-reveal { clip-path: inset(0 0 0 0); }
.js .image-reveal { clip-path: inset(0 0 12% 0); }
.js .image-reveal.is-visible { animation: reveal-image 820ms cubic-bezier(.16,1,.3,1) forwards; }
@keyframes reveal-image { from { clip-path: inset(0 0 12% 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 1020px) {
  :root { --content: calc(100vw - 48px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; }
  .site-nav { position: fixed; inset: 76px 0 0; display: grid; align-content: start; gap: 0; padding: 36px 24px; color: #fff; background: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform 260ms cubic-bezier(.2,.8,.2,1), visibility 260ms; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { min-height: 68px; border-bottom: 1px solid rgba(255,255,255,.24); font-family: var(--display); font-size: 30px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; padding: 88px 24px 64px; }
  .hero-visual { min-height: 620px; }
  .section-heading, .development-head { grid-template-columns: 1fr; gap: 28px; }
  .material-spread { grid-template-columns: 1fr 1fr; }
  .material-macro { min-height: 720px; }
  .material-copy { padding: 48px; }
  .audience-spread, .binding-stage { grid-template-columns: 1fr; }
  .audience-visual { transform: none; }
  .press-stage { grid-template-columns: 1fr; }
  .press-visual { min-height: 620px; }
  .press-copy { padding: 64px 24px; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .quality-stage { grid-template-columns: 1fr; }
  .quality-visual { min-height: 620px; }
  .contact { grid-template-columns: 1fr; }
  .contact-copy, .inquiry-form { padding: 72px 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --content: calc(100vw - 36px); }
  .site-header { min-height: 70px; padding-inline: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { max-width: 188px; font-size: 16px; line-height: 1.25; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .site-nav { inset-block-start: 70px; padding-inline: 18px; }
  .hero-copy { min-height: 610px; padding: 76px 18px 56px; }
  .hero-context { margin-bottom: 24px; font-size: 14px; }
  h1 { font-size: clamp(50px, 15vw, 66px); }
  .hero-lead { margin-top: 26px; font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .action { flex: 1 1 180px; }
  .hero-visual { min-height: 520px; }
  .hero-visual img { object-position: 61% center; }
  .section-heading { margin-bottom: 44px; }
  h2 { font-size: clamp(40px, 12vw, 55px); }
  .service-index { padding-block: 88px; }
  .service-row { grid-template-columns: 1fr; gap: 4px; min-height: 100px; padding: 18px 0; }
  .service-row:hover strong { transform: none; }
  .service-row strong { font-size: 31px; }
  .material-spread { grid-template-columns: 1fr; }
  .material-macro { grid-row: auto; min-height: 520px; }
  .material-copy { padding: 72px 18px; }
  .fact-pair { grid-template-columns: 1fr; }
  .hardcover-visual { min-height: 440px; }
  .audience-spread, .binding-stage { padding-block: 88px; gap: 54px; }
  .press-stage { min-height: auto; }
  .press-visual, .quality-visual { min-height: 500px; }
  .press-copy, .quality-copy { padding: 64px 18px; }
  .process-line li { grid-template-columns: 1fr; }
  .development { padding-top: 88px; }
  .development-head { margin-bottom: 48px; }
  .timeline { margin-bottom: 64px; }
  .timeline::before { left: 76px; }
  .timeline article { grid-template-columns: 76px 1fr; }
  .timeline time { font-size: 26px; }
  .timeline p { padding-left: 30px; }
  .development-visual { height: 560px; }
  .development-visual img { object-position: 58% center; }
  .contact-copy, .inquiry-form { padding: 72px 18px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-row-wide { grid-column: auto; }
  .form-status { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 12px; padding: 36px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .image-reveal { clip-path: inset(0); }
}
