/* 開啟首頁 → 依裝置套用版面 → 依系統偏好控制動態效果。程式設計師：施睿皇｜日期：2026-12-02 23:55（臺北）｜版本：1.0.60｜靜睿設計所 Jingrui Design Studio｜https://www.jingruidesign.com｜更新日誌：1.0.60 隱私宣導置中、區塊滑入動態、階段卡描繪線條、輕量頁首與諮詢專線按鈕。1.0.59 修正成長照片上緣。1.0.58 重整頁尾順序與留白。1.0.57 頁尾標題新增雙色圓點。1.0.56 階段詳情連結沿用識別色。1.0.55 移除首屏轉場。1.0.54 首屏雙弧谷形轉場。1.0.53 首屏加入漏斗柔光轉場。1.0.52 官方資源呼吸光環與紋理。1.0.51 修正卡片滑入時的圓角接縫。1.0.50 精簡頁尾服務名稱。1.0.49 封面與摘要柔光連動。1.0.48 摘要柔光擴散。1.0.47 階段左欄增加柔光。1.0.46 移除階段卡箭頭與拼圖軌道。1.0.45 串接三階段導覽軌道。1.0.44 精簡外部連結提示。1.0.43 拼圖箭頭循環前移。1.0.42 導覽卡拼圖接頭。1.0.41 新增三階段流程指引。1.0.40 區分頁尾主辦、計畫與服務資訊。1.0.39 強化頁尾計畫名稱與簡介。1.0.38 頁尾加入聯絡圖示。1.0.37 修正封面弧邊與緩動。1.0.36 導覽說明留白與分隔線動畫。1.0.35 調整頁尾文字層級與間距。1.0.34 統一背景與動態規格。1.0.33 實心星點與官方資源圖示卡。1.0.32 收整頁尾資訊層級。1.0.31 漣漪星環呼吸動態。1.0.30 重排頁尾品牌、連結與來源資訊。1.0.29 隱私宣導深紫毛玻璃。1.0.28 淺色霧面與區段留白。1.0.27 頁尾識別、階段錯位與隱私宣導。1.0.26 漣漪新增星點。1.0.25 首屏不規則漣漪。1.0.24 新增首屏呼吸圓環。1.0.23 採用 Tabler Icons。1.0.22 詳情條列與右側浮動操作。1.0.21 首屏漸層紙紋、統一字體與交錯封面。1.0.20 移除階段照片橫幅外框。1.0.19 快速導覽沿用詳情橫幅樣式。1.0.18 統一階段圖文與首屏柔光動態。1.0.17 導覽卡柔化圓角及膠囊按鈕。1.0.16 首屏三階段圖文導覽。1.0.15 滿版左圖與同心圓缺角。1.0.14 新增凹角圖文導覽卡。1.0.13 新增三階段圖文版型。1.0.12 補齊外部連結提示與目的地說明。1.0.11 頁首隨捲動縮小。1.0.10 手機和平板導覽改用漢堡選單。1.0.9 新增雙層導覽並重整文字節奏。1.0.8 統一字級與用語，新增入場及操作緩動。1.0.7 移除站內字級調整。1.0.6 內附官方 Logo 並修正圖示對齊。1.0.5 導入官方識別及縮放重排。1.0.4 統一 CSS 圖示與對話選單。1.0.3 採用鳳凰視覺配色與官方頁尾導覽。1.0.2 新增 CSS 圖示與毛玻璃。1.0.1 新增細紙紋底色與浮動氣泡樣式。1.0.0 建立響應式排版、錨點緩動與互動回饋。 */
:root {
  color-scheme: light;
  --ink: #262037;
  --muted: #534758;
  --line: #e0d6e2;
  --forest: #752c69;
  --paper: #fdfbfe;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
a { color: var(--forest); text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1857a4; outline-offset: 4px; }
.wrap { width: min(1120px, 90%); margin-inline: auto; }
.bar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.header { position: sticky; z-index: 2; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header a, .card, .button, .links a { text-decoration: none; }
.header .bar { min-height: 4.1rem; }
.brand { color: var(--ink); font-weight: 760; display: inline-flex; gap: .65rem; align-items: center; }
nav { display: flex; gap: clamp(.65rem, 3vw, 2.1rem); font-size: .91rem; }
nav a:hover { text-decoration: underline; }
.skip { position: fixed; z-index: 5; inset: .5rem auto auto .5rem; padding: .6rem; background: white; transform: translateY(-170%); }
.skip:focus { transform: none; }
.hero { background: #ecf8fa; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 29rem; padding-block: 4.5rem; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 3rem; }
.eyebrow { color: var(--forest); font-size: .86rem; font-weight: 750; letter-spacing: .12em; margin-bottom: .8rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.65rem); letter-spacing: -.055em; }
h1 span { color: #762668; }
.intro { color: var(--muted); margin-block: 1.35rem 1.6rem; max-width: 34ch; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.7rem; background: var(--forest); color: white; font-weight: 700; padding: .7rem 1.1rem; border-radius: .6rem; }
.button:hover { background: #8b3877; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.heading { margin-bottom: 1.6rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.035em; }
.heading > p:last-child { color: var(--muted); margin-top: .55rem; }
.cards, .links { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.green { --tint: #e8f4fa; --accent: #205b82; }
.gold { --tint: #f6e9f3; --accent: #762668; }
.blue { --tint: #faf1dd; --accent: #735419; }
.card { display: block; color: var(--ink); background: var(--tint); border-radius: 1rem; padding: clamp(1.15rem, 2.5vw, 1.8rem); border: 1px solid transparent; transition: transform .22s, border-color .22s; }
.card:hover, .card:focus-visible { border-color: var(--accent); }
.stage { color: var(--accent); font-size: .83rem; font-weight: 790; letter-spacing: .1em; }
.card h3 { font-size: 1.55rem; margin-top: .5rem; }
.card p { margin-block: .55rem 1.3rem; color: var(--muted); }
.more { display: flex; align-items: center; gap: .5rem; justify-content: space-between; color: var(--accent); font-weight: 750; border-top: 1px solid currentColor; padding-top: .7rem; }
.stages { padding-bottom: 3.5rem; display: grid; gap: 2rem; }
.detail { display: grid; grid-template-columns: .95fr 1.25fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.detail.reverse { grid-template-columns: 1.25fr .95fr; }
.reverse .panel { grid-column: 2; grid-row: 1; }
.reverse .tasks { grid-column: 1; grid-row: 1; }
.panel { background: var(--tint); padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1rem; }
.panel h2 { margin-block: .5rem .7rem; }
.panel p, .tasks p, .help { color: var(--muted); }
.tasks h3 { font-size: 1.04rem; }
.tasks p { margin-block: .2rem .75rem; }
.tasks a, details a { font-weight: 700; }
.detail:target .panel { animation: highlight .8s ease-out; }
@keyframes highlight { from { box-shadow: 0 0 0 4px var(--accent); } to { box-shadow: 0 0 0 0 transparent; } }
.resource-bg { background: #edf7fa; }
.links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .65rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); }
.links a:hover { border-color: var(--forest); }
.links a > span:not(.css-icon) { grid-column: 1; color: var(--muted); font-size: .9rem; }
.links .css-icon { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; }
details { border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: .8rem; }
summary { font-weight: 750; cursor: pointer; padding-block: .45rem; }
ol { padding-inline-start: 1.6rem; margin-block: .45rem .8rem; }
.help { margin-bottom: .45rem; }
.footer { background: #431b47; color: white; padding-block: 1.8rem; }
.footer a { color: white; white-space: nowrap; }
.footer p { color: #f3e1f1; font-size: .87rem; }
@media (max-width: 760px) {
  .hero-grid, .cards, .detail, .detail.reverse, .guide { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.8rem; padding-block: 3rem; }
  .reverse .panel, .reverse .tasks { grid-column: auto; grid-row: auto; }
  .detail { gap: 1.2rem; }
  .guide { gap: 0; }
}
@media (max-width: 500px) {
  html { scroll-padding-top: 7rem; }
  .header .bar { align-items: flex-start; flex-direction: column; gap: .25rem; padding-block: .65rem; }
  nav a { display: inline-block; padding-block: .25rem; }
  .links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .detail:target .panel { animation: none; }
  .card { transition: none; }
  .card:hover, .card:focus-visible { transform: none; }
}

/* 用低對比的交錯纖維讓整塊底色保有細紙紋。 */
:root {
  --paper-grain:
    repeating-linear-gradient(113deg, #4a244705 0 1px, transparent 1px 4px),
    repeating-linear-gradient(22deg, #ffffff55 0 1px, transparent 1px 6px),
    radial-gradient(ellipse at 15% 0%, #ffffff45, transparent 68%);
}
.card, .panel { background-image: var(--paper-grain); }
.footer {
  background-image: repeating-linear-gradient(113deg, #ffffff09 0 1px, transparent 1px 4px);
  padding-bottom: max(4.9rem, env(safe-area-inset-bottom));
}
/* 使用瀏覽器原生彈出視窗，支援 Esc 與點擊外部關閉。 */
.quick-actions {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .55rem;
}
.bubble {
  border: 1px solid #e0d4e1;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.bubble {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: 2rem;
  background: #fffbff;
  color: var(--forest);
  box-shadow: 0 3px 15px #42254020;
  text-decoration: none;
}

.bubble:hover { box-shadow: 0 4px 18px #42254040; }
button:focus-visible { outline: 3px solid #1857a4; outline-offset: 4px; }
/* 浮動導覽的霧面底，保留不支援模糊時的高可讀性。 */
.header {
  background: #fff9feef;
}
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .header {
    background: #fff9febb;
    -webkit-backdrop-filter: blur(14px) saturate(125%);
    backdrop-filter: blur(14px) saturate(125%);
  }
}
.quick-actions { flex-direction: column-reverse; gap: 0; }
/* 每個圖示共用 24 單位圖框，保留文字基線與獨立欄位。 */
.css-icon {
  display: inline-block;
  inline-size: 1.15em;
  block-size: 1.15em;
  flex: 0 0 1.15em;
  vertical-align: -.19em;
  background: currentColor;
  -webkit-mask: var(--icon-image) center / contain no-repeat;
  mask: var(--icon-image) center / contain no-repeat;
}
/* 對話氣泡展開同一片面板，聯繫資訊在面板內展開。 */
.quick-contact { margin: 0; padding: 0; border: 0; }
.quick-contact summary { list-style: none; }
.quick-contact summary::-webkit-details-marker { display: none; }
.quick-contact .icon-chevron { margin-inline-start: auto; }
.quick-contact[open] .icon-chevron { transform: rotate(180deg); }
.contact-content { border-top: 1px solid var(--line); padding: .65rem .8rem .45rem; }
.contact-content p { font-size: .85rem; color: var(--muted); }
.contact-phone { display: block; font-size: 1.2rem; font-weight: 750; margin-bottom: .3rem; }
.guide summary { list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary .css-icon { margin-inline-end: .4em; }
.guide details[open] summary .css-icon { transform: rotate(90deg); }

/* 以鳳凰官網的紫、藍、金建立識別，頁尾保留寬鬆的連結間距。 */
.brand { flex-wrap: wrap; column-gap: .5rem; row-gap: .1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.8rem; padding-block: 1rem 1.5rem; }
.footer h2 { font-size: 1.45rem; margin-bottom: .75rem; }
.footer h2 span { display: block; color: #f3dba6; font-size: .93rem; margin-top: .3rem; }
.footer nav { display: grid; align-content: start; gap: .5rem; }
.footer nav h3 { font-size: 1rem; color: #f3dba6; margin-bottom: .25rem; }
.footer a { white-space: normal; }
.footer-phone { display: inline-block; font-size: 1.35rem; font-weight: 750; }
.footer-note { border-top: 1px solid #ffffff38; padding-top: .8rem; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 頁首識別支援小螢幕換行。 */
.brand img { display: block; width: clamp(8rem, 26vw, 15rem); max-width: 100%; height: auto; }
.header .bar, .header nav { flex-wrap: wrap; }
.header nav a { padding-block: .3rem; }
@media (max-width: 600px), (max-height: 480px) {
  .header { position: static; }
  html { scroll-padding-top: 1rem; }
}

/* 字級依頁面標題、區塊標題、小標、內文及補充資訊分層。 */
:root {
  --type-page: clamp(2.3rem, 5vw, 4.65rem);
  --type-section: clamp(1.65rem, 3.3vw, 2.65rem);
  --type-item: clamp(1.15rem, 2vw, 1.45rem);
  --type-body: 1rem;
  --type-meta: .875rem;
  --motion-control: .32s;
  --motion-section: .7s;
  --ease-ui: cubic-bezier(.25, .1, .25, 1);
}
body { font-size: var(--type-body); }
h1 { font-size: var(--type-page); letter-spacing: -.04em; }
h2 { font-size: var(--type-section); }
h3, .card h3, .tasks h3, .footer nav h3 { font-size: var(--type-item); }
.footer h2 { font-size: var(--type-item); }
.stage, .eyebrow, .header nav, .links a > span:not(.css-icon), .contact-content p, .footer p { font-size: var(--type-meta); }
.button, .more, .bubble, summary { font-size: var(--type-body); font-weight: 750; }
/* 頁首載入提示只播放一次，正文可立即操作。 */
.load-line {
  position: fixed; inset: 0 auto auto 0; z-index: 4;
  width: 100%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #286796, #752c69, #b58a42);
  transform-origin: left; animation: load-line .85s var(--ease-ui) both;
}
@keyframes load-line {
  from { transform: scaleX(.06); opacity: .85; }
  80% { transform: scaleX(1); opacity: .85; }
  to { transform: scaleX(1); opacity: 0; }
}
.section-enter { animation: section-in var(--motion-section) var(--ease-ui) both; }
/* 區塊滑入：腳本就緒後才隱藏待入場元素，入場後交還原本的位移與互動效果。 */
.reveal-ready .reveal:not(.is-revealed) { opacity: 0; translate: 0 2.25rem; }
.reveal.is-revealed { animation: reveal-in .9s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0s) backwards; }
@keyframes reveal-in { from { opacity: 0; translate: 0 2.25rem; } to { opacity: 1; translate: 0 0; } }
/* 首屏文字載入時依序滑入。 */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: reveal-in .9s cubic-bezier(.22, 1, .36, 1) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes section-in { from { opacity: .88; translate: 0 .3rem; } to { opacity: 1; translate: 0 0; } }
.button, .card, .links a, .bubble, .header nav a {
  transition: background-color var(--motion-control) var(--ease-ui), border-color var(--motion-control) var(--ease-ui), color var(--motion-control) var(--ease-ui), box-shadow var(--motion-control) var(--ease-ui), transform var(--motion-control) var(--ease-ui);
}
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .header nav a:hover { color: #8b3877; }
}
.button:active, .bubble:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .load-line { display: none; }
  .section-enter, .reveal.is-revealed { animation: none; }
  .reveal-ready .reveal:not(.is-revealed) { opacity: 1; translate: none; }
  .button, .card, .links a, .bubble, .header nav a { transition: none; }
  .button:hover, .button:active, .bubble:active { transform: none; }
}

/* 上層為官方課程捷徑，下層為本頁錨點。 */
.toolbar { border-bottom: 1px solid var(--line); background: #f4eaf480; }
.toolbar nav { display: flex; justify-content: flex-end; gap: .25rem 1.25rem; }
.header .bar { min-height: 5rem; padding-block: .55rem; }
.header nav a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .4rem .45rem; line-height: 1.35; }
.toolbar a { font-size: var(--type-meta); }
.main-nav a { font-size: var(--type-body); font-weight: 650; }
.main-nav { gap: clamp(.25rem, 2vw, 1.25rem); }
@media (min-width: 761px) and (min-height: 481px) {
  html { scroll-padding-top: 9rem; }
}
@media (max-width: 380px) {
  .main-nav a { font-size: var(--type-meta); padding-inline: .15rem; }
}
/* 繁體中文正文使用自然字距，依欄寬控制閱讀行長。 */
body { line-height: 1.75; letter-spacing: .015em; }
h1 { line-height: 1.16; letter-spacing: -.035em; }
h2, h3 { letter-spacing: .005em; line-height: 1.3; }
.intro { max-width: 30ic; margin-block: 1.2rem 1.55rem; }
.heading { margin-bottom: clamp(1.3rem, 3vw, 2rem); }
.heading > p:last-child { margin-top: .55rem; }
.card h3, .panel h2 { margin-top: .4rem; }
.card p { margin-block: .55rem 1.1rem; }
.panel p, .tasks p, .guide p, .guide li { max-width: 34ic; }
.tasks p { margin-block: .23rem 1rem; }
.stage, .eyebrow { letter-spacing: .07em; }
.footer nav a { line-height: 1.5; }
.footer-phone { font-variant-numeric: tabular-nums; }

/* 桌機採雙層導覽，窄螢幕由同一組連結向下展開。 */
.header { display: flex; flex-direction: column; }
.toolbar { order: -1; }
.nav-toggle { display: none; }
@media (max-width: 1100px), (max-width: 1366px) and (pointer: coarse) {
  html { scroll-padding-top: 1rem; }
  .header { position: static; }
  .header .bar { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 4rem; gap: .35rem .6rem; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: .55rem; color: var(--forest); background: var(--paper); cursor: pointer; }
  .header .main-nav, .header .toolbar { display: none; }
  .header.nav-open .main-nav { display: grid; flex-basis: 100%; padding-top: .35rem; border-top: 1px solid var(--line); }
  .header.nav-open .toolbar { display: block; order: 0; border-block: 1px solid var(--line); }
  .nav-open .toolbar nav { justify-content: flex-start; }
  .header nav a { padding-inline: .65rem; }
  .header.nav-open .main-nav, .header.nav-open .toolbar { animation: section-in var(--motion-control) var(--ease-ui) both; }
}
@media (prefers-reduced-motion: reduce) {
  .header.nav-open .main-nav, .header.nav-open .toolbar { animation: none; }
}

/* 捲動時縮短頁首，保留導覽按鈕的點按高度。 */
.header { position: sticky; top: 0; overflow-anchor: none; }
html { scroll-padding-top: 9rem; }
.header .bar { transition: min-height var(--motion-control) var(--ease-ui), padding-block var(--motion-control) var(--ease-ui); }
.header .brand img { transition: width var(--motion-control) var(--ease-ui); }
.header.header-compact .bar { min-height: 3.45rem; padding-block: .2rem; }
.header-compact .brand img { width: clamp(6.35rem, 19vw, 9rem); }
@media (max-width: 1100px), (max-width: 1366px) and (pointer: coarse) {
  html { scroll-padding-top: 4.75rem; }
  .header.nav-open { max-height: min(75dvh, 25rem); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .header .bar, .header .brand img { transition: none; }
}

/* 外部連結可依欄寬換行。 */
.header a[data-external-link] { flex-wrap: wrap; }

/* 快速入口以圓角縮圖呼應下方的階段橫幅。 */
.card { padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); background-image: none; }
.card-photo { display: block; width: 100%; aspect-ratio: 2.1; object-fit: cover; }
.card-copy { padding: clamp(1rem, 2vw, 1.45rem); }
.stages { gap: clamp(3.5rem, 8vw, 6rem); }
.detail { display: block; padding-block: 0; border: 0; }
.stage-banner {
  position: relative;
  isolation: isolate;
  border-radius: clamp(1.1rem, 3vw, 2rem);
}
.stage-banner img { border-radius: inherit; display: block; width: 100%; height: clamp(16rem, 32vw, 23rem); object-fit: cover; }
.stage-caption {
  position: absolute;
  inset: auto auto -1px -1px;
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: calc(100% - 1rem);
  padding: .75rem clamp(1rem, 3vw, 2rem) .55rem;
  border-start-end-radius: 1.5rem;
  background: var(--paper);
}
.stage-caption::before, .stage-caption::after {
  content: ""; position: absolute; width: 1.2rem; height: 1.2rem;
  background: radial-gradient(circle at 100% 0, transparent 69%, var(--paper) 72%);
}
.stage-caption::before { bottom: 100%; left: 0; }
.stage-caption::after { bottom: 0; left: 100%; }
.stage-caption .css-icon { color: var(--accent); font-size: 1.4rem; }
.stage-caption h2 { font-size: clamp(1.35rem, 3vw, 2.25rem); }
.stage-summary { color: var(--accent); font-size: var(--type-item); font-weight: 700; margin-block: 1rem 1.25rem; }
.detail .tasks { max-width: 68rem; }
.detail .tasks p { max-width: 46ic; }
@media (max-width: 600px) {
  .stage-banner img { height: clamp(12rem, 54vw, 18rem); }
  .stage-caption { gap: .55rem; }
}


/* 快速導覽共用詳情的照片橫幅與左下嵌入式標題。 */
#journey .cards { gap: 1.15rem; position: relative; isolation: isolate; }
/* 階段描繪線條：穿過三張階段卡背後，依捲動進度由左至右畫出。 */
html, body { overflow-x: clip; }
.journey-line {
  position: absolute; z-index: -1; top: -42%; left: calc(50% - 50vw);
  width: 100vw; height: 112%;
  overflow: visible; pointer-events: none;
}
.journey-line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey-line-main { stroke: url(#journey-line-main); stroke-width: clamp(14px, 2vw, 26px); opacity: .55; }
.journey-line-sub { stroke: url(#journey-line-sub); stroke-width: clamp(6px, .9vw, 11px); opacity: .6; }
.journey-line.is-drawing path { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--line-progress, 0)); }
.journey-line.is-drawing .journey-line-sub { stroke-dashoffset: calc(1 - min(1, var(--line-progress, 0) * 1.12)); }
/* 窄版三張卡改為直排，線條會壓過說明文字，故不顯示。 */
@media (max-width: 760px) {
  .journey-line { display: none; }
}
#journey .card { display: flex; flex-direction: column; background: transparent; border: 0; overflow: visible; }
#journey .card-photo { height: clamp(10.5rem, 18vw, 15rem); aspect-ratio: auto; }
#journey .stage-caption { padding: .5rem .85rem .48rem; gap: .4rem; }
#journey .stage-caption::before { bottom: calc(100% - 1px); }
#journey .stage-caption::after { left: calc(100% - 1px); }
#journey .stage-caption .css-icon { font-size: 1.1rem; }
#journey .stage-caption h3 { margin: .12rem 0 0; font-size: var(--type-item); }
.quick-stage-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-inline: .2rem; }
#journey .card p { margin-block: clamp(1.2rem, 2.2vw, 1.8rem) 1rem; font-size: var(--type-meta); }
#journey .more { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: auto; padding: .35rem .75rem; border: 1px solid currentColor; border-radius: 999px; font-size: var(--type-meta); }
#journey .card:hover .more, #journey .card:focus-visible .more { background: var(--tint); }
@media (max-width: 760px) {
  #journey .card-photo { height: clamp(11rem, 46vw, 17rem); }
}
/* 首屏以三個曲線照片入口呈現創業階段。 */
.hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); }
.hero-stages { position: relative; display: block; aspect-ratio: 1.15; }
.hero-stage {
  position: absolute;
  display: grid;
  align-content: end;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(.9rem, 2.4vw, 1.65rem);
  color: white;
  text-decoration: none;
  background: #431b47;
  transition: translate .38s var(--ease-ui);
}
.hero-stage img, .hero-stage::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-stage img { object-fit: cover; }
.hero-stage::after { content: ""; background: linear-gradient(0deg, #24142dee 0%, #24142d8c 27%, transparent 62%); }
.hero-stage-prepare { top: 0; right: 0; width: 58%; height: 42%; border-radius: 46% 54% 30% 36% / 55% 61% 29% 35%; --stage-shift: -4px; }
.hero-stage-launch { top: 25%; left: 0; width: 39%; height: 64%; border-radius: 52% 39% 52% 45% / 34% 48% 41% 55%; --stage-shift: 4px; }
.hero-stage-grow { bottom: 0; right: 3%; width: 54%; height: 51%; border-radius: 56% 43% 48% 36% / 50% 50% 51% 43%; --stage-shift: -4px; }
.hero-stage-copy { display: grid; grid-template-columns: 1fr auto; justify-self: center; align-items: center; column-gap: .3rem; max-width: 100%; line-height: 1.35; }
.hero-stage-copy strong { grid-column: 1; font-size: clamp(1.12rem, 2.2vw, 1.65rem); }
.hero-stage-copy > span:not(.css-icon) { grid-column: 1; font-size: .84rem; }
.hero-stage-copy .css-icon { grid-column: 2; grid-row: 1 / 3; }
.hero-stage:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .hero-stage:hover { translate: 0 var(--stage-shift); }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stages { width: min(100%, 35rem); justify-self: center; }
}
@media (max-width: 440px) {
  .hero-stages { aspect-ratio: auto; display: grid; gap: .65rem; }
  .hero-stage { position: relative; inset: auto; width: 100%; height: auto; min-height: 7.5rem; border-radius: 1.15rem; align-content: end; }
  .hero-stage-copy { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage { transition: none; }
  .hero-stage:hover { translate: none; }
}

/* 首屏用留白、凝聚的標題與階段照片構成。 */
.hero {
  position: relative;
  isolation: isolate;
  background:
    var(--ambient-washes),
    linear-gradient(135deg, #fbf6fc, var(--paper) 55%, #f5fafc);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.23'/%3E%3C/svg%3E");
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 25rem 19rem at var(--light-x, 24%) var(--light-y, 34%), #ead5ef9e, transparent 100%);
  opacity: .28;
  transition: opacity .35s var(--ease-ui);
}
.hero.hero-tracking::before { opacity: .86; }
.hero-grid { width: min(1240px, 90%); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-copy h1 {
  font-size: clamp(1.8rem, 3.85vw, 3.65rem);
  line-height: 1.28;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero-copy h1 span { display: block; color: var(--ink); }
.hero-copy h1 span + span { color: var(--forest); margin-top: .12em; }
.hero-copy .intro { max-width: 29ic; margin-block: 1.3rem 1.55rem; }
.hero-copy .button { border-radius: 999px; padding-inline: 1.25rem; }
.hero-stage { padding-bottom: clamp(1rem, 2.65vw, 2rem); }
.hero-stage-copy {
  background: var(--paper);
  color: var(--accent);
  padding: .5rem .85rem;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.hero-stage-copy strong { font-size: 1.07rem; }
.hero-stage-copy > span:not(.css-icon) { color: var(--muted); font-size: .78rem; }
.stage-caption { border-start-end-radius: 1.55rem; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero-stage { animation: stage-float 12s ease-in-out infinite; }
  .hero-stage-launch { animation-delay: -4s; }
  .hero-stage-grow { animation-delay: -8s; }
  @keyframes stage-float {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(4px); }
  }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { font-size: clamp(1.65rem, 6.4vw, 2.85rem); }
}
@media (max-width: 440px) {
  .hero-stage { padding-bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { transition: none; }
}

/* 共用字重與間距語意，階段標題沿用區塊標題字級。 */
:root { --space-tight: .5rem; --space-related: 1rem; --space-group: 1.5rem; }
body { line-height: 1.72; letter-spacing: .012em; }
button, input, select { font-family: inherit; }
h1, h2, h3 { font-weight: 750; }
h2, h3 { line-height: 1.3; letter-spacing: 0; }
.hero-copy .intro { margin-block: var(--space-related) var(--space-group); }
.stage-caption h2 { font-size: var(--type-section); }
.stage-summary { margin-block: var(--space-related) var(--space-group); }
.detail .tasks p { margin-block: var(--space-tight) var(--space-related); }
/* 第二階段鏡射標題與柔和接角，保持文字本身的閱讀方向。 */
.stage-banner-right .stage-caption {
  inset: auto -1px -1px auto;
  border-start-end-radius: 0;
  border-start-start-radius: 1.55rem;
}
.stage-banner-right .stage-caption::before { left: auto; right: 0; transform: scaleX(-1); }
.stage-banner-right .stage-caption::after { left: auto; right: 100%; transform: scaleX(-1); }

/* 左欄保留階段要點，右欄以詞條及說明形成逐列閱讀節奏。 */
.stage-details { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: clamp(1.5rem, 4vw, 3rem); }
.stage-details .stage-summary { margin: 0; }
.tasks dl { margin: 0 0 1rem; }
.task-row { display: grid; grid-template-columns: minmax(5.5rem, auto) 1fr; column-gap: 1rem; }
.task-row dt { padding-block: .65rem; font-weight: 750; }
.task-row dd { margin: 0; padding-block: .65rem; border-bottom: 1px solid var(--line); color: var(--muted); }
@media (max-width: 760px) { .stage-details { grid-template-columns: minmax(0, 1fr); gap: .75rem; } }
/* 右側直式操作列，以分隔線區分兩個入口。 */
.quick-actions { inset: auto 0 16% auto; display: grid; gap: 0; padding: .6rem .38rem; border-radius: .95rem 0 0 .95rem; background: var(--paper); box-shadow: 0 5px 27px #42254020; }
.quick-actions .bubble { display: flex; flex-direction: column; gap: .4rem; align-items: center; justify-content: center; min-width: 44px; padding: .55rem .2rem; border: 0; border-radius: .4rem; box-shadow: none; background: transparent; }
.quick-actions .bubble:hover { background: #f4eaf4; box-shadow: none; }
.rail-label { writing-mode: vertical-rl; letter-spacing: .12em; font-size: var(--type-meta); }
.quick-contact { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.contact-content { position: absolute; bottom: 0; right: calc(100% + .5rem); width: min(16rem, calc(100vw - 4.5rem)); padding: .85rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); box-shadow: 0 5px 27px #42254020; }

/* Tabler Icons 3.55.0，MIT 授權。見 licenses/tabler-icons.txt。 */
.icon-up { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-arrow-up%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M12%205l0%2014%22%20%2F%3E%20%3Cpath%20d%3D%22M18%2011l-6%20-6%22%20%2F%3E%20%3Cpath%20d%3D%22M6%2011l6%20-6%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-down { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-chevron-down%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M6%209l6%206l6%20-6%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-external { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-arrow-up-right%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M17%207l-10%2010%22%20%2F%3E%20%3Cpath%20d%3D%22M8%207l9%200l0%209%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-next { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-chevron-right%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M9%206l6%206l-6%206%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-phone { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-phone%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M5%204h4l2%205l-2.5%201.5a11%2011%200%200%200%205%205l1.5%20-2.5l5%202v4a2%202%200%200%201%20-2%202a16%2016%200%200%201%20-15%20-15a2%202%200%200%201%202%20-2%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-book { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-book%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2019a9%209%200%200%201%209%200a9%209%200%200%201%209%200%22%20%2F%3E%20%3Cpath%20d%3D%22M3%206a9%209%200%200%201%209%200a9%209%200%200%201%209%200%22%20%2F%3E%20%3Cpath%20d%3D%22M3%206l0%2013%22%20%2F%3E%20%3Cpath%20d%3D%22M12%206l0%2013%22%20%2F%3E%20%3Cpath%20d%3D%22M21%206l0%2013%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-screen { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-device-desktop%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M3%205a1%201%200%200%201%201%20-1h16a1%201%200%200%201%201%201v10a1%201%200%200%201%20-1%201h-16a1%201%200%200%201%20-1%20-1v-10%22%20%2F%3E%20%3Cpath%20d%3D%22M7%2020h10%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2016v4%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2016v4%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-route { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-route%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2019a2%202%200%201%200%204%200a2%202%200%200%200%20-4%200%22%20%2F%3E%20%3Cpath%20d%3D%22M19%207a2%202%200%201%200%200%20-4a2%202%200%200%200%200%204%22%20%2F%3E%20%3Cpath%20d%3D%22M11%2019h5.5a3.5%203.5%200%200%200%200%20-7h-8a3.5%203.5%200%200%201%200%20-7h4.5%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-folder { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-folder%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M5%204h4l3%203h7a2%202%200%200%201%202%202v8a2%202%200%200%201%20-2%202h-14a2%202%200%200%201%20-2%20-2v-11a2%202%200%200%201%202%20-2%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-checklist { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-clipboard-check%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M9%205h-2a2%202%200%200%200%20-2%202v12a2%202%200%200%200%202%202h10a2%202%200%200%200%202%20-2v-12a2%202%200%200%200%20-2%20-2h-2%22%20%2F%3E%20%3Cpath%20d%3D%22M9%205a2%202%200%200%201%202%20-2h2a2%202%200%200%201%202%202a2%202%200%200%201%20-2%202h-2a2%202%200%200%201%20-2%20-2%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2014l2%202l4%20-4%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-menu { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-menu-2%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M4%206l16%200%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2012l16%200%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2018l16%200%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-close { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-x%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M18%206l-12%2012%22%20%2F%3E%20%3Cpath%20d%3D%22M6%206l12%2012%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.nav-toggle .css-icon { font-size: 1.25rem; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: inline-block; }
.header nav a .css-icon { font-size: 1.08em; }
.stage-caption .css-icon, .quick-actions .css-icon { font-size: 1.25rem; }

/* 兩道不規則漣漪錯開向外擴散，保持在照片下方。 */
.hero-stages { isolation: isolate; }
.hero-ripple {
  position: absolute;
  inset: 50% auto auto 53%;
  z-index: -1;
  width: 94%;
  aspect-ratio: 1.05;
  border: 1px solid #a46cad6e;
  border-radius: 46% 54% 49% 51% / 52% 47% 53% 48%;
  box-shadow: 0 0 .8rem #b587c12b, inset 0 0 .8rem #b587c12b;
  pointer-events: none;
  translate: -50% -50%;
  rotate: -12deg;
  opacity: .3;
}
.hero-ripple-far {
  border-radius: 51% 49% 45% 55% / 46% 54% 49% 51%;
  rotate: 13deg;
  scale: .85;
  opacity: .18;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-ripple { animation: stage-ripple 18s ease-in-out infinite; }
  .hero-ripple-far { animation-delay: -9s; }
}
@keyframes stage-ripple {
  0% { scale: .55; opacity: 0; }
  32% { opacity: .62; }
  100% { scale: 1.23; opacity: 0; }
}

/* 階段卡上下錯位，操作以細分隔線及箭頭呈現。 */
@media (min-width: 761px) {
  #journey .cards { align-items: start; }
  #journey .card:nth-child(2) { margin-top: clamp(1.15rem, 3vw, 2.8rem); }
  #journey .card:nth-child(3) { margin-top: .55rem; }
}
#journey .more { width: 100%; justify-content: space-between; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; }
#journey .card:hover .more, #journey .card:focus-visible .more { background: transparent; }
/* 官方標誌用原色，灰階浮水印疊在註冊標題後方。 */
.footer-logo { display: block; width: min(12.5rem, 100%); height: auto;  }
.footer-note p { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.guide > .heading { position: relative; isolation: isolate; }
.guide > .heading::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: min(112%, 34rem);
  aspect-ratio: 3;
  z-index: -1;
  background: url("assets/phoenix-logo.png") left bottom / contain no-repeat;
  filter: grayscale(1);
  opacity: .04;
  pointer-events: none;
}
/* 隱私宣導保留清楚的文字與可關閉按鈕。 */
.privacy-banner[hidden] { display: none; }
.privacy-banner {
  position: fixed; z-index: 5; inset: auto max(1rem, 6vw) max(.75rem, env(safe-area-inset-bottom)); 
  display: flex; align-items: center; gap: .85rem 1.1rem;
  padding: .85rem 1rem; border-radius: .65rem;
  color: #fff; background: #351c3a; border: 1px solid #ffffff40;
  box-shadow: 0 6px 24px #321b3130;
}
.privacy-banner { justify-content: center; text-align: center; }
.privacy-banner p { font-size: var(--type-meta); }
.privacy-banner a { color: #fff; }
.privacy-banner button { flex: none; min-height: 44px; padding-inline: .8rem; color: var(--ink); background: var(--paper); border: 0; border-radius: .35rem; cursor: pointer; }
body:has(.privacy-banner:not([hidden])) .quick-actions { bottom: max(16%, 8rem); }
@media (max-width: 520px) {
  .privacy-banner { align-items: center; flex-wrap: wrap; inset-inline: .65rem; }
  .privacy-banner button { margin-inline: auto; }
  body:has(.privacy-banner:not([hidden])) .quick-actions { bottom: max(16%, 12rem); }
}

/* 淺色霧面保留微量紙紋，以深紫文字呈現連結。 */
.footer {
  color: var(--ink);
  background:
    var(--ambient-washes),
    repeating-linear-gradient(118deg, #ffffff32 0 1px, transparent 1px 5px),
    #f4edf5cf;
  border-top: 1px solid #e6dce9;
  backdrop-filter: blur(18px) saturate(115%);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}
.footer a, .footer h2 span, .footer nav h3 { color: var(--forest); }
.footer p { color: var(--muted); }
.footer-note { border-top-color: var(--line); }
@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  .privacy-banner {
    background: #29142bd1;
    -webkit-backdrop-filter: blur(16px) saturate(118%);
    backdrop-filter: blur(16px) saturate(118%);
  }
}
.privacy-banner button { color: var(--forest); border: 1px solid var(--line); }
#journey.section, #phoenix.section { padding-block: clamp(3.1rem, 7vw, 6.5rem); }
.stages { gap: clamp(4.75rem, 9vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
#phoenix .heading { min-height: clamp(13rem, 26vw, 21rem); }
.section-mark { display: inline-block; position: relative; width: .76em; height: .4em; margin-inline-end: .3em; vertical-align: .12em; }
.section-mark::before, .section-mark::after {
  content: ""; position: absolute; top: 0; width: .4em; aspect-ratio: 1; border-radius: 50%;
}
.section-mark::before { left: 0; background: #4c9cc0; z-index: 1; }
.section-mark::after { right: 0; background: var(--forest); }
@media (prefers-reduced-motion: no-preference) {
  .section-mark::before { animation: dots-together 6s ease-in-out infinite; }
  .section-mark::after { animation: dots-together 6s ease-in-out infinite; --dot-shift: -.1em; }
}
@keyframes dots-together { 0%, 100% { translate: 0; } 50% { translate: var(--dot-shift, .1em); } }

/* 頁尾用一致的起始線與字級區分品牌、連結及附註。 */
.footer-grid {
  width: min(90%, 1080px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-block: 0 clamp(1.8rem, 4vw, 3rem);
}
.footer-brand h2 { margin: 0; }
.footer-logo { width: min(11.5rem, 100%); }
.footer-contact { display: grid; justify-items: start; gap: .2rem; margin-top: 1rem; }
.footer-phone { font-size: 1.2rem; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); }
.footer-links nav { min-width: 0; gap: .35rem; }
.footer-links nav h3 { margin: 0 0 .1rem; font-size: 1rem; }
.footer-links nav > a { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; padding-block: .3rem; color: var(--ink); text-decoration: none; font-size: var(--type-meta); }
.footer-links nav > a:hover { text-decoration: underline; }
.footer-links .css-icon { color: var(--forest); align-self: center; }
.footer-note { width: min(90%, 1080px); display: flex; justify-content: space-between; align-items: baseline; gap: .6rem 1.25rem; padding-top: .9rem; font-size: var(--type-meta); }
.footer-note p { display: block; text-align: start; }
.footer-note > a { flex-shrink: 0; }
@media (max-width: 880px) { .footer-note { flex-wrap: wrap; } }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > div { grid-column: auto; }
}
@media (max-width: 460px) {
  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .footer-note > a { flex-shrink: 1; }
}

/* 星環位置固定在各自波紋上，呼吸節奏彼此錯開。 */
.ripple-star {
  position: absolute;
  inset: var(--y) auto auto var(--x);
  width: var(--size);
  aspect-ratio: 1;
  background: #86619e;
  border-radius: 50%;
  box-shadow: 0 0 5px #ab87c888;
  translate: -50% -50%;
  opacity: .56;
}
.ripple-star:nth-child(3n) { background: #5988a6; box-shadow: 0 0 5px #82aec480; }
@media (prefers-reduced-motion: no-preference) {
  .ripple-star { animation: ripple-star-breathe var(--period) ease-in-out var(--delay) infinite; }
}
@keyframes ripple-star-breathe {
  0%, 100% { scale: .7; opacity: .22; }
  48% { scale: 1.2; opacity: .9; }
}

/* 官方資源以導言搭配四張圖示入口。 */
.resource-bg > .resource-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  background: var(--paper);
  border-radius: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 5vw, 4rem);
}
.resource-bg {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: var(--ambient-washes), linear-gradient(145deg, #fcf7fc, var(--paper) 48%, #edf6fa);
}
.resource-intro { margin: 0; }
.resource-intro p { max-width: 24ic; }
.resource-layout .links a {
  grid-template-rows: auto auto auto 1fr;
  background: linear-gradient(155deg, #f0e8f5, #f9f5fa);
  border-color: transparent;
  padding: clamp(.65rem, 2vw, 1.1rem);
}
.resource-layout .links a:nth-child(even) { background: linear-gradient(155deg, #e7f1f6, #f4f8fa); }
.resource-layout .links a:hover { border-color: var(--forest); }
.resource-layout .links .resource-icon {
  grid-column: 1 / -1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(2.9rem, 6vw, 4.5rem);
  aspect-ratio: 1;
  margin-bottom: .85rem;
  background: var(--paper);
  color: var(--forest);
  border-radius: 50%;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
}
.resource-layout .links .resource-icon .css-icon { grid-area: auto; }
.resource-layout .links strong { grid-column: 1; border-top: 1px solid var(--line); padding-top: .55rem; }
.resource-layout .links a > .css-icon { grid-row: 2; margin-top: .55rem; }
@media (max-width: 760px) {
  .resource-bg > .resource-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 500px) {
  .resource-layout .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 首屏、資源區與頁尾共用淡紫及霧藍的環境色。 */
:root {
  --ambient-washes: radial-gradient(ellipse at 12% 12%, #e8d5ed85, transparent 62%),
    radial-gradient(ellipse at 89% 79%, #d1e7f187, transparent 64%);
}
.hero-offscreen :is(.hero-stage, .hero-ripple, .ripple-star) { animation-play-state: paused; }

/* 頁尾欄標、次標與操作列各有固定間距與色階。 */
.footer-grid { row-gap: clamp(2.2rem, 5vw, 3.5rem); }
.footer-contact { margin-top: 1.65rem; gap: .35rem; }
.footer-contact > a:last-child { margin-top: .45rem; }
.footer-links nav { align-content: start; gap: 0; }
.footer-links nav h3 { color: #542555; font-size: 1.2rem; margin: 0 0 .5rem; }
.footer-links nav > a {
  min-height: 2.55rem;
  padding-block: .55rem;
  border-top: 1px solid #67586d25;
}
.footer-links .css-icon { color: #386984; }
.footer-note { padding-top: 1.25rem; }
@media (max-width: 460px) {
  .footer-links { row-gap: 1.7rem; }
}

/* 用階段色覆蓋分隔線，讓顏色從左端延伸。 */
#journey .more { position: relative; }
#journey .more::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: var(--accent);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-section) var(--ease-ui);
}
#journey .card:hover .more::before,
#journey .card:focus-visible .more::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  #journey .more::before { transition: none; }
}

.icon-headset { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-headset%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2014v-3a8%208%200%201%201%2016%200v3%22%20%2F%3E%20%3Cpath%20d%3D%22M18%2019c0%201.657%20-2.686%203%20-6%203%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2014a2%202%200%200%201%202%20-2h1a2%202%200%200%201%202%202v3a2%202%200%200%201%20-2%202h-1a2%202%200%200%201%20-2%20-2v-3%22%20%2F%3E%20%3Cpath%20d%3D%22M15%2014a2%202%200%200%201%202%20-2h1a2%202%200%200%201%202%202v3a2%202%200%200%201%20-2%202h-1a2%202%200%200%201%20-2%20-2v-3%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-clock { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-clock%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M3%2012a9%209%200%201%200%2018%200a9%209%200%200%200%20-18%200%22%20%2F%3E%20%3Cpath%20d%3D%22M12%207v5l3%203%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-files { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-files%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M15%203v4a1%201%200%200%200%201%201h4%22%20%2F%3E%20%3Cpath%20d%3D%22M18%2017h-7a2%202%200%200%201%20-2%20-2v-10a2%202%200%200%201%202%20-2h4l5%205v7a2%202%200%200%201%20-2%202%22%20%2F%3E%20%3Cpath%20d%3D%22M16%2017v2a2%202%200%200%201%20-2%202h-7a2%202%200%200%201%20-2%20-2v-10a2%202%200%200%201%202%20-2h2%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.icon-map-pin { --icon-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-map-pin%22%20%3E%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20%2F%3E%20%3Cpath%20d%3D%22M9%2011a3%203%200%201%200%206%200a3%203%200%200%200%20-6%200%22%20%2F%3E%20%3Cpath%20d%3D%22M17.657%2016.657l-4.243%204.243a2%202%200%200%201%20-2.827%200l-4.244%20-4.243a8%208%200%201%201%2011.314%200%22%20%2F%3E%20%3C%2Fsvg%3E"); }
/* 頁尾聯絡圖示沿文字基線排列。 */
.footer-contact .css-icon { color: var(--forest); margin-inline-end: .22em; }
.footer-contact .icon-external { margin-inline-end: 0; }
.footer-phone .css-icon { font-size: .78em; }

/* 計畫名稱獨立於官方標誌與聯絡資訊。 */
.footer-brand .footer-project-title {
  margin: .65rem 0 .35rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: .07em;
  color: var(--forest);
}
.footer-brand .footer-project-intro { max-width: 28ic; color: #67586d; }

/* 主辦與計畫、聯絡資訊、官方連結採獨立欄位。 */
.footer-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
.footer-grid .footer-contact { margin-top: 0; }
.footer-contact h3 { color: #542555; font-size: 1.2rem; margin: 0 0 .5rem; }
.footer-brand .footer-context { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: #67586d; }
.footer-brand .footer-logo { margin-top: .2rem; }
.footer-brand .footer-project-title { margin-top: .2rem; letter-spacing: .035em; }
@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 摘要左欄用對應階段色的擴散柔光平衡右欄。 */
.stage-details .stage-summary { position: relative; isolation: isolate; }
.stage-details .stage-summary::before {
  content: "";
  position: absolute;
  inset: -7rem -3rem -3.25rem calc(-1 * min(4.5vw, 4rem));
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side at 45% 38%, var(--summary-glow) 0%, color-mix(in srgb, var(--summary-glow) 65%, transparent) 45%, transparent 100%);
}
#prepare { --summary-glow: #c2deed75; }
#launch { --summary-glow: #e1c6e97a; }
#grow { --summary-glow: #efdbad70; }
@media (max-width: 760px) {
  .stage-details .stage-summary::before { inset: -1.25rem -.65rem; }
}

/* 封面和摘要共享滑入狀態，位移只作用於文字和柔光。 */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .stage-summary p, .stage-summary::before {
    transition: transform var(--motion-section) var(--ease-ui);
  }
  .detail:has(> .stage-banner:hover, .stage-summary:hover) .stage-summary p {
    transform: translateY(-4px);
  }
  .detail:has(> .stage-banner:hover, .stage-summary:hover) .stage-summary::before {
    transform: translateY(-12px);
  }
}

/* 圖示圓底外的波紋使用卡片色系，文字區保留平靜底色。 */
.resource-layout .links a {
  --resource-ring: #a274b980;
  --resource-halo: #d6bce363;
  background: radial-gradient(ellipse at 50% 16%, var(--resource-halo), transparent 59%),
    repeating-linear-gradient(117deg, #ffffff3d 0 1px, transparent 1px 5px),
    linear-gradient(150deg, #eee5f4, #faf6fb);
  overflow: hidden;
}
.resource-layout .links a:nth-child(even) {
  --resource-ring: #6298b080;
  --resource-halo: #b7dae66b;
  background: radial-gradient(ellipse at 50% 16%, var(--resource-halo), transparent 59%),
    repeating-linear-gradient(117deg, #ffffff3d 0 1px, transparent 1px 5px),
    linear-gradient(150deg, #e4f0f5, #f6fafb);
}
.resource-layout .links .resource-icon { position: relative; isolation: isolate; }
.resource-icon::before, .resource-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--resource-ring);
  border-radius: 50%;
  pointer-events: none;
  opacity: .35;
}
.resource-icon::after { inset: -8px; opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .resource-layout .links.section-enter .resource-icon::before,
  .resource-layout .links.section-enter .resource-icon::after {
    animation: resource-breathe 6s var(--ease-ui) infinite both;
  }
  .resource-layout .links.section-enter .resource-icon::after { animation-delay: -3s; }
  .resource-layout .links.section-enter a:nth-child(even) .resource-icon::before { animation-delay: -1.4s; }
  .resource-layout .links.section-enter a:nth-child(even) .resource-icon::after { animation-delay: -4.4s; }
}
@keyframes resource-breathe {
  0% { scale: .72; opacity: 0; }
  35% { opacity: .65; }
  100% { scale: 1.3; opacity: 0; }
}

/* 詳情入口的文字、底線與圖示繼承同一階段色。 */
.stage-details .tasks > a { color: var(--accent); text-decoration-color: currentColor; }

/* 頁尾先介紹計畫，再交代主辦單位；平行欄位共用標題留白。 */
.footer-grid { --footer-heading-gap: 1.15rem; --footer-group-gap: 1.5rem; }
.footer-brand { display: grid; align-content: start; gap: var(--footer-group-gap); }
.footer-project, .footer-organizer { display: grid; justify-items: start; gap: .42rem; }
.footer-brand .footer-project-title { margin: 0; line-height: 1.28; }
.footer-brand .footer-project-intro { margin-top: .15rem; line-height: 1.65; }
.footer-brand .footer-logo { margin-top: .05rem; }
.footer-contact h3, .footer-links nav h3 { margin: 0 0 var(--footer-heading-gap); line-height: 1.3; }
.footer-grid .footer-contact { gap: 0; }
.footer-contact > p, .footer-contact > a { line-height: 1.55; }
.footer-contact > :is(p, a) + :is(p, a) { margin-top: .52rem; }
.footer-links nav > a { padding-block: .6rem; }
@media (max-width: 580px) { .footer-grid { row-gap: 2rem; } }

/* 頁首 1.0.60：淺色毛玻璃與留白，品牌下方標示計畫名稱，右側為諮詢專線膠囊按鈕。 */
.header {
  background: #ffffffdb;
  border-bottom: 1px solid #eee5ef;
  box-shadow: 0 10px 30px -24px #351c3a59;
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}
.toolbar { background: transparent; border-bottom: 1px solid #f3edf4; }
.toolbar a { color: var(--muted); }
.toolbar a:hover { color: var(--forest); }
.header .brand { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: .15rem; }
.brand-sub {
  padding-inline-start: 21%;
  color: var(--forest); font-size: .8rem; font-weight: 750; line-height: 1.2; letter-spacing: .3em;
  transition: font-size var(--motion-control) var(--ease-ui);
}
.header-compact .brand-sub { font-size: .7rem; }
.main-nav a { border-radius: 999px; padding-inline: .85rem; }
@media (hover: hover) { .main-nav a:hover { background: #f5ecf5; } }
.header-call {
  display: inline-flex; flex: none; align-items: center; gap: .65rem;
  min-height: 48px; padding: .3rem 1.15rem .3rem .3rem;
  border-radius: 999px; color: #fff; text-decoration: none;
  background: linear-gradient(120deg, #752c69, #8b3877 45%, #286796);
  box-shadow: 0 10px 22px -12px #752c69b3;
  transition: transform var(--motion-control) var(--ease-ui), box-shadow var(--motion-control) var(--ease-ui);
}
.header-call-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: #752c69; background: #fff; }
.header-call-icon .css-icon { font-size: 1.15rem; }
.header-call-text { display: grid; line-height: 1.15; }
.header-call small { font-size: .72rem; font-weight: 650; opacity: .88; letter-spacing: .06em; }
.header-call strong { font-size: 1.05rem; letter-spacing: .04em; }
@media (hover: hover) { .header-call:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px #752c69cc; } }
.header-call:focus-visible { outline: 3px solid #286796; outline-offset: 3px; }
@media (max-width: 1100px), (max-width: 1366px) and (pointer: coarse) {
  .header .brand { order: 0; }
  .header-call { order: 1; margin-inline-start: auto; padding: .2rem; min-height: 44px; }
  .header-call-text { display: none; }
  .nav-toggle { order: 2; }
  .header .main-nav { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .header-call, .brand-sub { transition: none; }
  .header-call:hover { transform: none; }
}
