/* Clean, system-first typography: Apple system fonts on Apple devices, local CJK fallback elsewhere. */
@font-face { font-family: 'WK Noto Sans'; src: url('assets/fonts/noto-sans-sc.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'WK Noto Serif'; src: url('assets/fonts/noto-serif-sc.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
:root { --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Hiragino Sans GB', 'WK Noto Sans', 'Microsoft YaHei UI', sans-serif; --serif: var(--sans); }
body { font-size: 14px; line-height: 1.75; letter-spacing: -.008em; }
h1, h2, h3 { line-height: 1.35; }
.section-head h2, .config-main > h1 { font-weight: 600; letter-spacing: -.04em; }
.lead { line-height: 1.9; }
button, input, textarea { letter-spacing: -.004em; }
.brand strong { font-weight: 600; }
.scene-info h3 { font-weight: 600; }

/* Cover: one compelling first impression before the four-step configurator. */
.cover { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(760px, calc(100svh - 118px)); margin-top: 22px; overflow: hidden; border-radius: 14px; color: #fff; background: #1c2924; }
.cover-image { position: absolute; inset: 0; z-index: -1; }
.cover-image img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; filter: saturate(.82) brightness(.9); }
.cover-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,25,21,.91) 0%, rgba(12,25,21,.78) 28%, rgba(12,25,21,.28) 62%, rgba(12,25,21,.03) 100%), linear-gradient(0deg, rgba(12,25,21,.3), transparent 42%); }
.cover-content { position: relative; width: min(750px, 70%); padding: 70px clamp(36px, 6vw, 92px); }
.cover-eyebrow { display: inline-block; font-size: 11px; font-weight: 550; letter-spacing: .12em; color: #e3e7df; margin-bottom: 36px; }
.cover h1 { font-family: var(--sans); font-size: clamp(50px, 5.2vw, 80px); font-weight: 600; letter-spacing: -.065em; line-height: 1.17; white-space: nowrap; }
.cover h1 span { color: #f0d4c2; }
.cover-content > p { color: #f0f1ed; font-size: 16px; line-height: 1.95; margin-top: 34px; }
.cover-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 35px; }
.cover-primary { color: #1d2c25; background: #fff; border-color: #fff; border-radius: 100px; font-weight: 600; padding-inline: 27px; }
.cover-primary:hover { color: #17241f; background: #e8eae4; border-color: #e8eae4; }
.cover-text-btn { color: #fff; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; border-bottom: 1px solid #ffffff9c; padding: 9px 0; }
.cover-foot { margin-top: 52px; color: #edf1ebcc; font-size: 11px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cover-foot i { display: block; width: 3px; height: 3px; border-radius: 50%; background: #d4dfd2; }
.cover-visual-note { position: absolute; right: 27px; bottom: 23px; font-size: 10px; letter-spacing: .11em; color: #f6f5efb3; }
/* Finishing touches for the interactive selection and quoting experience. */
#main { min-height: 58vh; }
.brand:hover { opacity: .83; }
.brand-mark { border-radius: 3px; color: var(--accent); border-color: #9b543b80; }
.nav-links button:hover, .crumb button:hover { color: var(--accent); }
.nav-action { transition: background .2s, color .2s; }
.nav-action:hover { background: #eae6dd; }
.hero-visual img, .story-photo img { object-position: 50% 54%; }
.hero-copy .eyebrow { letter-spacing: 2.5px; }
.hero-visual { box-shadow: 0 24px 50px #3b37281a; }
.scene-image { box-shadow: 0 9px 22px #27362b0b; }
.scene-card { border-radius: 4px; }
.scene-card:focus-visible { outline: 3px solid #b98861; outline-offset: 8px; }
.section-head.compact-head { margin-top: 34px; margin-bottom: 18px; }
.compact-head h2 { font-size: 24px; }
.config-scene-grid .scene-price { font-size: 11px; }
.config-scene-grid .scene-price b { font-size: 13px; }
.subhead { font-size: 13px; font-weight: 600; margin-top: 24px; }
.block-title { line-height: 1.5; }
.subtle-subtitle { display: inline-block; color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 13px; }
.package-price-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 26px; margin: 20px 0 27px; border: 1px solid #dadfd5; background: #eef0e8; }
.package-price-band > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.package-price-band small { color: var(--green); letter-spacing: .08em; font-size: 10px; }
.package-price-band strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.package-price-band span { color: var(--muted); font-size: 12px; max-width: 490px; overflow-wrap: anywhere; }
.package-price-band b { color: var(--accent); font-size: 27px; white-space: nowrap; font-weight: 500; }
.more-extras { margin: 12px 0 18px; }
.more-extras > summary { cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; list-style: none; padding: 14px 20px; font-size: 13px; border: 1px dashed #bec9bb; color: var(--green); background: #f2f4ed; }
.more-extras > summary::-webkit-details-marker { display: none; }
.more-extras > summary svg { transition: transform .2s; }
.more-extras[open] > summary svg { transform: rotate(180deg); }
.more-extras > .extras-grid { margin-top: 15px; }
.sharing-optional { margin-top: 32px; border: 1px solid var(--line); background: #f9f8f3; }
.sharing-optional > summary { cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 22px; list-style: none; color: var(--ink); }
.sharing-optional > summary::-webkit-details-marker { display: none; }
.sharing-optional > summary > span { flex: 1; font-size: 14px; }
.sharing-optional > summary small { color: var(--muted); margin-left: 9px; font-size: 11px; }
.sharing-inner { padding: 0 22px 22px; }
.sharing-inner > p { font-size: 12px; padding-bottom: 10px; }
.choice-pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.choice-pill { padding: 10px 15px; background: white; border: 1px solid #d1d8ce; font-size: 12px; }
.choice-pill.active { border-color: var(--green); background: #e4ebdf; color: var(--ink); }
.handover-check { background: #edf1e7; margin-top: 26px; padding: 24px 28px; }
.handover-check h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 7px; }
.handover-check > p { font-size: 12px; margin-bottom: 17px; }
.handover-check ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.handover-check li { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: #546257; }
.handover-check li svg { flex: 0 0 auto; color: var(--green); margin-top: 5px; }
.handover-check li strong { display: block; color: var(--ink); font-weight: 550; font-size: 13px; }
.total-note { font-size: 12px; line-height: 1.8; margin-top: 15px; }
.sheet-section .checks li { align-items: flex-start; }
.sheet-section .checks li svg { flex-shrink: 0; margin-top: 4px; }
.sidebar-label { display: block; margin-top: 24px; margin-bottom: 5px; }
.plan-preview { box-shadow: 0 12px 30px #283d2f0a; }
.light-plan { margin-top: 30px; border: 1px solid #e2e5e0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 26px #1d2d2110; background: #fff; }
.light-plan .plan-header { background: #fbfcfa; }
.light-plan .plan-header strong { font-size: 13px; font-weight: 600; }
.light-plan .plan-header small { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 12px; }
.room-choose-header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 29px 0 15px; }
.room-choose-header h2 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.room-choose-header > span { font-size: 12px; color: var(--muted); }
.room-chip-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.room-chip { position: relative; min-width: 0; min-height: 74px; border: 1px solid #e3e6e0; border-radius: 10px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 13px 15px; text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.room-chip:hover { background: #f7f9f5; border-color: #9fae9c; transform: translateY(-2px); }
.room-chip strong { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.room-chip small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.room-chip.selected { background: #edf3e9; border-color: #607660; }
.room-chip.selected strong { color: #37513e; }
.room-chip-check { color: #607660; position: absolute; top: 8px; right: 8px; }
.room-chip.sold, .room-chip.sold:hover { background: #f0f1ef; border-color: #e4e6e2; color: #969d97; transform: none; filter: none; cursor: not-allowed; }
.room-chip.sold strong, .room-chip.sold small { color: #a0a7a1; }
.room-sold-tag { position: absolute; right: 9px; top: 8px; font-size: 10px; color: #8d9590; background: #e2e5e1; border-radius: 3px; padding: 1px 6px; }
.plan-map .map-room { fill: #f8f5eb; stroke: #b7b4a7; stroke-width: 4; }
.plan-map .map-room:hover:not(.sold) { fill: #e9efdf; stroke: #607660; stroke-width: 6; }
.plan-map .map-room.selected { fill: #e1ecdc; stroke: #607660; stroke-width: 7; }
.plan-map .map-room.sold { fill: #d9dcd9; stroke: #a4aaa5; stroke-width: 5; pointer-events: none; }
.map-area-label { fill: #3d5041; text-anchor: middle; font-size: 21px; font-weight: 600; pointer-events: none; user-select: none; }
.map-area-label .map-area-number { font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.map-area-label.sold { fill: #788079; }
.map-area-label.sold .map-status-word { font-size: 21px; font-weight: 600; }
.selected-room-band { margin: 18px 0 0; border-radius: 12px; background: #f0f3ee; padding: 22px 25px; display: flex; align-items: center; gap: 16px; min-height: 94px; }
.selected-room-band.has-room { display: grid; grid-template-columns: 1fr 1fr 1.5fr; }
.selected-room-band > div { min-width: 0; }
.selected-room-band span:not(.room-empty-circle) { display: block; color: #758178; font-size: 11px; margin-bottom: 4px; }
.selected-room-band strong { display: block; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.4; }
.selected-room-area small { font-size: 12px; margin-left: 3px; }
.selected-room-price { text-align: right; }
.selected-room-price strong { font-size: 24px; color: var(--accent); letter-spacing: -.03em; }
.room-empty-circle { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #79917d; flex: 0 0 auto; }
.selected-room-band:not(.has-room) strong { font-size: 14px; }
.selected-room-band:not(.has-room) p { font-size: 12px; margin-top: 3px; }
.plan-map svg { isolation: isolate; }
.map-room { transition: fill .2s, stroke .2s; }
.room-card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.room-card:hover { transform: translateY(-2px); border-color: #b89c8c; }
.room-id svg { color: var(--accent); }
.custom-fields { margin-top: 18px; align-items: stretch; }
.custom-help { background: #e8ebdf; padding: 13px 16px; border-radius: 4px; }
.custom-help strong { font-weight: 550; font-size: 12px; }
.custom-help p { margin-top: 5px; font-size: 11px; }
.time-fields { margin-top: 20px; }
.field input[type="number"] { font-variant-numeric: tabular-nums; }
.sheet-body .checks { margin-bottom: 14px; }
.user-note { margin-top: 16px; font-size: 12px; padding: 12px 15px; background: #f3f1ea; white-space: pre-wrap; overflow-wrap: anywhere; }
.user-note strong { color: var(--ink); }
.sheet-section h3 .tag { margin-left: 8px; vertical-align: 2px; }
.budget-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 12px; }
.budget-note strong { font-size: 17px; color: var(--accent); font-weight: 500; }
.performance summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.performance summary small { font-size: 10px; font-weight: normal; color: var(--muted); margin-left: auto; }
.performance-body { padding-top: 5px; }
.performance-grid { gap: 23px; }
.performance-cell p { color: #637267; }
.performance-status { display: inline-block; background: #f5efe5; padding: 4px 8px; border-radius: 2px; }
.saved-note { line-height: 1.7; }
.mobile-summary { box-shadow: 0 -8px 30px #26372f0e; }
.modal-content img { margin: auto; width: 100%; }
.config-scene-grid button, .inspiration-grid button { display: block; width: 100%; }
.map-room:focus-visible { stroke: #8a3d25; stroke-width: 7; fill: #9b543b55; }
@media(max-width: 760px) {
  .light-plan { margin-top: 24px; border-radius: 10px; }
  .light-plan .plan-header small { display: block; margin-left: 0; margin-top: 1px; }
  .room-choose-header { margin: 25px 0 13px; }
  .room-choose-header h2 { font-size: 16px; }
  .room-chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .room-chip { min-height: 66px; padding: 10px 12px; border-radius: 9px; }
  .room-chip strong { font-size: 13px; }
  .selected-room-band { padding: 18px; min-height: 78px; }
  .selected-room-band.has-room { grid-template-columns: 1fr 1fr; gap: 15px; }
  .selected-room-price { text-align: left; grid-column: span 2; border-top: 1px solid #d8dfd4; padding-top: 12px; }
  .cover { min-height: min(770px, calc(100svh - 82px)); margin-top: 12px; border-radius: 10px; align-items: flex-end; }
  .cover-image img { object-position: 63% 43%; }
  .cover-image::after { background: linear-gradient(0deg, rgba(11,25,20,.96) 0%, rgba(11,25,20,.68) 47%, rgba(11,25,20,.10) 100%); }
  .cover-content { width: 100%; padding: 54px 28px 67px; }
  .cover-eyebrow { font-size: 10px; margin-bottom: 20px; }
  .cover h1 { font-size: clamp(36px, 9vw, 56px); letter-spacing: -.055em; }
  .cover-content > p { margin-top: 24px; font-size: 14px; }
  .cover-actions { margin-top: 27px; gap: 9px 22px; }
  .cover-primary { min-height: 46px; padding-inline: 18px; }
  .cover-foot { display: none; }
  .cover-visual-note { right: 17px; bottom: 14px; font-size: 9px; }
  .package-price-band { padding: 18px; gap: 12px; align-items: flex-start; }
  .package-price-band strong { font-size: 20px; }
  .package-price-band b { font-size: 20px; }
  .subtle-subtitle { display: block; margin: 5px 0 0; }
  .sharing-optional > summary { padding: 16px; }
  .sharing-inner { padding: 0 16px 20px; }
  .sharing-optional > summary small { display: block; margin: 0; }
  .handover-check { padding: 19px 18px; }
  .section-head.compact-head { display: block; }
  .compact-head h2 { font-size: 22px; }
  .hero-visual { box-shadow: 0 10px 25px #3b372810; }
  .custom-fields { grid-template-columns: 1fr; }
  .sheet-meta { gap: 17px 12px; }
  .sheet-section .checks { grid-template-columns: 1fr; }
  .performance-grid { grid-template-columns: 1fr; }
  .performance summary small { width: 100%; margin-left: 0; }
  .user-note { font-size: 11px; }
  .mobile-summary strong { font-size: 20px; }
  .plan-scroll { scrollbar-width: thin; }
}
@media print {
  .more-extras, .sharing-optional { display: none; }
  .performance { border: 0; margin-top: 14px; }
  .performance-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .performance-cell { break-inside: avoid; }
  .performance-body { padding: 0; }
  .performance-status { border: 1px solid #ddd; }
}
