/* =========================================================
   構境室內設計 FORM / SPACE｜樣式
   ========================================================= */
:root {
  --bg: #F3EFE7;          /* 暖白：主要背景 */
  --bg-2: #EAE4D8;        /* 暖白深一階：區塊交錯 */
  --ink: #25251F;         /* 炭黑：文字與線條 */
  --ink-2: #4A483F;       /* 次要文字 */
  --olive: #85805A;       /* 灰橄欖綠：重點色塊 */
  --olive-d: #67633F;     /* 橄欖綠深一階：按鈕底（白字對比足夠） */
  --wood: #B08A62;        /* 木質 */
  --stone: #CFC6B6;       /* 石材 */
  --line: rgba(37, 37, 31, .22);
  --line-2: rgba(37, 37, 31, .12);
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 76px;
  --zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--zh); font-size: 17px; line-height: 1.85; letter-spacing: .02em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.en { font-family: var(--en); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.br-m { display: none; }

/* 無障礙 */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--olive-d); outline-offset: 3px; }
.contact :focus-visible { outline-color: #D9D3BF; }

/* 共用文字 */
.label { font-size: 14px; letter-spacing: .14em; color: var(--olive-d); font-weight: 500; display: flex; align-items: center; gap: 14px; }
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.label .en { letter-spacing: .22em; font-size: 13px; }
.h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.42; font-weight: 700; letter-spacing: .04em; }
.eyebrow { font-family: var(--en); font-size: 13px; letter-spacing: .28em; color: var(--ink-2); }
.eyebrow .sep { margin: 0 .6em; color: var(--olive); }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 0; font-size: 16px; font-weight: 500; letter-spacing: .1em;
  text-decoration: none; cursor: pointer; border: 1px solid var(--ink); background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arr { font-family: var(--en); display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid { background: var(--olive-d); border-color: var(--olive-d); color: #FBF9F4; }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }

/* ---------- 一、導覽列 ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s; }
.nav::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 1px; background: var(--line); transition: left .35s, right .35s; }
.nav.scrolled, .nav.open { background: rgba(243, 239, 231, .97); backdrop-filter: saturate(1.2) blur(8px); }
.nav.open { backdrop-filter: none; background: var(--bg); }
.nav.scrolled::after { left: 0; right: 0; }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-zh { font-weight: 700; font-size: 19px; letter-spacing: .14em; }
.brand-en { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: var(--ink-2); }
.menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.menu ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.menu ul a { text-decoration: none; font-size: 15px; letter-spacing: .12em; position: relative; padding: 6px 0; }
.menu ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.menu ul a:hover::after, .menu ul a[aria-current]::after { right: 0; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); min-height: 44px; padding: 0 14px; cursor: pointer; font-size: 15px; letter-spacing: .1em; }
.menu-lines { width: 20px; height: 9px; position: relative; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-lines i:first-child { top: 0; } .menu-lines i:last-child { top: 8px; }
.open .menu-lines i:first-child { top: 4px; transform: rotate(45deg); }
.open .menu-lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- 二、首屏 ---------- */
/* 見檔案最後的「首屏」段落 */

/* ---------- 三、品牌介紹 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.about-side { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 40px); }
.keys { margin-top: 48px; border-left: 1px solid var(--line); }
.keys li { position: relative; padding: 14px 0 14px 28px; font-size: 18px; letter-spacing: .3em; }
.keys li span { font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--olive-d); margin-right: 14px; }
.keys li::before { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); transform: translateY(-50%); }
.keys li + li::after { content: ""; position: absolute; left: 28px; right: 0; top: 0; height: 1px; background: var(--line-2); }
.about-text { grid-column: 4 / span 5; padding-top: 8px; }
.about-text .h2 { margin-bottom: 36px; font-size: clamp(30px, 3vw, 44px); }
.about-text p + p { margin-top: 20px; }
.about-text p { color: var(--ink-2); max-width: 30em; }
.about-plan { width: min(100%, 300px); margin-top: 56px; opacity: .8; }
.about-media { grid-column: 9 / span 4; position: relative; padding-top: 120px; }
.am-main { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--stone); }
.am-main img, .am-sub img { width: 100%; height: 100%; object-fit: cover; }
.am-sub { position: absolute; width: 58%; aspect-ratio: 1; left: -38%; bottom: -60px; overflow: hidden; background: var(--wood); border: 10px solid var(--bg); }
.am-tag { position: absolute; top: 40px; right: 0; font-family: var(--en); font-size: 12px; letter-spacing: .4em; writing-mode: vertical-rl; color: var(--ink-2); }

/* ---------- 四、精選作品 ---------- */
.works { background: var(--bg-2); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); max-width: 760px; }
.demo-note { font-size: 14px; color: var(--ink-2); }
.works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; }
.work-1 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.work-2 { grid-column: 9 / span 4; grid-row: 1; margin-top: 140px; }
.work-3 { grid-column: 8 / span 5; grid-row: 2; align-self: end; }
.work-link { display: block; text-decoration: none; }
.work-img { position: relative; overflow: hidden; background: var(--stone); }
.work-1 .work-img { aspect-ratio: 4 / 5; }
.work-2 .work-img { aspect-ratio: 4 / 5; border-radius: 0 0 0 220px; }
.work-3 .work-img { aspect-ratio: 16 / 10; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-link:hover .work-img img, .work-link:focus-visible .work-img img { transform: scale(1.045); }
.badge { position: absolute; left: 0; top: 0; background: var(--bg); font-size: 12px; letter-spacing: .16em; padding: 6px 12px; }
.work-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding-top: 20px; margin-top: 0; border-top: 1px solid var(--ink); }
.work-no { font-family: var(--en); font-size: 13px; letter-spacing: .1em; padding-top: 6px; }
.work-cat { font-size: 14px; color: var(--olive-d); letter-spacing: .1em; }
.work-cat .dot { margin: 0 .2em; }
.work-meta h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: .1em; margin-top: 4px; }
.work-meta h3 .en { font-size: 13px; font-weight: 400; letter-spacing: .14em; color: var(--ink-2); margin-left: 10px; text-transform: uppercase; }
.work-desc { color: var(--ink-2); margin-top: 6px; }
.work-arr { font-family: var(--en); font-size: 22px; transition: transform .35s var(--ease); padding-top: 2px; }
.work-link:hover .work-arr, .work-link:focus-visible .work-arr { transform: translateX(8px); }
.works-more { margin-top: clamp(56px, 7vw, 96px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.works-more .line { flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.works-more .hint { flex-basis: 100%; text-align: right; font-size: 14px; color: var(--ink-2); min-height: 1.6em; }

/* ---------- 五、設計服務 ---------- */
.sec-head-split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: end; }
.svc-list { border-top: 1px solid var(--ink); }
.svc { display: grid; grid-template-columns: 80px 88px minmax(0, 4fr) minmax(0, 5fr); gap: 24px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); transition: background .4s var(--ease), padding .4s var(--ease); }
.svc:hover { background: rgba(133, 128, 90, .07); }
.svc-no { font-family: var(--en); font-size: 14px; letter-spacing: .1em; color: var(--olive-d); padding-left: 4px; }
.svc-ico { width: 56px; height: 56px; }
.svc h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: .1em; display: flex; flex-direction: column; }
.svc h3 .en { font-size: 12px; font-weight: 400; letter-spacing: .24em; color: var(--ink-2); text-transform: uppercase; margin-top: 4px; }
.svc p { color: var(--ink-2); max-width: 28em; }

/* ---------- 六、設計理念 ---------- */
.idea { position: relative; padding-bottom: clamp(80px, 9vw, 130px); }
.idea-media { height: clamp(420px, 68vh, 720px); overflow: hidden; background: var(--wood); }
.idea-media img { width: 100%; height: 100%; object-fit: cover; }
.idea-wrap { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.idea-box { grid-column: 2 / span 6; background: var(--bg); padding: clamp(36px, 4.5vw, 72px); margin-top: clamp(-200px, -14vw, -120px); position: relative; border-top: 1px solid var(--ink); }
.idea-box .h2 { margin: 24px 0 28px; }
.idea-box p:not(.label) { color: var(--ink-2); }
.idea-en { grid-column: 9 / span 4; align-self: end; font-family: var(--en); font-weight: 300; font-size: clamp(48px, 6vw, 104px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--ink); text-align: right; padding-top: 40px; }

/* ---------- 七、合作流程 ---------- */
.process { background: var(--bg-2); overflow: hidden; }
.process::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border: 1px solid var(--line-2); border-radius: 50%; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ink); }
.step { position: relative; padding-top: 44px; }
.step-dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg-2); }
.step:first-child .step-dot { background: var(--olive); border-color: var(--olive); }
.step-no { font-family: var(--en); font-size: 13px; letter-spacing: .12em; color: var(--olive-d); }
.step-no .en { color: var(--ink-2); text-transform: uppercase; margin-left: 6px; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: .12em; margin: 10px 0 12px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ---------- 八、常見問題 ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.faq-head { grid-column: 1 / span 4; display: grid; gap: 22px; align-content: start; }
.faq-arc { width: 200px; margin-top: 24px; opacity: .8; }
.acc { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc h3 { font-size: inherit; font-weight: inherit; }
.acc button { width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 26px 0; cursor: pointer; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: .06em; line-height: 1.6; }
.acc button:hover .q-txt { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.q { font-family: var(--en); font-weight: 300; font-size: 22px; color: var(--olive-d); }
.pm { width: 18px; height: 18px; position: relative; justify-self: end; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
[aria-expanded="true"] .pm::after { transform: rotate(0); }
.acc-panel { padding: 0 36px 28px 52px; }
.acc-panel p { color: var(--ink-2); }
.js .acc-panel:not([hidden]) { animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 九、聯絡 ---------- */
.contact { background: var(--ink); color: #EFEBE2; }
.contact .label { color: #C9C3A2; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.contact-head { grid-column: 1 / span 5; display: grid; gap: 26px; align-content: start; }
.contact-head p:not(.label) { color: #CFCABE; }
.contact-head .contact-note { font-size: 14px; color: #B5B0A3; border-left: 1px solid #6F6B5C; padding-left: 14px; }
.form { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 22px; }
.req-note { grid-column: 1 / -1; font-size: 14px; color: #CFCABE; }
.req { color: #E0C98B; }
.opt { color: #B5B0A3; font-size: 14px; }
.f { display: grid; gap: 8px; min-width: 0; }
.f-full { grid-column: 1 / -1; }
.f label, .f legend { font-size: 15px; letter-spacing: .1em; color: #EFEBE2; }
fieldset.f { border: 0; padding: 0; margin: 0; }
fieldset.f legend { padding: 0; margin-bottom: 10px; }
.f input[type="text"], .f input[type="tel"], .f input[type="email"], .f select, .f textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #8C8778; color: #F6F3EC;
  padding: 10px 0; font-size: 17px; border-radius: 0; min-height: 48px; transition: border-color .3s;
}
.f textarea { resize: vertical; min-height: 110px; border: 1px solid #8C8778; padding: 12px 14px; }
.f input::placeholder, .f textarea::placeholder { color: #9A9586; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: #EFEBE2; outline: none; box-shadow: 0 1px 0 #EFEBE2; }
.f textarea:focus { box-shadow: 0 0 0 1px #EFEBE2; }
[aria-invalid="true"] { border-color: #E8A38C !important; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1px solid #EFEBE2; border-bottom: 1px solid #EFEBE2; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.f select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px; }
.f select option { color: var(--ink); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #8C8778; font-size: 15px; letter-spacing: .1em; transition: background .25s, color .25s, border-color .25s; }
.chips label:hover span { border-color: #EFEBE2; }
.chips input:checked + span { background: #EFEBE2; color: var(--ink); border-color: #EFEBE2; }
.chips input:focus-visible + span { outline: 2px solid #D9D3BF; outline-offset: 3px; }
.chips input[aria-invalid="true"] + span { border-color: #E8A38C; }
.err { font-size: 14px; color: #F0B39E; min-height: 0; }
.err:empty { display: none; }
.form-foot { margin-top: 8px; }
.contact .btn-solid { background: #EFEBE2; border-color: #EFEBE2; color: var(--ink); }
.contact .btn-solid:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.form-status { grid-column: 1 / -1; font-size: 16px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #F0B39E; }
.form-status.is-demo { border: 1px solid #E0C98B; padding: 18px 20px; color: #EFEBE2; background: rgba(224, 201, 139, .08); }
.form-status.is-demo strong { display: block; color: #E0C98B; font-size: 18px; margin-bottom: 4px; }

/* ---------- 十、頁尾 ---------- */
.foot { padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 32px; align-items: start; padding-bottom: 48px; background: linear-gradient(var(--ink), var(--ink)) bottom center / calc(100% - 2 * var(--gut)) 1px no-repeat; }
.foot .brand { display: flex; }
.foot-tag { margin-top: 14px; color: var(--ink-2); letter-spacing: .2em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 4px; }
.foot-nav a { text-decoration: none; font-size: 15px; letter-spacing: .1em; padding: 6px 0; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.to-top { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; letter-spacing: .12em; }
.to-top i { font-style: normal; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--en); transition: background .3s, color .3s, transform .3s var(--ease); }
.to-top:hover i { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 14px; color: var(--ink-2); }
.foot-bottom a { text-underline-offset: 4px; }
.foot-credit { flex-basis: 100%; order: 5; font-size: 13px; }

/* ---------- 進場動畫 ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.works-grid .work-2.rv { transition-delay: .12s; }
.works-grid .work-3.rv { transition-delay: .2s; }
.steps .step:nth-child(2) { transition-delay: .08s; } .steps .step:nth-child(3) { transition-delay: .16s; }
.steps .step:nth-child(4) { transition-delay: .24s; } .steps .step:nth-child(5) { transition-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* =========================================================
   平板（720–1099px）
   ========================================================= */
@media (max-width: 1099px) {
  .about-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; margin-bottom: 48px; }
  .keys { margin: 0; display: flex; border-left: 0; border-top: 1px solid var(--line); justify-content: space-between; }
  .keys li { padding: 16px 0 0; }
  .keys li::before { left: 0; top: -4px; transform: none; }
  .keys li + li::after { display: none; }
  .about-text { grid-column: 1 / span 7; }
  .about-media { grid-column: 8 / span 5; padding-top: 0; }
  .am-sub { left: -30%; width: 60%; bottom: -40px; }
  .work-1 { grid-column: 1 / span 12; grid-row: auto; }
  .work-1 .work-img { aspect-ratio: 16 / 11; }
  .work-2 { grid-column: 1 / span 6; grid-row: auto; margin-top: 0; }
  .work-3 { grid-column: 7 / span 6; grid-row: auto; margin-top: 120px; align-self: start; }
  .work-3 .work-img { aspect-ratio: 4 / 5; }
  .work-2 .work-img { border-radius: 0 0 0 140px; }
  .svc { grid-template-columns: 56px 72px minmax(0, 1fr); row-gap: 10px; }
  .svc p { grid-column: 3; }
  .sec-head-split { grid-template-columns: 1fr; }
  .idea-box { grid-column: 1 / span 8; }
  .idea-en { grid-column: 9 / span 4; font-size: clamp(36px, 5.4vw, 56px); white-space: nowrap; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--ink); padding-top: 36px; }
  .step-dot { top: -8px; }
  .faq-head { grid-column: 1 / -1; margin-bottom: 40px; grid-template-columns: 1fr auto; }
  .faq-head .label, .faq-head .h2 { grid-column: 1; }
  .faq-arc { grid-column: 2; grid-row: 1 / span 2; width: 140px; margin: 0; }
  .acc { grid-column: 1 / -1; }
  .contact-head { grid-column: 1 / -1; margin-bottom: 48px; }
  .form { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; }
}

/* 選單在 1000px 以下改成可開關 */
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .menu {
    position: fixed; left: 0; right: 0; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); background: var(--bg); z-index: 60;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px; padding: 24px var(--gut) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
    border-top: 1px solid var(--line);
  }
  .open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul li { border-bottom: 1px solid var(--line-2); }
  .menu ul a { display: block; padding: 18px 0; font-size: 20px; }
  .menu ul a::after { display: none; }
  .nav-cta { align-self: flex-start; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}

/* =========================================================
   手機（< 720px）
   ========================================================= */
@media (max-width: 719px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; line-height: 1.85; }
  .br-d { display: none; }
  .br-m { display: inline; }
  .brand { gap: 8px; }
  .brand-zh { font-size: 17px; letter-spacing: .1em; }
  .brand-en { font-size: 10px; letter-spacing: .18em; }
  .menu-btn { padding: 0 12px; }
  .label { font-size: 13px; gap: 10px; }
  .label::before { width: 24px; }
  .h2 { font-size: clamp(26px, 7.4vw, 32px); }

  .eyebrow { font-size: 11px; letter-spacing: .2em; }

  .about-side { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .keys li { font-size: 16px; letter-spacing: .2em; }
  .keys li span { display: block; margin: 0; }
  .about-text, .about-media { grid-column: 1 / -1; }
  .about-plan { display: none; }
  .about-media { margin-top: 48px; padding-left: 22%; }
  .am-sub { left: 0; width: 44%; bottom: -32px; border-width: 8px; }
  .am-tag { right: auto; left: 0; top: 0; }

  .works-grid { row-gap: 56px; }
  .work-1, .work-2, .work-3 { grid-column: 1 / -1; margin-top: 0; }
  .work-1 .work-img { aspect-ratio: 4 / 5; }
  .work-2 { padding-left: 12%; }
  .work-2 .work-img { aspect-ratio: 1; border-radius: 0 0 0 120px; }
  .work-3 { padding-right: 8%; }
  .work-3 .work-img { aspect-ratio: 4 / 3; }
  .work-meta { gap: 12px; }
  .work-meta h3 .en { display: block; margin: 2px 0 0; }
  .works-more { flex-direction: column; align-items: stretch; }
  .works-more .line { display: none; }
  .works-more .hint { text-align: left; }

  .sec-head-split { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr auto; padding: 28px 0; row-gap: 12px; }
  .svc-no { grid-column: 1; grid-row: 1; padding: 0; }
  .svc-ico { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; align-self: start; }
  .svc h3 { grid-column: 1; grid-row: 2; }
  .svc p { grid-column: 1 / -1; grid-row: 3; }

  .idea-media { height: 380px; }
  .idea-box { grid-column: 1 / -1; margin: -64px 0 0 0; padding: 32px 22px 8px; }
  .idea-en { grid-column: 1 / -1; text-align: left; font-size: 52px; padding-top: 24px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 4px; }
  .steps::before { display: block; left: 11px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { border-top: 0; padding: 0 0 36px 44px; }
  .step-dot { left: 4px; top: 6px; }
  .step h3 { margin: 4px 0 6px; font-size: 20px; }

  .faq-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .faq-arc { display: none; }
  .acc button { grid-template-columns: 28px 1fr 20px; padding: 22px 0; font-size: 17px; }
  .acc-panel { padding: 0 8px 24px 40px; }

  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .chips span { padding: 0 14px; }

  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav { grid-row: auto; gap: 0 22px; }
  .foot-bottom { flex-direction: column; }
}

/* =========================================================
   二、首屏：桌機版座標直接對照設計稿（1536 × 1024），用 --u 等比縮放
   ========================================================= */
:root { --u: calc(100vw / 1536); --disp: "Tenor Sans", "Inter", sans-serif; }
.brand-big { font-family: var(--en); font-weight: 500; font-size: 24px; letter-spacing: .03em; }
.brand-small { font-size: 13px; letter-spacing: .2em; color: var(--ink-2); }
.nav-cta { text-decoration: none; font-size: 15px; letter-spacing: .12em; display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--ink); }
.nav-cta .arr { font-family: var(--en); }

.hero { position: relative; padding-top: var(--nav-h); }
.hero-stage { position: relative; height: calc(964 * var(--u)); }
.hero-top { display: contents; }
.gl { position: absolute; background: var(--ink); opacity: .45; pointer-events: none; z-index: 2; }
.gl-a { left: calc(420 * var(--u)); top: 0; width: 1px; height: calc(410 * var(--u)); }      /* 穿過大字的直線 */
.gl-b { left: calc(44 * var(--u)); top: calc(390 * var(--u)); width: 1px; height: calc(390 * var(--u)); }
.gl-c { left: calc(25 * var(--u)); top: calc(766 * var(--u)); width: calc(1493 * var(--u)); height: 1px; } /* 照片底線 */
.gl-d { left: calc(1500 * var(--u)); top: 0; width: 1px; height: calc(766 * var(--u)); z-index: 0; }
.hero-block { position: absolute; z-index: 0; left: calc(627 * var(--u)); top: 0; width: calc(175 * var(--u)); height: calc(380 * var(--u)); background: var(--olive); }
.hero-media { position: absolute; z-index: 1; left: calc(482 * var(--u)); top: 0; width: calc(1054 * var(--u)); height: calc(766 * var(--u)); }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; background: linear-gradient(160deg, #E3D7C3, var(--wood));
  /* 圓弧裁切（對照設計稿擬合的橢圓）：調整半徑與圓心即可改變弧線 */
  clip-path: ellipse(57% 103.7% at 53.9% 104.8%);
}
.hero-en {
  position: absolute; z-index: 3; left: calc(28 * var(--u)); top: calc(var(--en-top, 34) * var(--u)); margin: 0; pointer-events: none;
  font-family: var(--disp); font-weight: 400; text-transform: uppercase; color: var(--ink);
  font-size: calc(var(--en-fs, 208) * var(--u)); line-height: .79; transform: scaleY(1.07); transform-origin: 0 0; letter-spacing: var(--en-ls, -.035em);
  -webkit-text-stroke: calc(var(--en-st, 3.6) * var(--u)) var(--ink);
}
.hero-en span { display: block; white-space: nowrap; }
.hero-sub { position: absolute; z-index: 2; left: calc(63 * var(--u)); top: calc(397 * var(--u)); }
.hero-sub .eyebrow { font-family: var(--en); font-size: max(11px, calc(17 * var(--u))); letter-spacing: .3em; color: var(--ink); white-space: nowrap; }
.hero-sub .sep { color: var(--ink); margin: 0 .5em; }
.hero-sub .zh-sub { font-family: var(--zh); }
.eyebar { position: absolute; left: 0; top: calc(36 * var(--u)); width: calc(109 * var(--u)); height: calc(6 * var(--u)); min-height: 4px; background: var(--olive); }
.hero-sketch { position: absolute; z-index: 1; left: 0; top: calc(410 * var(--u)); width: calc(500 * var(--u)); }
.hero-sketch img { width: 100%; height: auto; }
.hero-copy { position: absolute; z-index: 4; right: calc(36 * var(--u)); top: calc(574 * var(--u)); width: max-content; display: flex; flex-direction: column; text-shadow: 0 0 14px rgba(243, 239, 231, .9), 0 0 4px rgba(243, 239, 231, .8); }
.hero h1 { font-size: max(24px, calc(28 * var(--u))); font-weight: 500; letter-spacing: .06em; line-height: 1.35; white-space: nowrap; }
.hero-lead { margin-top: calc(10 * var(--u)); color: var(--ink); font-size: max(15px, calc(15 * var(--u))); line-height: 1.7; letter-spacing: .02em; white-space: nowrap; }
.hero-actions { align-self: flex-end; margin-top: max(14px, calc(27 * var(--u))); display: flex; align-items: center; gap: calc(18 * var(--u)); white-space: nowrap; }
.hero-btn { text-shadow: none; background: rgba(243, 239, 231, .35); min-width: calc(261 * var(--u)); display: inline-flex; align-items: center; justify-content: space-between; gap: calc(14 * var(--u)); height: calc(42 * var(--u)); padding: 0 calc(18 * var(--u)); border: 1.5px solid var(--olive-d); color: var(--ink); text-decoration: none; font-size: max(14px, calc(16 * var(--u))); letter-spacing: .24em; transition: background .3s, color .3s; }
.hero-btn span { font-family: var(--en); transition: transform .3s var(--ease); }
.hero-btn:hover { background: var(--olive-d); color: #FBF9F4; }
.hero-btn:hover span { transform: translate(2px, -2px); }
.hero-link { font-size: max(14px, calc(15 * var(--u))); letter-spacing: .14em; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero-strip { position: absolute; left: 0; right: 0; top: calc(800 * var(--u)); height: calc(145 * var(--u)); }
.strip-label { position: absolute; left: calc(44 * var(--u)); top: calc(52 * var(--u)); width: calc(453 * var(--u)); }
.strip-label p { display: flex; align-items: center; gap: calc(14 * var(--u)); font-family: var(--en); font-size: max(11px, calc(18 * var(--u))); letter-spacing: .26em; white-space: nowrap; }
.strip-label p::after { content: ""; flex: 1; height: 1px; background: var(--ink); opacity: .6; }
.strip-label .num { color: var(--olive-d); font-size: max(14px, calc(22 * var(--u))); letter-spacing: .1em; }
.strip-label .sl { color: var(--ink-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; margin-top: calc(22 * var(--u)); font-size: 13px; letter-spacing: .2em; text-decoration: none; color: var(--ink-2); }
.scroll-cue i { width: 1px; height: 30px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-cue i::before { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--bg); animation: cue 2.4s var(--ease) infinite; }
.strip-thumb { position: absolute; top: 0; height: 100%; overflow: hidden; background: var(--stone); }
.strip-thumb.t1 { left: calc(523 * var(--u)); width: calc(494 * var(--u)); }
.strip-thumb.t2 { left: calc(1040 * var(--u)); width: calc(466 * var(--u)); }
.strip-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.strip-thumb:hover img, .strip-thumb:focus-visible img { transform: scale(1.05); }
.js .hero-en, .js .hero-sub, .js .hero-copy, .js .hero-sketch, .js .hero-strip { animation: rise 1.1s var(--ease) both; }
.js .hero-media, .js .hero-block { animation: fade 1.4s var(--ease) both; }
.js .hero-sub { animation-delay: .15s; } .js .hero-copy { animation-delay: .3s; }
.js .hero-sketch { animation-delay: .45s; } .js .hero-strip { animation-delay: .55s; }

/* 桌機導覽列：高度與分隔線位置對照設計稿 */
@media (min-width: 1100px) {
  :root { --nav-h: max(54px, calc(60 * var(--u))); --gut: calc(48 * var(--u)); }
  .nav-in { max-width: none; }
  .nav::after { left: var(--gut); right: 0; }
  .menu { gap: calc(46 * var(--u)); }
  .menu ul { gap: calc(46 * var(--u)); }
  .menu ul a { font-size: max(13px, calc(15 * var(--u))); letter-spacing: .16em; }
  .brand-big { font-size: max(20px, calc(26 * var(--u))); }
}

/* =========================================================
   手機直向（< 720px）：大字疊在圓弧照片上，線稿縮小放在照片左下，仍在首屏內
   直向平板同上；橫向手機與橫向平板（≥ 720px）沿用桌機構圖等比縮放
   ========================================================= */
@media (max-width: 719px), (max-width: 1099px) and (orientation: portrait) {
  :root { --m: calc(100vw / 390); }
  .hero-stage { height: auto; }
  /* 首屏視覺與設計稿 100% 相同：沿用桌機座標（--u = 100vw / 1536）等比縮小 */
  .hero-top { display: block; position: relative; height: calc(790 * var(--u)); }
  .hero-sub .eyebrow { font-size: calc(17 * var(--u)); }
  .eyebar { min-height: 0; }
  .hero-copy { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; margin: 22px 16px 0; text-shadow: none; align-items: stretch; }
  .hero h1 { font-size: clamp(24px, 6.6vw, 30px); white-space: normal; }
  .hero-lead { font-size: 16px; white-space: normal; margin-top: 10px; }
  .hero-actions { position: static; align-self: stretch; flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 20px; }
  .hero-btn { height: 50px; padding: 0 18px; font-size: 15px; gap: 14px; justify-content: space-between; }
  .hero-link { font-size: 15px; align-self: flex-start; }
  .hero-strip { position: relative; top: auto; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 28px 16px 0; }
  .strip-label { position: static; width: auto; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .strip-label p { flex: 1; font-size: 12px; letter-spacing: .18em; }
  .strip-label .num { font-size: 17px; }
  .scroll-cue { margin: 0; }
  .strip-thumb { position: relative; left: auto !important; width: auto !important; aspect-ratio: 3 / 2; }
}

/* 平板與橫向手機（720–1099px）：桌機構圖，文字維持可讀尺寸 */
@media (min-width: 720px) and (max-width: 1099px) and (orientation: landscape) {
  .hero-copy { right: calc(24 * var(--u)); top: calc(540 * var(--u)); }
  .hero h1 { font-size: max(22px, calc(28 * var(--u))); }
  .hero-lead { font-size: max(14px, calc(15 * var(--u))); }
  .hero-btn { height: 40px; min-width: 0; padding: 0 14px; font-size: 14px; }
  .hero-link { font-size: 14px; }
  .scroll-cue { display: none; }
}
@media (max-width: 719px) {
  .brand-big { font-size: 19px; }
  .brand-small { font-size: 11px; letter-spacing: .12em; }
}
@media (max-width: 719px) {
  .hero-lead br { display: none; }
}
@media (max-width: 1000px) {
  .menu .nav-cta { border: 1px solid var(--olive-d); padding: 0 22px; min-height: 52px; font-size: 17px; justify-content: space-between; gap: 16px; }
}
.menu-btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 374px) {
  .brand-small { display: none; }
}
