/* =========================================================
   妍序設計 YANXU DESIGN — 展示網站
   設計系統：暖白 × 原木棕 × 極簡留白
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* 色彩 */
  --c-bg:        #faf7f2;   /* 主背景 暖白 */
  --c-bg-alt:    #f1ebe2;   /* 次背景 米色 */
  --c-paper:     #ffffff;
  --c-ink:       #2b2723;   /* 主文字 暖黑 */
  --c-ink-soft:  #6f665c;   /* 次文字 */
  --c-line:      #e4dccf;   /* 分隔線 */
  --c-wood:      #a8845c;   /* 主強調 原木棕 */
  --c-wood-deep: #8a6a45;
  --c-sand:      #cbb89c;

  /* 字體 */
  --f-display: "Fraunces", "Noto Serif TC", serif;
  --f-serif:   "Fraunces", "Noto Serif TC", serif;
  --f-sans:    "Jost", "Noto Sans TC", -apple-system, "Segoe UI", sans-serif;

  /* 尺度 */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 11vw, 160px);

  /* 動態 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-wood);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.section-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.lead {
  color: var(--c-ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 56ch;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Typography refinement — 中文斷行精修
   balance：讓多行標題/短句的每行字數平均；pretty：避免段落末行孤字；
   keep-all：避免「3D」等英數被從中折斷。瀏覽器不支援時自動回退一般折行。
   ========================================================= */
.section-title, .hero__title, .hero__sub, .work__title, .contact__title,
.about__statement, .svc__title, .step__title, .faq__q, .designer__name {
  text-wrap: balance;
  word-break: keep-all;
}
.lead, .contact__lead, .hero__sub, .about__text p, .svc__desc, .work__desc,
.designer__bio, .step__desc, .faq__a-inner, .svc__note {
  text-wrap: pretty;
  word-break: keep-all;
  line-break: strict;
}
.step__desc { text-wrap: balance; max-width: 15em; margin-inline: auto; }

/* =========================================================
   Typography polish 字體細節（換行平衡 + 英數設計感）
   ========================================================= */
/* 平衡短標題的換行，避免落單孤字 */
.hero__title, .section-title, .contact__title, .about__statement,
.svc__title, .work__title, .step__title, .designer__name,
.faq__q, .hero__sub { text-wrap: balance; }
/* 小段落避免行尾孤字 */
.svc__desc, .work__desc, .contact__lead, .lead,
.about__text p, .designer__bio, .faq__a-inner p, .faq__a-inner { text-wrap: pretty; }
/* 流程步驟小字：給足寬度、置中、兩行等長平衡 */
.step__desc { max-width: 19ch; margin-inline: auto; text-wrap: balance; }

/* 英文與數字：等高 / 等寬數字 + 光學尺寸，與襯線風格一致 */
.eyebrow, .hero__kicker, .nav a, .btn, .stat .label, .field label,
.work__meta, .designer__role, .contact__info dt, .lb-caption,
.brand .en, .step__title, .svc__title {
  font-variant-numeric: lining-nums;
  font-optical-sizing: auto;
}
.stat .num, .svc__no, .step__no, .work__index, .hero__scroll, .lb-caption {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: 0.06em;
}

/* eyebrow / hero 小標：前置引導短線，提升編排質感 */
.eyebrow { display: inline-flex; align-items: center; gap: .85rem; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .5; }
.hero__kicker { display: inline-flex; align-items: center; gap: 1rem; }
.hero__kicker::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }

/* 微互動細節 */
::selection { background: var(--c-wood); color: #fff; }
::-moz-selection { background: var(--c-wood); color: #fff; }
:focus-visible { outline: 2px solid var(--c-wood); outline-offset: 3px; border-radius: 1px; }
.brand .zh { font-feature-settings: "palt" 1; }

/* Fraunces 顯示字體：依字級自動套用光學尺寸 */
.hero__title, .section-title, .contact__title, .about__statement, .svc__title,
.work__title, .step__title, .designer__name, .work__index em, .stat .num,
.step__no, .svc__no, .faq__q { font-optical-sizing: auto; }

/* ---- 進場：標題遮罩上升 ---- */
/* JS 包裝前先隱藏，避免閃爍（包裝後加上 .rise 即解除） */
.has-js .hero__title:not(.rise), .has-js .section-title:not(.rise), .has-js .contact__title:not(.rise) { opacity: 0; }
.rise { overflow: hidden; }
.rise > .rise__i { display: block; transform: translateY(120%); transition: transform 1.05s var(--ease); }
.rise.in > .rise__i { transform: none; }

/* ---- 進場：圖片裁切揭示 ---- */
.img-reveal img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.15s var(--ease), transform 1.4s var(--ease); }
.img-reveal.in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---- Hero 背景基礎放大（供視差，避免位移露邊） ---- */
.hero__bg { transform: scale(1.08); will-change: transform; }

/* ---- 流程：超大淡色襯線編號（編輯感編排） ---- */
.step__ghost {
  position: absolute; top: -0.42em; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 500; font-size: 5.6rem; line-height: 1;
  color: var(--c-wood); opacity: .09; z-index: 0; pointer-events: none;
  font-variant-numeric: lining-nums; user-select: none;
}
.step .step__icon, .step .step__no, .step .step__title, .step .step__desc { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .rise > .rise__i { transform: none; transition: none; }
  .img-reveal img { clip-path: none; transform: none; transition: none; }
  .hero__bg { transform: none; }
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 0.9rem;
  box-shadow: 0 1px 0 var(--c-line);
}
/* 選單展開時：移除 header 的 backdrop-filter，否則它會成為固定定位選單的包含塊，
   讓全螢幕選單只剩 header 高度、內容穿透。移除後選單才會相對視窗鋪滿。 */
body.menu-open .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .zh { font-family: var(--f-serif); font-size: 1.18rem; font-weight: 600; letter-spacing: 0.22em; }
.brand .en { font-family: var(--f-sans); font-size: 0.6rem; letter-spacing: 0.45em; color: var(--c-ink-soft); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(1.6rem, 3vw, 3rem); }
.nav a {
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500;
  position: relative; padding-block: 6px; color: var(--c-ink);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--c-wood); transition: width .4s var(--ease);
}
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--c-ink); transition: .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
body.menu-open .nav-toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: linear-gradient(180deg, #faf7f2 0%, #f1ebe2 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .26; filter: saturate(1.02);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,247,242,.5), rgba(241,235,226,.78)); }
.hero__inner { position: relative; z-index: 2; }
.hero__kicker {
  font-size: 0.74rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--c-wood);
  margin-bottom: 1.8rem;
}
.hero__title {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1.18; letter-spacing: 0.04em;
}
.hero__title em { font-style: normal; color: var(--c-wood); }
.hero__sub {
  margin-top: 1.8rem; max-width: 40ch; color: var(--c-ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2.4rem; z-index: 3;
  font-size: 0.66rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--c-ink-soft);
  display: flex; align-items: center; gap: .8rem;
}
.hero__scroll::before { content: ""; width: 46px; height: 1px; background: var(--c-wood); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: left; }
@keyframes scrollLine { 0%,100%{transform:scaleX(.4);opacity:.4} 50%{transform:scaleX(1);opacity:1} }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 6vw, 6rem); align-items: center; }
.about__text p { color: var(--c-ink-soft); margin-top: 1.4rem; }
.about__statement {
  font-family: var(--f-serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.6;
  color: var(--c-ink); letter-spacing: 0.03em; text-wrap: balance;
}
.about__statement b { color: var(--c-wood); font-weight: 500; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.about__media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 60%; height: 60%;
  border: 1px solid var(--c-sand); z-index: -1;
}

.stats { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); margin-top: 3rem; }
.stat .num { font-family: var(--f-display); font-size: clamp(2.2rem,4vw,3rem); color: var(--c-wood); line-height: 1; }
.stat .label { font-size: 0.76rem; letter-spacing: 0.18em; color: var(--c-ink-soft); margin-top: .5rem; text-transform: uppercase; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--c-bg-alt); }
.services__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.svc {
  background: var(--c-bg-alt); padding: clamp(1.8rem, 3vw, 2.8rem);
  transition: background .5s var(--ease);
}
.svc:hover { background: var(--c-paper); }
.svc__no { font-family: var(--f-display); font-size: 1.1rem; color: var(--c-wood); letter-spacing: .1em; }
.svc__title { font-family: var(--f-serif); font-size: 1.3rem; margin: 1rem 0 .8rem; letter-spacing: .04em; }
.svc__desc { font-size: 0.95rem; color: var(--c-ink-soft); }

/* =========================================================
   Works
   ========================================================= */
.works__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(2.5rem,6vw,4.5rem); }
.work {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}
.work:last-child { margin-bottom: 0; }
.work:nth-child(even) .work__media { order: 2; }
.work__media { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
.work__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.1s var(--ease); }
.work__media:hover img { transform: scale(1.05); }
.work__media .view {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(43,39,35,.32); opacity: 0; transition: opacity .5s var(--ease);
  color: #fff; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
}
.work__media:hover .view { opacity: 1; }
.work__index { display: flex; align-items: baseline; gap: .7rem; color: var(--c-wood); margin-bottom: .2rem; }
.work__index em { font-style: normal; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: .85; color: var(--c-sand); }
.work__index span { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }
.work__title { font-family: var(--f-serif); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .6rem 0 1rem; letter-spacing: .05em; }
.work__meta { display: flex; gap: 1.4rem; flex-wrap: wrap; color: var(--c-ink-soft); font-size: .82rem; letter-spacing: .1em; margin-bottom: 1.4rem; }
.work__meta span { position: relative; padding-left: 1.4rem; }
.work__meta span::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border: 1px solid var(--c-wood); border-radius: 50%; }
.work__desc { color: var(--c-ink-soft); margin-bottom: 1.8rem; }
.work__thumbs { display: flex; gap: .6rem; }
.work__thumbs img { width: 64px; height: 48px; object-fit: cover; cursor: pointer; opacity: .65; transition: opacity .4s var(--ease); border-radius: 2px; }
.work__thumbs img:hover { opacity: 1; }

/* Button */
.btn {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  padding: 1rem 2rem; border: 1px solid var(--c-ink); color: var(--c-ink);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover { background: var(--c-ink); color: var(--c-bg); }
.btn--wood { border-color: var(--c-wood); color: var(--c-wood); }
.btn--wood:hover { background: var(--c-wood); color: #fff; }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--c-ink); color: var(--c-bg); }
.contact .eyebrow { color: var(--c-sand); }
.contact__head { max-width: 60ch; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.contact__title { font-family: var(--f-serif); font-size: clamp(2rem,4.5vw,3.4rem); line-height: 1.3; letter-spacing: .04em; }
.contact__title em { font-style: normal; color: var(--c-sand); }
.contact__lead { color: rgba(250,247,242,.62); margin-top: 1.2rem; max-width: 50ch; }

.contact__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__info dt { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-sand); margin-bottom: .4rem; }
.contact__info dd { margin-bottom: 1.7rem; font-size: 1.02rem; line-height: 1.7; }
.contact__info dd small { color: rgba(250,247,242,.5); font-size: .82rem; letter-spacing: .04em; }
.contact__info a { border-bottom: 1px solid transparent; transition: border-color .35s var(--ease), color .35s var(--ease); }
.contact__info a:hover { color: var(--c-sand); border-color: var(--c-sand); }
.qr-row { display: flex; flex-direction: column; gap: 1.8rem; align-items: flex-start; margin-top: .7rem; }
.contact__info .qr { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; border: none; }
.contact__info .qr:hover { border: none; }
.qr img { width: 184px; height: 184px; padding: 13px; background: #fff; border-radius: 9px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.contact__info .qr:hover img { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.qr span { font-size: .76rem; letter-spacing: .06em; line-height: 1.45; color: rgba(250,247,242,.78); }
.contact__info .qr:hover span { color: var(--c-sand); }

/* Form */
.form { display: block; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.6rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-sand); }
.field label .req { color: var(--c-wood); margin-left: .25em; }
.field input, .field textarea, .field select {
  background: transparent; border: none; border-bottom: 1px solid rgba(203,184,156,.4);
  color: var(--c-bg); padding: .7rem 0; font-family: var(--f-sans); font-size: 1rem;
  transition: border-color .4s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-sand); }
.field textarea { resize: vertical; min-height: 90px; }
.field select { cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23cbb89c' stroke-width='1.2' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center; padding-right: 1.4rem; }
.field select option { color: #2b2723; background: #faf7f2; }
.form__foot { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.form .btn { border-color: var(--c-sand); color: var(--c-bg); }
.form .btn:hover { background: var(--c-sand); color: var(--c-ink); }
.form__note { font-size: .8rem; color: rgba(250,247,242,.55); letter-spacing: .04em; flex: 1; min-width: 200px; }
.form__note.ok { color: var(--c-sand); }
.gform-sink { display: none; }
.form.sent .form__grid, .form.sent .form__foot .btn { opacity: .4; pointer-events: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--c-ink); color: rgba(250,247,242,.7); border-top: 1px solid rgba(203,184,156,.18); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 2.2rem; }
.site-footer .brand .zh, .site-footer .brand .en { color: var(--c-bg); }
.site-footer .f-links { display: flex; gap: 1.6rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.site-footer .f-links a:hover { color: var(--c-sand); }
.site-footer .copy { font-size: .72rem; letter-spacing: .08em; width: 100%; padding-top: 1.4rem; border-top: 1px solid rgba(203,184,156,.14); color: rgba(250,247,242,.45); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28,25,22,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn { position: absolute; color: #fff; font-size: 2rem; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; opacity: .7; transition: opacity .3s; }
.lb-btn:hover { opacity: 1; }
.lb-close { top: 1.4rem; right: 1.6rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }

/* =========================================================
   Services 服務項目（擴充）
   ========================================================= */
.svc__list { margin-top: 1.2rem; display: grid; gap: .6rem; }
.svc__list li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--c-ink-soft); }
.svc__list li::before { content: "—"; position: absolute; left: 0; color: var(--c-wood); }
.svc__note { margin-top: 1.1rem; font-size: .85rem; color: var(--c-ink-soft); line-height: 1.7; border-top: 1px solid var(--c-line); padding-top: 1rem; }

/* =========================================================
   Process 服務流程
   ========================================================= */
.process__head { max-width: 60ch; margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.process__track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; }
.process__track::before { content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 1px; background: var(--c-line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step__icon {
  width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--c-bg); border: 1px solid var(--c-sand);
  display: flex; align-items: center; justify-content: center; color: var(--c-wood);
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.step:hover .step__icon { background: var(--c-wood); color: #fff; transform: translateY(-4px); }
.step__icon svg { width: 26px; height: 26px; }
.step__no { font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; color: var(--c-wood); }
.step__title { font-family: var(--f-serif); font-size: 1.06rem; margin: .25rem 0 .5rem; letter-spacing: .04em; }
.step__desc { font-size: .8rem; color: var(--c-ink-soft); line-height: 1.6; }

/* =========================================================
   FAQ 常見問題
   ========================================================= */
.faq { background: var(--c-bg-alt); }
.faq__grid { display: grid; grid-template-columns: 0.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--f-serif); font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--c-ink); letter-spacing: .03em;
}
.faq__q .ic { flex: none; width: 22px; height: 22px; position: relative; transition: transform .4s var(--ease); }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--c-wood); transition: opacity .3s; }
.faq__q .ic::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__q .ic::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.open .faq__q .ic::after { opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq__a-inner { padding: 0 0 1.6rem; color: var(--c-ink-soft); line-height: 1.8; }
.faq__a-inner .price { color: var(--c-wood); font-weight: 500; }
.faq__a-inner ul { margin-top: .6rem; display: grid; gap: .4rem; }
.faq__a-inner li { position: relative; padding-left: 1.2rem; }
.faq__a-inner li::before { content: "·"; position: absolute; left: .2rem; color: var(--c-wood); font-weight: 700; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .process__track { grid-template-columns: repeat(4, 1fr); row-gap: 2.6rem; }
  .process__track::before { display: none; }
}
@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: var(--c-bg); transform: translateX(100%); transition: transform .5s var(--ease);
    gap: clamp(1.4rem, 4.5vh, 2.1rem); z-index: 90; padding: 6rem 2rem 3rem; overflow-y: auto;
  }
  body.menu-open .nav { transform: none; }
  .nav a { font-size: 1.3rem; letter-spacing: 0.18em; color: var(--c-ink); }
  .nav a::after { left: 50%; transform: translateX(-50%); }
  .nav-toggle { display: block; z-index: 110; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 420px; }
  .svc-grid { grid-template-columns: 1fr; }
  .work { grid-template-columns: 1fr; }
  .work:nth-child(even) .work__media { order: 0; }
  .contact__layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .process__track { grid-template-columns: repeat(2, 1fr); }
  .brk { display: none; }   /* 手機收掉裝飾性換行，讓文字自然流動 */
}
@media (max-width: 520px) {
  .stats { gap: 1.6rem 2.4rem; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
