/* ==========================================================
   Inner pages: 關於我們 / 服務項目 / 作品案例 / 案例詳情
   Built on top of styles.css (header, footer, buttons, tokens)
   ========================================================== */
.page { padding-top: 64px; font-family: "Inter", "Noto Sans TC", sans-serif; color: #000; }
.page .display { font-family: var(--font-display); font-weight: 400; }
.page-wrap { max-width: 1512px; margin: 0 auto; padding: 0 120px; }
.pixel-mark { display: inline-block; flex: none; width: 20px; height: 20px; background: #000; box-shadow: 10px -10px 0 -5px #000; }
.eyebrow { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; color: #6b6b6b; }
.muted { color: #6b6b6b; }

/* ---- page header (About / Works) ---- */
.page-head { background: #fff; }
.page-head__inner { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 48px; padding-bottom: 56px; }
.page-head__title { font-family: var(--font-display); font-size: clamp(64px, 10vw, 152px); line-height: .85; letter-spacing: -.02em; margin-top: 18px; }
.page-head__sub { display: flex; align-items: center; gap: 24px; margin-top: 28px; font: 700 24px/1.2 "Noto Sans TC", sans-serif; letter-spacing: .18em; }
.page-head__note { font: 15px/28.5px "Noto Sans TC", sans-serif; color: #6b6b6b; text-align: right; }

/* ---- About ---- */
.ab-intro .page-wrap { display: grid; grid-template-columns: 560px 1fr; gap: 80px; align-items: center; padding-top: 64px; padding-bottom: 95px; }
.ab-intro__visual { margin: 0; }
.ab-intro__visual img { width: 100%; aspect-ratio: 560 / 404; object-fit: cover; border-radius: 16px; display: block; }
.ab-intro__cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 9px; }
.ab-intro__cap span:first-child { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; color: #6b6b6b; }
.ab-intro__cap span:last-child { font: 12px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-intro h2 { font: 500 28px/42px "Noto Sans TC", sans-serif; }
.ab-intro p { margin-top: 16px; font: 16px/30.4px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; padding: 24px 0; border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; }
.ab-stats b { display: block; font: 500 20px/34px "Noto Sans TC", sans-serif; }
.ab-stats b.display { font-family: var(--font-display); font-size: 28px; line-height: 34px; letter-spacing: .04em; }
.ab-stats > div > span { display: block; margin-top: 8px; font: 13px/20.8px "Noto Sans TC", sans-serif; color: #6b6b6b; }
/* 翻頁鐘效果：字本身像翻頁鐘一樣上下對折翻動（無外框；翻片用白底遮住後面的字） */
.ab-stats b.flip-row { display: flex; gap: .04em; font-size: 20px; line-height: 1; }
.flip { --fd: .08s; position: relative; display: inline-block; flex: none; width: 1.02em; height: 1.7em; perspective: 4em; color: #000; font: 500 1em/1 "Noto Sans TC", sans-serif; }
.flip--num { width: .8em; }
.flip--num i { font-family: var(--font-display); font-weight: 400; font-size: 1.4em; letter-spacing: 0; }
.flip__half, .flip__leaf { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #fff; }
.flip__top, .flip__leaf--top { top: 0; }
.flip__bot, .flip__leaf--bot { bottom: 0; }
.flip i { position: absolute; left: 0; right: 0; height: 200%; display: flex; align-items: center; justify-content: center; font-style: normal; }
.flip__top i, .flip__leaf--top i { top: 0; }
.flip__bot i, .flip__leaf--bot i { bottom: 0; }
.flip__leaf { z-index: 2; visibility: hidden; backface-visibility: hidden; }
.flip__leaf--top { transform-origin: 50% 100%; }
.flip__leaf--bot { transform-origin: 50% 0; transform: rotateX(90deg); }
.flip.is-flipping .flip__leaf { visibility: visible; }
.flip.is-flipping .flip__leaf--top { animation: flipTop var(--fd) ease-in forwards; }
.flip.is-flipping .flip__leaf--bot { animation: flipBot var(--fd) ease-out var(--fd) forwards; }
@keyframes flipTop { to { transform: rotateX(-90deg); } }
@keyframes flipBot { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }

.ab-split .page-wrap { display: grid; grid-template-columns: 480px 1fr; gap: 80px; padding-top: 88px; padding-bottom: 88px; }
.ab-split--gray { background: #f6f6f6; }
.ab-split--story .page-wrap { grid-template-columns: 480px 180px 1fr; gap: 32px 32px; }
.ab-split__label { font-family: var(--font-display); font-size: 24px; line-height: 28.8px; letter-spacing: .04em; color: #6b6b6b; }
.ab-split h2 { margin-top: 24px; font: 500 38px/60.8px "Noto Sans TC", sans-serif; }
.ab-sign { display: flex; align-items: center; gap: 24px; margin-top: 24px; font: 16px/30.4px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-sign img { width: 47px; height: 47px; }
.ab-story__img { width: 180px; height: 240px; object-fit: cover; border-radius: 12px; }
.ab-copy p { font: 16px/32px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-copy p + p { margin-top: 32px; }
.ab-quote { margin: 24px 0; padding-left: 17px; border-left: 1px solid #d9d9d9; }
.ab-quote p { font: 16px/32px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-quote p + p { margin-top: 8px; }
.ab-lead { font: 18px/34.2px "Noto Sans TC", sans-serif; color: #000; }
.ab-lead + .ab-lead { margin-top: 8.8px; }
.ab-lead-box { margin-top: 32px; padding-top: 25px; border-top: 1px solid #d9d9d9; }

.ab-section-head { text-align: center; }
/* 區塊標題：以首頁 .section__head 為準（英文 clamp 24–30px、中文 15px） */
.ab-section-head h2 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; letter-spacing: .04em; }
.ab-section-head .zh { margin-top: 6px; font-size: 15px; line-height: 1.5; letter-spacing: .25em; color: #6b6b6b; }
.ab-section-head .lead { margin-top: 56px; font-size: 16px; line-height: 24px; letter-spacing: 2px; }

.ab-expertise { background: #f6f6f6; padding: 64px 0 80px; }
.ab-exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.ab-exp-card img { width: 100%; aspect-ratio: 300 / 214; object-fit: cover; border-radius: 16px; display: block; }
.ab-exp-card h3 { margin-top: 24px; font: 500 20px/30px "Noto Sans TC", sans-serif; }
.ab-exp-card p { margin-top: 12px; min-height: 53px; font: 14px/26.6px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-exp-card ul { list-style: none; margin: 24px 0 0; padding: 17px 0 0; border-top: 1px solid #d9d9d9; }
.ab-exp-card li { font: 14px/25.2px "Noto Sans TC", sans-serif; }
.ab-exp-card li + li { margin-top: 9px; }

.ab-process { background: #fff; padding: 64px 0 88px; }
.ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 79px; margin-top: 32px; }
.ab-step { position: relative; padding-top: 30px; border-top: 1px solid #d9d9d9; }
.ab-step img { height: 33px; width: auto; display: block; }
.ab-step h3 { margin-top: 18px; font: 500 20px/30px "Noto Sans TC", sans-serif; }
.ab-step p { margin-top: 16px; font: 14px/26.6px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.ab-step + .ab-step::before { content: ""; position: absolute; left: -46px; top: 85px; width: 13px; height: 10px; background: url(/assets/pages/step-arrow.svg) center / contain no-repeat; }

.ab-commit { background: #000; color: #fff; padding: 120px 0; }
.ab-commit .page-wrap { display: grid; grid-template-columns: 572px 1fr; gap: 80px; }
.ab-commit .ab-split__label { color: #aaa; }
.ab-commit h2 { margin-top: 24px; font: 500 40px/60px "Noto Sans TC", sans-serif; }
.ab-commit p:not(.ab-split__label) { font: 16px/32px "Noto Sans TC", sans-serif; color: #bdbdbd; }
.ab-commit p:not(.ab-split__label) + p { margin-top: 24px; }

.page-cta { background: #fff; padding: 88px 24px 64px; text-align: center; }
.page-cta h2 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); letter-spacing: .04em; }
@media (max-width: 640px) { .ab-section-head h2, .page-cta h2 { font-size: 28px; } }
.page-cta .zh { margin-top: 6px; font: 15px "Noto Sans TC", sans-serif; letter-spacing: .25em; color: #6b6b6b; }
.page-cta p { max-width: 720px; margin: 24px auto 0; font: 16px/30.4px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.page-cta .cta { margin-top: 32px; }

/* ---- Services ---- */
.sv-hero { background: #f6f6f6; position: relative; }
.sv-hero .page-wrap { display: flex; align-items: center; justify-content: center; gap: 127px; padding-top: 84px; padding-bottom: 124px; }
.sv-hero__text { width: 303px; flex: none; }
.sv-hero__title { display: flex; align-items: center; gap: 59px; }
.sv-hero__title h1 { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 42px; }
.sv-hero__title .zh { margin-top: 4px; font-size: 16px; line-height: 24px; letter-spacing: 4px; color: #7a7a7a; }
.sv-hero__text > p { margin-top: 40px; font-size: 14px; line-height: 21px; letter-spacing: 4px; }
.pix-arrows2 { display: flex; gap: 11px; }
.pix-arrows2 svg { width: 22px; height: 33px; fill: #000; }
.sv-hero__img { position: relative; width: 732px; max-width: 100%; aspect-ratio: 732 / 400; border-radius: 32px; overflow: hidden; background: #111; }
.sv-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-hero__img b { position: absolute; left: 32px; bottom: 34px; font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 60px; color: #fff; }
.sv-hero__img .pix { position: absolute; right: 0; top: 152px; width: 44px; height: 77px; }
/* 方塊動態：像打字機一樣一格一格出現、停留，再一格一格消失，循環 */
.pix-arrows2 rect, .sv-hero__img .pix rect { animation: pxBuild 3.6s steps(1, end) infinite both; }
.pix-arrows2 svg:nth-child(1) rect:nth-child(1) { animation-delay: 0s; }
.pix-arrows2 svg:nth-child(1) rect:nth-child(2) { animation-delay: .12s; }
.pix-arrows2 svg:nth-child(1) rect:nth-child(3) { animation-delay: .24s; }
.pix-arrows2 svg:nth-child(2) rect:nth-child(1) { animation-delay: .36s; }
.pix-arrows2 svg:nth-child(2) rect:nth-child(2) { animation-delay: .48s; }
.pix-arrows2 svg:nth-child(2) rect:nth-child(3) { animation-delay: .6s; }
.sv-hero__img .pix rect { animation-duration: 4.2s; }
.sv-hero__img .pix rect:nth-child(1) { animation-delay: .8s; }
.sv-hero__img .pix rect:nth-child(2) { animation-delay: .32s; }
.sv-hero__img .pix rect:nth-child(3) { animation-delay: .48s; }
.sv-hero__img .pix rect:nth-child(4) { animation-delay: .72s; }
.sv-hero__img .pix rect:nth-child(5) { animation-delay: .16s; }
.sv-hero__img .pix rect:nth-child(6) { animation-delay: .4s; }
.sv-hero__img .pix rect:nth-child(7) { animation-delay: .56s; }
.sv-hero__img .pix rect:nth-child(8) { animation-delay: .64s; }
.sv-hero__img .pix rect:nth-child(9) { animation-delay: .24s; }
.sv-hero__img .pix rect:nth-child(10) { animation-delay: 0s; }
@keyframes pxBuild { 0% { opacity: 0; } 4% { opacity: 1; } 78% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pix-arrows2 rect, .sv-hero__img .pix rect { animation: none; } }
.sv-hero__line { position: absolute; left: calc(50% + 268px); bottom: 0; width: 1px; height: 72px; background: #000; }

.sv-cards { position: relative; overflow: hidden; background: #fff; padding: 72px 24px; }
/* 背景動態：canvas 繪製的音波（pages.js），由上往下流動 */
.sv-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sv-cards .sv-grid { position: relative; z-index: 1; }
.sv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 411px)); gap: 20px; justify-content: center; }
.sv-card { background: rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,.15); padding: 24px; min-height: 274px; }
.sv-card__head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.sv-card__icon { order: 2; flex: none; width: 52px; height: 52px; border: 1px solid #7a7a7a; border-radius: 50%; display: grid; place-items: center; }
.sv-card__icon img { width: 24px; height: 24px; object-fit: contain; }
.sv-card h2 { font-weight: 700; font-size: 24px; line-height: 36px; letter-spacing: 2px; }
.sv-card .en { margin-top: 4px; font-size: 12px; line-height: 18px; letter-spacing: 2px; color: #7a7a7a; }
.sv-card > p { margin-top: 20px; font-size: 14px; line-height: 21px; letter-spacing: 2px; color: #7a7a7a; }
.sv-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid #cdcdcd; }
.sv-card li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 100px; background: #000; color: #fff; font-size: 12px; line-height: 20px; }
.sv-card li::before { content: ""; width: 12px; height: 12px; background:
  linear-gradient(#fff, #fff) 0 0 / 6px 6px no-repeat, linear-gradient(#fff, #fff) 6px 6px / 6px 6px no-repeat; }

/* 卡片 hover：浮起、變亮，圖示圓圈反黑 */
.sv-grid .sv-card { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s, background .5s; }
.sv-card__icon { transition: background .35s, border-color .35s, transform .5s cubic-bezier(.22,1,.36,1); }
.sv-card__icon img { transition: filter .35s; }
.sv-card ul { transition: border-color .35s; }
@media (hover: hover) {
  .sv-grid .sv-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.75); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
  .sv-card:hover .sv-card__icon { background: #000; border-color: #000; transform: rotate(-10deg) scale(1.06); }
  .sv-card:hover .sv-card__icon img { filter: brightness(0) invert(1); }
  .sv-card:hover ul { border-color: #9a9a9a; }
}
.sv-cta { background: #000; color: #fff; padding: 88px 0 72px; overflow: hidden; }
.sv-cta__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .3em; color: #7a7a7a; }
.sv-cta__eyebrow::before { content: ""; width: 8px; height: 8px; background: #fff; }
.sv-cta__mq { margin-top: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sv-cta__track { display: flex; width: max-content; animation: svMq 32s linear infinite; }
.sv-cta__mq:hover .sv-cta__track { animation-duration: 64s; }
.sv-cta__track > span { display: flex; align-items: center; gap: 56px; padding-right: 56px; font-family: var(--font-display); font-size: 80px; line-height: 1.05; letter-spacing: 2px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.sv-cta__track em { font-style: normal; color: #8a8a8a; -webkit-text-stroke: 0; }
.sv-cta__track .px { display: grid; grid-template-columns: repeat(3, 16px); grid-auto-rows: 16px; }
.sv-cta__track .px i { background: #cdcdcd; }
@keyframes svMq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sv-cta__track { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.sv-cta__zh { font-size: 22px; line-height: 1.4; letter-spacing: 8px; }
.sv-cta__right { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sv-cta__right p { max-width: 360px; font-size: 14px; line-height: 24px; letter-spacing: 2px; opacity: .6; }
.btn-ghost { flex: none; width: 200px; height: 48px; font-size: 16px; }

/* ---- Works list ---- */
.wk-section { background: #f6f6f6; border-top: 1px solid #d9d9d9; padding: 48px 0 64px; }
.wk-tabs { display: flex; border-bottom: 1px solid #d9d9d9; overflow-x: auto; scrollbar-width: none; }
.wk-tabs::-webkit-scrollbar { display: none; }
.wk-tab { position: relative; flex: 1 0 0; min-width: 192px; padding: 16px 16px 22px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.wk-tab b { display: block; font: 400 18px/24px "Noto Sans TC", sans-serif; letter-spacing: .3px; color: #666; transition: color .2s; }
.wk-tab span { display: block; margin-top: 8px; font: 11px/20px "Noto Sans TC", sans-serif; letter-spacing: .6px; color: #888; }
.wk-tab::after { content: ""; position: absolute; left: 16px; bottom: -1px; width: 160px; height: 2px; background: #000; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.wk-tab.is-active b { font-weight: 700; color: #000; }
.wk-tab.is-active::before { content: ""; position: absolute; left: 3px; top: 27px; width: 5px; height: 5px; background: #000; }
.wk-tab.is-active::after, .wk-tab:hover::after { transform: scaleX(1); }
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 20px; margin-top: 48px; }
.wk-card { display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; border-bottom: 1px dotted #666; }
.wk-card[hidden] { display: none; }
.wk-card__img { aspect-ratio: 411 / 287; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.15); background: #fff; }
.wk-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.wk-card:hover .wk-card__img img { transform: scale(1.045); }
.wk-card h3 { font-weight: 700; font-size: 18px; line-height: 27px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.tags li { padding: 4px 10px; border: 1px solid #7a7a7a; border-radius: 100px; background: #fff; font: 11px/20px "Noto Sans TC", sans-serif; letter-spacing: .6px; }
.wk-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 48px; }
.wk-more .cta__en { font-family: var(--font-display); font-size: 14px; color: #7a7a7a; letter-spacing: .1em; }

/* ---- Case detail ---- */
.cs-section { background: #f6f6f6; border-top: 1px solid #d9d9d9; padding: 48px 0 64px; }
.cs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cs-back { font: 12px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.cs-back:hover { color: #000; }
.cs-head h1 { margin-top: 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 80px); line-height: 1.05; letter-spacing: .01em; }
.cs-head h2 { display: flex; align-items: center; gap: 18px; margin-top: 24px; font: 500 24px/36px "Noto Sans TC", sans-serif; }
.cs-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.cs-tags li { padding: 4px 12px; border: 1px solid #d9d9d9; border-radius: 99px; font: 12px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.cs-head__note { font: 14px/28px "Noto Sans TC", sans-serif; color: #6b6b6b; text-align: right; }
.cs-gallery { display: grid; grid-template-columns: 1fr 249px; gap: 24px; margin-top: 48px; }
.cs-main { position: relative; aspect-ratio: 990 / 660; border-radius: 16px; overflow: hidden; background: #f5f5f5; }
.cs-main > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.cs-main > .is-on { opacity: 1; }
.cs-thumbs { display: flex; flex-direction: column; gap: 16px; }
.cs-thumb { position: relative; flex: 1; border: 0; padding: 0; border-radius: 17.7px; overflow: hidden; background: #f5f5f5; cursor: pointer; }
.cs-thumb > * { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: opacity .3s; }
.cs-thumb:hover > *, .cs-thumb.is-on > * { opacity: 1; }
.cs-thumb.is-on { outline: 2.2px solid #000; outline-offset: 2px; }
.muri-id { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #eee9dd; color: #243d32; font-family: Arial, sans-serif; text-align: center; }
.muri-id img { width: 10%; aspect-ratio: 1; }
.muri-id b { margin-top: 2%; font-weight: 400; font-size: clamp(14px, 7.5cqw, 72px); letter-spacing: .08em; line-height: 1; }
.muri-id small { display: block; margin-top: 1%; font-size: clamp(5px, 2.3cqw, 22px); letter-spacing: .25em; }
.muri-id em { display: block; margin-top: 1.5%; font-style: normal; font-size: clamp(4px, 2cqw, 19px); }
.muri-id i { display: flex; gap: 6%; width: 22%; justify-content: center; margin-top: 7%; }
.muri-id i span { width: 18%; aspect-ratio: 1; border-radius: 50%; }
.cs-main, .cs-thumb { container-type: inline-size; }
.cs-ctrl { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 24px; }
.cs-ctrl button { width: 40px; height: 40px; border: 1px solid #d9d9d9; border-radius: 20px; background: #fff; font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.cs-ctrl button:hover { background: #000; color: #fff; }
.cs-ctrl span { font: 12px "Noto Sans TC", sans-serif; color: #6b6b6b; min-width: 34px; text-align: center; }
.cs-info { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 96px; margin-top: 48px; }
.cs-info__label { font: 500 16px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.cs-info h3 { margin-top: 20px; font: 500 28px/44.8px "Noto Sans TC", sans-serif; }
.cs-info p { margin-top: 16px; font: 16px/30.4px "Noto Sans TC", sans-serif; color: #6b6b6b; }
.cs-info dl { margin: 0; }
.cs-info dl div { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #d9d9d9; font: 14px/25.2px "Noto Sans TC", sans-serif; }
.cs-info dl div:first-child { padding-top: 0; }
.cs-info dt { color: #6b6b6b; }
.cs-info dd { margin: 0; }
.cs-related { margin-top: 48px; padding-top: 30px; border-top: 1px solid #d9d9d9; }
.cs-related__head { text-align: center; }
.cs-related__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: .04em; }
.cs-related__head p { margin-top: 6px; font: 15px "Noto Sans TC", sans-serif; letter-spacing: .25em; color: #6b6b6b; }
.cs-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; padding: 0 30px; }
.cs-related .wk-card { border-bottom-style: dashed; }
.cs-related .wk-card__img { aspect-ratio: 388 / 291; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.cs-related .tags li { border-color: #7a7a7a; color: #7a7a7a; font-size: 13px; line-height: 13px; }

/* ---- shared ---- */
.page .cta .btn, .wk-more .btn { min-width: 146px; }
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; } }

/* ---- tablet ---- */
@media (max-width: 1200px) {
  .page-wrap { padding: 0 48px; }
  .ab-intro .page-wrap { grid-template-columns: 1fr 1fr; gap: 48px; }
  .ab-split .page-wrap, .ab-commit .page-wrap { grid-template-columns: 1fr 1.3fr; gap: 48px; }
  .ab-split--story .page-wrap { grid-template-columns: 1fr 180px 1.3fr; }
  .ab-exp-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .ab-steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .ab-step + .ab-step::before { display: none; }
  .sv-hero .page-wrap { flex-direction: column; align-items: flex-start; gap: 48px; }
  .sv-hero__text { width: auto; }
  .sv-hero__line { display: none; }
  .sv-cta__row { gap: 48px; }
  .sv-cta__track > span { font-size: 72px; }
  .wk-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-thumbs { flex-direction: row; height: 120px; }
  .cs-info { grid-template-columns: 1fr; gap: 48px; }
  .cs-related__grid { padding: 0; }
}
/* ---- mobile ---- */
@media (max-width: 760px) {
  .page-wrap { padding: 0 20px; }
  .page-head__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 32px; padding-bottom: 40px; }
  .page-head__note { text-align: left; }
  .page-head__sub { font-size: 20px; }
  .ab-intro .page-wrap, .ab-split .page-wrap, .ab-split--story .page-wrap, .ab-commit .page-wrap { grid-template-columns: 1fr; gap: 28px; }
  .ab-intro .page-wrap { padding-top: 32px; padding-bottom: 56px; }
  .ab-split .page-wrap { padding-top: 56px; padding-bottom: 56px; }
  .ab-split h2, .ab-commit h2 { font-size: 28px; line-height: 44px; }
  .ab-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ab-stats b.flip-row { font-size: min(20px, 5.2vw); }
  .ab-exp-grid, .ab-steps { grid-template-columns: 1fr; }
  .ab-commit { padding: 72px 0; }
  .ab-section-head .lead { margin-top: 32px; }
  .sv-hero__img b { font-size: 28px; left: 20px; bottom: 18px; line-height: 1.2; }
  .sv-hero__img .pix { display: none; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-cta { padding: 64px 0 56px; }
  .sv-cta__track > span { font-size: 56px; gap: 32px; padding-right: 32px; }
  .sv-cta__track .px { grid-template-columns: repeat(3, 10px); grid-auto-rows: 10px; }
  .sv-cta__row { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 24px; }
  .sv-cta__zh { font-size: 18px; letter-spacing: 6px; }
  .sv-cta__right { flex-direction: column; align-items: flex-start; gap: 28px; }
  .wk-tab { min-width: 150px; }
  .wk-grid, .cs-related__grid { grid-template-columns: 1fr; }
  .cs-head { flex-direction: column; align-items: flex-start; }
  .cs-head__note { text-align: left; }
  .cs-thumbs { height: 80px; }
}
