/* 璨宏 Tsan｜土地開發顧問 — 網站樣式
   版面概念：地籍帳冊。象牙白紙面、深藍墨、香檳金細線；深藍區塊上鋪一層極淡的地籍格線，數字用西文襯線體加坪／公頃單位。 */
:root {
  --navy: #0E1F3D;          /* 主色：深藍 N1 */
  --navy-2: #172C52;        /* 深藍底上的卡片 */
  --gold: #C9A961;          /* 白底專用金：只做線條、色塊 */
  --gold-soft: #D9C38F;     /* 深藍底專用金：可寫字 */
  --forest: #2F5D46;        /* 輔助色：白底上的強調字、標籤 */
  --paper: #F7F4EE;         /* 象牙白紙面 */
  --white: #FFFFFF;
  --ink: #0E1F3D;
  --muted: #5F6876;         /* 白底次要文字 */
  --muted-on-navy: #B8C0CC; /* 深藍底次要文字 */
  --line: rgba(14, 31, 61, .14);
  --line-strong: rgba(14, 31, 61, .28);

  --font-display: "Noto Serif TC", "Noto Serif CJK TC", "Source Han Serif TC", "PMingLiU", serif;
  --font-body: "Noto Sans TC", "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-num: "Cormorant Garamond", "Noto Serif TC", "Noto Serif CJK TC", Georgia, serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-5: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; letter-spacing: .04em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--font-num); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- 頁首導覽 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: .08em; white-space: nowrap; }
.brand-name .en { font-family: var(--font-num); font-weight: 600; font-size: 1.15em; letter-spacing: .02em; margin-left: .25em; }
.brand-role { font-size: var(--step--1); color: var(--muted); letter-spacing: .12em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--navy); text-decoration: none; padding: 8px 12px; font-size: .95rem; letter-spacing: .06em; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); font-weight: 500; }
.nav a.nav-cta { background: var(--navy); color: var(--white); border: 0; margin-left: 8px; padding: 9px 18px; border-radius: var(--radius); }
.nav a.nav-cta:hover { background: var(--navy-2); color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px 12px; color: var(--navy); font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 1080px) {
  .brand-role { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.nav-cta { margin: 12px 0 0; text-align: center; }
}

/* ---------- 共用元件 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 24px; border-radius: var(--radius); font: inherit; font-weight: 500; letter-spacing: .08em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); color: var(--gold-soft); }
.btn-gold { background: var(--gold-soft); color: var(--navy); }
.btn-gold:hover { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(217, 195, 143, .6); color: var(--gold-soft); background: transparent; }
.btn-ghost-light:hover { border-color: var(--gold-soft); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-white { background: var(--white); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 44em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--step--1); color: var(--forest); letter-spacing: .2em; font-weight: 500; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: var(--step-4); }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38em; }
.prose { max-width: 38em; display: grid; gap: 1em; }
.prose h3 { font-size: var(--step-2); margin-top: .6em; }
.note { font-size: var(--step--1); color: var(--muted); line-height: 1.7; }
.tag { display: inline-block; font-size: .78rem; letter-spacing: .12em; padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); background: var(--white); }
.tag-forest { border-color: var(--forest); color: var(--forest); }
.tag-draft { border-color: #A15C1A; color: #A15C1A; background: #FFF6EA; }

/* 情境示意標籤 */
.ai-label { position: absolute; right: 12px; bottom: 10px; z-index: 3; font-size: .72rem; letter-spacing: .14em; color: rgba(255, 255, 255, .86); background: rgba(14, 31, 61, .45); padding: 2px 10px; border-radius: 999px; }

/* ---------- 首頁輪播 ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-track { position: relative; height: clamp(540px, 52vw, 720px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 31, 61, .86) 0%, rgba(14, 31, 61, .6) 38%, rgba(14, 31, 61, .08) 72%), linear-gradient(0deg, rgba(14, 31, 61, .55) 0%, rgba(14, 31, 61, 0) 35%); }
.hero-copy { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; }
.hero-copy .inner { max-width: 34em; border-left: 1px solid var(--gold-soft); padding-left: clamp(18px, 3vw, 36px); display: grid; gap: 18px; }
.hero-kicker { color: var(--gold-soft); font-size: var(--step--1); letter-spacing: .24em; }
.hero h1, .hero .hero-title { font-size: var(--step-5); color: var(--white); letter-spacing: .08em; line-height: 1.3; }
.hero p.hero-sub { color: #E4E8EE; font-size: var(--step-1); max-width: 30em; }
.hero-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 26px; }
.hero-controls .wrap { display: flex; align-items: center; gap: 16px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-dot[aria-current="true"] { background: var(--gold-soft); }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(217, 195, 143, .55); background: rgba(14, 31, 61, .35); color: var(--gold-soft); font-size: 1.1rem; cursor: pointer; }
.hero-arrow:hover { background: var(--navy); }
.hero-count { white-space: nowrap; margin-left: auto; color: var(--gold-soft); font-family: var(--font-num); font-size: 1.1rem; letter-spacing: .1em; }
@media (max-width: 720px) {
  .hero-track { height: 620px; }
  .hero-slide::after { background: linear-gradient(0deg, rgba(14, 31, 61, .92) 0%, rgba(14, 31, 61, .62) 55%, rgba(14, 31, 61, .2) 100%); }
  .hero-copy { align-items: flex-end; padding-bottom: 92px; }
  .hero .hero-title { font-size: 2rem; }
  .ai-label { top: 12px; bottom: auto; }
  .hero-count { display: none; }
  .hero-dot { width: 26px; }
}

/* ---------- 內頁頁首 ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero picture, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 31, 61, .9) 0%, rgba(14, 31, 61, .62) 42%, rgba(14, 31, 61, .1) 78%); }
.page-hero .wrap { position: relative; z-index: 2; min-height: clamp(340px, 33vw, 480px); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 48px; }
.page-hero .crumb { font-size: var(--step--1); color: var(--muted-on-navy); letter-spacing: .14em; }
.page-hero .crumb a { color: var(--muted-on-navy); text-decoration: none; }
.page-hero h1 { font-size: var(--step-5); letter-spacing: .1em; }
.page-hero p { color: #E4E8EE; font-size: var(--step-1); max-width: 30em; }
.page-hero .pill { align-self: flex-start; background: var(--gold-soft); color: var(--navy); font-weight: 700; letter-spacing: .12em; padding: 6px 16px; border-radius: 999px; font-size: .95rem; }
.page-hero.plain .wrap { min-height: 260px; }
@media (max-width: 720px) {
  .page-hero::after { background: linear-gradient(0deg, rgba(14, 31, 61, .94) 0%, rgba(14, 31, 61, .7) 60%, rgba(14, 31, 61, .35) 100%); }
  .page-hero .wrap { min-height: 420px; justify-content: flex-end; }
}

/* ---------- 身分入口卡 ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.path { padding: 32px 28px 36px; border-right: 1px solid var(--line); display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--ink); background: transparent; transition: background .25s; }
.path:last-child { border-right: 0; }
.path:hover { background: var(--white); color: var(--ink); }
.path .idx { font-family: var(--font-num); color: var(--gold); font-size: 1.5rem; }
.path h3 { font-size: var(--step-3); }
.path p { color: var(--muted); }
.path .go { color: var(--forest); font-weight: 500; letter-spacing: .08em; }
.path:hover .go { text-decoration: underline; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- 深藍資料帶（地籍格線） ---------- */
.band { position: relative; background: var(--navy); color: var(--white); }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(217, 195, 143, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 195, 143, .07) 1px, transparent 1px),
    linear-gradient(rgba(217, 195, 143, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 195, 143, .04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.band > * { position: relative; }
.band .eyebrow { color: var(--gold-soft); }
.band .section-head h2 { color: var(--white); }
.band .section-head p, .band .note { color: var(--muted-on-navy); }
.band a:not(.btn) { color: var(--gold-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(217, 195, 143, .4); }
.stat { padding: 26px 22px 24px 0; display: grid; gap: 6px; border-right: 1px solid rgba(217, 195, 143, .18); padding-left: 22px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--font-num); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem); line-height: 1; color: var(--gold-soft); font-weight: 600; }
.stat .v small { font-family: var(--font-body); font-size: .9rem; color: var(--muted-on-navy); margin-left: .3em; letter-spacing: .1em; font-weight: 400; }
.stat .k { font-size: .95rem; letter-spacing: .1em; }
.stat .s { font-size: .82rem; color: var(--muted-on-navy); }
.stats.on-light { border-top-color: var(--line-strong); }
.stats.on-light .stat { border-right-color: var(--line); }
.stats.on-light .v { color: var(--navy); }
.stats.on-light .v small, .stats.on-light .s { color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(217, 195, 143, .18); } .stats.on-light .stat:nth-child(-n+2) { border-bottom-color: var(--line); } }

.milestones { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.milestones li { padding: 16px 20px 0 0; border-top: 1px dashed rgba(217, 195, 143, .35); display: grid; gap: 4px; }
.milestones .d { font-family: var(--font-num); color: var(--gold-soft); font-size: 1.35rem; letter-spacing: .06em; }
.milestones .t { font-size: .92rem; color: #E4E8EE; }
@media (max-width: 860px) { .milestones { grid-template-columns: 1fr 1fr; row-gap: 18px; } }

/* ---------- 特點、流程 ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-item .n { font-family: var(--font-num); font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.why-item h3 { font-size: var(--step-2); margin-bottom: 6px; }
.why-item p { color: var(--muted); }
.record { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.record h3 { font-size: var(--step-2); }
.record .stats { grid-template-columns: repeat(3, 1fr); }
.record .stat { padding: 18px 12px 0 0; padding-left: 12px; }
.record .stat:first-child { padding-left: 0; }
.record .stat .v { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .record { position: static; } .record .stats { grid-template-columns: repeat(3, 1fr); } .record .stat:nth-child(-n+2) { border-bottom: 0; } .record .stat:nth-child(2) { border-right: 1px solid var(--line); } .record .stat:nth-child(3) { padding-left: 12px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 18px 0 0; border-top: 2px solid var(--navy); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-num); color: var(--gold); font-size: 1.4rem; line-height: 1; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: var(--step-2); }
.card p { color: var(--muted); }
.card .ico { width: 36px; height: 36px; color: var(--forest); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* 疑慮清單 */
.worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.worries li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: var(--step-1); }
.worries li::before { content: "？"; position: absolute; left: 0; top: 14px; font-family: var(--font-display); color: var(--gold); font-size: 1.3rem; }
@media (max-width: 760px) { .worries { grid-template-columns: 1fr; } }

/* 比較表 */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); background: var(--white); }
.compare > div { padding: 28px; display: grid; gap: 12px; align-content: start; }
.compare > div + div { border-left: 1px solid var(--line-strong); }
.compare h3 { font-size: var(--step-3); }
.compare dl { margin: 0; display: grid; gap: 10px; }
.compare dt { font-size: .85rem; color: var(--forest); letter-spacing: .12em; }
.compare dd { margin: 0 0 6px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* 提示框 */
.callout { border-left: 3px solid var(--gold); background: var(--white); padding: 22px 26px; display: grid; gap: 8px; max-width: 46em; }
.callout h3 { font-size: var(--step-2); }
.callout .big { font-family: var(--font-num); font-size: 3rem; color: var(--forest); line-height: 1; font-weight: 600; }

/* ---------- 資料表 ---------- */
.ledger { width: 100%; border-collapse: collapse; background: var(--white); font-size: .98rem; }
.ledger th, .ledger td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger th { width: 9em; color: var(--forest); font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.ledger tr:first-child th, .ledger tr:first-child td { border-top: 2px solid var(--navy); }
.table-scroll { overflow-x: auto; }
.zoning { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.zoning th, .zoning td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.zoning thead th { border-bottom: 2px solid var(--navy); color: var(--forest); font-weight: 500; letter-spacing: .08em; }
.zoning td.r, .zoning th.r { text-align: right; font-variant-numeric: tabular-nums; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0, 0, 0, .12); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* 地圖 */
.map-figure { margin: 0; background: var(--white); border: 1px solid var(--line); padding: clamp(10px, 2vw, 18px); display: grid; gap: 12px; }
.map-figure a { display: block; }
.map-figure figcaption { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.doc-figure img { display: block; width: 100%; height: auto; }
.record .doc-figure { padding: 8px; }
.record-split { align-items: center; }
@media (min-width: 861px) { .record-split > div:last-child { max-width: 560px; justify-self: end; width: 100%; } }

/* 交通、產業清單 */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.facts .h { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.facts .b { color: var(--ink); }
.facts .b small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
@media (max-width: 600px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-strong); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 6px; top: 18px; color: var(--gold); font-family: var(--font-body); }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 0 22px; color: var(--ink); display: grid; gap: .7em; max-width: 46em; }

.sources { font-size: .82rem; color: var(--muted); line-height: 1.8; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
.sources ol { margin: 6px 0 0; padding-left: 1.4em; }

/* ---------- 關於 ---------- */
.profile { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile figure { margin: 0; position: relative; }
.profile figure::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.profile .name { font-size: var(--step-5); letter-spacing: .1em; }
.profile .name .en { font-family: var(--font-num); font-weight: 600; margin-left: .3em; }
.profile .role { color: var(--forest); letter-spacing: .14em; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile figure { max-width: 340px; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gold); display: grid; gap: 22px; }
.timeline li { padding-left: 24px; position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.timeline .y { font-family: var(--font-num); color: var(--forest); font-size: 1.05rem; }
.timeline .r { font-weight: 500; }
.timeline .d { color: var(--muted); font-size: .92rem; }

/* ---------- 物件 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { font: inherit; font-size: .92rem; letter-spacing: .08em; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .listing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .listing-grid { grid-template-columns: 1fr; } }
.lcard { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.lcard:hover { box-shadow: 0 10px 28px rgba(14, 31, 61, .12); color: var(--ink); }
.lcard .thumb { position: relative; aspect-ratio: 3 / 2; background: var(--navy); overflow: hidden; }
.lcard .thumb img, .lcard .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.lcard .cat { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--paper); color: var(--navy); font-size: .78rem; letter-spacing: .12em; padding: 3px 10px; border-radius: 999px; }
.lcard .body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.lcard h3 { font-size: var(--step-2); }
.lcard .where { color: var(--muted); font-size: .92rem; }
.lcard .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.lcard .area { font-family: var(--font-num); font-size: 1.5rem; color: var(--navy); }
.lcard .area small, .price small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); margin-left: .2em; }
.price { font-family: var(--font-num); font-size: 1.5rem; color: var(--forest); font-weight: 600; text-align: right; }
.price.ask { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: .1em; }
.lcard .flags { display: flex; flex-wrap: wrap; gap: 6px; }
.empty-note { padding: 32px; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.draft-banner { background: #FFF6EA; border: 1px solid #E8C79A; color: #7A4612; padding: 14px 18px; font-size: .92rem; margin-bottom: 24px; }
.listing-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.listing-detail .photo { position: relative; aspect-ratio: 3 / 2; background: var(--navy); overflow: hidden; }
.listing-detail .photo img, .listing-detail .photo svg { width: 100%; height: 100%; object-fit: cover; }
.spec { background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; gap: 16px; position: sticky; top: 96px; }
.spec .price { text-align: left; font-size: 2.2rem; }
@media (max-width: 860px) { .listing-detail { grid-template-columns: 1fr; } .spec { position: static; } }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.highlights li { padding-left: 22px; position: relative; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }

/* ---------- 表單 ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .field > .label, fieldset legend { font-size: .92rem; font-weight: 500; letter-spacing: .06em; color: var(--navy); }
.req { color: #A3302A; margin-left: .2em; }
.opt { color: var(--muted); font-weight: 400; font-size: .82rem; margin-left: .3em; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--navy); background: var(--white); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-size: .95rem; }
.check input { accent-color: var(--navy); width: 16px; height: 16px; }
.check:has(input:checked) { border-color: var(--navy); background: #EDF0F5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .45em; accent-color: var(--navy); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #E8F1EC; color: #1F4A35; border: 1px solid #B9D3C4; }
.form-status.err { display: block; background: #FBEDEC; color: #8A2A24; border: 1px solid #E8C2BF; }
.form .btn { width: 100%; padding-block: 14px; font-size: 1.05rem; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.aside-points { display: grid; gap: 18px; }
.aside-points .pt { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.aside-points .pt b { font-family: var(--font-num); color: var(--gold); font-size: 1.3rem; line-height: 1.4; }

/* 聯絡帶 */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { font-size: var(--step-4); }
.cta-band p { color: var(--muted-on-navy); margin-top: 8px; }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--navy); color: #E4E8EE; border-top: 1px solid rgba(217, 195, 143, .45); }
.site-footer .wrap { padding-block: 36px 28px; display: grid; gap: 22px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(217, 195, 143, .2); }
.foot-nav a { color: var(--gold-soft); text-decoration: none; font-size: .92rem; letter-spacing: .08em; }
.foot-nav a:hover { color: var(--white); }
.foot-legal { display: flex; align-items: center; gap: 22px; }
.foot-legal img { width: 88px; height: 88px; flex: none; }
.foot-legal p { font-size: .9rem; line-height: 1.9; letter-spacing: .04em; }
.foot-legal p span.sub { color: var(--muted-on-navy); }
@media (max-width: 600px) { .foot-legal { align-items: flex-start; } .foot-legal img { width: 64px; height: 64px; } .foot-legal p { font-size: .84rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
