/* ── 主視覺共用（首頁＋內頁） ── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(88px, 11vh, 140px);
  overflow: clip;
  isolation: isolate;
}
.hero__wind {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 600ms var(--ease-wind);
}
.is-wind-live .hero__wind { opacity: 1; }

/* WebGL 不可用或減少動態時的靜態字：描邊大「風」 */
.hero__glyph-fallback {
  position: absolute; z-index: -2;
  right: -4vw; top: 50%; transform: translateY(-52%);
  font-family: "Songti TC", "PMingLiU", "Noto Serif CJK TC", serif; font-weight: 900; /* 裝飾字用系統襯線，不等字型下載 */
  font-size: min(78vw, 92vh); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 250, .16);
  pointer-events: none; user-select: none;
  transition: opacity 1s var(--m-ease);
}
/* 有 JS 時：描邊字先隱形，定位好才淡入（避免被算成版面位移 CLS） */
.js .hero__glyph-fallback { opacity: 0; }
.js .hero__glyph-fallback.is-placed { opacity: 1; }
.is-wind-ready .hero__glyph-fallback, .js .is-wind-ready .hero__glyph-fallback.is-placed { opacity: 0; }
@media (max-width: 767px) {
  .hero__glyph-fallback { right: -18vw; top: 34%; font-size: 118vw; }
}

.hero__content { position: relative; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-weight: 400;
  font-size: .8rem; letter-spacing: .2em; color: var(--muted);
}
.hero__kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(58, 155, 235, .16); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: .04em; line-height: 1.6; }
.hero__desc { color: var(--muted); max-width: 34em; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hud {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: var(--faint);
}
.hud span { display: inline-flex; align-items: center; gap: 8px; }
.hud b { color: var(--brand); font-weight: 500; min-width: 3.2ch; display: inline-block; font-variant-numeric: tabular-nums; }
.hero__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; }

/* 首次進場（CSS 驅動，不等 JS，不影響 LCP：文字一開始就在畫面上，只做位移） */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-intro] { animation: intro-rise var(--m-cine) var(--ease-wind) both; }
  .hero [data-intro="1"] { animation-delay: 80ms; }
  .hero .hero__display .line > span { animation: intro-line var(--m-cine) var(--ease-wind) both; }
  .hero .hero__display .line:nth-child(1) > span { animation-delay: 140ms; }
  .hero .hero__display .line:nth-child(2) > span { animation-delay: 240ms; }
  .hero [data-intro="2"] { animation: none; }
  .hero [data-intro="3"] { animation-delay: 420ms; }
  .hero [data-intro="4"] { animation-delay: 700ms; }
}
@keyframes intro-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes intro-line { from { transform: translateY(105%) rotate(2deg); } }

/* ── 清單列（案例／文章共用） ───────────────────────────── */
.case-list, .post-list { border-top: 1px solid var(--line); counter-reset: none; }
.row-item { border-bottom: 1px solid var(--line); position: relative; }
.row-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: right;
  transition: transform var(--m-slow) var(--ease-wind);
}
.row-item__link {
  display: grid; align-items: center;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  grid-template-areas: "thumb title arrow" "thumb meta arrow";
  column-gap: 16px; row-gap: 2px;
  padding: 18px 0;
}
.row-item__index { display: none; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--faint); }
.row-item__thumb { grid-area: thumb; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--tile); border: 1px solid var(--line); }
.row-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-row .row-item__thumb img { object-fit: contain; padding: 8px; }
.row-item__title { grid-area: title; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 2.3rem); line-height: 1.3; letter-spacing: -.005em; transition: transform var(--m-slow) var(--ease-wind), color var(--m-base) var(--m-ease); }
.row-item__meta { grid-area: meta; font-size: .8rem; color: var(--muted); letter-spacing: .06em; display: flex; gap: 12px; }
.row-item__read { color: var(--faint); }
.row-item__arrow { grid-area: arrow; color: var(--muted); transition: transform var(--m-base) var(--ease-wind), color var(--m-base) var(--m-ease); }

@media (min-width: 900px) {
  .row-item__link {
    grid-template-columns: 120px minmax(0, 1fr) 220px 40px;
    grid-template-areas: "index title meta arrow";
    padding: clamp(22px, 2.6vw, 38px) 0;
  }
  .row-item__index { display: block; grid-area: index; }
  .row-item__thumb { display: none; }
  .row-item__meta { justify-self: start; }
}
@media (hover: hover) {
  .row-item:hover::after { transform: scaleX(1); transform-origin: left; }
  .row-item:hover .row-item__title { transform: translateX(14px); }
  .row-item:hover .row-item__arrow { color: var(--accent-text); transform: rotate(45deg); }
}


/* ==========================================================================
   內頁元件
   ========================================================================== */

/* ── 內頁主視覺 ───────────────────────────────────────── */
.page-hero { min-height: min(86svh, 900px); padding-bottom: clamp(56px, 8vw, 112px); }
.page-hero--short { min-height: min(64svh, 640px); }
.page-hero__inner { display: grid; gap: 18px; align-content: end; }
.page-hero__title {
  margin-top: 6px;
  max-width: 14em;
  font-family: var(--font-serif); font-weight: 900;
  font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.02em;
}
.page-hero__meta { display: grid; gap: 14px; max-width: 46em; margin-top: 8px; }
.page-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: .04em; line-height: 1.6; }
.page-hero__desc { color: var(--muted); line-height: 1.9; }
.page-hero .hero__actions { margin-top: 10px; }
@media (max-width: 767px) {
  .page-hero { min-height: 74svh; }
  .page-hero .hero__glyph-fallback { top: 30%; font-size: 96vw; right: -12vw; }
}

/* ── 區塊 ─────────────────────────────────────────────── */
.sec { padding: var(--section-y) 0; }
.sec--tight { padding: clamp(64px, 8vw, 120px) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head .section-title { margin-top: 6px; max-width: 16em; }
.sec-head .lead { max-width: 38em; }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
  .sec-head--split .label { grid-column: 1 / -1; }
  .sec-head--split .lead { justify-self: end; }
}
.prose { max-width: 40em; display: grid; gap: 1.1em; color: var(--muted); font-size: 1.05rem; line-height: 1.95; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ── 圖文交錯 ─────────────────────────────────────────── */
.split { display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(72px, 10vw, 160px); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--rev .split__media { order: 2; }
}
.split__body { display: grid; gap: 18px; align-content: start; }
.split__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.2; letter-spacing: -.01em; }
.split__sub { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; margin-top: 8px; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.media__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 24, 48, .72); color: var(--paper);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  backdrop-filter: blur(6px);
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-media-reveal] { clip-path: inset(0 100% 0 0 round var(--radius)); }
}

/* ── 打勾清單（風的短線） ─────────────────────────────── */
.check-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.check-list li {
  position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line);
  line-height: 1.75;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1.45em; width: 18px; height: 2px; border-radius: 2px;
  background: var(--brand);
  box-shadow: 6px -6px 0 -0.5px rgba(58, 155, 235, .45);
}

/* ── 卡片格 ───────────────────────────────────────────── */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card {
  position: relative; overflow: hidden;
  display: grid; align-content: start; gap: 12px;
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--radius);
  background: var(--tile);
  border: 1px solid var(--line);
  transition: border-color var(--m-base) var(--m-ease), transform var(--m-slow) var(--ease-wind);
}
.card__num { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .16em; color: var(--accent-text); }
.card__en { font-family: var(--font-latin); font-style: italic; color: var(--faint); font-size: 1.05rem; letter-spacing: .02em; }
.card__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; }
.card__text { color: var(--muted); line-height: 1.85; }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(58, 155, 235, .12); color: var(--accent-text); }
.card__price { font-family: var(--font-serif); font-weight: 900; font-size: 1.6rem; color: var(--accent-text); }
.card .check-list { margin-top: 6px; }
.card .btn { justify-self: start; margin-top: 8px; }
.card::before {
  content: ""; position: absolute; right: -40%; top: -60%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 155, 235, .18), transparent 65%);
  opacity: 0; transition: opacity var(--m-slow) var(--m-ease);
  pointer-events: none;
}
@media (hover: hover) {
  .card:hover { border-color: rgba(58, 155, 235, .55); transform: translateY(-6px); }
  .card:hover::before { opacity: 1; }
}

/* ── 流程步驟：一條風的路徑串起來 ─────────────────────── */
.steps { position: relative; display: grid; gap: 0; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line);
}
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 0 0 36px; }
.step__dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono); font-size: .75rem; color: var(--accent-text);
}
.step__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; margin-top: 6px; }
.step__text { margin-top: 8px; color: var(--muted); line-height: 1.85; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; }
  .steps::before { left: 0; right: 0; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step { grid-template-columns: 1fr; padding: 0; gap: 18px; }
}
.steps-wrap { position: relative; }
.steps__progress { display: none; }
@media (min-width: 1024px) {
  .steps__progress { display: block; position: absolute; z-index: 1; left: 0; right: 0; top: 22px; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
}

/* ── 成效數字 ─────────────────────────────────────────── */
.metrics { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 6px; }
.metric dt { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
.metric dd { font-family: var(--font-serif); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.05; color: var(--accent-text); }

/* ── 方案價目 ─────────────────────────────────────────── */
.pricing { display: grid; gap: 14px; }
@media (min-width: 960px) { .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.tier { display: grid; grid-template-rows: auto auto 1fr auto; }
.tier__name { font-size: 1rem; font-weight: 700; letter-spacing: .08em; }
.tier__price { font-family: var(--font-serif); font-weight: 900; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.tier__price small { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: .04em; }
.tier--featured { background: var(--brand); color: var(--ink); border-color: transparent; --muted: rgba(11, 24, 48, .72); --line: rgba(11, 24, 48, .18); --accent-text: var(--ink); }
.tier--featured .check-list li::before { background: var(--ink); box-shadow: 6px -6px 0 -0.5px rgba(11, 24, 48, .4); }
.tier--featured .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-fill: var(--paper); --btn-fill-fg: var(--ink); }
.included { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 18px; }
.included__list { display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.included__list li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.included__list li::before { content: "＋"; color: var(--accent-text); font-weight: 700; }
.note { margin-top: 18px; font-size: .85rem; color: var(--faint); }

/* ── 常見問題（details：沒 JS 也能開合，內容可被索引） ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--accent-text); transition: transform var(--m-base) var(--m-ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--muted); line-height: 1.9; max-width: 48em; }

/* ── 諮詢區塊＋表單 ───────────────────────────────────── */
.contact-block__grid { display: grid; gap: clamp(40px, 5vw, 88px); }
@media (min-width: 1024px) { .contact-block__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } }
.contact-block__info { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1024px) { .contact-block__info { position: sticky; top: calc(var(--header-h) + 24px); } }
.nap-list { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.nap-list li { display: flex; gap: 12px; align-items: flex-start; min-height: 36px; padding: 4px 0; color: var(--muted); }
.nap-list .icon { flex: none; margin-top: 4px; color: var(--accent-text); }
.nap-list a:hover { color: var(--fg); }
.contact-block__company, .contact-block__regions { font-size: .9rem; color: var(--faint); }
.line-qr { display: inline-flex; align-items: center; gap: 16px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); justify-self: start; }
.line-qr img { width: 88px; height: 88px; border-radius: 8px; background: #fff; }
.line-qr span { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.line-qr b { color: var(--fg); font-family: var(--font-mono); font-weight: 500; }

.form-card {
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(22px, 3.4vw, 52px);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .28);
}
/* Gravity Forms 外觀（內建 CSS 已停用，這裡全權負責） */
.gform_wrapper { font-size: 1rem; }
.gform_wrapper .gform_fields { display: grid; gap: 22px 18px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.gform_wrapper .gfield { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .gform_wrapper .gform_fields { grid-template-columns: 1fr 1fr; }
  .gform_wrapper .gf_left_half, .gform_wrapper .gfield--width-half:nth-child(odd) { grid-column: 1; }
  .gform_wrapper .gf_right_half, .gform_wrapper .gfield--width-half:nth-child(even) { grid-column: 2; }
}
/* 防垃圾陷阱欄位（honeypot）與隱藏欄位：絕對不能讓真人看到，否則填了會被當垃圾擋掉 */
.gform_wrapper .gform_validation_container, .gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gfield_visibility_hidden, .gform_wrapper .gform_hidden,
.gform_wrapper .gfield.gfield--type-hidden { display: none !important; }
.gform_wrapper .gfield { margin: 0; padding: 0; border: 0; min-width: 0; }
.gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label {
  display: block; margin-bottom: 8px; padding: 0;
  font-size: .875rem; font-weight: 700; letter-spacing: .06em; color: var(--ink);
}
.gform_wrapper .gfield_required { color: var(--brand-deep); margin-left: 4px; font-weight: 500; }
.gform_wrapper .gfield_required .gfield_required_text { font-size: .75rem; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"], .gform_wrapper input[type="number"], .gform_wrapper select, .gform_wrapper textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(11, 24, 48, .16); border-radius: 12px;
  transition: border-color var(--m-fast) var(--m-ease), box-shadow var(--m-fast) var(--m-ease);
  appearance: none; -webkit-appearance: none;
}
.gform_wrapper textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.gform_wrapper select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230b0c0b' stroke-width='1.6'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(58, 155, 235, .18);
}
.gform_wrapper .gfield_radio, .gform_wrapper .gfield_checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.gform_wrapper .gchoice { position: relative; }
.gform_wrapper .gchoice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gform_wrapper .gchoice label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(11, 24, 48, .18); background: #fff;
  font-size: .925rem; cursor: pointer;
  transition: background var(--m-fast) var(--m-ease), border-color var(--m-fast) var(--m-ease), color var(--m-fast) var(--m-ease);
}
.gform_wrapper .gchoice input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gform_wrapper .gchoice input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.gform_wrapper .gfield_description, .gform_wrapper .instruction { font-size: .8rem; color: #57544d; margin-top: 6px; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error textarea { border-color: #c0261a; }
.gform_wrapper .validation_message, .gform_wrapper .gfield_validation_message { margin-top: 6px; font-size: .825rem; color: #b3231a; }
.gform_wrapper .gform_validation_errors { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: #fde8e4; color: #8a1d14; font-size: .9rem; }
.gform_wrapper .gform_footer { margin-top: 28px; padding: 0; }
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"] {
  width: 100%; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--brand); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .08em; cursor: pointer;
  transition: background var(--m-base) var(--m-ease), transform var(--m-fast) var(--m-ease);
}
.gform_wrapper .gform_button:hover { background: var(--brand-deep); color: #fff; }
.gform_wrapper .gform_button:active { transform: scale(.98); }
.gform_wrapper .gform_ajax_spinner { margin-left: 10px; vertical-align: middle; }
.gform_confirmation_message { font-size: 1.05rem; line-height: 1.8; }
.gform_wrapper .ginput_complex { display: grid; gap: 12px; }
.gform_wrapper .screen-reader-text, .gform_wrapper .hidden_label .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── 文章內文 ─────────────────────────────────────────── */
.entry { font-size: 1.075rem; line-height: 2; color: var(--fg); max-width: 46rem; }
.entry > * + * { margin-top: 1.3em; }
.entry h2, .entry h3, .entry h4 { font-family: var(--font-serif); font-weight: 900; line-height: 1.35; letter-spacing: -.005em; scroll-margin-top: calc(var(--header-h) + 24px); }
.entry h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 2.4em; }
.entry h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); margin-top: 1.9em; }
.entry h4 { font-size: 1.15rem; margin-top: 1.6em; }
.entry p, .entry li { color: color-mix(in srgb, var(--fg) 82%, transparent); }
.entry a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry a:hover { text-decoration-thickness: 2px; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .45em; }
.entry li::marker { color: var(--accent-text); }
.entry strong { color: var(--fg); }
.entry img { border-radius: var(--radius-sm); }
.entry figure { margin: 2em 0; }
.entry figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.entry blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--brand);
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.75;
}
.entry table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry th, .entry td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.entry th { font-weight: 700; background: var(--bg-2); }
.entry code { font-family: var(--font-mono); font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--bg-2); }
.entry pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: var(--ink); color: var(--paper); }
.entry hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.entry iframe { max-width: 100%; border-radius: var(--radius-sm); }
/* Easy Table of Contents 外掛的目錄 */
.entry #ez-toc-container {
  width: 100% !important; margin: 2em 0; padding: 22px 26px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: none;
}
.entry #ez-toc-container .ez-toc-title { font-family: var(--font-serif); font-weight: 900; font-size: 1.15rem; color: var(--fg); }
.entry #ez-toc-container a { color: var(--muted); text-decoration: none; }
.entry #ez-toc-container a:hover { color: var(--accent-text); }
.entry #ez-toc-container ul { list-style: none; padding-left: 0; }
.entry #ez-toc-container ul ul { padding-left: 1.2em; }

/* ── 篩選標籤、分頁 ───────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .9rem; letter-spacing: .04em;
  transition: background var(--m-fast) var(--m-ease), color var(--m-fast) var(--m-ease);
}
.chip small { font-family: var(--font-mono); font-size: .7rem; color: var(--faint); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip.is-active small, .chip[aria-pressed="true"] small, .chip[aria-current="page"] small { color: inherit; opacity: .6; }
@media (hover: hover) { .chip:hover { box-shadow: inset 0 0 0 1px var(--fg); } }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 64px); }
.nav-links .page-numbers {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-mono); font-size: .85rem;
}
.nav-links .page-numbers.current { background: var(--fg); color: var(--bg); box-shadow: none; }
.nav-links .page-numbers.dots { box-shadow: none; }
@media (hover: hover) { .nav-links a.page-numbers:hover { box-shadow: inset 0 0 0 1px var(--fg); } }

/* ── 收尾橫幅 ─────────────────────────────────────────── */
.band { padding: clamp(72px, 9vw, 140px) 0; text-align: left; }
.band__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.25; max-width: 18em; letter-spacing: -.01em; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── 瀏覽器框＋實拍截圖 ───────────────────────────────── */
.browser {
  display: block; border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 80px rgba(4, 10, 22, .35);
  border: 1px solid rgba(11, 24, 48, .12);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef2f7; border-bottom: 1px solid #dde4ee; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d3df; }
.browser__url {
  margin-left: 10px; flex: 1; max-width: 60%; height: 18px; border-radius: 6px; background: #fff;
  font-family: var(--font-mono); font-size: .65rem; line-height: 18px; padding: 0 10px; color: #5c6b80;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser__view { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f5f8; }
.browser__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--ease-wind); }

/* 手機框 */
.phone {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: 390 / 844;
  padding: 10px; border-radius: 38px; background: #0a1426;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 40px 90px rgba(4, 10, 22, .55);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #0a1426; z-index: 1; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 29px; background: #fff; }

/* ── 首頁作品展示（兩欄錯位，捲動視差） ───────────────── */
.showcase { display: grid; gap: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 48px); margin-top: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) {
  .showcase { grid-template-columns: 1fr 1fr; }
  .showcase__item:nth-child(even) { margin-top: clamp(80px, 12vw, 200px); }
}
.showcase__link { display: grid; gap: 18px; }
.showcase__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; }
.showcase__index { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text); letter-spacing: .12em; }
.showcase__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.25; text-wrap: balance; }
.showcase__cat { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }
@media (hover: hover) {
  .showcase__link:hover .browser__view img { transform: scale(1.045); }
  .showcase__link:hover .showcase__title { color: var(--accent-text); }
}

/* ── 圖庫照片：品牌藍雙色調（暗部深藍、亮部淺藍），hover 時原色回來 ── */
.media--duo { background: #8fc3f0; isolation: isolate; }
.media--duo img { filter: grayscale(1) contrast(1.08) brightness(1.02); mix-blend-mode: multiply; transition: filter 900ms var(--ease-wind), opacity 900ms var(--ease-wind); }
.media--duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ink); mix-blend-mode: lighten; pointer-events: none; transition: opacity 900ms var(--ease-wind); }
@media (hover: hover) {
  .media--duo:hover img { filter: none; mix-blend-mode: normal; }
  .media--duo:hover::before { opacity: 0; }
}

.gform_wrapper ::placeholder { font-size: .85rem; color: #8592a5; }
/* 卡片 3×2（關於頁 6 大脈絡）；手機改左右滑 */
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cards--3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .cards--3::-webkit-scrollbar { display: none; }
  .cards--3 > .card { flex: 0 0 82%; scroll-snap-align: start; }
}
/* 手機：QR 換成加入 LINE 按鈕（同一支手機掃不了自己） */
.line-join { display: none; }
@media (max-width: 767px) {
  .line-qr { display: none; }
  .line-join { display: inline-flex; justify-self: start; }
}

/* 長截圖：圖片高度自然撐開，由 JS 位移 */
.browser__view.is-long img { height: auto; object-fit: initial; transform: none; }
.browser__view.is-long { position: relative; }

/* SEO 成效數據海報（取代圖庫照）：數字全部來自頁面原文案 */
.poster {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 85% 10%, #15335e, var(--ink) 60%);
  color: var(--paper); display: grid; align-content: end; gap: 6px; padding: clamp(24px, 3vw, 44px);
}
.poster__isobars { position: absolute; inset: -10% -20% auto auto; width: 90%; height: auto; z-index: -1; opacity: .9; }
.poster__isobars path { stroke: rgba(245, 247, 250, .16); }
.poster__isobars path:nth-child(3n) { stroke: rgba(58, 155, 235, .6); }
.poster__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .16em; color: rgba(245, 247, 250, .7); }
.poster__value { font-family: var(--font-serif); font-weight: 900; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .95; letter-spacing: -.03em; color: var(--brand); }
.poster__industry { font-size: 1rem; letter-spacing: .1em; color: rgba(245, 247, 250, .85); }
.card__big { font-family: var(--font-latin); font-size: clamp(3.4rem, 5vw, 4.6rem); line-height: .9; color: var(--accent-text); opacity: .9; }

/* 分類頁：文章列加摘要（保留舊版的可讀文字量） */
.row-item__excerpt { grid-column: 2 / -1; color: var(--muted); font-size: .9rem; line-height: 1.75; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) { .row-item__excerpt { grid-column: 2 / 3; grid-row: 2; -webkit-line-clamp: 2; } }

/* 大字清單（取代制式卡片網格）：編號｜大標｜說明，hover 時標題被風推一下 */
.ilist { border-top: 1px solid var(--line); }
.ilist__item {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px; align-items: baseline;
  padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.ilist__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform var(--m-slow) var(--ease-wind); }
.ilist__num { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .14em; color: var(--accent-text); }
.ilist__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(1.7rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; transition: transform var(--m-slow) var(--ease-wind), color var(--m-base) var(--m-ease); }
.ilist__text { grid-column: 2; color: var(--muted); line-height: 1.9; max-width: 36em; }
.ilist__text .check-list { margin-top: 12px; }
@media (min-width: 1024px) {
  .ilist__item { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .ilist__text { grid-column: 3; }
}
@media (hover: hover) {
  .ilist__item:hover::after { transform: scaleX(1); transform-origin: left; }
  .ilist__item:hover .ilist__title { transform: translateX(14px); color: var(--accent-text); }
}

/* 手機：內頁主視覺代表字佔頂部約 30%，標題提早出現；麵包屑最後一層截斷 */
@media (max-width: 767px) {
  .page-hero, .article-hero.hero { min-height: 0; padding-top: calc(var(--header-h) + 30svh); }
  .crumbs .last { display: inline-block; max-width: 46vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: bottom; }
}

/* 表單頁（聯絡、SEO 健檢）手機：代表字再縮，表單更早出現 */
@media (max-width: 767px) {
  .page-contact .page-hero, .page-health .page-hero { padding-top: calc(var(--header-h) + 25svh); }
}
