:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --cream: #efede3;
  --white: #fffef9;
  --ink: #192a21;
  --muted: #4f5d51;
  --forest: #204534;
  --dark: #17382b;
  --line: #dadfd3;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #057eaa; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.shell { width: min(100% - 96px, 1264px); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 8px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { width: 34px; height: auto; }
.brand-name { width: 124px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.45vw, 35px); font-size: 14px; color: var(--muted); }
.nav a { white-space: nowrap; }
.nav a, .footer a { transition: color 160ms; }
.nav a:hover, .footer a:hover { color: #087057; }
.header-contact { display: inline-flex; align-items: center; gap: 13px; padding: 8px 15px; border: 1px solid #9aada0; color: var(--forest); font-size: 14px; white-space: nowrap; }
.header-contact:hover { background: #e7eee4; }

.hero {
  --hero-surface: 238 238 228;
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  margin-top: 28px;
  min-height: clamp(470px, 42vw, 590px);
  background: rgb(var(--hero-surface));
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 1; align-self: center; min-width: 0; padding: clamp(32px, 5vw, 80px); padding-right: clamp(24px, 3vw, 48px); container-type: inline-size; }
.eyebrow { color: #3c624c; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.eyebrow-line { display: inline-block; vertical-align: middle; width: 24px; height: 1px; margin-right: 5px; background: #688672; }
.hero h1 {
  --hero-title-size: clamp(52px, 5.3vw, 88px);
  margin-top: 20px;
  color: var(--dark);
  font: 700 var(--hero-title-size)/1.18 var(--serif);
  font-size: min(var(--hero-title-size), 23cqi);
  letter-spacing: .045em;
  white-space: nowrap;
}
.hero h1 span { display: block; }
.hero-slogan { margin-top: 23px; color: var(--forest); font-size: 18px; font-weight: 700; letter-spacing: .12em; }
.hero-description { max-width: 22em; margin-top: 12px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 24px; margin-top: 29px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 12px 17px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.button-primary { background: var(--forest); color: white; transition: background 160ms; }
.button-primary:hover { background: var(--dark); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 7px; border-bottom: 1px solid #a0b0a3; font-size: 14px; color: var(--forest); }
.arrow-link:hover { border-color: var(--forest); }
.hero-photo { position: relative; display: grid; min-width: 0; margin-inline-start: calc(-1 * clamp(88px, 10vw, 145px)); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(205px, 25vw, 370px);
  background: linear-gradient(90deg, rgb(var(--hero-surface)) 3%, rgb(var(--hero-surface) / .94) 24%, rgb(var(--hero-surface) / .58) 53%, rgb(var(--hero-surface) / .16) 79%, rgb(var(--hero-surface) / 0));
  pointer-events: none;
}
.hero-photo figcaption { position: absolute; right: 15px; bottom: 15px; padding: 4px 10px; background: #23271bdc; color: white; font-size: 11px; letter-spacing: .06em; }

.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.quick-links a { position: relative; display: grid; align-content: center; min-height: 90px; gap: 2px; padding: 14px clamp(12px, 2.1vw, 28px); }
.quick-links a + a { border-left: 1px solid var(--line); }
.quick-links a:hover { background: #e8eee5; }
.quick-links strong { color: var(--forest); }
.quick-links span { color: var(--muted); font-size: 13px; }

.section { padding-block: clamp(54px, 7vw, 106px); }
h2 { font: 700 clamp(33px, 4.05vw, 59px)/1.22 var(--serif); letter-spacing: .025em; }
.eyebrow + h2 { margin-top: 11px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 48px; margin-bottom: 29px; }
.section-head > p { max-width: 25em; color: var(--muted); font-size: 15px; }
.about { padding-bottom: 0; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.principles > div { border-top: 2px solid var(--forest); padding: 18px clamp(14px, 1.7vw, 24px); background: #e8eee5; }
.principles dt { color: var(--forest); font-size: 18px; font-weight: 700; }
.principles dd { margin-top: 7px; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { min-width: 0; background: var(--white); border: 1px solid var(--line); padding: clamp(21px, 3vw, 40px); display: flex; flex-direction: column; }
.service-art { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 23px; background: #e8eee5; color: var(--forest); }
.service-art i { display: block; position: relative; width: 25px; height: 25px; }
.service-art i::before, .service-art i::after { content: ""; position: absolute; }
.art-floorplan i { border: 1.5px solid currentColor; }
.art-floorplan i::before { top: 0; height: 14px; left: 10px; border-left: 1.5px solid; }
.art-floorplan i::after { top: 13px; width: 14px; right: 0; border-top: 1.5px solid; }
.art-renew i { width: 24px; height: 24px; border: 1.5px solid; border-radius: 50%; border-right-color: transparent; transform: rotate(-20deg); }
.art-renew i::after { width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(-5deg); top: 2px; right: -1px; }
.art-detail i { border: 1.5px solid; height: 22px; }
.art-detail i::before { inset: 0 0 auto; top: 6px; border-top: 1.5px solid; }
.art-detail i::after { inset: 7px auto 0; left: 10px; border-left: 1.5px solid; }
.service-card h3 { font-size: 23px; line-height: 1.35; }
.service-card p { margin-top: 11px; margin-bottom: 21px; color: var(--muted); font-size: 15px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 0; list-style: none; }
.service-card li { background: #eef0e8; padding: 3px 8px; color: #425748; font-size: 12px; }

.cases { background: var(--cream); }
.style-nav { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 21px; border-bottom: 1px solid #c7ccbe; }
.style-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 15px; background: var(--white); border: 1px solid #b6c2b7; color: var(--forest); font-size: 14px; }
.style-nav a:hover { background: #e3ebdf; }
.style-nav a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--white); font-weight: 700; }
.style-panel { padding-top: 22px; }
.style-panel + .style-panel { margin-top: 20px; }
.style-panel[hidden] + .style-panel { margin-top: 0; }
.style-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 21px; margin-bottom: 15px; }
.style-heading h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; }
.style-heading p { color: var(--muted); font-size: 14px; }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.room-card { display: block; border: 1px solid var(--line); background: var(--white); }
.room-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.room-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 15px; color: var(--forest); font-size: 15px; font-weight: 700; }
.room-card:hover .room-caption { background: #e3ebdf; }
.room-dialog { max-width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: var(--white); color: var(--ink); }
.room-dialog::backdrop { background: #101a16e8; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.dialog-heading h3 { font-size: 15px; line-height: 1.4; }
.room-close { flex-shrink: 0; min-height: 36px; padding: 4px 9px; border: 1px solid #9aada0; background: var(--white); color: var(--forest); font: inherit; font-size: 14px; cursor: pointer; }
.room-close:hover { background: #e3ebdf; }
.room-image-view img { width: auto; height: auto; max-height: calc(100dvh - 88px); object-fit: contain; }
body:has(.room-dialog[open]) { overflow: hidden; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(21px, 4vw, 54px); align-items: start; }
.quote-layout h3 { margin-bottom: 12px; font-size: 19px; }
.quote-options { border-top: 1px solid var(--line); }
.quote-options > div { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 6px 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quote-options dt { color: var(--forest); font-weight: 700; }
.quote-options dd, .quote-note, .quote-checklist p { color: var(--muted); font-size: 15px; }
.quote-note { margin-top: 12px; }
.quote-checklist { border: 1px solid var(--line); background: #e8eee5; padding: clamp(17px, 3vw, 32px); }
.quote-checklist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; margin: 0 0 12px; padding-left: 1.15em; font-size: 14px; }
.quote-checklist .arrow-link { margin-top: 12px; }

.process { background: #e8eee5; }
.contact .eyebrow { color: #bad0b9; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; inset: 19px calc(20% - 36px) auto 19px; height: 1px; background: #a6b9a9; }
.steps li { position: relative; display: grid; align-content: start; justify-items: start; gap: 11px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #a6b9a9; border-radius: 50%; background: var(--white); color: var(--forest); font: 600 14px/1 ui-monospace, monospace; }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 3px; color: var(--muted); font-size: 14px; }

.craft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: craft; }
.craft-grid li { display: flex; flex-direction: column; border-top: 2px solid var(--forest); background: var(--white); padding: clamp(16px, 2.6vw, 30px); counter-increment: craft; }
.craft-grid li::before { content: counter(craft, decimal-leading-zero); margin-bottom: 10px; color: #436957; font: 600 14px/1.2 ui-monospace, monospace; }
.craft-grid h3 { font-size: 19px; line-height: 1.4; }
.craft-grid p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.craft-grid .craft-check { padding-top: 12px; margin-top: auto; }
.craft-check strong { color: var(--forest); }
.craft-link { margin-top: 21px; }

.site-management { padding-bottom: clamp(54px, 7vw, 106px); }
.site-panel { padding: clamp(20px, 4vw, 48px); border: 1px solid var(--line); background: var(--white); }
.site-panel h2 { font-size: clamp(29px, 3vw, 42px); }
.site-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 27px; }
.site-checks > div { border-top: 1px solid var(--line); padding-top: 10px; }
.site-checks dt { color: var(--forest); font-weight: 700; }
.site-checks dd { color: var(--muted); font-size: 15px; }
.site-panel .arrow-link { margin-top: 13px; }

.inspection { background: var(--dark); color: #f8f7f0; }
.inspection .eyebrow { color: #bad0b9; }
.inspection .section-head > p { color: #d2ded2; }
.inspection-list { border-top: 1px solid #668273; }
.inspection-list article { display: grid; grid-template-columns: minmax(155px, 1fr) minmax(0, 3fr); gap: 12px 26px; padding: 17px 0; border-bottom: 1px solid #668273; }
.inspection-list h3 { font-size: 17px; }
.inspection-list p { color: #e1eae1; font-size: 15px; }
.inspection-list .inspection-record { margin-top: 4px; color: #c0d9bd; font-size: 13px; }
.standards { margin-top: 17px; color: #d2ded2; font-size: 14px; }
.standards summary { cursor: pointer; padding-block: 7px; color: white; font-weight: 700; }
.standards ul { margin: 4px 0 0; padding-left: 20px; }
.standards a { text-decoration: underline; text-underline-offset: 3px; }

.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(26px, 6vw, 100px); }
:is(.guide-list, .faq-list) details { border-top: 1px solid #cbd0c2; scroll-margin-top: 24px; }
:is(.guide-list, .faq-list) details:last-child { border-bottom: 1px solid #cbd0c2; }
:is(.guide-list, .faq-list) summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
:is(.guide-list, .faq-list) summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; flex: 0 0 27px; height: 27px; place-items: center; border: 1px solid #9aa99a; color: var(--forest); font: 400 18px/1 var(--sans); }
.faq-toggle::before { content: "+"; }
:is(.guide-list, .faq-list) details[open] .faq-toggle::before { content: "−"; }
:is(.guide-list, .faq-list) summary:hover { color: #34674d; }
.faq-list p { padding: 0 36px 16px 0; color: var(--muted); font-size: 15px; }
.guide-body { max-width: 64em; padding: 0 30px 17px 0; color: var(--muted); font-size: 15px; }
.guide-body p + p, .guide-body li + li { margin-top: 7px; }
.guide-body ol { margin: 0; padding-left: 1.3em; }

.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 44px; align-items: center; background: var(--forest); color: white; padding: clamp(27px, 5vw, 70px); }
.contact-panel h2 { font-size: clamp(31px, 4.2vw, 58px); }
.contact-panel address { margin-top: 20px; font-style: normal; }
.phone { display: inline-flex; gap: 10px; align-items: center; font-family: ui-sans-serif, "Segoe UI", sans-serif; font-size: clamp(24px, 3.1vw, 36px); line-height: 1.3; letter-spacing: .025em; font-weight: 650; }
.phone span { font-size: .55em; }
.phone:hover { text-decoration: underline; text-underline-offset: .23em; }
.contact-panel address p { margin-top: 13px; color: #e3ede2; }
.contact-panel address p span { color: #cbdbce; font-size: 14px; }
.qr-group { display: flex; flex-wrap: wrap; gap: 18px; }
.qr-group figure { text-align: center; color: #e3ede2; font-size: 14px; }
.qr-group a { display: grid; place-items: center; width: 150px; height: 150px; padding: 9px; background: #fff; }
.qr-group a:hover { outline: 2px solid #d9e9d5; outline-offset: 2px; }
.qr-group img { width: 100%; height: 100%; object-fit: contain; }
.qr-group figure:first-child img { image-rendering: pixelated; }
.qr-group figcaption { margin-top: 8px; }

.map-strip { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.map-thumb { position: relative; display: block; width: 148px; height: 92px; border: 1px solid rgb(255 255 255 / .3); overflow: hidden; background: #e9eeeb; }
.map-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.map-thumb:hover img { transform: scale(1.06); }
.map-pin { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -100%); color: #d93a2b; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .35)); pointer-events: none; }
.map-pin svg { display: block; width: 17px; height: 17px; }
.map-link { display: inline-flex; align-items: center; gap: 6px; padding-block: 6px; border-bottom: 1px solid rgb(255 255 255 / .45); font-size: 14px; color: #fff; transition: border-color 160ms; }
.map-link:hover { border-color: #fff; }

.footer .icp { display: inline-block; margin-left: 14px; padding: 1px 7px; border: 1px solid #c3cfc4; color: #6d7c6f; font-size: 12px; transition: color 160ms, border-color 160ms; }
.footer .icp:hover { color: #087057; border-color: #9fb4a2; }

.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px 22px; padding-block: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { white-space: nowrap; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 56px); }
  .nav { gap: clamp(11px, 1.7vw, 20px); }
  .hero-copy { padding-left: clamp(28px, 4vw, 48px); }
  .contact-panel { gap: 32px 25px; }
  .qr-group { gap: 12px; }
  .qr-group a { width: 128px; height: 128px; }
}
@media (max-width: 920px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 11px; }
  .brand-mark { width: 29px; }
  .brand-name { width: 112px; }
  .header-contact { grid-column: 2; grid-row: 1; padding: 6px 9px; gap: 6px; font-size: 13px; }
  .nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 6px; padding: 9px 0 5px; text-align: center; }
  .nav a { padding: 6px 0; }
  .principles, .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps::before { display: none; }
  .steps li { grid-template-columns: 39px minmax(0, 1fr); gap: 13px; padding-bottom: 12px; border-bottom: 1px solid #c3d0c3; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; margin-top: 16px; min-height: 0; }
  .hero-copy { padding: 29px clamp(19px, 5.8vw, 37px) 29px; }
  .hero h1 { --hero-title-size: clamp(39px, 9.3vw, 64px); margin-top: 12px; }
  .hero-slogan { margin-top: 14px; font-size: 16px; }
  .hero-description { margin-top: 8px; }
  .hero-actions { gap: 10px 16px; margin-top: 20px; }
  .button { gap: 10px; }
  .hero-photo { margin-inline-start: 0; aspect-ratio: 1.45; }
  .hero-photo::after {
    inset: 0 0 auto;
    width: auto;
    height: 31%;
    background: linear-gradient(180deg, rgb(var(--hero-surface)), rgb(var(--hero-surface) / .7) 31%, rgb(var(--hero-surface) / 0));
  }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-links a { min-height: 74px; }
  .quick-links a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick-links a:nth-child(odd) { border-left: 0; }
  .section-head { display: grid; }
  .about h2 { font-size: clamp(25px, 7.6vw, 33px); }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 13px; padding: 20px; }
  .service-art { grid-row: 1 / 4; width: 40px; height: 40px; margin: 0; }
  .service-card h3 { font-size: 20px; }
  .service-card p { margin: 6px 0 11px; }
  .service-card ul { grid-column: 2; }
  .quote-layout, .site-checks { grid-template-columns: 1fr; }
  .inspection-list article { grid-template-columns: 1fr; gap: 5px; }
  .faq-layout, .contact-panel { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 15px; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .room-grid, .principles, .craft-grid { grid-template-columns: 1fr; }
  .style-nav { gap: 6px; }
  .style-nav a { padding-inline: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  .contact-panel { padding-inline: 20px; }
  .qr-group a { width: 112px; height: 112px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-copy-in 650ms cubic-bezier(.2, .7, .24, 1) backwards; }
  .hero-copy h1 { animation-delay: 70ms; }
  .hero-slogan, .hero-description { animation-delay: 140ms; }
  .hero-actions { animation-delay: 210ms; }
  .hero-photo img { animation: hero-photo-settle 2800ms cubic-bezier(.19, .65, .25, 1) backwards; }
  .hero-actions a span { transition: transform 180ms ease-out; }
  .hero-actions .button:hover span { transform: translate(3px, -2px); }
  .hero-actions .arrow-link:hover span { transform: translateY(3px); }
}
@keyframes hero-copy-in {
  from { opacity: .22; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-settle {
  from { opacity: .8; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
