:root {
  --ink: #27263a;
  --muted: #6f6a7a;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --pink: #ff6f8a;
  --pink-soft: #ffd8df;
  --blue: #8fd3f8;
  --yellow: #ffd965;
  --line: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--cream); font: 400 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, .button, .filter, summary { min-height: 44px; }
:focus-visible { outline: 3px solid #157cc2; outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: var(--line); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(14px); }
.nav-shell { width: min(100% - 32px, 1180px); height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 950; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; display: block; flex: 0 0 auto; transform: rotate(-4deg); }
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.menu-button { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: white; box-shadow: 2px 2px 0 var(--ink); font-size: 20px; cursor: pointer; }
.site-nav { position: absolute; top: 76px; right: 16px; left: 16px; display: none; padding: 10px; border: var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.site-nav[data-open] { display: grid; }
.site-nav a { min-height: 46px; padding: 10px 12px; display: flex; align-items: center; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 800; }
.site-nav a:hover { background: #fff1d4; }

.shell { width: min(100% - 32px, 1180px); margin-inline: auto; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 44px 0 66px; border-bottom: var(--line); background: var(--cream); }
.hero-grid { display: grid; gap: 34px; }
.eyebrow { width: fit-content; margin: 0 0 18px; padding: 7px 12px; border: var(--line); border-radius: 999px; background: white; box-shadow: 3px 3px 0 var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.hero h1, .detail-hero h1 { margin: 0; font-size: clamp(40px, 12vw, 76px); line-height: 1.08; letter-spacing: -.075em; font-weight: 950; }
.hero h1 em, .detail-hero h1 em { color: var(--pink); font-style: normal; text-shadow: 2px 2px 0 white, 4px 4px 0 var(--ink); }
.hero-copy > p { max-width: 38rem; margin: 24px 0; color: var(--muted); font-size: 16px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; border: var(--line); border-radius: 11px; background: var(--ink); color: white; box-shadow: 4px 4px 0 var(--pink); text-decoration: none; font-weight: 900; cursor: pointer; }
.button.light { background: white; color: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.proof { color: var(--pink); font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.proof b { margin-right: 4px; color: var(--ink); font-size: 20px; }

.compare { --position: 50%; position: relative; isolation: isolate; aspect-ratio: 3 / 4; overflow: hidden; border: var(--line); border-radius: 25px 10px 25px 10px; background: #eeeae4; box-shadow: 8px 8px 0 var(--blue); touch-action: pan-y; }
.compare picture, .compare img { width: 100%; height: 100%; }
.compare img { object-fit: cover; object-position: center; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.compare-line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 3px; transform: translateX(-50%); background: white; box-shadow: 0 0 0 1px var(--ink); pointer-events: none; }
.compare-line::after { content: '↔'; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; display: grid; place-items: center; transform: translate(-50%, -50%); border: var(--line); border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 950; box-shadow: 2px 2px 0 var(--ink); }
.compare input[type='range'] { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-label { position: absolute; z-index: 2; bottom: 13px; padding: 7px 10px; border: var(--line); border-radius: 999px; background: white; font-size: 12px; font-weight: 900; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; }
.compare-label.before { right: 12px; }.compare-label.after { left: 12px; background: var(--yellow); }
.floating-note { position: absolute; z-index: 5; top: 16px; right: 14px; padding: 7px 10px; border: var(--line); border-radius: 8px; background: var(--pink); color: white; font-size: 12px; font-weight: 900; transform: rotate(3deg); }
.hero-visual { width: min(100%, 480px); justify-self: center; min-width: 0; }
.hero-compare { width: 100%; }
.compare-caption { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.compare:focus-within { outline: 3px solid #157cc2; outline-offset: 4px; }

.section { padding: 68px 0; }
.section-head { margin-bottom: 28px; display: grid; gap: 10px; }
.section-kicker { margin: 0; color: #df506d; font-size: 12px; font-weight: 950; letter-spacing: .14em; }
.section h2, .detail-copy h2 { margin: 0; font-size: clamp(30px, 8vw, 48px); line-height: 1.16; letter-spacing: -.05em; }
.section-lede { max-width: 39rem; margin: 0; color: var(--muted); font-size: 15px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 9px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: 9px 15px; border: 1.5px solid #c9c4ce; border-radius: 999px; background: white; color: var(--muted); font-size: 14px; font-weight: 800; cursor: pointer; }
.filter[aria-pressed='true'] { border: var(--line); background: var(--ink); color: white; }
.works-grid { display: grid; gap: 24px; margin-top: 18px; }
.work-card { overflow: hidden; border: var(--line); border-radius: var(--radius); background: white; box-shadow: 6px 6px 0 var(--pink-soft); }
.work-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #eeeae4; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.work-card:hover .work-card-media img { transform: scale(1.025); }
.work-number { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border: var(--line); border-radius: 7px; background: var(--yellow); font-size: 12px; font-weight: 950; box-shadow: 2px 2px 0 var(--ink); }
.work-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.work-card { display: flex; flex-direction: column; min-width: 0; }
.work-card-body > p { flex: 1; }
.work-card-footer { flex-wrap: wrap; }
.detail-meta dd { overflow-wrap: anywhere; }
.dark-section .section-lede { color: #c8c4d1; }
.still-card img { object-fit: contain; }
.still-card picture { background: #eeeae4; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 4px 8px; border-radius: 5px; background: #f3f0f4; color: var(--muted); font-size: 12px; font-weight: 800; }
.work-card h3 { margin: 13px 0 5px; font-size: 23px; letter-spacing: -.04em; }
.work-card p { margin: 0; color: var(--muted); font-size: 14px; }
.work-card-footer { margin-top: 16px; padding-top: 15px; border-top: 1px dashed #cbc6d0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-card-footer span { font-size: 13px; font-weight: 850; }.work-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #d94765; font-size: 14px; font-weight: 950; text-decoration: none; }

.dark-section { border-block: var(--line); background: var(--ink); color: white; }
.steps { display: grid; gap: 14px; }
.step { padding: 22px; border: 2px solid white; border-radius: 16px; background: #353348; box-shadow: 4px 4px 0 var(--blue); }
.step span { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 950; }
.step h3 { margin: 18px 0 7px; font-size: 20px; }.step p { margin: 0; color: #c8c4d1; font-size: 14px; }

.commission-grid { display: grid; gap: 24px; }
.form-card, .summary-card { padding: 22px; border: var(--line); border-radius: 18px; background: white; box-shadow: 6px 6px 0 var(--yellow); }
.form-card { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px; }
label > span, .field-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 850; }
input, textarea, select { width: 100%; min-height: 48px; padding: 11px 12px; border: 1.5px solid #bbb5c1; border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 16px; outline: none; }
textarea { min-height: 128px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px #ffe0e6; }
.style-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.style-field legend { margin-bottom: 7px; padding: 0; font-size: 13px; font-weight: 850; }
.radio-card { min-height: 56px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; border: 1.5px solid #c9c4ce; border-radius: 10px; background: var(--paper); cursor: pointer; }
.radio-card input { width: 20px; min-height: 20px; accent-color: var(--pink); }.radio-card b { font-size: 14px; }.radio-card small { margin-left: auto; color: #d94765; font-size: 13px; font-weight: 900; }
.summary-card { box-shadow: 6px 6px 0 var(--pink); }
.summary-card h3 { margin: 0 0 17px; font-size: 22px; }.summary-card ul { margin: 0; padding: 0; list-style: none; }.summary-card li { padding: 10px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dashed #d0cbd4; color: var(--muted); font-size: 14px; }.summary-card li b { color: var(--ink); }.summary-total { margin: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }.summary-total span { font-size: 14px; font-weight: 850; }.summary-total b { color: var(--pink); font-size: 26px; line-height: 1.3; }.summary-card .button { width: 100%; }
.summary-note { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.summary-card .button:disabled { cursor: wait; opacity: .72; box-shadow: 2px 2px 0 var(--pink); transform: translate(2px, 2px); }
.submit-status { min-height: 1.5em; margin: 12px 0 -3px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 750; }
.privacy { margin: 13px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.consent { min-height: 44px; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent input { width: 21px; min-height: 21px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--pink); }
.consent span { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; line-height: 1.55; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.faq-list { display: grid; gap: 0; border-bottom: var(--line); }
.faq-list details { border-top: var(--line); }.faq-list summary { padding: 15px 2px; display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 900; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: '+'; color: var(--pink); font-size: 24px; }.faq-list details[open] summary::after { transform: rotate(45deg); }.faq-list p { margin: -3px 0 18px; color: var(--muted); font-size: 14px; }
.site-footer { padding: 34px 0; border-top: var(--line); background: var(--ink); color: white; }.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }.site-footer p { width: 100%; margin: 0; color: #bdb9c8; font-size: 13px; }.site-footer small { color: #918c9c; font-size: 12px; }

.toast { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; padding: 15px; display: grid; grid-template-columns: 40px 1fr 44px; align-items: center; gap: 10px; border: var(--line); border-radius: 14px; background: white; box-shadow: 6px 6px 0 var(--pink); }
.toast > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #4cbd82; color: white; font-weight: 950; }.toast b, .toast small { display: block; }.toast b { font-size: 14px; }.toast small { color: var(--muted); font-size: 12px; }.toast button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.toast[data-type='error'] { box-shadow: 6px 6px 0 #ef9b55; }.toast[data-type='error'] > span { background: #db4e55; }

.crumbs { padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }.crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.detail-hero { padding: 24px 0 64px; border-bottom: var(--line); }.detail-grid { display: grid; gap: 34px; }.detail-copy { order: -1; }.detail-copy .tag-row { margin-bottom: 18px; }.detail-copy > p { color: var(--muted); font-size: 15px; }.detail-meta { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; border-block: 1px dashed #bbb5c1; }.detail-meta div { padding: 12px 4px; }.detail-meta dt { color: var(--muted); font-size: 12px; }.detail-meta dd { margin: 2px 0 0; font-size: 15px; font-weight: 900; }.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-grid { display: grid; gap: 18px; }.tech-card { padding: 20px; border: var(--line); border-radius: 16px; background: white; box-shadow: 4px 4px 0 var(--pink-soft); }.tech-card span { color: var(--pink); font-size: 12px; font-weight: 950; }.tech-card h3 { margin: 8px 0; font-size: 19px; }.tech-card p { margin: 0; color: var(--muted); font-size: 14px; }
.before-after-grid { display: grid; gap: 18px; }.still-card { overflow: hidden; border: var(--line); border-radius: 16px; background: white; }.still-card picture { display: block; aspect-ratio: 3 / 4; background: #f2e8da; }.still-card img { width: 100%; height: 100%; object-fit: contain; }.still-card div { padding: 16px; }.still-card h3 { margin: 0 0 5px; font-size: 19px; }.still-card p { margin: 0; color: var(--muted); font-size: 14px; }
.next-work { padding: 34px 0 72px; }.next-work a { min-height: 76px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: var(--line); border-radius: 14px; background: var(--blue); box-shadow: var(--shadow); text-decoration: none; }.next-work small, .next-work b { display: block; }.next-work small { font-size: 12px; }.next-work b { font-size: 19px; }

@media (min-width: 48rem) {
  .nav-shell, .shell { width: min(100% - 48px, 1180px); }
  .hero { padding: 62px 0 82px; }
  .works-grid, .before-after-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-meta { grid-template-columns: repeat(4, 1fr); }.detail-meta div { padding: 14px 10px; border-right: 1px dashed #d2cdd6; }.detail-meta div:last-child { border-right: 0; }
  .site-footer p { width: auto; flex: 1; }
  .toast { right: 24px; bottom: 24px; left: auto; width: 370px; }
}

@media (min-width: 68rem) {
  .nav-shell { height: 76px; }.menu-button { display: none; }.site-nav { position: static; display: flex; padding: 0; border: 0; background: transparent; box-shadow: none; }.site-nav a { padding-inline: 16px; font-size: 14px; }
  .hero-grid { grid-template-columns: .86fr 1.14fr; align-items: center; gap: 58px; }.hero h1 { font-size: 72px; }
  .section-head { grid-template-columns: 1fr .7fr; align-items: end; }.section-head .section-kicker { grid-column: 1 / 3; }.section-lede { justify-self: end; }
  .detail-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 58px; }.detail-copy { order: 0; }.detail-compare { aspect-ratio: 3 / 4; }.detail-hero h1 { font-size: 58px; }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commission-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }.summary-card { position: sticky; top: 88px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.work-card-media img { transition: none; } }

/* Static comic-paper layers: no bitmap background, animation or event targets. */
.home-page .hero-grid { position: relative; z-index: 1; }
.comic-backdrop { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; user-select: none; background-image: linear-gradient(110deg, var(--cream) 18%, #fff8eaf2 44%, #fff8ea40 74%), radial-gradient(circle, #27263a21 1px, transparent 1.5px); background-size: auto, 9px 9px; }
.comic-panel { position: absolute; display: block; border: 2px solid #27263a28; }
.panel-blue { width: 72%; height: 42%; right: -18%; bottom: 6%; transform: rotate(-9deg); border-radius: 24px 8px 28px 12px; background: linear-gradient(135deg, #dff2fa, #edf7f5); box-shadow: 12px 12px 0 #27263a08; }
.panel-pink { width: 72%; height: 21%; left: -23%; bottom: -7%; transform: rotate(-13deg); background: repeating-linear-gradient(130deg, #ff6f8a0d 0 8px, transparent 8px 18px), #ffe5e7; }
.comic-hatching { position: absolute; width: 160px; height: 95px; right: -25px; top: 8px; transform: rotate(-7deg); background: repeating-linear-gradient(130deg, #27263a18 0 2px, transparent 2px 10px); clip-path: polygon(18% 0, 100% 0, 100% 85%, 0 100%); }
.comic-spark { position: absolute; color: #dfad35; line-height: 1; font-size: 34px; }
.spark-one { right: 18px; top: 26px; transform: rotate(12deg); font-size: 26px; }
.spark-two { left: 4px; bottom: 25%; color: #e7a0b0; font-size: 24px; }
.comic-sticker { position: absolute; padding: 7px 12px; border: 2px solid #27263a75; border-radius: 8px; background: #fffdf8; color: #6a586c; box-shadow: 3px 3px 0 #27263a25; font-family: system-ui, sans-serif; font-size: 13px; font-weight: 950; letter-spacing: .06em; }
.sticker-repaint { right: -12px; bottom: 18px; transform: rotate(-7deg); background: #ffedaa; }
.sticker-dimension { display: none; }
.comic-swatches { position: absolute; display: flex; gap: 5px; left: 24px; bottom: 24px; transform: rotate(-9deg); }
.comic-swatches i { display: block; width: 28px; height: 12px; border: 1px solid #27263a40; background: var(--pink-soft); }
.comic-swatches i:nth-child(2) { background: #bce8e4; }
.comic-swatches i:nth-child(3) { background: #ffe399; }
.hero-visual { position: relative; }
.hero-visual::before { content: ''; position: absolute; z-index: 6; width: 86px; height: 23px; left: calc(50% - 43px); top: -11px; transform: rotate(-5deg); background: repeating-linear-gradient(90deg, #ffecafdb 0 7px, #fff4d1db 7px 9px); border: 1px solid #b9a6745c; pointer-events: none; }
.home-page #works { position: relative; isolation: isolate; background-image: linear-gradient(#fffdf8dc, #fff8eaee), linear-gradient(#a6a1ad33 1px, transparent 1px), linear-gradient(90deg, #a6a1ad33 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.home-page #works::before { content: ''; position: absolute; z-index: -1; right: -55px; top: 24px; width: 150px; height: 100px; border: 2px dashed #d8bec9; transform: rotate(-12deg); }
.home-page #works { overflow: clip; }
.home-page #process { background-image: radial-gradient(circle, #ffffff0d 1px, transparent 1.6px); background-size: 9px 9px; }
.home-page #commission { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(135deg, #fff3dc 0%, var(--cream) 42%, #fff1f2 100%); }
.home-page #commission > .shell { position: relative; z-index: 1; }
.home-page #commission::before { content: ''; position: absolute; left: -55px; bottom: 70px; width: 180px; height: 200px; transform: rotate(-12deg); border: 2px solid #27263a14; background: radial-gradient(circle, #b5924721 1px, transparent 1.6px) 0 0 / 8px 8px; }
.home-page #commission::after { content: ''; position: absolute; right: -38px; top: 40px; width: 140px; height: 70px; transform: rotate(-16deg); border-block: 2px solid #df829b33; background: repeating-linear-gradient(135deg, #df829b12 0 6px, transparent 6px 13px); }
.home-page #faq { background: var(--paper); }
@media (min-width: 48rem) {
  .panel-blue { width: 58%; height: 50%; right: -10%; bottom: 6%; }
  .panel-pink { width: 53%; height: 24%; left: -15%; bottom: -10%; }
  .comic-hatching { width: 230px; height: 140px; right: 2%; top: 0; }
  .spark-one { right: 6%; top: 38%; font-size: 50px; }
  .spark-two { left: 4%; bottom: 10%; font-size: 40px; }
  .sticker-repaint { right: 5%; bottom: 28px; font-size: 16px; }
  .sticker-dimension { display: block; left: 3%; top: 18px; transform: rotate(-9deg); background: #e0f4ef; }
  .comic-swatches { left: 23%; bottom: 30px; }
  .home-page #works::before { width: 260px; height: 160px; right: -40px; }
}
@media (min-width: 68rem) {
  .panel-blue { width: 50%; height: 78%; right: -5%; bottom: 7%; }
  .panel-pink { width: 47%; height: 22%; left: -20%; bottom: -10%; }
  .comic-hatching { right: 3%; width: 320px; height: 150px; }
  .spark-one { right: 3%; top: 50%; }
  .spark-two { left: 47%; bottom: 17%; font-size: 34px; }
  .sticker-dimension { left: 7%; top: 28px; }
  .comic-swatches { left: 9%; bottom: 38px; }
}
