:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f5f5f2;
  --ink: #282825;
  --muted: #62625d;
  --line: #d7d7d0;
  --accent: #943f2b;
  --error: #a02c28;
  --body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --numbers: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .3em; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #f2d8cc; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.4; }
h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.25; margin-bottom: 16px; }
.profile h1 span { display: block; }
h2 { font-size: 22px; margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 6px; }
p { margin-bottom: 1.2em; }
.shell { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 42px; border-top: 1px solid var(--line); }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px 18px; background: var(--paper); z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { padding-top: 24px; text-align: center; }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; font-size: 21px; font-weight: 700; text-decoration: none; }
.site-header .wordmark { color: var(--accent); }
.wordmark span { font: 400 13px/1.5 var(--body); }
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 28px;
  border-block: 1px solid var(--line);
  margin-top: 8px;
}
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }
.profile { padding-block: 36px 42px; }
.profile-layout {
  display: grid;
  grid-template-areas: "scene copy" "scene fee";
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 18px clamp(24px, 4vw, 46px);
  align-items: start;
}
.profile-copy { grid-area: copy; }
.profile-copy p:last-child { margin-bottom: 0; }
.profile-scene { grid-area: scene; margin: 0; }
.profile-scene img, .activity-image { display: block; width: 100%; height: auto; background: var(--surface); }
.profile-scene figcaption, .scene-note { font-size: 14px; color: var(--muted); }
.profile-scene figcaption { margin-top: 6px; }
.service-overview { grid-area: fee; border-top: 1px solid var(--line); padding-top: 12px; }
.service-overview h2 { font-size: 15px; margin-bottom: 4px; }
.service-overview .overview-price { font: 500 25px/1.5 var(--numbers); margin-bottom: 6px; }
.overview-price span { font: 400 15px/1.8 var(--body); }
.overview-note { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; font-size: 16px; font-weight: 500; line-height: 1.6; text-align: center; text-decoration: none; }
.primary { background: var(--ink); color: var(--paper); }
.primary:hover { background: var(--muted); }
.secondary { background: var(--paper); border-color: var(--ink); }
.secondary:hover, .secondary:active { background: var(--surface); }
.service-overview .unavailable { font-size: 14px; margin: 0; color: var(--muted); }
.about, .details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr); gap: 42px; align-items: start; }
.about-body { max-width: 39em; }
.about-body p:last-child { margin-bottom: 0; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 18px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { color: var(--muted); }
.activity-row {
  display: grid;
  grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.activity-row p { max-width: 42em; margin-bottom: 0; }
.activity-row .scope-note { margin-top: 8px; }
.scene-note { margin: 0; }
.service-action { min-height: 44px; padding: 8px 0; font-size: 15px; border: 0; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: .3em; }
.service-action:hover, .service-action:active { color: var(--ink); }
.scope-note { font-size: 15px; line-height: 1.8; color: var(--muted); }
.details-lead { font-size: 16px; color: var(--muted); }
.rate > strong { font: 500 23px/1.5 var(--numbers); }
.rate > strong > span { font: 400 16px/1.8 var(--body); }
.rate > p { margin-top: 12px; margin-bottom: 0; font-size: 16px; }
.agreements { margin: 0; }
.agreements > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.agreements dt { font-size: 15px; font-weight: 700; }
.agreements dd { font-size: 16px; margin: 0; }
.notice { font-size: 15px; color: var(--muted); margin: 28px 0 0; }
.invitation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 40px; align-items: start; }
.invitation-intro > p { font-size: 17px; }
.availability-note { margin-top: 32px; }
.availability-note > strong { font-size: 16px; }
.availability-note > p { font-size: 15px; color: var(--muted); margin-top: 10px; }
#inquiry-ready > p { font-size: 15px; margin-top: 10px; }
#inquiry-address { overflow-wrap: anywhere; }
.planner { min-width: 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; min-width: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-size: 16px; font-weight: 500; }
label span { font-size: 15px; font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #7e7e78; border-radius: 3px; background: var(--paper); font-size: 16px; line-height: 1.7; }
select { text-overflow: ellipsis; }
textarea { resize: vertical; }
small { font-size: 14px; line-height: 1.8; color: var(--muted); }
.estimate { border-top: 1px solid var(--line); padding-block: 24px; }
.estimate > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.estimate span { font-size: 16px; }
.estimate strong { font: 500 28px/1.5 var(--numbers); white-space: nowrap; }
.estimate > p { font-size: 15px; line-height: 1.8; margin: 12px 0 0; color: var(--muted); }
.error { color: var(--error); font-size: 14px; margin: 0; line-height: 1.8; }
.error:empty { display: none; }
.summary-panel { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.summary-panel > label { display: block; margin-bottom: 12px; }
.summary-panel > textarea { margin-bottom: 16px; font-size: 16px; background: var(--surface); }
.status { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 16px 0 0; }
.status:empty, [hidden] { display: none !important; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: start; justify-content: space-between; gap: 24px; min-height: 56px; padding: 18px 0; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex-shrink: 0; font-family: var(--numbers); }
details[open] summary::after { content: "−"; }
details > p { margin-bottom: 24px; padding-right: 28px; color: var(--muted); font-size: 16px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; margin-top: 32px; border-top: 1px solid var(--line); font-size: 14px; }
.site-footer > p { margin: 0; color: var(--muted); }
.site-footer > a:last-child { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .section { padding-block: 26px; }
  .site-header { padding-top: 14px; }
  .site-header nav { gap: 0 16px; }
  .site-header nav a { font-size: 14px; }
  .profile { padding-block: 24px; }
  .profile-layout { grid-template-areas: "copy" "scene" "fee"; grid-template-rows: auto; }
  .profile-layout, .invitation, .about, .details { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about h2 { margin-bottom: 0; }
  .agreements > div { grid-template-columns: 1fr; gap: 6px; }
  .availability-note { margin-top: 24px; margin-bottom: 24px; }
  .field-pair { gap: 16px; }
  .site-footer { flex-wrap: wrap; align-items: start; gap: 16px 24px; }
  .site-footer > p { width: 100%; order: 3; }
  .site-footer > a:last-child { margin-left: auto; }
}
@media (max-width: 520px) {
  .activity-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .estimate > div { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
