/* Kami landing-page palette and type hierarchy, adapted to the existing static site. */
:root {
  --paper: #f5f4ed;
  --ivory: #faf9f5;
  --sand: #e8e6dc;
  --ink: #141413;
  --muted: #6b6a64;
  --body: #504e49;
  --brand: #1b365d;
  --brand-light: #2d5a8a;
  --line: #dddbd1;
  --serif: "TsangerJinKai02", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", Charter, Georgia, serif;
  --ui: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --section-space: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong { font-weight: 500; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.45; letter-spacing: 1px; }
h3 { font-size: 22px; line-height: 1.5; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 6px; }
img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--sand); }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { background: #d6e1ee; color: var(--brand); }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .service-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--brand); color: var(--ivory); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.eyebrow { font: 11px/1.6 var(--ui); letter-spacing: 1.9px; color: var(--brand); margin-bottom: 22px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 13px 25px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: var(--ivory); font: 14px/1.6 var(--ui); transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--brand-light); transform: translateY(-2px); }
.quiet-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font: 13px/1.6 var(--ui); }
.quiet-link span { font-size: 20px; transition: transform .2s; }
.quiet-link:hover { color: var(--brand); }
.quiet-link:hover span { transform: translate(2px, -2px); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: #f5f4edf5; backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 43px; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: square; }
.brand strong { display: block; font-size: 26px; line-height: 1.3; letter-spacing: 3px; }
.brand small { display: block; font: 8px/2.4 var(--ui); letter-spacing: 1.6px; color: var(--body); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); font: 12px/1.5 var(--ui); }
.nav-links > a { position: relative; padding-block: 16px; white-space: nowrap; }
.nav-links > a:not(.nav-contact)::after { content: ""; position: absolute; bottom: 6px; left: 0; width: 16px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links > a:hover::after, .nav-links > a[aria-current]::after { transform: scaleX(1); }
.nav-links > a[aria-current] { color: var(--brand); }
.nav-links .nav-contact { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; }
.nav-contact .icon { width: 16px; height: 16px; }
.nav-contact:hover { background: var(--sand); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; padding: 12px; }
.menu-toggle span { display: block; height: 1px; width: 18px; background: var(--ink); margin-block: 5px; transition: transform .2s; }

/* Hero */
.hero { display: grid; grid-template-columns: .9fr 1.15fr; gap: 48px; padding-top: 28px; padding-bottom: 50px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 45px 0 5px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; margin-bottom: 29px; }
.small-line { width: 25px; height: 1px; background: var(--brand); }
h1 { font-size: clamp(50px, 5.4vw, 76px); line-height: 1.35; letter-spacing: 2px; margin-left: -4px; }
h1 span { color: var(--brand); }
.hero-english { font-size: 18px; color: var(--muted); letter-spacing: .3px; margin-top: 15px; }
.hero-description { margin-top: 30px; color: var(--body); font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.hero-location { display: flex; align-items: center; gap: 8px; font: 11px/1.6 var(--ui); color: var(--muted); margin-top: auto; padding-top: 48px; }
.hero-location .icon { width: 15px; height: 15px; }
.hero-visual { position: relative; min-width: 0; height: 600px; }
.hero-visual > img { height: 100%; object-position: 54% center; }
.hero-image-caption { position: absolute; inset: auto 22px 19px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 9px/1.6 var(--ui); letter-spacing: 1px; z-index: 1; }
.hero-visual::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #14141365); pointer-events: none; }
.hero-note { position: absolute; right: -18px; bottom: 65px; display: flex; align-items: center; gap: 20px; background: var(--ivory); color: var(--ink); padding: 22px 24px; z-index: 2; }
.note-line { width: 2px; height: 46px; background: var(--brand); }
.hero-note p { font-size: 18px; letter-spacing: 1px; line-height: 1.7; }
.note-number { align-self: flex-end; font-size: 25px; color: #b4b2a8; padding-left: 28px; }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.service-strip a { display: flex; align-items: center; gap: 13px; padding: 25px 22px; font-size: 17px; position: relative; }
.service-strip a:first-child { padding-left: 0; }
.service-strip a:last-child { padding-right: 0; }
.service-strip a + a::before { content: ""; height: 22px; width: 1px; background: var(--line); position: absolute; left: 0; }
.service-strip a > span:first-child { font-size: 12px; color: var(--muted); }
.strip-en { font: 8px/1.5 var(--ui); letter-spacing: .6px; color: var(--muted); }
.service-strip .icon { width: 15px; height: 15px; margin-left: auto; }
.service-strip a:hover { color: var(--brand); }

/* Space gallery */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 42px; }
.section-intro { color: var(--muted); font-size: 15px; line-height: 1.9; }
.case-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid transparent; background: transparent; padding: 10px 17px; border-radius: 999px; color: var(--body); font: 12px/1.5 var(--ui); min-height: 40px; transition: background .2s, color .2s; }
.filter span { margin-left: 8px; font-size: 10px; }
.filter:hover { background: var(--sand); }
.filter.active { background: var(--brand); color: var(--ivory); }
.gallery-hint { font: 11px/1.5 var(--ui); color: var(--muted); }
.gallery-hint span { margin-left: 15px; font-size: 20px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case-link { display: block; }
.case-image { position: relative; aspect-ratio: 1.12; overflow: hidden; background: var(--sand); }
.case-image img { height: 100%; transition: transform .6s cubic-bezier(.2, .6, .3, 1); }
.case-link:hover img { transform: scale(1.035); }
.case-image-label { position: absolute; top: 16px; left: 16px; background: var(--ivory); padding: 5px 10px; font: 10px/1.6 var(--ui); color: var(--body); }
.case-open { position: absolute; bottom: 15px; right: 15px; display: grid; place-items: center; width: 42px; height: 42px; background: var(--ivory); border-radius: 50%; transition: color .2s, background .2s; }
.case-open .icon { width: 18px; height: 18px; }
.case-link:hover .case-open { background: var(--brand); color: var(--ivory); }
.case-meta { display: flex; justify-content: space-between; gap: 12px; font: 10px/1.6 var(--ui); letter-spacing: .5px; color: var(--muted); margin: 20px 0 10px; }
.case-card h3 { font-size: 23px; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--muted); }
.image-disclaimer { margin-top: 30px; font: 11px/1.7 var(--ui); color: var(--muted); }

/* About */
.about-section { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.about-image { position: relative; padding: 0 24px 38px 0; }
.about-image::before { content: ""; position: absolute; inset: 34px 0 0 32px; border: 1px solid #c9c5b8; }
.about-image img { position: relative; height: 530px; object-position: 50% 55%; }
.about-image figcaption { position: absolute; bottom: 9px; left: 32px; right: 0; display: flex; justify-content: space-between; gap: 12px; font: 9px/1.5 var(--ui); color: var(--body); letter-spacing: 1px; }
.about-copy h2 { margin-bottom: 24px; }
.about-lead { font-size: 20px; margin-bottom: 12px; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: var(--body); font-size: 15px; line-height: 1.95; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #cecabf; padding-top: 24px; margin-top: 28px; }
.about-values span { color: var(--brand); font-size: 19px; }
.about-values p { font-size: 13px; color: var(--body); margin-top: 7px; }
.pending-note { margin: 27px 0 15px; font: 11px/1.8 var(--ui); color: var(--muted); }
.pending-note span { display: inline-block; border: 1px solid #c9c5b8; padding: 2px 8px; margin-bottom: 5px; }

/* Services and craft */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.service-grid article { position: relative; padding: 34px 25px 24px; scroll-margin-top: 120px; }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { padding-right: 0; }
.service-grid article + article { border-left: 1px solid var(--line); }
.service-icon { width: 37px; height: 37px; color: var(--brand); margin-bottom: 29px; }
.service-index { position: absolute; right: 25px; top: 34px; font-size: 13px; color: #918e83; }
.service-grid h3 { margin-bottom: 14px; }
.service-grid p { font-size: 14px; color: var(--body); min-height: 100px; }
.service-grid ul { padding: 19px 0; margin: 0; list-style: none; font: 11px/2.3 var(--ui); color: var(--muted); }
.service-grid li::before { content: "·"; margin-right: 8px; }
.service-grid .quiet-link { justify-content: space-between; width: 100%; border-top: 1px solid var(--line); padding-top: 15px; }
.quality-section { background: #30302e; color: var(--ivory); padding-block: 76px; }
.quality-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9%; }
.quality-section .eyebrow { color: #c9c5b8; }
.quality-copy > p:not(.eyebrow) { margin-top: 22px; color: #c9c5b8; font-size: 15px; }
.quality-signature { display: inline-block; margin-top: 35px; border-left: 1px solid #c9c5b8; padding-left: 15px; letter-spacing: 2px; font-size: 15px; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 38px; }
.quality-grid article { border-top: 1px solid #64635d; padding-top: 18px; }
.quality-grid article > span { font: 9px/1.6 var(--ui); letter-spacing: 1px; color: #c3c0b6; }
.quality-grid h3 { margin: 14px 0 10px; font-size: 21px; }
.quality-grid p { color: #c9c5b8; font-size: 13px; line-height: 1.85; }

/* Process, FAQ and contact */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 52px 0 0; }
.process-list li { position: relative; }
.process-list li::before { content: ""; position: absolute; top: 27px; left: 59px; right: -16px; height: 1px; background: var(--line); }
.process-list li:last-child::before { display: none; }
.process-list li > span { font: 34px/1.6 Charter, Georgia, serif; color: var(--brand); }
.process-list h3 { font-size: 19px; margin: 16px 0 9px; }
.process-list p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.faq-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.55fr; gap: 10%; border-top: 1px solid var(--line); padding-top: 75px; }
.faq-layout .section-intro { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; font-size: 18px; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-list summary > span::before, .faq-list summary > span::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: var(--body); }
.faq-list summary > span::after { transform: rotate(90deg); transition: transform .2s; }
.faq-list details[open] summary > span::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--brand); }
.faq-list details p { padding: 0 32px 24px 0; color: var(--body); font-size: 14px; line-height: 1.95; }
.contact-section { padding-block: 76px; background: var(--sand); }
.contact-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.contact-heading > p { color: var(--body); font-size: 15px; line-height: 1.95; padding-bottom: 6px; }
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; padding: 0; margin: 50px 0 0; }
.contact-list > div { border-top: 1px solid #c9c5b8; padding-top: 23px; }
.contact-list dt { display: flex; align-items: center; gap: 9px; font: 12px/1.6 var(--ui); color: var(--body); }
.contact-list dt .icon { width: 17px; height: 17px; }
.contact-list dd { margin: 15px 0 6px; font-size: 30px; line-height: 1.5; color: var(--brand); }
.contact-list .pending-value { font-size: 26px; }
.contact-list .contact-help { margin: 0; font: 12px/1.8 var(--ui); color: var(--muted); }

/* Footer */
.site-footer { padding-block: 44px 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 35px; }
.footer-brand .brand-mark { width: 30px; height: 38px; }
.footer-brand strong { font-size: 22px; }
.footer-brand small { font-size: 7px; }
.footer-top > p { color: var(--muted); font-size: 17px; letter-spacing: 2px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--line); padding-top: 23px; font: 10px/1.8 var(--ui); color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: var(--brand); }
.back-to-top { position: fixed; bottom: 24px; right: 22px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; background: var(--ivory); border: 1px solid var(--line); border-radius: 50%; font: 23px/1 var(--ui); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Accessible native case dialogs */
.case-dialog { padding: 0; width: min(850px, calc(100% - 48px)); max-height: calc(100dvh - 64px); border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.case-dialog::backdrop { background: #141413b8; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 15px; z-index: 3; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--ivory); font: 29px/1 var(--ui); }
.dialog-close:hover { background: var(--sand); }
.dialog-image { height: 360px; }
.dialog-image img { height: 100%; }
.dialog-body { padding: 35px 42px 40px; }
.dialog-body h2 { font-size: 33px; margin-bottom: 20px; }
.dialog-body > p:not(.eyebrow) { color: var(--body); font-size: 15px; }
.dialog-body .eyebrow { margin-bottom: 12px; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; border-block: 1px solid var(--line); padding-block: 20px; margin-block: 26px; }
.project-facts dt { font: 11px/1.8 var(--ui); color: var(--muted); }
.project-facts dd { margin: 5px 0 0; font-size: 15px; }
.dialog-body h3 { font-size: 21px; margin-bottom: 10px; }
.dialog-footer { margin-top: 26px; }
.dialog-footer p { font: 11px/1.8 var(--ui); color: var(--muted); margin-bottom: 20px; }

@media (min-width: 881px) and (max-width: 1180px) {
  .container { width: calc(100% - 72px); }
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .brand strong { font-size: 23px; }
  .hero { gap: 30px; }
  .hero-visual { height: 565px; }
  .hero-copy { padding-top: 30px; }
  .hero-actions { gap: 18px; }
  .strip-en { display: none; }
  .service-grid article { padding-inline: 20px; }
  .service-grid h3 { font-size: 20px; }
  .case-card h3 { font-size: 21px; }
}
@media (max-width: 880px) {
  :root { --section-space: 72px; }
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 56px); }
  .nav { min-height: 80px; flex-wrap: wrap; gap: 0; position: relative; }
  .brand strong { font-size: 24px; }
  .brand-mark { width: 31px; height: 38px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: -28px; right: -28px; top: 80px; max-height: calc(100dvh - 80px); overflow-y: auto; background: var(--paper); padding: 18px 28px 24px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 15px 0; font-size: 14px; }
  .nav-links > a:not(.nav-contact)::after { bottom: 7px; }
  .nav-links .nav-contact { justify-content: space-between; margin-top: 10px; padding: 12px 20px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 20px; padding-bottom: 36px; }
  .hero-copy { padding-top: 20px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1px; }
  h1 { font-size: clamp(39px, 5.7vw, 51px); }
  .hero-english { font-size: 15px; }
  .hero-description { font-size: 14px; margin-top: 22px; }
  .hero-actions { margin-top: 24px; gap: 10px 18px; }
  .hero-actions .btn-primary { padding-inline: 19px; font-size: 12px; gap: 18px; }
  .hero-actions .quiet-link { font-size: 12px; }
  .hero-location { font-size: 9px; padding-top: 24px; }
  .hero-visual { height: 500px; }
  .hero-note { right: -12px; padding: 18px; bottom: 60px; gap: 15px; }
  .hero-note p { font-size: 16px; }
  .note-number { font-size: 20px; padding-left: 10px; }
  .hero-image-caption { inset-inline: 14px; }
  .hero-image-caption span:first-child { display: none; }
  .service-strip { grid-template-columns: 1fr 1fr; }
  .service-strip a { padding: 18px; }
  .service-strip a:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .service-strip a:nth-child(3)::before { display: none; }
  .service-strip a:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { gap: 25px; margin-bottom: 32px; }
  .section-intro { font-size: 13px; }
  .gallery-hint { display: none; }
  .case-grid { gap: 18px; }
  .case-image { aspect-ratio: .85; }
  .case-image-label { top: 10px; left: 10px; font-size: 9px; }
  .case-meta { font-size: 8px; flex-direction: column; gap: 3px; }
  .case-card h3 { font-size: 19px; }
  .case-card p { font-size: 12px; }
  .about-grid { gap: 35px; }
  .about-image img { height: 540px; }
  .about-image figcaption { font-size: 8px; }
  .about-lead { font-size: 18px; }
  .about-copy > p:not(.eyebrow):not(.about-lead) { font-size: 14px; }
  .about-values { gap: 15px; }
  .about-values p { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article { padding: 30px; }
  .service-grid article:nth-child(3) { border-left: 0; padding-left: 0; }
  .service-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid article:nth-child(even) { padding-right: 0; }
  .service-grid p { min-height: 70px; }
  .quality-section { padding-block: 58px; }
  .quality-layout { grid-template-columns: 1fr; gap: 44px; }
  .quality-grid { gap: 32px; }
  .quality-copy h2 br { display: none; }
  .quality-signature { margin-top: 20px; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .process-list li:nth-child(3)::before { display: none; }
  .faq-layout { gap: 36px; grid-template-columns: .85fr 1.2fr; padding-top: 55px; }
  .faq-list summary { font-size: 16px; padding-block: 20px; }
  .contact-section { padding-block: 58px; }
  .contact-heading { gap: 30px; }
  .contact-heading > p { font-size: 13px; }
  .contact-list { gap: 25px; }
  .footer-top > p { font-size: 14px; letter-spacing: 0; }
  .footer-bottom nav { gap: 18px; }
}
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 15px 0 0; }
  h1 { font-size: 58px; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 22px; }
  .hero-description { font-size: 15px; }
  .hero-location { padding-top: 26px; font-size: 10px; }
  .hero-visual { height: 420px; margin-top: 5px; }
  .hero-note { right: -10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-intro br { display: none; }
  .section-intro { font-size: 14px; }
  .case-toolbar { padding-bottom: 17px; }
  .case-filters { gap: 4px; }
  .filter { padding: 10px 12px; font-size: 11px; }
  .filter span { margin-left: 4px; }
  .case-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-image { aspect-ratio: 1.17; }
  .case-image-label { font-size: 11px; top: 15px; left: 15px; }
  .case-meta { flex-direction: row; font-size: 10px; margin-top: 17px; }
  .case-card h3 { font-size: 24px; }
  .case-card p { font-size: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-image img { height: 390px; }
  .about-image figcaption { font-size: 9px; }
  .about-copy > p:not(.eyebrow):not(.about-lead) { font-size: 15px; }
  .about-values p { font-size: 13px; }
  .service-grid article { padding-inline: 20px; }
  .service-grid h3 { font-size: 19px; }
  .service-grid p { font-size: 13px; min-height: 120px; }
  .service-grid .quiet-link { font-size: 12px; }
  .service-index { right: 18px; }
  .service-icon { margin-bottom: 22px; }
  .quality-copy h2 br { display: block; }
  .quality-grid { gap: 28px 24px; }
  .quality-grid h3 { font-size: 19px; }
  .quality-grid p { font-size: 13px; }
  .quality-grid article > span { font-size: 8px; letter-spacing: .5px; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 35px; }
  .process-list li:nth-child(3)::before { display: block; }
  .process-list li:nth-child(even)::before { display: none; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-layout .section-intro { margin-top: 15px; }
  .faq-list summary { font-size: 17px; }
  .contact-heading { align-items: flex-start; flex-direction: column; gap: 23px; }
  .contact-heading > p { font-size: 14px; }
  .contact-heading > p br { display: none; }
  .contact-list { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .contact-list > div { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding-top: 22px; }
  .contact-list dd, .contact-list .pending-value { margin: 0; font-size: 23px; }
  .contact-list .contact-help { grid-column: 1 / -1; }
  .footer-top { flex-wrap: wrap; gap: 22px; }
  .footer-top > p { order: 3; flex-basis: 100%; }
  .footer-top .quiet-link { font-size: 12px; gap: 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-bottom nav { order: -1; }
  .case-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 32px); }
  .dialog-image { height: 250px; }
  .dialog-body { padding: 25px 22px 28px; }
  .dialog-body h2 { font-size: 27px; }
  .project-facts { grid-template-columns: 1fr; gap: 12px; }
  .project-facts > div { display: flex; justify-content: space-between; gap: 16px; }
  .project-facts dd { margin: 0; font-size: 14px; }
}
@media (max-width: 480px) {
  :root { --section-space: 56px; }
  .container { width: calc(100% - 40px); }
  .nav { min-height: 76px; }
  .nav-links { top: 76px; max-height: calc(100dvh - 76px); left: -20px; right: -20px; padding-inline: 20px; }
  .hero { padding-top: 14px; gap: 24px; }
  h1 { font-size: clamp(47px, 12.6vw, 58px); line-height: 1.35; }
  h2 { font-size: 30px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.3px; margin-bottom: 17px; }
  .hero-copy .eyebrow { letter-spacing: 1.4px; }
  .hero-english { font-size: 16px; margin-top: 12px; }
  .hero-actions { gap: 22px; }
  .hero-actions .btn-primary { font-size: 13px; }
  .hero-visual { height: 360px; }
  .hero-note { padding: 14px 18px; bottom: 52px; gap: 13px; }
  .hero-note p { font-size: 16px; }
  .note-line { height: 38px; }
  .note-number { font-size: 23px; padding-left: 12px; }
  .service-strip a { font-size: 15px; gap: 10px; padding: 18px 14px; }
  .strip-en { display: none; }
  .filter { padding-inline: 10px; }
  .filter span { display: none; }
  .case-toolbar { margin-bottom: 24px; }
  .image-disclaimer { font-size: 10px; }
  .about-image { padding-right: 18px; }
  .about-image img { height: 350px; }
  .about-image figcaption { left: 20px; font-size: 8px; }
  .about-values { gap: 16px; }
  .service-grid p { min-height: 125px; }
  .quality-section, .contact-section { padding-block: 52px; }
  .quality-grid { column-gap: 22px; }
  .quality-grid h3 { font-size: 18px; }
  .quality-grid p { font-size: 12px; }
  .faq-layout { padding-top: 45px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 8px; }
  .back-to-top { right: 12px; bottom: 16px; width: 40px; height: 40px; }
  .footer-brand { gap: 9px; }
  .footer-brand strong { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Keep captions and supporting copy readable on every screen size. */
.eyebrow, .hero-copy .eyebrow, .hero-location, .hero-image-caption, .case-meta, .case-image-label, .filter, .gallery-hint, .image-disclaimer, .about-image figcaption, .pending-note, .service-grid ul, .quality-grid article > span, .footer-bottom, .dialog-footer p, .project-facts dt { font-size: 12px; }
@media (max-width: 1400px) { .strip-en { display: none; } }

/* Brand content, service detail pages and reading guides. */
.content-intro { max-width: 780px; margin: 20px 0 36px; }
.info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.info-grid article,.reading-grid article { padding: 28px; border: 1px solid var(--line); background: var(--ivory); min-width: 0; }
.info-grid p,.reading-grid p { margin-top: 14px; color: var(--body); }
.info-grid .quiet-link,.reading-grid .quiet-link { margin-top: 18px; }
.reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.reading-grid h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.status-label { display: inline-block; font: 12px/1.6 var(--ui); color: var(--brand); border: 1px solid var(--line); padding: 4px 10px; margin-bottom: 16px; }
.contact-status { margin: 26px 0 10px; }
.detail-nav { flex-wrap: wrap; padding-block: 18px; }
.detail-links { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--ui); font-size: 14px; }
.detail-page { max-width: 920px; padding-block: 55px 80px; }
.breadcrumb { font: 13px/1.7 var(--ui); color: var(--muted); margin-bottom: 30px; }
.detail-page h1 { font-size: clamp(32px,5vw,52px); line-height: 1.4; margin-bottom: 24px; }
.detail-lead { font-size: 19px; color: var(--body); margin-bottom: 35px; }
.detail-page section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.detail-page h2 { font-size: 28px; margin-bottom: 16px; }
.detail-page p,.detail-page li { color: var(--body); }
.detail-page li { margin-block: 10px; }
.detail-page .detail-cta { padding: 28px; background: var(--sand); }
.detail-cta a { margin: 16px 16px 0 0; }
.detail-footer { padding-block: 28px; border-top: 1px solid var(--line); font: 13px/1.8 var(--ui); }
@media(max-width:880px) { .reading-grid { grid-template-columns: 1fr; } }
@media(max-width:600px) {
 .info-grid { grid-template-columns: 1fr; } .info-grid article,.reading-grid article { padding: 24px; }
 .detail-page { padding-block: 32px 55px; } .detail-page h2 { font-size: 25px; }
 .detail-nav { gap: 16px; } .detail-links { gap: 16px; } .detail-lead { font-size: 17px; }
}

/* TYPOGRAPHY:START — shared reading scale for home, services and guides. */
:root {
  --text-body: 1.0625rem;
  --text-lead: 1.125rem;
  --text-small: .875rem;
  --text-control: 1rem;
}
body { font-size: var(--text-body); line-height: 1.85; }
h1 { font-size: clamp(2.75rem, 5vw, 4.25rem); line-height: 1.3; }
h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.45; }
h3, .case-card h3, .service-grid h3, .quality-grid h3, .info-grid h3, .reading-grid h3 {
  font-size: clamp(1.3125rem, 1.8vw, 1.5rem); line-height: 1.55;
}
.hero-description { font-size: var(--text-lead); line-height: 1.9; }
.section-intro, .case-card p, .about-copy > p:not(.eyebrow):not(.about-lead),
.about-values p, .service-grid p, .quality-copy > p:not(.eyebrow), .quality-grid p,
.process-list p, .faq-list details p, .contact-heading > p, .contact-status,
.info-grid p, .reading-grid p, .dialog-body > p:not(.eyebrow), .project-facts dd {
  font-size: var(--text-body); line-height: 1.85;
}
.about-lead, .detail-lead { font-size: 1.25rem; line-height: 1.85; }
.nav-links, .nav-links > a, .detail-links, .btn-primary, .quiet-link,
.hero-actions .btn-primary, .hero-actions .quiet-link, .service-grid .quiet-link,
.footer-top .quiet-link, .filter { font-size: var(--text-control); line-height: 1.6; }
.nav-links { gap: clamp(14px, 1.6vw, 24px); }
.eyebrow, .hero-copy .eyebrow, .hero-location, .hero-image-caption,
.case-meta, .case-image-label, .gallery-hint, .image-disclaimer,
.about-image figcaption, .pending-note, .quality-grid article > span,
.footer-bottom, .dialog-footer p, .project-facts dt, .contact-list dt,
.contact-list .contact-help, .status-label, .breadcrumb, .detail-footer {
  font-size: var(--text-small); line-height: 1.8;
}
.service-grid ul { font-size: 1rem; line-height: 1.9; }
.service-grid li { padding-block: 3px; }
.service-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.service-grid p { min-height: 0; }
.service-grid .quiet-link { margin-top: auto; }
.process-list h3 { font-size: 1.25rem; line-height: 1.55; }
.faq-list summary { font-size: 1.1875rem; line-height: 1.65; }
.brand small, .footer-brand small { font-size: .625rem; letter-spacing: 1.2px; }
.detail-page { max-width: 880px; }
.detail-page h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.4; }
.detail-page h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.5; }
.detail-page p, .detail-page li { font-size: 1.125rem; line-height: 1.95; }
.detail-page .detail-lead { font-size: 1.25rem; }
.detail-page ul { padding-left: 1.5em; }
@media (max-width: 1180px) {
  .process-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .process-list li:nth-child(3)::before { display: none; }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(2.625rem, 11vw, 3.125rem); }
  h2 { font-size: 1.875rem; letter-spacing: .5px; }
  .service-grid, .quality-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:first-child, .service-grid article:last-child,
  .service-grid article:nth-child(3), .service-grid article:nth-child(even) {
    padding: 28px 0; border-left: 0;
  }
  .service-grid article + article { border-top: 1px solid var(--line); }
  .service-grid .quiet-link { margin-top: 4px; }
  .service-index { right: 0; }
  .service-strip a { font-size: 1rem; padding-inline: 10px; gap: 8px; }
  .filter { padding: 9px 12px; }
  .hero-actions { gap: 14px 20px; }
  .hero-note { right: 0; }
  .hero-location { align-items: flex-start; }
  .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .process-list li:nth-child(3)::before { display: block; }
  .process-list li:nth-child(even)::before { display: none; }
  .detail-page p, .detail-page li { font-size: var(--text-body); }
  .detail-page .detail-lead { font-size: var(--text-lead); }
  .detail-page h1 { font-size: clamp(1.875rem, 7vw, 2.25rem); }
  .detail-page .detail-cta { padding: 24px 20px; }
}
/* TYPOGRAPHY:END */

/* WIDE-SCREEN:START — fluid home layout above the existing desktop breakpoints. */
@media (min-width: 1440px) {
  .container { width: calc(100% - clamp(112px, 8vw, 256px)); }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(48px, 4vw, 104px); }
  .hero-visual { height: clamp(600px, 34vw, 820px); }
  .hero-copy { justify-content: center; padding-top: 24px; }
  .hero-location { margin-top: 32px; padding-top: 0; }
  .hero-description { max-width: 36em; }
  .case-grid, .reading-grid { gap: clamp(28px, 2vw, 48px); }
  .case-image { aspect-ratio: 1.35; }
  .service-grid article { padding-inline: clamp(25px, 2vw, 48px); }
  .service-grid article:first-child { padding-left: 0; }
  .service-grid article:last-child { padding-right: 0; }
  .service-grid p { max-width: 30em; }
  .about-grid { gap: 6%; }
  .about-image img { height: clamp(530px, 28vw, 720px); }
  .about-copy { max-width: 680px; }
  .quality-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr); gap: 6%; }
  .faq-layout { grid-template-columns: minmax(0,.75fr) minmax(0,1.5fr); gap: 7%; }
  .faq-list details p { max-width: 56em; }
}
@media (min-width: 1800px) {
  .info-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
  .info-grid article { padding: 30px; }
}
/* WIDE-SCREEN:END */

/* HEADER-QR:START — navigation emphasis and fixed-footprint contact image. */
.site-header .nav-links > a, .site-header .detail-links { font-size: 1.25rem; }
.site-header .nav-links { gap: clamp(14px, 1.6vw, 28px); }
.brand .brand-mark { width: 48px; height: 48px; object-fit: contain; background: transparent; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.contact-qr { position: relative; }
.qr-size-guide { visibility: hidden; }
.contact-qr .qr-image-box {
  position: absolute; left: 0; right: 0; top: calc(39px + 1.575rem); bottom: 0;
  display: flex; align-items: flex-start;
}
.contact-qr .qr-image-box img {
  height: 100%; width: auto; max-width: 100%; aspect-ratio: 1;
  object-fit: contain; background: #fff;
}
@media (max-width: 1180px) {
  .site-header .nav-links > a, .site-header .detail-links { font-size: 1.125rem; }
  .site-header .nav-links { gap: 14px; }
  .site-header .nav-links .nav-contact { gap: 12px; padding-inline: 14px; }
}
@media (max-width: 880px) {
  .site-header .nav-links { gap: 0; }
  .brand .brand-mark { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .contact-qr .qr-image-box { top: 23px; left: auto; right: 0; width: 80px; justify-content: flex-end; }
}
/* HEADER-QR:END */



/* CONTACT-DISPLAY:START */
.contact-list > div { min-width: 0; }
.contact-list dd { overflow-wrap: anywhere; }
.contact-list .contact-value { font-size: clamp(22px, 1.7vw, 28px); }
.contact-qr .qr-value { margin: 16px 0 12px; }
.contact-qr .qr-image-box { position: static; display: block; width: min(100%, 220px); height: auto; cursor: default; }
.contact-qr .qr-image-box img { display: block; width: 100%; height: auto; aspect-ratio: auto; padding: 10px; background: white; object-fit: contain; }
@media (max-width: 600px) {
 .contact-list > div { grid-template-columns: minmax(0,1fr); }
 .contact-qr .qr-value { margin: 8px 0; }
 .contact-qr .qr-image-box { width: min(100%, 180px); }
}
/* CONTACT-DISPLAY:END */

/* Combined reading and FAQ section */
.reading-faq { margin: 32px 0 36px; scroll-margin-top: 120px; }
.reading-faq h3, .reading-subtitle { font-size: 22px; margin: 0 0 16px; }
.reading-faq .faq-list { max-width: none; }

/* HEADER-BRAND-ALIGNMENT:START */
.site-header .brand > span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: max-content;
}
.site-header .brand strong {
  letter-spacing: 0;
  padding-inline-end: 1.2px;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}
.site-header .brand small {
  line-height: 1.5;
  white-space: nowrap;
}
/* HEADER-BRAND-ALIGNMENT:END */

/* LARGE-SCREEN-TYPE:START */
@media (min-width: 1440px) {
  :root {
    --text-body: clamp(1.25rem, 1.05rem + .22vw, 1.375rem);
    --text-lead: clamp(1.375rem, 1.175rem + .22vw, 1.5rem);
    --text-small: clamp(1rem, .8rem + .22vw, 1.125rem);
    --text-control: clamp(1.125rem, .925rem + .22vw, 1.25rem);
  }
  .hero-description { max-width: 30em; }
  .hero-english { font-size: var(--text-lead); }
  .about-lead, .detail-page .detail-lead { font-size: var(--text-lead); }
  .service-grid ul { font-size: var(--text-control); }
  .process-list h3, .faq-list summary { font-size: var(--text-lead); }
  .detail-page p, .detail-page li { font-size: var(--text-body); line-height: 1.85; }
  .detail-page { max-width: 1000px; }
  .section-intro { max-width: 34em; }
  .faq-list details p { max-width: 42em; }
  .about-copy { max-width: 760px; }
  .hero-visual { height: auto; min-height: clamp(600px, 34vw, 820px); }
}
/* LARGE-SCREEN-TYPE:END */
