:root {
  color-scheme: light;
  --cobalt: #1E4FA8;
  --cobalt-deep: #173E86;
  --navy: #0E1F3F;
  --orange: #FF5A1F;
  --orange-ink: #D8430C;   /* 白底上的橘色文字，對比較足 */
  --white: #FFFFFF;
  --mist: #EEF2F8;
  --line: #D9E0EC;
  --slate: #56647E;
  --radius: 18px;
  /* 英文一律用 Ubuntu（跑馬燈除外）；Ubuntu 沒有中文字，中文自動改用 Noto Sans TC */
  --display: "Ubuntu", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --body: "Ubuntu", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: "Ubuntu", "Noto Sans TC", sans-serif;
  --wrap: min(1180px, 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* 語系切換：預設中文 */
.en { display: none; }
html[data-lang="en"] .en { display: revert; }
html[data-lang="en"] .zh { display: none; }

.wrap { width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ── 導覽列 ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.lockup svg { width: 40px; height: 40px; flex: none; }
/* 中文公司名在上（較大）、英文全名在下（較小） */
.wordmark { font-family: var(--body); font-weight: 700; font-size: 18px; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.wordmark small { display: block; font-family: var(--display); font-weight: 500; font-size: 11.5px; letter-spacing: .02em; margin-top: 6px; color: var(--slate); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { background: var(--mist); }
.lang { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px; padding: 2px; flex: none; }
.lang button { border: 0; background: none; font: 700 13px var(--display); padding: 5px 11px; border-radius: 999px; cursor: pointer; color: var(--navy); }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

/* ── 主視覺：鈷藍底 ── */
.hero { background: var(--cobalt); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding-block: 88px 72px; align-items: end; }
.hero .eyebrow { color: rgba(255, 255, 255, .78); }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 900; letter-spacing: -.02em; margin-top: 18px; }
.hero h1 .en { font-stretch: 112%; }
html[data-lang="en"] .hero h1 { font-size: clamp(34px, 4.2vw, 56px); }   /* Ubuntu 字寬較寬，英文主標縮小，避免一行只放一個字 */
.hero h1 em { font-style: normal; color: var(--orange); }
.nb { display: inline-block; }   /* 中文標題以詞組換行，避免拆開「場館」這類詞 */
.hero-lead { margin-top: 24px; font-size: 18px; max-width: 34em; color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: var(--white); }


/* 事實列 */
.facts { border-top: 1px solid rgba(255, 255, 255, .22); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 22px; gap: 20px; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ── 區塊 ── */
section { scroll-margin-top: 80px; }
.block { padding-block: 96px; }
.block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.big-en { font-family: var(--display); font-size: clamp(48px, 7vw, 92px); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: .95; color: var(--navy); }
.block-head .sub { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--orange-ink); letter-spacing: .08em; }
.block-head .lead { color: var(--slate); max-width: 36em; }

/* 服務：兩欄、無外框、細線分隔；插圖置中並疊一顆圓形箭頭（參考 m-hand） */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 48px 40px 52px; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); }
.svc:nth-child(odd) { border-right: 1px solid var(--line); }
.svc-art { position: relative; width: min(360px, 100%); aspect-ratio: 16 / 10; margin-bottom: 14px; }
.svc-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.svc:hover .svc-art img { transform: scale(1.05); }
.svc-arrow { position: absolute; right: -6px; bottom: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--navy); background: var(--white); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.svc-arrow svg { width: 20px; height: 20px; }
.svc:hover .svc-arrow { background: var(--orange); border-color: var(--orange); color: var(--white); }
.service-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--orange-ink); }
.svc h3 { font-size: 23px; font-weight: 900; }
.svc p { max-width: 26em; color: var(--slate); font-size: 15px; }
/* 服務重點標籤 */
.svc-feats { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 30em; }
.svc-feats li { font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--mist); color: var(--cobalt); }

/* 作品 */
.work-bg { background: var(--mist); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.work:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 31, 63, .12); }
.work-shot { aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; max-width: 100%; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.work-tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--cobalt); }
.work h3 { font-size: 18px; font-weight: 800; }
.work p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.work-url { font-family: var(--mono); font-size: 12px; color: var(--cobalt); margin-top: 4px; overflow-wrap: anywhere; }

/* 關於 */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text { display: grid; gap: 18px; font-size: 17px; }
.about-text p + p { margin-top: 16px; }   /* 段落之間留白 */
.values { display: grid; gap: 14px; }
.value { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: var(--mist); }
.value i { width: 52px; height: 52px; border-radius: 14px; background: var(--cobalt); display: grid; place-items: center; font: 800 20px var(--display); color: var(--white); font-style: normal; }
.value:nth-child(2) i { background: var(--orange); }
.value:nth-child(3) i { background: var(--navy); }
.value h3 { font-size: 18px; font-weight: 800; }
.value p { font-size: 14.5px; color: var(--slate); margin-top: 4px; }
.value i svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }   /* 方塊內為單色線條圖示 */

/* 聯絡：深藍底 */
.contact { background: var(--navy); color: var(--white); }
.contact .big-en { color: var(--white); }
.contact .block-head .sub { color: var(--orange); }
.contact .block-head .lead { color: rgba(255, 255, 255, .75); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-item { border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.contact-item .eyebrow { color: rgba(255, 255, 255, .6); font-size: 11px; }
.contact-item strong { font-family: var(--display); font-size: 20px; font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.copy { justify-self: start; border: 0; background: var(--orange); color: var(--white); font: 700 12.5px var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.copy[data-done] { background: #1F9E6E; }

/* 隱私權政策 */
.policy { max-width: 760px; }
.policy h3 { font-size: 18px; font-weight: 800; margin: 28px 0 8px; }
.policy p, .policy li { color: #33405A; font-size: 15px; }
.policy ul { padding-left: 20px; margin: 0; }
.policy .updated { font-family: var(--mono); font-size: 12px; color: var(--slate); margin-top: 10px; }

/* 頁尾 */
footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 13px; color: var(--slate); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--slate); }


/* ── 插圖與視差 ── */
.px { will-change: transform; }
.deco { position: absolute; display: block; pointer-events: none; }

/* 主視覺右側：簡化的幾何構成 */
.hero .wrap { align-items: center; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 100%; }
.hero-art .badge { position: absolute; left: 24%; top: 22%; width: 50%; z-index: 2; }
.badge-in { display: block; }
.badge-in svg { width: 100%; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 26px 40px rgba(6, 20, 50, .45)); }
.glow { width: 70%; aspect-ratio: 1; border-radius: 50%; left: 15%; top: 15%; background: radial-gradient(circle, rgba(255, 122, 69, .55), rgba(255, 122, 69, 0) 65%); filter: blur(30px); }
.d-ring { width: 84%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); left: 8%; top: 8%; }
.d-ring-sm { width: 30%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .45); left: 2%; bottom: 6%; }
.d-dot { width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); right: 6%; top: 10%; }
.d-dot-navy { width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); left: 14%; top: 14%; }
.d-grid { width: 32%; aspect-ratio: 1; right: 0; bottom: 2%; background-image: radial-gradient(rgba(255, 255, 255, .5) 1.6px, transparent 1.7px); background-size: 14px 14px; }

/* 大字橫幅 + 宣言 */
.statement { background: var(--white); overflow-x: clip;   /* 只裁左右，讓模糊色光往下自然淡出，不留硬邊 */ padding-block: 72px 88px; position: relative; }
.marquee { overflow: hidden; border-block: 1.5px solid var(--cobalt); padding-block: 16px; margin-bottom: 64px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap; }
/* 空心字，顏色即外框顏色；字型只有一種粗細，以描邊把外框加粗（約字高的 2.8%，大小螢幕比例一致） */
.marquee-track span, .marquee-track i { font-family: "Bungee Outline", var(--display); font-weight: 400; font-style: normal; font-size: clamp(44px, 8vw, 104px); line-height: 1; color: var(--cobalt); -webkit-text-stroke: .028em var(--cobalt); }
.marquee-track i { font-size: clamp(30px, 5.4vw, 70px); flex: none; }   /* 分隔符號用同一字型的空心「+」，與文字風格一致 */
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.statement-body { position: relative; }
.manifesto-big { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.7; font-weight: 400; position: relative; z-index: 1; }   /* 佔滿版面寬度、不用粗體 */
html[data-lang="en"] .manifesto-big { font-family: var(--display); font-stretch: 105%; }
.blur-lines { width: 340px; height: 44px; border-radius: 999px; background: var(--orange); right: 4%; top: -4%; rotate: -45deg; opacity: .7; box-shadow: 40px 80px 0 var(--cobalt), 80px 160px 0 #9DB6E3; filter: blur(56px); }   /* 三條線大幅模糊成柔和色光 */

/* 關於：會議插圖 */
.about-side { display: grid; gap: 18px; align-content: start; }
.about-art { position: relative; aspect-ratio: 16 / 10; max-width: 100%; }
.about-art img { position: relative; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.d-ring2 { width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--mist); left: 18%; top: -8%; }

/* 聯絡：洽談插圖 */
.contact-art { background: rgba(255, 255, 255, .96); border-radius: var(--radius); padding: 20px; overflow: hidden; display: grid; place-items: center; }
.contact-art img { width: 100%; height: auto; }

/* ── 出場效果 ──
   只有 JS 可用、且使用者沒有設定減少動態時才隱藏（html.js）；否則內容直接顯示。
   位移用 translate 屬性，不佔用 transform，避免和 hover、視差互相覆蓋。 */
html.js .rv { opacity: .01; transition: opacity .9s ease, clip-path 1s cubic-bezier(.65, 0, .35, 1), translate 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.js .rv-left { clip-path: inset(0 100% 0 0); translate: -40px 0;   /* 跟著遮罩方向由左滑入；負向位移也不會撐出橫向捲軸 */ }
html.js .rv-bottom { clip-path: inset(100% 0 0 0); }
html.js .rv-circle { clip-path: circle(0% at 50% 50%); transition-duration: .9s, 1.4s, 1s; }
html.js .rv-fade { translate: 0 28px; }
html.js .rv.on { opacity: 1; translate: 0 0; }
html.js .rv-left.on, html.js .rv-bottom.on { clip-path: inset(-30% -30% -30% -30%); }
html.js .rv-circle.on { clip-path: circle(150% at 50% 50%); }

/* ── 響應式 ── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-art { max-width: 360px; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .hero .wrap, .block-head, .about { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 56px 48px; gap: 28px; }
  .blur-lines { right: -30%; }
  .hero-art { max-width: 380px; margin-inline: auto; width: 100%; }
  .hero-art .px { transform: none !important; }   /* 窄螢幕主視覺排在文字下方，關閉視差以免圓點飄到按鈕上 */
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block { padding-block: 64px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .svc-grid, .works, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 36px 8px 40px; }
  .svc:nth-child(odd) { border-right: 0; }
  .lockup { min-width: 0; gap: 10px; }
  .lockup svg { width: 36px; height: 36px; }
  .wordmark { font-size: 16px; }
  .wordmark small { font-size: 10.5px; margin-top: 5px; }
  .fact b { font-size: 22px; white-space: nowrap; }
}

/* ── 寶寶藍＋蜜桃橘配色（試作） ──
   主藍 #89CFF0、主橘 #F0AA89 都很淺，上面的文字一律用深藍（對比 8.5:1、7.5:1）；
   白底上的小字改用同色系較深的版本，維持可讀性。 */
:root {
  --baby: #89CFF0;        /* 主藍：主視覺底色 */
  --baby-soft: #CBEAF8;
  --orange: #F0AA89;      /* 主橘：按鈕、強調、裝飾 */
  --orange-ink: #B4532A;  /* 白底上的橘色小字（對比 5.0:1） */
  --cobalt: #1A6FA3;      /* 白底上的藍色字與外框（對比 5.5:1） */
  --cobalt-deep: #155A85;
  --navy: #33506C;       /* 深色文字調淡（白底 8.4:1、主藍底 4.9:1） */
  --navy-strong: #2B4560; /* 淺橘按鈕上的文字，維持 5:1 以上 */
  --mist: #EDF8FD;
  --line: #D0E9F5;
}
.hero { background: var(--baby); color: var(--navy); }
.hero .eyebrow { color: rgba(51, 80, 108, .72); }
.hero-lead { color: rgba(51, 80, 108, .86); }
.hero h1 em { color: var(--navy); background: linear-gradient(transparent 60%, var(--orange) 60%, var(--orange) 94%, transparent 94%); }
.btn-orange { color: var(--navy-strong); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.facts { border-top-color: rgba(51, 80, 108, .15); }
.fact span { color: rgba(51, 80, 108, .72); }
.glow { background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 65%); }
.d-ring { border-color: rgba(255, 255, 255, .85); }
.d-ring-sm { border-color: rgba(51, 80, 108, .3); }
.d-grid { background-image: radial-gradient(rgba(255, 255, 255, .95) 1.6px, transparent 1.7px); }
.badge-in svg { filter: drop-shadow(0 26px 40px rgba(20, 80, 140, .28)); }
.blur-lines { box-shadow: 40px 80px 0 var(--baby), 80px 160px 0 var(--baby-soft); }
.svc:hover .svc-arrow { color: var(--navy); }
.value i { background: var(--baby); color: var(--navy); }
.value:nth-child(2) i { background: var(--orange); }
.value:nth-child(3) i { background: var(--navy); color: #FFFFFF; }
.copy { color: var(--navy-strong); }
.copy[data-done] { color: #FFFFFF; }

/* 聯絡區塊：深藍底改為淺寶寶藍，與整體色系一致 */
.contact { background: var(--baby-soft); color: var(--navy); }
.contact .big-en { color: var(--navy); }
.contact .block-head .sub { color: #9A4420; }   /* 淺藍底上的橘色字（對比 5.2:1） */
.contact .block-head .lead { color: rgba(51, 80, 108, .85); }
.contact-item { border-color: rgba(51, 80, 108, .2); background: rgba(255, 255, 255, .55); }
.contact-item .eyebrow { color: rgba(51, 80, 108, .7); }
.contact-art { background: #FFFFFF; }
