:root { color-scheme: light; --ink: #191919; --secondary: #666; --line: #dededb; --paper: #fff; font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; scrollbar-gutter: stable; }
body { margin: 0; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
body.preview-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid #191919; outline-offset: 5px; }
.container { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px 20px; background: var(--ink); color: #fff; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 38px 18px; }
.brand { display: block; flex: 0 1 360px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 24px 30px; font-size: 15px; }
.site-header nav a { white-space: nowrap; text-decoration: none; padding-block: 8px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 7px; }
.portfolio-section { padding-top: 13px; }
.portfolio-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 29px; }
.portfolio-heading h1 { margin: 0; font-size: 15px; font-weight: 400; letter-spacing: .03em; }
.portfolio-heading p { color: var(--secondary); font-size: 14px; margin: 0; }
.portfolio-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 23px; }
.portfolio-controls { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 97%); padding-block: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px 25px; }
.filters button { color: #71716e; background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; font-size: 14px; }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.filters button:hover { color: var(--ink); }
.portfolio-count { flex-shrink: 0; font-size: 12px; color: var(--secondary); letter-spacing: .05em; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 18px; }
.work-card { min-width: 0; margin: 0; }
.work-card--wide { grid-column: span 2; }
.work-card--wide .work-image { aspect-ratio: 3 / 2; }
.work-open { display: block; width: 100%; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; text-decoration: none; }
.work-image { aspect-ratio: 3 / 4; background: #f5f5f3; overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
@media (hover: hover) { .work-open:hover .work-image img { transform: scale(1.025); } }
.work-image { position: relative; }
.work-caption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding-top: 14px; }
.work-title { font-size: 15px; }
.work-category { font-size: 12px; color: var(--secondary); letter-spacing: .06em; }
.image-dialog { max-width: 1160px; width: calc(100% - 64px); max-height: calc(100dvh - 48px); padding: 0; border: 0; color: var(--ink); background: #fff; }
.image-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.dialog-toolbar button, .image-navigation button { border: 0; background: transparent; min-width: 44px; min-height: 44px; color: var(--ink); }
.dialog-toolbar button { font-size: 14px; }
.dialog-toolbar h2 { margin: 0; font-weight: 400; font-size: 16px; }
.dialog-stage { position: relative; background: #f6f6f4; }
.dialog-image { width: 100%; height: min(65dvh, 700px); object-fit: contain; background: #f6f6f4; }
.dialog-details { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dialog-details>div:first-child { max-width: 620px; }
.dialog-details span { color: var(--secondary); font-size: 12px; letter-spacing: .06em; }
.dialog-details p { font-size: 14px; margin: 7px 0 0; }
.dialog-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.dialog-actions .outline-button { white-space: nowrap; }
.dialog-actions [aria-pressed="true"] { background: #191919; color: #fff; }
.text-button { padding: 7px 0; color: var(--ink); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.image-error { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; margin: 0; background: #f6f6f4; padding: 24px; }
.image-error button { border: 1px solid var(--line); padding: 10px; background: #fff; }
.image-navigation { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 22px; }
.image-counter { font-size: 13px; color: var(--secondary); }
.image-navigation button { font-size: 14px; }
.image-navigation button:disabled { color: #aaa; }
.gallery-bottom { text-align: center; padding-top: 55px; }
.gallery-bottom p { font-size: 13px; color: var(--secondary); margin: 17px 0 0; }
.outline-button, .solid-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--ink); padding: 13px 30px; min-height: 48px; font-size: 14px; line-height: 1.5; color: var(--ink); background: transparent; transition: background .2s, color .2s; }
.outline-button:hover { color: #fff; background: var(--ink); }
.solid-button { background: var(--ink); color: #fff; }
.solid-button:hover { background: #444; border-color: #444; }
.editorial-section { margin-top: 130px; }
.section-kicker { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; letter-spacing: .07em; }
.section-kicker span:last-child { color: var(--secondary); letter-spacing: 0; }
h2 { font-weight: 400; letter-spacing: -.04em; line-height: 1.35; }
.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; padding-block: 55px 68px; align-items: start; }
.about-layout h2 { font-size: clamp(36px, 4vw, 60px); margin: 0; }
.quiet { color: #8b8b85; }
.about-copy { max-width: 520px; padding-top: 5px; }
.about-copy p { margin: 0 0 21px; color: #555; line-height: 1.9; }
.about-copy p:first-child { color: var(--ink); }
.capabilities { display: flex; flex-wrap: wrap; gap: 15px 24px; margin-top: 32px; font-size: 14px; }
.editorial-image { margin: 0; }
.editorial-image img { width: 100%; max-height: 660px; object-fit: cover; object-position: center 54%; }
.editorial-image figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--secondary); margin-top: 17px; }
.editorial-image figcaption span:last-child { font-size: 12px; letter-spacing: .05em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-block: 45px 50px; }
.section-heading h2 { font-size: clamp(30px, 3.3vw, 48px); margin: 0; }
.section-heading p { margin: 0 0 4px; color: var(--secondary); line-height: 1.85; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px 60px; }
.services-grid article { border-top: 1px solid var(--line); padding-top: 19px; }
.item-number { font-size: 13px; color: var(--secondary); }
.services-grid h3 { font-size: 20px; font-weight: 400; margin: 20px 0 13px; }
.services-grid p { color: var(--secondary); margin: 0; line-height: 1.85; }
.category-notes { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin-top: 55px; border-top: 1px solid var(--line); padding-top: 28px; }
.category-notes>span { font-size: 14px; }
.category-notes p { display: grid; grid-template-columns: 95px 1fr; font-size: 14px; margin: 0 0 14px; gap: 15px; }
.category-notes p span { color: var(--secondary); }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); padding: 0; margin: 0; gap: 40px 60px; }
.process-list li { border-top: 1px solid var(--line); padding-top: 20px; }
.process-list li>span { display: block; font-size: 30px; line-height: 1; color: #9b9b94; margin-bottom: 26px; }
.process-list h3 { font-size: 18px; font-weight: 400; margin: 0 0 12px; }
.process-list p { margin: 0; color: var(--secondary); }
.process-note { font-size: 14px; color: var(--secondary); margin: 37px 0 0; }
.contact-section { background: #f4f4f0; margin-top: 120px; padding-block: 45px 65px; }
.contact-section .section-kicker { border: 0; padding-top: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 360px); align-items: center; gap: 60px; padding-top: 38px; }
.contact-layout h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 60px); }
.contact-layout p { color: var(--secondary); margin: 0; }
.contact-copy { min-width: 0; }
.wechat-contact { margin-top: 38px; }
.wechat-contact>label { font-size: 13px; color: var(--secondary); }
.wechat-id-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
.wechat-id-row input { width: 160px; max-width: 100%; border: 0; border-bottom: 1px solid #c5c5bd; background: transparent; padding: 5px 0 10px; margin: 0; font-size: 28px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; }
.wechat-id-row button { padding-inline: 23px; }
.contact-layout .wechat-help { font-size: 13px; margin-top: 14px; max-width: 390px; }
.contact-layout .wechat-status { font-size: 13px; color: var(--ink); max-width: 410px; margin-top: 12px; }
.wechat-status:empty { display: none; }
.wechat-card { margin: 0; padding: 27px 30px 25px; background: #fff; text-align: center; border: 1px solid #e5e5df; }
.wechat-card-label { font-size: 10px; letter-spacing: .14em; color: var(--secondary); }
.wechat-card h3 { font-size: 19px; font-weight: 400; margin: 8px 0 5px; }
.wechat-card figcaption p { font-size: 12px; }
.wechat-qr-link { display: block; margin: 18px auto 9px; max-width: 264px; }
.wechat-qr-link img { width: 100%; height: auto; }
.wechat-save { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 14px; text-underline-offset: 5px; }
.contact-layout .wechat-qr-tip { font-size: 12px; line-height: 1.8; margin: 8px auto 0; max-width: 270px; }
summary { cursor: pointer; }
input { display: block; width: 100%; margin-top: 10px; border: 1px solid #cacac4; border-radius: 0; color: var(--ink); padding: 12px 14px; background: #fff; min-height: 48px; }
.faq-section { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding-block: 80px; }
.faq-section h2 { margin: 0; font-size: 20px; letter-spacing: 0; }
.faq-section details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-section details:first-child { padding-top: 0; }
.faq-section summary { min-height: 38px; }
.faq-section p { color: var(--secondary); margin: 10px 0 8px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding-block: 30px 40px; font-size: 13px; color: var(--secondary); }
.footer-brand { display: block; width: 244px; max-width: 100%; }
.footer-brand img { width: 100%; height: auto; }
.site-footer p { margin: 5px 0 0; }
.site-footer>a { text-underline-offset: 6px; }
.portfolio-heading .studio-location { margin-top: 6px; font-size: 13px; color: var(--secondary); }
.contact-layout .contact-location { color: var(--ink); margin-bottom: 14px; font-size: 15px; }
.service-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 45px; }
.service-links>a { border-top: 1px solid var(--line); padding: 22px 0 12px; text-decoration: none; }
.service-links>a>span { font-size: 11px; letter-spacing: .06em; color: var(--secondary); }
.service-links h3 { display: flex; justify-content: space-between; gap: 15px; font-size: 20px; font-weight: 400; margin: 16px 0 10px; }
.service-links h3 span { font-size: 18px; }
.service-links p { color: var(--secondary); font-size: 14px; margin: 0; line-height: 1.85; }
.service-links>a:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { text-underline-offset: 6px; }
.work-notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.work-notes-grid>a { color: inherit; text-decoration: none; min-width: 0; }
.work-notes-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f6f6f3; }
.work-notes-grid h3 { font-size: 20px; font-weight: 400; line-height: 1.65; margin: 18px 0 10px; }
.work-notes-grid h3 span { white-space: nowrap; }
.work-notes-grid p { color: var(--secondary); font-size: 15px; line-height: 1.85; margin: 0; }
.work-notes-grid>a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 1700px) { .site-header { padding-top: 50px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .brand { flex-basis: 322px; }
  .site-header { gap: 22px; padding-top: 25px; }
  .site-header nav { gap: 16px 24px; }
  .about-layout { gap: 45px; }
  .services-grid, .process-list { gap: 32px; }
  .section-heading p { max-width: 260px; }
  .contact-layout { gap: 30px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 18px 16px; }
  .brand { width: min(322px, 100%); flex: none; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px 16px; font-size: 14px; }
  .portfolio-section { padding-top: 0; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; gap: 3px; margin-bottom: 9px; }
  .portfolio-heading h1 { font-size: 14px; }
  .portfolio-heading p { font-size: 13px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 12px; }
  .work-card:first-child { grid-column: 1 / -1; }
  .work-card:first-child .work-image { aspect-ratio: 3 / 4; }
  .work-image { aspect-ratio: 1 / 1.27; }
  .work-title { font-size: 14px; }
  .work-category { font-size: 12px; }
  .work-caption { gap: 3px 12px; padding-top: 10px; }
  .image-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-toolbar, .image-navigation { padding-inline: 12px; }
  .portfolio-controls { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 12px; padding-block: 0; }
  .filters { flex-wrap: nowrap; gap: 20px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { min-height: 44px; flex-shrink: 0; }
  .portfolio-count { margin-left: auto; font-size: 12px; padding-top: 4px; }
  .dialog-details { align-items: stretch; flex-direction: column; gap: 16px; padding: 16px 12px; }
  .dialog-actions { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
  .dialog-actions .outline-button { padding: 11px 17px; }
  .dialog-image { height: 45dvh; }
  .image-counter { font-size: 12px; }
  .work-card--wide .work-image { aspect-ratio: 3 / 2; }
  .gallery-bottom { padding-top: 36px; }
  .editorial-section { margin-top: 80px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 35px 40px; }
  .about-layout h2 { font-size: 40px; }
  .about-copy { max-width: none; }
  .editorial-image img { min-height: 290px; object-fit: cover; }
  .editorial-image figcaption { flex-direction: column; gap: 4px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 32px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { max-width: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); gap: 28px 25px; }
  .services-grid h3 { font-size: 18px; margin-top: 13px; }
  .services-grid p { font-size: 16px; }
  .category-notes { grid-template-columns: 1fr; gap: 18px; margin-top: 35px; }
  .category-notes p { grid-template-columns: 65px 1fr; }
  .process-list { grid-template-columns: repeat(2,1fr); gap: 28px 25px; }
  .process-list li>span { margin-bottom: 17px; font-size: 26px; }
  .process-list h3 { font-size: 17px; }
  .contact-section { margin-top: 70px; padding-block: 30px 40px; }
  .contact-layout { grid-template-columns: 1fr; align-items: start; gap: 30px; padding-top: 30px; }
  .contact-layout h2 { font-size: 34px; }
  .wechat-contact { margin-top: 26px; }
  .wechat-id-row { gap: 12px 15px; }
  .wechat-id-row input { width: 143px; font-size: 26px; }
  .wechat-id-row button { padding-inline: 19px; }
  .wechat-card { width: 100%; max-width: 380px; justify-self: center; padding: 22px 24px; }
  .faq-section { grid-template-columns: 1fr; gap: 25px; padding-block: 55px; }
  .site-footer { flex-wrap: wrap; gap: 20px; padding-block: 27px; }
  .site-footer div { flex: 1 1 65%; }
  .site-footer>p { width: 100%; }
  .service-links { grid-template-columns: 1fr; gap: 8px; margin-top: 30px; }
  .service-links h3 { margin-top: 10px; }
  .work-notes-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (pointer: coarse) { .site-header nav a { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
