:root {
  color-scheme: light;
  --ink: #272720;
  --muted: #615d52;
  --paper: #f9f5eb;
  --white: #fffdf8;
  --line: #ded5c5;
  --accent: #a03724;
  --accent-deep: #812718;
  --display: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button,input,select { font: inherit; color: inherit; }
button,select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: #eac2a9; color: #3f1b0e; }
img { display: block; width: 100%; object-fit: cover; }
.shell { width: min(calc(100% - 96px), 1240px); margin-inline: auto; }
.sr-only,.skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 4; padding: .75rem; background: white; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.3rem; font-weight: 800; line-height: 1.18; text-decoration: none; white-space: nowrap; }
.brand small { display: block; font-family: system-ui,sans-serif; font-size: .72rem; letter-spacing: .17em; margin-top: 4px; font-weight: 750; }
.brand-symbol { position: relative; width: 35px; height: 40px; display: inline-block; color: var(--accent); flex: none; }
.brand-symbol::before { content: ""; display: block; position: absolute; width: 34px; height: 18px; background: currentColor; border-radius: 4px; top: 4px; }
.brand-symbol::after { content: ""; display: block; position: absolute; width: 18px; height: 16px; border: 3px solid currentColor; border-top: 0; border-radius: 0 0 5px 0; left: 15px; top: 19px; transform: skewX(-17deg); }
.main-nav { display: flex; gap: clamp(16px, 3vw, 46px); align-items: center; }
.main-nav a,.header-phone { text-decoration: none; font-weight: 700; white-space: nowrap; }
.main-nav a:hover,.header-phone:hover,.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.header-phone { font-variant-numeric: tabular-nums; color: var(--accent); border: 1px solid var(--line); border-radius: 7px; padding: 9px 14px; }
.hero { background: var(--paper); }
.hero-layout { min-height: 516px; padding-block: 43px 36px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: stretch; }
.hero-copy { align-self: center; padding: 24px 26px 26px 0; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.55rem, 4.3vw, 4.65rem); line-height: 1.2; letter-spacing: -.038em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin: 24px 0 28px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.outline { background: transparent; border-color: #a49a87; }
.outline:hover { background: #f1e6d4; }
.light { background: var(--white); color: var(--accent-deep); }
.light:hover { background: #f2e2ce; }
.hero-image { overflow: hidden; border-radius: 8px 54px 8px 8px; background: #c27e60; }
.hero-image img { height: 100%; min-height: 430px; max-height: 460px; object-position: 65% center; }
.swatches { display: grid; grid-template-columns: 1.15fr .85fr 1.6fr .55fr .68fr 1.2fr; height: 8px; }
.swatches i:nth-child(1) { background: #af4c34; }
.swatches i:nth-child(2) { background: #cb835d; }
.swatches i:nth-child(3) { background: #dcc0a1; }
.swatches i:nth-child(4) { background: #e9d8bb; }
.swatches i:nth-child(5) { background: #969d80; }
.swatches i:nth-child(6) { background: #59634f; }
.section { padding-block: 60px 68px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.25; letter-spacing: -.026em; }
.section-head h2 { font-family: var(--display); }
.section-head p { margin-top: 8px; color: var(--muted); }
.search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 7px; min-height: 44px; padding-inline: 13px; min-width: min(240px,100%); background: var(--white); }
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search input { border: 0; background: transparent; outline: 0; max-width: 100%; width: 100%; min-width: 0; padding: 9px 0; }
.search-icon { position: relative; display: inline-block; width: 13px; height: 13px; border: 1.7px solid currentColor; border-radius: 100%; flex: none; margin-right: 2px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.7px; top: 9px; left: 8px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.catalog-tools { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 21px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 100px; min-height: 40px; padding: 6px 13px; font-weight: 650; font-size: .91rem; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { color: white; background: var(--accent); border-color: var(--accent); }
.sort-label { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .91rem; color: var(--muted); }
select { background: var(--white); min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 30px 6px 10px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.catalog-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card-image { height: auto; aspect-ratio: 1.68; background: #e9decf; object-position: center 54%; }
.card-image.scene { aspect-ratio: 1.56; object-position: center; }
.card-content { padding: 16px 18px 17px; display: flex; flex: 1; flex-direction: column; }
.card-type { font-size: .87rem; color: var(--muted); }
.card-content h3 { margin-top: 5px; font-size: 1.21rem; line-height: 1.3; }
.card-intro { margin: 8px 0 15px; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 11px; }
.price-label { color: var(--muted); font-size: .83rem; display: block; }
.price { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.details-button { min-height: 42px; padding: 5px 11px; background: transparent; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; white-space: nowrap; }
.details-button:hover { border-color: var(--accent); color: var(--accent); }
.empty { grid-column: 1 / -1; background: var(--paper); text-align: center; padding: 40px 18px; border-radius: 10px; }
.empty p { color: var(--muted); margin: 5px 0 14px; }
.service-band { background: var(--paper); border-top: 1px solid var(--line); }
.price-notice { color: var(--muted); margin-top: 16px; font-size: .9rem; }
.contact { background: #8a2f20; color: #fff9ec; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 42px; }
.contact h2 { font-size: clamp(1.5rem,2.7vw,2.16rem); }
.contact p { margin-top: 8px; color: #f8e9d7; }
.contact :focus-visible { outline-color: white; }
.site-footer { background: #f2eadb; }
.footer-inner { padding-block: 33px; display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 20px; }
.footer-inner p { margin-top: 3px; color: var(--muted); }
.footer-links { display: grid; justify-items: start; gap: 8px; align-content: start; }
dialog { position: fixed; padding: 0; max-width: min(790px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); overflow: auto; }
dialog::backdrop { background: #252018a1; }
.dialog-close { position: absolute; z-index: 1; top: 10px; right: 10px; }
.icon-close { display: block; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); position: relative; }
.icon-close::before,.icon-close::after { content: ""; position: absolute; left: 13px; top: 20px; width: 16px; height: 2px; background: currentColor; transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }
.item-layout { display: grid; grid-template-columns: 2fr 3fr; }
.item-layout img { height: 100%; object-position: center; }
.item-info { padding: 26px 30px; }
.item-info .card-type { padding-right: 36px; }
.item-info h2 { margin-top: 12px; font-size: 1.7rem; }
.item-info p:not(.card-type) { margin-top: 10px; }
.item-info dl { margin: 13px 0; border-block: 1px solid var(--line); padding: 10px 0; }
.item-info dl div { display: flex; justify-content: space-between; gap: 14px; }
.item-info dd { margin: 0; text-align: right; }
.item-info .button { margin-top: 16px; }
@media (max-width: 960px) {
  .shell { width: calc(100% - 52px); }
  .hero-layout { min-height: 420px; }
  .hero-image img { min-height: 337px; }
  .card-content { padding: 13px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; min-height: 0; padding-top: 12px; gap: 9px; }
  .header-phone { grid-column: 2; grid-row: 1; font-size: .89rem; padding: 7px 9px; }
  .main-nav { grid-column: 1 / -1; gap: clamp(16px,6vw,32px); padding: 5px 0 10px; }
  .main-nav a { font-size: .92rem; min-height: 36px; display: inline-flex; align-items: center; }
  .hero-layout { display: block; padding-block: 24px 19px; }
  .hero-copy { padding: 6px 0 22px; }
  .hero h1 { font-size: clamp(2.4rem,8.2vw,3.7rem); }
  .hero-copy > p { margin-block: 15px 17px; }
  .desktop-break { display: none; }
  .hero-image { border-top-right-radius: 35px; }
  .hero-image img { min-height: 0; max-height: none; height: auto; aspect-ratio: 1.65; }
  .section { padding-block: 35px 44px; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 15px; }
  .search { width: 100%; }
  .catalog-tools { flex-wrap: wrap; align-items: center; }
  .sort-label { margin-left: auto; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .contact-inner { align-items: start; flex-direction: column; padding-block: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 450px) {
  .catalog-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .card-image { aspect-ratio: 1.78; }
  .item-layout { display: block; }
  .item-layout img { height: 142px; }
  .item-info { padding: 18px; }
}
html:has(dialog[open]) { overflow: hidden; }

