:root {
  --bg: #ffffff;
  --tint: #f4f3f3;
  --ink: #171717;
  --text: #303030;
  --muted: #606060;
  --line: #dedada;
  --accent: #bd1422;
  --dark: #080808;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; font-size: 16px; line-height: 1.8; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #dc3846; outline-offset: 5px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 20; min-height: 44px; }
.skip:focus { left: 8px; }

/* 黑底保留原始 Logo 的銀色與紅色 */
.site-head { position: sticky; top: 0; z-index: 10; background: #000; border-bottom: 1px solid #303030; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.logo { display: flex; align-items: center; width: 220px; height: 78px; flex-shrink: 0; }
.logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
nav a { text-decoration: none; color: #d2d2d2; font-size: 15px; padding: 10px 12px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover { color: #fff; background: #252525; }
nav .nav-cta { color: #fff; font-weight: 700; border: 1px solid #b91b28; background: #b91b28; margin-left: 10px; }
nav .nav-cta:hover { background: #99121e; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 16px; transition: background .15s, color .15s, border-color .15s; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #96101c; }
.btn.ghost { border: 1px solid #888; color: #fff; }
.btn.ghost:hover { background: #292929; border-color: #ccc; }
.btn.light { background: #fff; color: var(--dark); margin-top: 28px; }
.btn.light:hover { background: #e5e5e5; }

/* 首頁以大字、黑銀底色與品牌紅建立視覺重點 */
.hero { padding: 86px 0 64px; border-bottom: 4px solid var(--accent); background: linear-gradient(120deg, #090909 40%, #232323); color: #fff; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { color: #bcbcbc; font-size: 12px; letter-spacing: .08em; margin-bottom: 24px; }
h1 { color: #fff; line-height: 1.22; letter-spacing: -.025em; font-weight: 800; }
.h1-name { display: block; color: #e1e1e1; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; margin-bottom: 22px; }
.h1-message { display: block; font-size: clamp(36px, 4.6vw, 58px); }
.h1-message strong { font-weight: 900; color: #fff; display: inline-block; padding-bottom: 14px; border-bottom: 5px solid #d91c2d; }
.lead { margin-top: 28px; font-size: 18px; color: #bfbfbf; max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-identity { min-width: 0; background: #000; border: 1px solid #363636; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 64px #0006; }
.hero-identity img { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; object-position: 50% 48%; }
.hero-brands { list-style: none; padding: 24px 0 0; margin: 36px 0 0; border-top: 1px solid #3c3c3c; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #ddd; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.hero-brands a { position: relative; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-left: 16px; text-decoration: none; }
.hero-brands a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: #e52b3c; }
.hero-brands a:hover { text-decoration: underline; text-underline-offset: 4px; }

.sec { padding: 96px 0; }
.tint { background: var(--tint); }
.dark { background: var(--dark); color: #ccc; border-top: 3px solid var(--accent); }
.dark h2 { color: #fff; }
h2 { color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.35; font-weight: 800; letter-spacing: -.025em; }
h2::before { content: ""; display: block; width: 36px; height: 4px; background: var(--accent); margin-bottom: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.prose p + p { margin-top: 16px; }
.summary { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.intro { margin-top: 16px; color: var(--muted); }

.brands { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brand { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); min-width: 0; }
/* 只有品牌卡片互動時切換品牌色，其餘維持集團紅黑銀。 */
.brand-grow { --brand-surface: #1d4ed8; --brand-ink: #fff; --brand-rule: #ffffff66; --brand-tag-surface: #ffffff26; }
.brand-aigc { --brand-surface: #bd1422; --brand-ink: #fff; --brand-rule: #ffffff66; --brand-tag-surface: #ffffff26; }
.brand-momotaffy { --brand-surface: #ffaaa0; --brand-ink: #542516; --brand-rule: #54251666; --brand-tag-surface: #ffffff80; }
.brand > a { display: flex; flex-direction: column; height: 100%; min-height: 44px; padding: 28px; border-radius: 0 0 10px 10px; text-decoration: none; overflow-wrap: anywhere; transition: background-color .15s; }
.brand > a:focus-visible, .brand > a:active {
  background: var(--brand-surface);
  --ink: var(--brand-ink); --muted: var(--brand-ink); --accent: var(--brand-ink); --line: var(--brand-rule);
}
.brand > a:focus-visible .brand-tag, .brand > a:active .brand-tag { background: var(--brand-tag-surface); }
@media (hover: hover) {
  .brand > a:hover {
    background: var(--brand-surface);
    --ink: var(--brand-ink); --muted: var(--brand-ink); --accent: var(--brand-ink); --line: var(--brand-rule);
  }
  .brand > a:hover .brand-tag { background: var(--brand-tag-surface); }
}
@media (hover: none) {
  .brand > a.is-centered {
    background: var(--brand-surface);
    --ink: var(--brand-ink); --muted: var(--brand-ink); --accent: var(--brand-ink); --line: var(--brand-rule);
  }
  .brand > a.is-centered .brand-tag { background: var(--brand-tag-surface); }
}
.brand-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); background: #fbeaec; padding: 4px 12px; border-radius: 4px; }
.brand h3 { margin-top: 18px; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.brand .desc { margin-top: 10px; color: var(--muted); flex: 1; }
.go { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 700; color: var(--accent); }
.go small { display: block; width: 100%; font-weight: 400; color: var(--muted); font-size: 13px; }

.goals { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.goals li { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.goals .num { font-size: 15px; color: var(--accent); font-weight: 800; letter-spacing: .08em; }
.goals h3 { margin-top: 8px; font-size: 25px; color: var(--ink); }
.goals p { margin-top: 10px; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; min-height: 44px; padding: 20px 36px 20px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq .q { color: var(--accent); flex-shrink: 0; }
.faq details p { padding: 0 0 20px 38px; color: var(--muted); }

.contact { text-align: center; }
.contact h2::before { margin-left: auto; margin-right: auto; }
.contact p { margin: 18px auto 0; color: var(--muted); max-width: 32em; }
.contact .mail { margin-top: 28px; overflow-wrap: anywhere; }

.site-foot { background: #000; border-top: 1px solid #333; padding: 48px 0 32px; font-size: 14px; color: #bcbcbc; }
.foot-logo { display: block; width: 210px; height: 80px; object-fit: cover; object-position: 50% 48%; margin-bottom: 12px; }
.foot-name { font-weight: 800; color: #f1f1f1; font-size: 18px; }
.company { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; }
.company div { display: flex; gap: 12px; min-width: 0; }
.company dt { flex-shrink: 0; width: 5em; color: #eee; }
.company dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.company a { display: inline-flex; align-items: center; min-height: 44px; color: #eee; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #333; }
.copy a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 16px; }

@media (max-width: 1040px) {
  nav a:not(.nav-cta) { display: none; }
  .hero-layout { gap: 28px; }
  .brands { gap: 14px; }
  .brand > a { padding: 24px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .head-row { min-height: 72px; gap: 12px; }
  .logo { width: 170px; height: 64px; }
  nav .nav-cta { margin-left: 0; padding: 10px 12px; white-space: nowrap; font-size: 14px; }
  html { scroll-padding-top: 88px; }
  .hero { padding: 48px 0; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .eyebrow { font-size: 12px; letter-spacing: .02em; margin-bottom: 20px; }
  .h1-name { font-size: 28px; margin-bottom: 18px; }
  .h1-message { font-size: clamp(32px, 7.8vw, 52px); }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
  .hero-brands { margin-top: 28px; gap: 4px 20px; }
  .hero-identity { max-width: 480px; width: 100%; margin: 0 auto; }
  .hero-identity img { aspect-ratio: 2; }
  .sec { padding: 60px 0; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .brands, .goals { grid-template-columns: minmax(0, 1fr); }
  .brand > a, .goals li { padding: 24px; }
  .btn.light { width: 100%; }
  .contact .mail { width: 100%; padding: 12px; font-size: 14px; }
  .company { grid-template-columns: minmax(0, 1fr); }
  .copy a { display: flex; margin-left: 0; }
  .faq details p { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .brand > a { transition: none; }
}
