:root {
  --paper: #f5f2ec;
  --ink: #292824;
  --muted: #6d6962;
  --accent: #8f5f43;
  --accent-hover: #744a33;
  --line: #ddd7ce;
  --dark: #242421;
  --gutter: clamp(24px, 3.35vw, 64px);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .68, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.has-dialog { overflow: hidden; }
body, button, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; font: inherit; border: 0; border-radius: 0; padding: 0; background: transparent; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
button, a, img { -webkit-user-drag: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #fff; background: var(--accent); }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 12px 18px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.section-shell { max-width: 1760px; margin-inline: auto; padding-inline: var(--gutter); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border: 1px solid transparent; border-radius: 4px; color: #fffaf4; background: var(--accent); font-size: 14px; line-height: 20px; font-weight: 400; white-space: nowrap; transition: background 180ms, transform 180ms; }
.button:hover { background: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.arrow { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor; mask: url("assets/arrow-right.svg") center / contain no-repeat; transition: transform 300ms var(--ease); }
.text-link, .light-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; font-size: 13px; white-space: nowrap; }
.text-link:hover .arrow, .light-link:hover .arrow, .case-card a:hover .arrow, .hero-services button:hover .arrow { transform: translateX(4px); }

.site-header { display: flex; align-items: center; gap: 32px; max-width: 1760px; min-height: 114px; margin-inline: auto; padding: 22px var(--gutter); }
.brand { display: flex; flex: none; align-items: center; gap: 14px; }
.brand img { width: 64px; height: 62px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; gap: 5px; }
.brand-type strong { font: 22px/1.3 var(--serif); letter-spacing: .27em; white-space: nowrap; }
.brand-type small { font-size: 8px; letter-spacing: .24em; }
.brand-note { font: 12px/2 var(--serif); color: #777169; letter-spacing: .16em; }
.brand-note span { font: 10px var(--sans); letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a, .main-nav button { position: relative; padding: 12px 0; font-size: 13px; white-space: nowrap; }
.main-nav a::after, .main-nav button::after { content: ""; position: absolute; height: 1px; left: 0; right: 0; bottom: 4px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
.main-nav .is-current::after, .main-nav a:hover::after, .main-nav button:hover::after { transform: scaleX(1); }
.header-consult { margin-left: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; width: 20px; height: 1px; left: 12px; top: 18px; background: currentColor; transition: transform 200ms; }
.menu-toggle span + span { top: 25px; }
.menu-toggle[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span + span { transform: translateY(-3.5px) rotate(-45deg); }

.hero { display: grid; grid-template-columns: 31% 59% 10%; max-width: 1760px; min-height: 540px; height: clamp(540px, 41.5vw, 710px); margin: 0 auto; }
.hero-copy { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; padding: clamp(48px, 5vw, 84px) 25px 22px var(--gutter); }
.hero h1 { font: 400 clamp(32px, 3.5vw, 61px)/1.34 var(--serif); letter-spacing: -.035em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-intro { margin-top: 26px; font: 15px/2.1 var(--serif); letter-spacing: .11em; color: #59554e; }
.hero-english { margin-top: 28px; color: #898177; font: 9px/1.9 var(--sans); letter-spacing: .19em; }
.hero-services { position: relative; display: grid; grid-template-columns: .9fr .9fr 1.2fr; margin-top: 36px; padding-top: 42px; }
.hero-services::before { content: ""; position: absolute; top: 0; width: 42px; height: 3px; background: var(--accent); }
.hero-services button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 6px; padding: 0 12px; border-left: 1px solid var(--line); }
.hero-services button:first-child { padding-left: 0; border: 0; }
.hero-services button:last-child { padding-right: 0; }
.hero-services strong { font: 21px/1.25 var(--serif); white-space: nowrap; }
.hero-services span { font-size: 10px; line-height: 1.6; color: var(--muted); white-space: nowrap; }
.hero-services .arrow { width: 16px; height: 16px; margin-top: 6px; color: #746b5f; }
.hero-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; overflow: hidden; }
.scene { position: relative; min-width: 0; overflow: hidden; isolation: isolate; background: #b3a593; }
.scene + .scene { border-left: 1px solid #ffffff29; }
.scene::after { content: ""; position: absolute; z-index: 0; inset: 50% 0 0; background: linear-gradient(transparent, #16130fb3); pointer-events: none; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transition: transform 1100ms var(--ease), filter 600ms; }
.scene-new img { object-position: 50% 50%; }
.scene-renovation img { object-position: 49% 50%; }
.scene-commercial img { object-position: 53% 50%; }
.scene:hover img, .scene:focus-visible img { transform: scale(1.045); }
.scene:focus-visible { outline-color: white; outline-offset: -6px; }
.scene-caption { position: absolute; z-index: 1; left: 25px; bottom: 34px; color: #fffaf1; display: grid; gap: 7px; transition: transform 450ms var(--ease); }
.scene-caption strong { font: 30px/1.2 var(--serif); letter-spacing: .05em; }
.scene-caption > span { font: 13px/1.5 var(--serif); letter-spacing: .06em; }
.scene:hover .scene-caption { transform: translateY(-5px); }
.hero-aside { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 130px; padding: 20px 10px; background: #e8e2d9; }
.hero-aside p { font: 12px/2.1 var(--serif); color: #72695d; letter-spacing: .08em; }
.hero-aside small { font-size: 7px; line-height: 2; letter-spacing: .2em; color: #80796f; }

.cases { padding-top: 62px; }
.section-heading { display: flex; align-items: center; gap: 28px; margin-bottom: 24px; }
.section-heading h2 { flex: none; font: 36px/1.3 var(--serif); letter-spacing: .05em; }
.section-rule { width: 52px; height: 1px; background: var(--accent); flex: none; }
.section-heading > p { color: var(--muted); font: 14px/1.7 var(--serif); letter-spacing: .035em; }
.section-heading > .text-link { margin-left: auto; color: #686158; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; row-gap: 20px; }
.case-card { min-width: 0; }
.case-card a { display: block; }
.case-image { aspect-ratio: 1.24; overflow: hidden; background: #e4ded5; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.case-card a:hover img, .case-card a:focus-visible img { transform: scale(1.04); }
.case-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0 0; }
.case-title h3 { font: 22px/1.4 var(--serif); }
.case-title .arrow { width: 17px; height: 17px; color: #746d63; }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 7px; font-size: 12px; color: #666059; }
.case-meta span { padding-inline: 12px; border-inline: 1px solid #d6cfc4; }
.case-note { color: #736c62; font-size: 12px; margin-top: 11px; }
.more-cases { margin-top: 30px; }
.materials { padding-top: 66px; padding-bottom: 66px; }
.material-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.material-item { min-width: 0; text-align: left; }
.material-image { display: block; width: 100%; aspect-ratio: 1.32; overflow: hidden; background: #e4ded5; }
.material-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.material-item:hover img, .material-item:focus-visible img { transform: scale(1.065); }
.material-item strong { display: block; margin-top: 14px; font: 21px/1.4 var(--serif); }
.material-item > span:last-child { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.contact { display: grid; grid-template-columns: 44% 56%; max-width: 1760px; margin-inline: auto; min-height: 420px; background: var(--dark); color: #ece9e1; }
.contact-stilllife { position: relative; min-width: 0; overflow: hidden; }
.contact-stilllife > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.contact-brand { position: relative; z-index: 1; padding: 46px var(--gutter); }
.contact-brand > p { font: 30px/1.3 var(--serif); letter-spacing: .22em; }
.contact-brand > span:not(.contact-rule) { display: block; margin-top: 9px; font-size: 9px; letter-spacing: .21em; }
.contact-brand h2 { margin-top: 55px; font: 20px/1.8 var(--serif); letter-spacing: .07em; }
.contact-rule { display: block; width: 24px; height: 1px; margin-top: 32px; background: #d5c8b8; }
.contact-brand small { display: block; margin-top: 25px; font-size: 8px; letter-spacing: .14em; line-height: 1.9; }
.contact-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr); align-items: start; gap: 28px; padding: 48px var(--gutter) 42px 46px; }
.contact-main { min-width: 0; }
.location-map { display: block; width: 100%; height: 300px; border: 0; background: var(--paper); }
.contact-location { min-width: 0; }
.map-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 8px; font-size: 12px; }
.map-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.map-link .arrow { width: 14px; height: 14px; }
.contact .button { background: #a16d4d; }
.contact .button:hover { background: #b17a57; }
.contact-intro { margin-top: 22px; font: 14px/1.9 var(--serif); color: #c5bfb5; }
.contact-list { margin: 23px 0 15px; font-size: 12px; }
.contact-list > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 14px; margin-top: 11px; }
.contact-list dt { color: #aca498; }
.contact-list dd { margin: 0; color: #e7e2da; }
.contact-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.contact-phones a { display: inline-flex; align-items: center; min-height: 0; font-size: inherit; line-height: 1.7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-phones a:hover { text-decoration: underline; text-underline-offset: 4px; }
.light-link { color: #ddd3c5; font-size: 12px; }
.contact :focus-visible { outline-color: #d7ad87; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; font-size: 11px; color: var(--muted); }
.footer-company { margin-left: 22px; }
.site-footer a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; white-space: nowrap; }

/* Dialogs retain the same typography and control dimensions as the page. */
dialog { padding: 0; border: 0; border-radius: 2px; color: var(--ink); background: var(--paper); max-width: calc(100% - 40px); max-height: calc(100dvh - 48px); overscroll-behavior: contain; }
dialog::backdrop { background: #1c1913a6; }
.dialog-toolbar { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 8px 20px 8px 30px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 12px; color: var(--muted); }
.close-button { position: relative; width: 44px; height: 44px; flex: none; }
.close-button span::before, .close-button span::after { position: absolute; content: ""; left: 11px; top: 21px; width: 22px; height: 1px; background: currentColor; transform: rotate(45deg); }
.close-button span::after { transform: rotate(-45deg); }
.close-button:hover { background: #e8e1d7; }
.detail-dialog { width: 1140px; }
.detail-dialog.is-missing { width: 540px; }
.detail-dialog.is-missing .detail-layout { display: block; }
.detail-layout { display: grid; grid-template-columns: 1.12fr 1fr; }
.detail-visual { min-width: 0; padding: 28px 0 24px 28px; }
.detail-image-wrap { display: grid; place-items: center; position: relative; aspect-ratio: 1.07; background: #e9e3d9; }
.detail-image-wrap > img { width: 100%; height: 100%; max-height: 62dvh; object-fit: contain; }
.image-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; text-align: center; }
.detail-tabs { display: flex; gap: 24px; margin-top: 12px; flex-wrap: wrap; }
.detail-tabs button { padding: 10px 0; min-height: 44px; border-bottom: 2px solid transparent; font-size: 13px; color: var(--muted); }
.detail-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--ink); }
.photo-caption { padding-top: 14px; font-size: 12px; color: var(--muted); }
.detail-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 38px 40px 36px; }
.detail-type { font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.detail-copy h2, .info-content h2, .consult-content h2 { font: 36px/1.4 var(--serif); }
.detail-description { margin-top: 20px; color: #625b52; font-size: 14px; line-height: 1.9; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 26px; margin: 25px 0 22px; padding: 20px 0; width: 100%; border-block: 1px solid var(--line); }
.detail-facts dt { font-size: 11px; color: var(--muted); }
.detail-facts dd { margin: 5px 0 0; font-size: 14px; }
.detail-notes { display: grid; gap: 18px; }
.detail-facts[hidden] + .detail-notes:not(:empty) { margin-top: 24px; }
.detail-notes h3 { margin-bottom: 5px; font-size: 13px; font-weight: 500; }
.detail-notes p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.detail-copy .button { margin-top: 28px; }
.info-dialog { width: 720px; }
.info-content { padding: 36px 48px 44px; }
.info-description { margin-top: 18px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.info-steps { list-style: none; counter-reset: steps; margin: 30px 0; padding: 0; }
.info-steps li { position: relative; counter-increment: steps; border-top: 1px solid var(--line); padding: 19px 0 19px 42px; }
.info-steps li::before { content: "0" counter(steps); position: absolute; left: 0; top: 22px; font-size: 11px; color: var(--accent); }
.info-steps h3 { font: 20px/1.4 var(--serif); }
.info-steps p { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.8; }
.consult-dialog { width: 510px; }
.consult-content { padding: 30px 28px 36px; text-align: center; }
.consult-content > p { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.consult-phones { margin-top: 24px; border-top: 1px solid var(--line); }
.consult-phones a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.consult-phones a span:first-child { font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.consult-phones a span:last-child { font-size: 12px; color: var(--accent); white-space: nowrap; }
.consult-phones a:hover { background: #e8e1d7; }
.consult-location { margin-top: 24px; text-align: left; }
.consult-address { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.consult-address span:last-child { color: var(--ink); }
.consult-location .location-map { height: 240px; }
.consult-content .button { margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .js-motion .hero-heading { animation: copy-enter 900ms var(--ease) both; }
  .js-motion .scene { animation: scene-enter 1250ms var(--ease) both; }
  .js-motion .scene:nth-child(2) { animation-delay: 130ms; }
  .js-motion .scene:nth-child(3) { animation-delay: 260ms; }
  .js-motion .scene img { animation: scene-settle 1800ms var(--ease) both; }
  .js-motion .scene:nth-child(2) img { animation-delay: 130ms; }
  .js-motion .scene:nth-child(3) img { animation-delay: 260ms; }
  .js-motion .reveal { opacity: 0; transform: translateY(20px); transition: opacity 750ms var(--ease), transform 750ms var(--ease); }
  .js-motion .reveal.is-visible { opacity: 1; transform: none; }
  .case-grid .reveal:nth-child(2), .material-grid .reveal:nth-child(2) { transition-delay: 60ms; }
  .case-grid .reveal:nth-child(3), .material-grid .reveal:nth-child(3) { transition-delay: 120ms; }
  .case-grid .reveal:nth-child(4), .material-grid .reveal:nth-child(4) { transition-delay: 180ms; }
  .material-grid .reveal:nth-child(5) { transition-delay: 240ms; }
}
@keyframes scene-enter { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes scene-settle { from { scale: 1.06; } to { scale: 1; } }
@keyframes copy-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 1760px) { .hero h1 { font-size: 61px; } }
@media (max-width: 1280px) {
  .brand-note { display: none; }
  .site-header { gap: 24px; min-height: 102px; }
  .hero-aside p { font-size: 10px; }
  .hero-services { padding-top: 28px; }
  .hero-services button { padding-inline: 8px; }
  .hero-services strong { font-size: 19px; }
  .hero-services span { font-size: 9px; }
  .scene-caption { left: 20px; }
  .scene-caption > span { font-size: 11px; }
  .contact { grid-template-columns: 38% 62%; }
  .contact-details { padding: 38px 28px; gap: 24px; }
  .contact-intro { font-size: 12px; }
  .contact-list > div { grid-template-columns: 50px 1fr; gap: 8px; }
}
@media (max-width: 1000px) {
  .site-header { min-height: 88px; gap: 20px; padding-block: 15px; }
  .brand img { width: 48px; height: 46px; }
  .brand-type strong { font-size: 19px; }
  .main-nav { gap: 18px; }
  .main-nav a, .main-nav button { font-size: 12px; }
  .header-consult { font-size: 12px; padding-inline: 16px; margin-left: 0; }
  .hero { grid-template-columns: 36% 64%; height: 530px; min-height: 0; }
  .hero-copy { padding-top: 48px; padding-right: 20px; }
  .hero h1 { font-size: 3.9vw; }
  .hero-aside { display: none; }
  .hero-intro { font-size: 12px; letter-spacing: .04em; }
  .scene-caption { left: 16px; bottom: 24px; }
  .scene-caption strong { font-size: 25px; }
  .scene-caption > span { font-size: 10px; letter-spacing: 0; }
  .section-heading { gap: 20px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > p { font-size: 12px; }
  .section-rule { width: 30px; }
  .case-grid { gap: 16px; }
  .case-title h3 { font-size: 19px; }
  .case-meta { font-size: 10px; gap: 7px; }
  .case-meta span { padding-inline: 7px; }
  .case-note, .material-item > span:last-child { font-size: 10px; }
  .contact { grid-template-columns: 1fr; }
  .contact-stilllife { min-height: 330px; }
  .contact-details { padding-inline: 26px; }
  .contact-list { font-size: 11px; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 20px; }
  .site-header { position: relative; min-height: 82px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-type strong { font-size: 20px; letter-spacing: .18em; }
  .brand-type small { font-size: 7px; }
  .brand img { width: 47px; height: 46px; }
  .header-consult { margin-left: auto; min-height: 44px; padding: 11px 12px; font-size: 11px; }
  .menu-toggle { display: block; flex: none; margin-right: -10px; }
  .main-nav { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a, .main-nav button { padding: 14px 0; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
  .main-nav a::after, .main-nav button::after { display: none; }
  .hero { display: flex; flex-direction: column; height: auto; }
  .hero-copy { padding: 38px var(--gutter) 29px; }
  .hero h1 { font-size: clamp(32px, 8vw, 51px); line-height: 1.38; letter-spacing: .015em; }
  .hero-intro { margin-top: 22px; font-size: 13px; line-height: 1.9; letter-spacing: .08em; }
  .hero-english { display: none; }
  .hero-services { margin-top: 30px; padding-top: 23px; }
  .hero-services::before { width: 32px; height: 2px; }
  .hero-services strong { font-size: 20px; }
  .hero-services span { font-size: 10px; }
  .hero-services button { padding-inline: 18px; }
  .hero-services .arrow { margin-top: 1px; }
  .hero-scenes { height: clamp(290px, 74vw, 470px); }
  .scene-caption { bottom: 22px; left: 13px; gap: 6px; }
  .scene-caption strong { font-size: 24px; }
  .scene-caption > span { font-size: 10px; }
  .scene-renovation .scene-caption > span { max-width: 75px; }
  .cases { padding-top: 40px; }
  .section-heading { flex-wrap: wrap; gap: 8px 16px; margin-bottom: 23px; }
  .section-heading h2 { font-size: 29px; }
  .section-rule { display: none; }
  .section-heading > p { order: 3; flex-basis: 100%; font-size: 12px; }
  .section-heading .text-link { min-height: 40px; font-size: 12px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 20px; }
  .case-image { aspect-ratio: .94; }
  .case-title { padding-top: 12px; }
  .case-title h3 { font-size: 20px; }
  .case-meta { gap: 5px 8px; font-size: 10px; line-height: 1.8; }
  .case-meta span { border-right: 0; padding: 0 0 0 8px; }
  .case-note { font-size: 10px; margin-top: 6px; }
  .materials { padding-top: 45px; padding-bottom: 44px; }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .material-image { aspect-ratio: 1.25; }
  .material-item strong { font-size: 20px; margin-top: 12px; }
  .material-item > span:last-child { font-size: 11px; }
  .material-item:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .material-item:last-child .material-image { grid-row: 1 / 3; }
  .material-item:last-child strong { align-self: end; margin-top: 0; }
  .material-item:last-child > span:last-child { align-self: start; margin-top: 8px; }
  .contact { display: block; }
  .contact-stilllife { min-height: 330px; }
  .contact-brand { padding: 33px var(--gutter); }
  .contact-brand > p { font-size: 27px; }
  .contact-brand h2 { margin-top: 36px; font-size: 18px; }
  .contact-rule { margin-top: 24px; }
  .contact-brand small { margin-top: 17px; }
  .contact-details { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 34px var(--gutter) 26px; }
  .contact-map { height: 280px; }
  .contact .button { min-height: 44px; padding-inline: 18px; font-size: 13px; }
  .contact-intro { font-size: 12px; margin-top: 18px; }
  .contact-list { margin-top: 20px; }
  .contact-list > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 8px; margin-top: 13px; }
  .contact-list dd { margin-top: 0; font-size: inherit; }
  .site-footer { padding-block: 18px; min-height: 90px; font-size: 10px; }
  .footer-company { display: block; margin: 4px 0 0; }
  dialog { max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-toolbar { min-height: 54px; padding: 4px 8px 4px 20px; }
  .detail-layout { display: block; }
  .detail-visual { padding: 16px 16px 0; }
  .detail-image-wrap { aspect-ratio: 1.1; }
  .detail-image-wrap > img { max-height: none; }
  .detail-tabs { gap: 23px; margin-top: 6px; }
  .detail-tabs button { font-size: 12px; }
  .photo-caption { font-size: 11px; padding-top: 10px; }
  .detail-copy { padding: 26px 22px 28px; }
  .detail-copy h2, .info-content h2, .consult-content h2 { font-size: 29px; }
  .detail-description { font-size: 13px; margin-top: 14px; }
  .detail-facts { margin-block: 20px; }
  .info-content { padding: 25px 24px 30px; }
  .info-steps { margin-block: 25px; }
  .consult-content { padding-inline: 20px; }
  .consult-content > p { font-size: 12px; }
  .consult-address { font-size: 12px; }
  .consult-location .location-map { height: 220px; }
}
@media (max-width: 370px) {
  :root { --gutter: 18px; }
  .site-header { gap: 8px; }
  .brand-type strong { font-size: 18px; }
  .brand img { width: 38px; height: 39px; }
  .header-consult { font-size: 10px; padding-inline: 10px; }
  .hero h1 { font-size: 30px; }
  .hero-services button { padding-inline: 12px; }
  .scene-caption { left: 10px; }
  .scene-caption strong { font-size: 21px; }
  .scene-caption > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scene:hover img, .scene:hover .scene-caption, .case-card a:hover img, .material-item:hover img { transform: none; }
}
