/* PEACE Site v84 — 筆記 1+4、slug 比對、數位置中 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --ps-bg: #f5f4f2;
  --ps-bg-soft: rgba(255, 255, 255, 0.92);
  --ps-text: #1a1a1a;
  --ps-muted: rgba(26, 26, 26, 0.55);
  --ps-line: rgba(26, 26, 26, 0.08);
  --ps-accent: #5c5476;
  --ps-blob-c1: #ebe8ef;
  --ps-blob-c2: #e8ecea;
  --ps-blob-c3: #eceae8;
  --ps-theme-h1: 265;
  --ps-theme-h2: 185;
  --ps-max: 1180px;
  --ps-pad: clamp(24px, 5vw, 56px);
  --ps-nav-h: clamp(56px, 8vh, 72px);
  --ps-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: clamp(17px, 1.05vw + 14px, 19px);
  overflow-x: hidden;
  max-width: 100%;
}

body.peace-site {
  margin: 0;
  background: var(--ps-bg);
  color: var(--ps-text);
  font-family: var(--ps-sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.peace-site-main {
  position: relative;
  z-index: 2;
  isolation: isolate;
  max-width: 100%;
  overflow-x: clip;
}

.ps-section {
  isolation: isolate;
}

.ps-section-inner,
.ps-concept-inner,
.ps-hero-layout,
.ps-section-head {
  position: relative;
  z-index: 1;
}

/* ── 變形光暈背景 ── */
.ps-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.ps-bg-base {
  position: absolute;
  inset: 0;
  background: var(--ps-bg);
}

.ps-bg-blobs .ps-blob {
  position: absolute;
  filter: blur(88px);
  opacity: 0.28;
  transition: border-radius 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 1.4s ease;
}

.ps-blob-a {
  left: -8%;
  top: -6%;
  width: 62vmax;
  height: 62vmax;
  background: linear-gradient(-30deg, var(--ps-blob-c1), var(--ps-blob-c2), var(--ps-blob-c3));
}

.ps-blob-b {
  right: -10%;
  bottom: -8%;
  width: 56vmax;
  height: 56vmax;
  background: linear-gradient(40deg, var(--ps-blob-c2), var(--ps-blob-c3), var(--ps-blob-c1));
}

.ps-blob-c {
  left: 26%;
  top: 36%;
  width: 42vmax;
  height: 42vmax;
  background: linear-gradient(120deg, var(--ps-blob-c3), var(--ps-blob-c1));
  opacity: 0.35;
}

/* 區塊切換：blob 只做微幅位移，不大幅變形 */
.ps-shape-hero .ps-blob-a { border-radius: 50%; transform: translate(0, 0) scale(1); }
.ps-shape-hero .ps-blob-b { border-radius: 50%; transform: translate(0, 0); }
.ps-shape-hero .ps-blob-c { border-radius: 50%; transform: scale(1); opacity: 0.35; }

.ps-shape-concept .ps-blob-a { border-radius: 50%; transform: translate(4%, 2%) scale(1.04); }
.ps-shape-concept .ps-blob-b { border-radius: 50%; transform: translate(-3%, 3%) scale(1.02); }
.ps-shape-concept .ps-blob-c { border-radius: 50%; transform: scale(1.05); opacity: 0.3; }

.ps-shape-works .ps-blob-a { border-radius: 50%; transform: translate(3%, -2%) scale(1.06); }
.ps-shape-works .ps-blob-b { border-radius: 50%; transform: translate(-4%, 2%) scale(1.03); }
.ps-shape-works .ps-blob-c { border-radius: 50%; transform: scale(0.98); opacity: 0.28; }

.ps-shape-skills .ps-blob-a { border-radius: 50%; transform: translate(-3%, 3%) scale(0.98); }
.ps-shape-skills .ps-blob-b { border-radius: 50%; transform: translate(3%, -2%) scale(1.05); }
.ps-shape-skills .ps-blob-c { border-radius: 50%; transform: scale(1.06); opacity: 0.3; }

.ps-shape-example .ps-blob-a { border-radius: 50%; transform: translate(2%, 3%) scale(1.04); }
.ps-shape-example .ps-blob-b { border-radius: 50%; transform: translate(-3%, -2%) scale(1.02); }
.ps-shape-example .ps-blob-c { border-radius: 50%; transform: scale(1.04); opacity: 0.28; }

.ps-shape-about .ps-blob-a { border-radius: 50%; transform: translate(0, 2%) scale(1.02); }
.ps-shape-about .ps-blob-b { border-radius: 50%; transform: translate(2%, -2%) scale(1.03); }
.ps-shape-about .ps-blob-c { border-radius: 50%; transform: scale(1.02); opacity: 0.3; }

.ps-shape-faq .ps-blob-a { border-radius: 50%; transform: translate(-2%, 2%) scale(1.03); }
.ps-shape-faq .ps-blob-b { border-radius: 50%; transform: translate(3%, -3%) scale(1.02); }
.ps-shape-faq .ps-blob-c { border-radius: 50%; transform: scale(1.04); opacity: 0.28; }

.ps-shape-contact .ps-blob-a { border-radius: 50%; transform: translate(2%, -2%) scale(1.03); }
.ps-shape-contact .ps-blob-b { border-radius: 50%; transform: translate(-2%, 3%) scale(1.01); }
.ps-shape-contact .ps-blob-c { border-radius: 50%; transform: scale(0.98); opacity: 0.26; }

.ps-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
  z-index: 1;
}

.ps-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 45%, transparent 60%, rgba(245, 244, 242, 0.35) 100%);
}

.ps-lead {
  margin: 12px auto 0;
  max-width: 36em;
  font-family: var(--ps-sans);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.9;
  color: var(--ps-muted);
}

.ps-lead--left {
  margin-left: 0;
  margin-right: 0;
}

/* ── 通用 ── */
.ps-section {
  position: relative;
  padding: clamp(72px, 11vh, 120px) var(--ps-pad);
}

.ps-section-inner {
  width: min(var(--ps-max), 100%);
  margin: 0 auto;
}

.ps-kicker {
  margin: 0 0 10px;
  font-family: var(--ps-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ps-accent);
}

.ps-title {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.ps-section-head {
  margin-bottom: clamp(32px, 5vh, 52px);
}

.ps-section-head--left {
  text-align: left;
  max-width: 36em;
}

.ps-section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ps-section-link {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ps-accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.ps-section-link:hover {
  text-decoration: underline;
}

.ps-section-desc {
  margin: 12px 0 0;
  max-width: 42em;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ps-muted);
}

/* 數據影響力 */
.ps-stats {
  padding-top: clamp(20px, 3vh, 32px);
  padding-bottom: clamp(20px, 3vh, 32px);
}

.ps-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.ps-stats-card {
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 16px;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.ps-stats-num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ps-accent);
}

.ps-stats-num .counter-num {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.ps-stats-label {
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.ps-stats-detail {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ps-muted);
}

/* 現場筆記 / 數位賦能卡片 */
.ps-journal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

/* 現場筆記：左 2×2 小格 + 右大格（與案例區左右相反） */
.ps-journal-spotlight {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.ps-journal-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  min-height: 100%;
}

.ps-journal-card {
  display: block;
  height: 100%;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  background: #e8e6e3;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ps-journal-card:hover,
.ps-journal-card:focus-visible,
.ps-journal-card.is-onimg-open {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ps-journal-card--lead {
  min-height: 100%;
}

.ps-journal-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #e8e6e3;
}

.ps-journal-side .ps-journal-media {
  aspect-ratio: 16 / 10;
  height: auto;
}

.ps-journal-card--lead .ps-journal-media {
  min-height: clamp(280px, 32vw, 400px);
  height: 100%;
}

.ps-digital .ps-journal-media {
  aspect-ratio: 16 / 10;
  height: auto;
}

.ps-journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ps-onimg-card:hover .ps-journal-media img,
.ps-onimg-card:focus-within .ps-journal-media img,
.ps-onimg-card.is-onimg-open .ps-journal-media img {
  transform: scale(1.03);
}

/* 數位賦能：置中、加寬 */
.ps-digital .ps-section-inner {
  max-width: min(1080px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.ps-digital .ps-section-head--split {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.ps-digital .ps-section-head--split > div {
  max-width: 40em;
}

.ps-digital .ps-section-link {
  margin-top: 4px;
}

.ps-digital .ps-journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}


/* 策略聯盟 / 服務客戶橫幅 */
.ps-wide-banner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg-soft);
}

.ps-wide-banner--slim {
  aspect-ratio: 1920 / 400;
}

.ps-wide-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.ps-wide-banner--slim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-wide-banner-placeholder {
  padding: 48px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ps-muted);
}

/* ── 導覽：置頂透明，下滑才白底 ── */
.ps-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(10px, 1.8vw, 16px) var(--ps-pad);
  padding-top: calc(clamp(10px, 1.8vw, 16px) + env(safe-area-inset-top));
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.ps-nav.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--ps-line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ps-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.ps-nav-logo {
  display: block;
  width: clamp(34px, 5vw, 40px);
  height: clamp(34px, 5vw, 40px);
  flex-shrink: 0;
  object-fit: contain;
}

.ps-nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.1;
}

.ps-nav-wordmark strong {
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ps-text);
  white-space: nowrap;
}

.ps-nav-wordmark small {
  font-family: var(--ps-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ps-muted);
  white-space: nowrap;
}

.ps-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.ps-nav-links a {
  font-family: var(--ps-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ps-text);
  opacity: 0.62;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ps-nav-links a:hover { opacity: 1; }

@media (min-width: 768px) {
  .ps-nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .ps-nav {
    justify-content: flex-start;
  }

  .ps-nav.is-solid {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--ps-line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  }

  .ps-nav-links {
    display: none !important;
  }

  .ps-nav-wordmark strong {
    font-size: 0.92rem;
  }
}

/* ── Hero（TPS：上身份／下標語，背景淡圖 + 粒子） ── */
.ps-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
}

.ps-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ps-hero-slider {
  position: absolute;
  inset: 0;
}

.ps-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}

.ps-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.ps-hero-slide-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat var(--slide-img);
  opacity: 1;
  filter: none;
  transform: scale(1.05);
  transition: transform 10s ease, opacity 1.2s ease;
}

.ps-hero-slide.is-active .ps-hero-slide-bg {
  transform: scale(1);
}

.ps-hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 244, 242, 0.82) 0%,
    rgba(245, 244, 242, 0.2) 36%,
    rgba(10, 10, 14, 0.15) 58%,
    rgba(10, 10, 14, 0.62) 100%
  );
}

.ps-hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(48px, 10vh, 120px);
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(clamp(88px, 12vh, 128px) + env(safe-area-inset-top))
    var(--ps-pad)
    clamp(96px, 14vh, 140px);
  pointer-events: none;
}

.ps-hero-top,
.ps-hero-bottom,
.ps-hero-controls,
.ps-hero-copy a {
  pointer-events: auto;
}

.ps-hero-top {
  max-width: min(720px, 100%);
}

.ps-hero-kicker {
  color: var(--ps-accent);
}

.ps-hero-brand {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ps-text);
}

.ps-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35em;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: var(--ps-muted);
  letter-spacing: 0.08em;
}

.ps-hero-tags li {
  display: inline-flex;
  align-items: center;
}

.ps-hero-tags-sep {
  margin: 0 0.35em;
  opacity: 0.45;
}

.ps-hero-bottom {
  position: relative;
  max-width: min(900px, 92vw);
}

.ps-hero-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.ps-hero-copy.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ps-hero-tagline {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(1.5rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.ps-hero-desc {
  margin: 14px 0 0;
  max-width: 32em;
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.2vw, 0.96rem);
  line-height: 1.9;
  color: var(--ps-muted);
}

.ps-btn-hero {
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
}

.ps-btn-hero:hover {
  background: #fff;
  color: var(--ps-text);
  border-color: #fff;
}

.ps-hero-controls {
  position: absolute;
  z-index: 4;
  right: var(--ps-pad);
  bottom: clamp(24px, 4vh, 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.ps-hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ps-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ps-text);
  font-size: 1.1rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ps-hero-index {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

.ps-hero-index button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ps-muted);
  font-family: var(--ps-sans);
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ps-hero-index button.is-active {
  color: var(--ps-text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
}

/* ── Concept（TPS：置中長文） ── */
.ps-concept {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding-top: clamp(48px, 8vh, 80px);
  padding-bottom: clamp(48px, 8vh, 80px);
  text-align: center;
}

.ps-concept-inner {
  width: min(560px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ps-concept-inner p {
  margin: 0 0 1.35em;
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.15vw, 0.96rem);
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--ps-muted);
}

.ps-concept-inner p:first-child {
  font-family: var(--ps-sans);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ps-text);
}

.ps-concept-inner p:last-child { margin-bottom: 0; }

/* ── Spotlight：一大 + 兩小，其餘列表（首頁最多 6） ── */
.ps-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 16px);
  align-items: stretch;
}

.ps-spotlight > *,
.ps-spotlight-side > *,
.ps-list-grid > * {
  min-width: 0;
}

.ps-spotlight-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 16px);
  min-height: 100%;
}

.ps-spotlight-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  min-height: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-spotlight-card:hover,
.ps-spotlight-card:focus-visible {
  transform: translateY(-3px);
}

.ps-spotlight-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.ps-spotlight-card--lead .ps-spotlight-media {
  min-height: clamp(360px, 40vw, 480px);
}

.ps-spotlight-side .ps-spotlight-media {
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
}

.ps-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.ps-spotlight-card:hover .ps-spotlight-media img {
  transform: scale(1.03);
}

.ps-spotlight-media--logo {
  background: #fff;
}

.ps-spotlight-media--logo img {
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.ps-spotlight-card--lead .ps-spotlight-media--logo img {
  object-fit: cover;
  padding: 0;
}

.ps-spotlight-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--ps-accent);
  opacity: 0.35;
  background: #fff;
}

/* 字壓圖上：標題常駐，摘要 hover／點擊 */
.ps-onimg-card {
  position: relative;
}

.ps-onimg-cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(14px, 2vw, 20px);
  box-sizing: border-box;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 6, 10, 0.45) 38%, rgba(6, 6, 10, 0.92) 100%);
  color: #fff;
  pointer-events: none;
}

.ps-onimg-cat {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-onimg-cap h3 {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(0.86rem, 1.05vw, 0.96rem);
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.ps-journal-card--lead .ps-onimg-cap h3,
.ps-spotlight-card--lead .ps-onimg-cap h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.ps-onimg-desc {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
}

.ps-onimg-card--has-desc:hover .ps-onimg-desc,
.ps-onimg-card--has-desc:focus-within .ps-onimg-desc,
.ps-onimg-card--has-desc.is-onimg-open .ps-onimg-desc {
  margin-top: 6px;
  max-height: 4.5em;
  opacity: 1;
}

.ps-onimg-card--has-desc::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ps-onimg-card--has-desc:hover::after,
.ps-onimg-card--has-desc.is-onimg-open::after {
  opacity: 0;
}

/* 成果區：hover 才顯示全文 */
.ps-reveal-cap,
.ps-spotlight-cap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(16px, 2.2vw, 22px);
  background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 12, 0.55) 72%, rgba(6, 6, 10, 0.88) 100%);
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.ps-spotlight-card:not(.ps-reveal-card) .ps-reveal-cap,
.ps-spotlight-card:not(.ps-reveal-card) .ps-spotlight-cap {
  opacity: 1;
  transform: none;
}

.ps-reveal-card:hover .ps-reveal-cap,
.ps-reveal-card:focus-within .ps-reveal-cap,
.ps-reveal-card.is-revealed .ps-reveal-cap {
  opacity: 1;
  transform: translateY(0);
}

.ps-reveal-card:not(.ps-onimg-card)::before {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.ps-reveal-card:hover::before,
.ps-reveal-card:focus-within::before,
.ps-reveal-card.is-revealed::before {
  opacity: 0;
  transform: scale(0.5);
}

.ps-reveal-cat,
.ps-spotlight-cat {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 5px;
}

.ps-reveal-cap h3,
.ps-spotlight-cap h3 {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.ps-spotlight-card--lead .ps-reveal-cap h3,
.ps-spotlight-card--lead .ps-spotlight-cap h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.ps-reveal-desc,
.ps-spotlight-desc {
  margin: 6px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ps-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  margin-top: clamp(14px, 2vw, 18px);
}

.ps-list-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-list-card.ps-reveal-card {
  border: 1px solid var(--ps-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.ps-list-card:hover,
.ps-list-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.ps-list-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ps-bg-soft);
  border-radius: 14px;
}

.ps-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-reveal-card:hover .ps-list-media img,
.ps-reveal-card:focus-within .ps-list-media img,
.ps-reveal-card.is-revealed .ps-list-media img {
  transform: scale(1.04);
}

.ps-list-media--logo {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
}

.ps-list-media--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-list-body {
  padding: 14px 16px 18px;
}

.ps-list-cat {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ps-accent);
  margin-bottom: 6px;
}

.ps-list-body h3 {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
}

.ps-list-body p {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ps-muted);
}

.ps-section-more {
  margin: clamp(18px, 2.5vw, 24px) 0 0;
  text-align: right;
  font-size: 0.88rem;
}

.ps-section-more a {
  color: var(--ps-accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ps-section-more a:hover {
  text-decoration: underline;
}

.ps-works,
.ps-example {
  padding-top: clamp(80px, 11vh, 120px);
}

/* 被看見的成果：文字不溢出格線 */
.ps-example .ps-spotlight-media,
.ps-example .ps-list-media {
  overflow: hidden;
  isolation: isolate;
}

.ps-example .ps-reveal-cap {
  padding: clamp(12px, 1.8vw, 18px);
}

.ps-example .ps-reveal-cat {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-list-grid--awards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-list-card--award.ps-reveal-card {
  border: 1px solid var(--ps-line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.ps-list-card--award .ps-list-media--logo {
  border-radius: 14px;
  min-height: clamp(140px, 18vw, 200px);
}

.ps-list-card--award .ps-reveal-cap {
  border-radius: 0 0 14px 14px;
}

/* ── 六大能力：編號 + SVG icon + 簡短文案 ── */
.ps-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.ps-skill-card {
  padding: clamp(16px, 2.2vw, 20px);
  background: var(--ps-bg-soft);
  border: 1px solid var(--ps-line);
  border-radius: 12px;
}

.ps-skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ps-skill-num {
  font-family: var(--ps-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ps-muted);
}

.ps-skill-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ps-accent);
  background: rgba(92, 84, 118, 0.08);
  border-radius: 10px;
}

.ps-skill-icon svg {
  width: 22px;
  height: 22px;
}

.ps-skill-card h3 {
  margin: 0 0 6px;
  font-family: var(--ps-sans);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 700;
  line-height: 1.4;
}

.ps-skill-card p {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ps-muted);
}

.ps-rings-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  left: 50%;
  top: 58%;
  pointer-events: none;
  visibility: hidden;
}

/* ── About（TPS：左文右圖） ── */
.ps-about-inner {
  text-align: left;
}

.ps-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.ps-about-copy .ps-title {
  margin-top: 0;
}

.ps-about-text {
  margin: 20px 0 0;
  max-width: 34em;
}

.ps-about-text p {
  margin: 0 0 1em;
  font-family: var(--ps-sans);
  font-size: clamp(0.88rem, 1.1vw, 0.96rem);
  line-height: 2;
  color: var(--ps-muted);
}

.ps-about-media {
  margin: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  box-shadow: none;
}

.ps-about-media img,
.ps-about-media video {
  display: block;
  width: 100%;
  height: auto;
}

.ps-about-media .about-media-box {
  width: 100%;
}

.ps-about-media .about-media-box--embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #0e0c18;
}

.ps-about-media .about-media-box--embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ps-about-media .about-media-box--file .about-media-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0e0c18;
}

/* 團隊：翻面卡（正面照 / 背面經歷） */
.ps-team .ps-team-head {
  margin: 0 0 clamp(20px, 3vh, 28px);
  text-align: center;
}

.ps-team-heading {
  margin: 0;
  font-family: var(--ps-sans);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.4;
}

.ps-team-lead {
  margin: 10px auto 0;
  max-width: 36em;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ps-muted);
}

.ps-team-flip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.ps-team-flip {
  perspective: 1000px;
  min-height: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.ps-team-flip-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-team-flip:hover .ps-team-flip-inner,
.ps-team-flip:focus-within .ps-team-flip-inner,
.ps-team-flip.is-flipped .ps-team-flip-inner {
  transform: rotateY(180deg);
}

.ps-team-flip-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--ps-line);
  background: var(--ps-bg-soft);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.ps-team-flip-front img,
.ps-team-flip-back > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ps-team-flip-back > img.is-same-photo {
  filter: saturate(0.35) brightness(0.72);
  transform: scale(1.06);
}

.ps-team-flip-back {
  transform: rotateY(180deg);
}

.ps-team-flip-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 14, 0.78));
  color: #fff;
  text-align: center;
}

.ps-team-badge {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 4px;
}

.ps-team-name {
  display: block;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
}

.ps-team-role {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.ps-team-flip-bio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.15) 0%, rgba(10, 10, 14, 0.82) 68%);
  color: #fff;
  text-align: left;
}

.ps-team-stats {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
}

.ps-team-flip-bio p:last-child {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
  .ps-stats-grid,
  .ps-journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-team-flip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ps-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ps-journal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ps-section-head--split {
    align-items: flex-start;
  }

  .ps-team-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .ps-about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ps-about-media {
    order: -1;
  }

  .ps-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── FAQ ── */
.ps-faq-inner {
  width: min(680px, 100%);
  margin: 0 auto;
  text-align: left;
}

.ps-faq-inner .ps-title {
  text-align: left;
}

.ps-faq-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid var(--ps-line);
}

.ps-faq-item { border-bottom: 1px solid var(--ps-line); }

.ps-faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ps-text);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.ps-faq-icon {
  flex-shrink: 0;
  color: var(--ps-muted);
  transition: transform 0.2s;
}

.ps-faq-item.is-open .ps-faq-icon { transform: rotate(45deg); }

.ps-faq-a {
  padding: 0 0 16px 26px;
}

.ps-faq-a p {
  margin: 0;
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.8;
  color: var(--ps-muted);
}

/* ── Contact（TPS：置中極簡） ── */
.ps-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(56vh, 68vh, 76vh);
  text-align: center;
  padding-bottom: clamp(80px, 12vh, 120px);
}

.ps-contact-inner {
  position: relative;
  z-index: 2;
  max-width: 32em;
}

.ps-contact .ps-kicker {
  margin-bottom: 14px;
}

.ps-contact .ps-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.ps-contact .ps-lead {
  margin-top: 16px;
  font-size: clamp(0.88rem, 1.1vw, 0.96rem);
  line-height: 2;
}

.ps-btn {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 28px;
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  color: var(--ps-text);
  font-family: var(--ps-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.ps-btn:hover {
  border-color: var(--ps-text);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ps-text);
}

/* ── Footer ── */
.ps-footer {
  position: relative;
  z-index: 3;
  background: var(--ps-bg-soft);
  border-top: 1px solid var(--ps-line);
  padding: clamp(40px, 6vw, 64px) var(--ps-pad) 32px;
}

.ps-footer-inner {
  width: min(var(--ps-max), 100%);
  margin: 0 auto;
}

.ps-footer-top {
  margin-bottom: 32px;
}

.ps-footer-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.ps-footer-intro {
  margin: 0;
  max-width: 36em;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.85;
  color: var(--ps-muted);
}

.ps-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .ps-footer-cols { grid-template-columns: 1fr 1fr; }
}

.ps-footer-col strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.ps-footer-col a {
  display: block;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  color: var(--ps-muted);
  text-decoration: none;
  margin-bottom: 8px;
}

.ps-footer-col a:hover { color: var(--ps-text); }

.ps-footer-col p {
  margin: 0;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.85;
  color: var(--ps-muted);
}

.ps-footer-copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--ps-line);
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--ps-muted);
  letter-spacing: 0.06em;
}

/* ── 手機底部 App 導覽列 ── */
.ps-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--ps-line);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.ps-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 8px 2px;
  color: var(--ps-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.ps-bottom-item.is-active {
  color: var(--ps-accent);
  font-weight: 700;
}

.ps-bottom-item.is-active .ps-bottom-icon {
  transform: translateY(-2px) scale(1.06);
}

.ps-bottom-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  transition: transform 0.2s;
}

.ps-bottom-icon svg {
  width: 22px;
  height: 22px;
}

.ps-bottom-label {
  font-size: clamp(0.72rem, 2.6vw, 0.84rem);
  line-height: 1.15;
}

@media (max-width: 767px) {
  .ps-bottom-nav { display: grid; }

  html {
    font-size: 16px;
  }

  body.peace-site {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  /* ── Hero：圖片區 + 獨立控制列（數字不壓在圖上） ── */
  .ps-hero {
    --ps-hero-bar-h: calc(64px + env(safe-area-inset-bottom, 0px));
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 1fr var(--ps-hero-bar-h);
    overflow: hidden;
  }

  .ps-hero-stage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: var(--ps-hero-bar-h);
    z-index: 0;
    height: auto;
  }

  .ps-hero-slider,
  .ps-hero-slide,
  .ps-hero-slide-bg {
    min-height: 100%;
  }

  .ps-hero-layout {
    position: relative;
    grid-row: 1;
    z-index: 2;
    min-height: calc(100dvh - var(--ps-hero-bar-h));
    padding:
      calc(68px + env(safe-area-inset-top))
      var(--ps-pad)
      clamp(20px, 4vh, 32px);
    gap: clamp(24px, 6vh, 44px);
  }

  .ps-hero-brand {
    font-size: clamp(1.45rem, 7.2vw, 2rem);
    line-height: 1.2;
  }

  .ps-hero-tags {
    font-size: 0.8rem;
    line-height: 1.65;
    letter-spacing: 0.05em;
  }

  .ps-hero-tagline {
    font-size: clamp(1.2rem, 5.8vw, 1.65rem);
    line-height: 1.5;
  }

  .ps-hero-desc {
    font-size: 0.86rem;
    line-height: 1.85;
  }

  .ps-hero-controls {
    position: relative;
    grid-row: 2;
    grid-column: 1;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: var(--ps-hero-bar-h);
    margin: 0;
    padding: 8px var(--ps-pad);
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    justify-content: space-between;
    align-self: end;
    background: var(--ps-bg);
    border-top: 1px solid var(--ps-line);
    z-index: 30;
    box-sizing: border-box;
  }

  .ps-hero-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .ps-hero-index {
    flex: 1;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ps-hero-index::-webkit-scrollbar {
    display: none;
  }

  .ps-hero-index button {
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
  }

  .ps-hero-index button.is-active {
    background: rgba(92, 84, 118, 0.1);
  }

  .ps-btn-hero {
    min-height: 48px;
    padding: 12px 22px;
  }

  /* ── 區塊通用 ── */
  .ps-section {
    padding-top: clamp(52px, 9vh, 80px);
    padding-bottom: clamp(52px, 9vh, 80px);
  }

  .ps-section-head {
    margin-bottom: 22px;
  }

  .ps-section-head--left {
    max-width: none;
  }

  .ps-title {
    font-size: clamp(1.3rem, 5.2vw, 1.6rem);
  }

  .ps-kicker {
    font-size: 0.62rem;
  }

  /* ── Concept ── */
  .ps-concept {
    min-height: auto;
    padding-top: clamp(56px, 9vh, 88px);
    padding-bottom: clamp(56px, 9vh, 88px);
  }

  .ps-concept-inner {
    width: 100%;
  }

  .ps-concept-inner p {
    letter-spacing: 0.04em;
    line-height: 1.95;
    font-size: 0.86rem;
  }

  .ps-concept-inner p:first-child {
    font-size: clamp(1rem, 4.4vw, 1.18rem);
    letter-spacing: 0.05em;
  }

  /* ── Spotlight 手機 ── */
  .ps-spotlight {
    grid-template-columns: 1fr;
  }

  .ps-spotlight-side {
    grid-template-rows: auto;
  }

  .ps-spotlight-card--lead .ps-spotlight-media {
    min-height: clamp(220px, 56vw, 300px);
  }

  .ps-spotlight-side .ps-spotlight-media {
    min-height: 160px;
  }

  .ps-journal-spotlight {
    grid-template-columns: 1fr;
  }

  .ps-journal-spotlight .ps-journal-card--lead {
    order: -1;
  }

  .ps-journal-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ps-journal-side .ps-journal-media {
    aspect-ratio: 16 / 10;
  }

  .ps-journal-card--lead .ps-journal-media {
    min-height: clamp(200px, 52vw, 280px);
  }

  .ps-digital .ps-journal-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .ps-reveal-desc,
  .ps-spotlight-desc {
    -webkit-line-clamp: 2;
  }

  .ps-list-grid {
    grid-template-columns: 1fr;
  }

  .ps-section-more {
    text-align: left;
    margin-top: 14px;
  }

  /* ── 六大能力：全寬格線列表 ── */
  .ps-services .ps-section-inner {
    width: 100%;
  }

  .ps-skill-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ps-skill-card {
    padding: 16px;
    border-radius: 10px;
  }

  .ps-skill-card h3 {
    font-size: 0.98rem;
  }

  .ps-skill-card p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  /* ── About ── */
  .ps-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ps-about-media {
    order: -1;
  }

  .ps-team-head {
    margin-top: 28px;
    text-align: left;
  }

  .ps-team-flip-grid {
    gap: 12px;
  }

  /* ── FAQ / Contact ── */
  .ps-faq-inner {
    width: 100%;
  }

  .ps-faq-q {
    font-size: 0.92rem;
    padding: 16px 0;
    gap: 8px;
  }

  .ps-faq-a {
    padding: 0 0 14px 22px;
  }

  .ps-contact {
    min-height: auto;
    padding-bottom: clamp(32px, 6vh, 48px);
  }

  .ps-btn {
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .ps-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  :root {
    --ps-pad: 16px;
  }

  .ps-bottom-label {
    font-size: 0.64rem;
  }

  .ps-bottom-icon svg {
    width: 20px;
    height: 20px;
  }

  .ps-hero-index button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    font-size: 0.78rem;
  }

  .ps-hero-arrow {
    width: 46px;
    height: 46px;
  }

  .ps-team-flip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
