/*
Theme Name: SUNIX Sports
Theme URI: https://github.com/bboy10121988/sunix-sports-demo
Author: Textsence AI 應用工作室
Description: SUNIX Sports 精品棒球品牌館專屬佈景主題。黑／深咖啡／金的精品敘事版型，內建品牌館（Brand）內容類型與 WooCommerce 支援。由已確認之首頁設計稿開發，非市售模板。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunix
*/

:root {
    --ink: #14100d;          /* 頁面基底 近黑 */
    --ink-soft: #1c1611;     /* 微升起區塊 */
    --espresso: #261c13;     /* 深咖啡帶 */
    --gold: #b3915a;         /* 金 點綴限定 */
    --gold-bright: #cfa96b;  /* 深底上的金字 */
    --bone: #ffffff;         /* 主文字：純白。客戶反應暖米色在深咖底上讀起來偏黃 */
    --muted: #ffffff;        /* 次要文字：同樣純白。主次改靠字級與字距拉開，不靠壓暗 */
    --hairline: rgba(179,145,90,.22);
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body {
    background:var(--ink); color:var(--bone);
    font-family:"Noto Sans TC",-apple-system,sans-serif;
    font-weight:300; line-height:1.9; letter-spacing:.02em;
    -webkit-font-smoothing:antialiased;
  }
  ::selection { background:var(--gold); color:var(--ink); }
  img { display:block; width:100%; height:100%; object-fit:cover; background:var(--espresso); }
  a { color:inherit; text-decoration:none; }

  .serif { font-family:"Noto Serif TC","Cormorant Garamond",serif; }
  .latin { font-family:"Cormorant Garamond","Noto Serif TC",serif; }
  .wrap { max-width:1320px; margin:0 auto; padding:0 6vw; }

  /* ── Nav ── */
  .nav {
    position:fixed; top:0; left:0; right:0; z-index:40; height:72px;
    display:flex; align-items:center; justify-content:space-between;
    padding:0 4vw; transition:background .4s ease, border-color .4s ease;
    border-bottom:1px solid transparent;
  }
  .nav.solid { background:rgba(20,16,13,.92); backdrop-filter:blur(12px); border-bottom-color:var(--hairline); }

  /* 導覽列在頁面最頂端是透明的，字直接壓在 hero 照片上。
     遮罩調淡之後這一條會跟著失守（實測 Collection 頁最差 3.5:1，低於小字門檻 4.5），
     但為了 nav 去加深整片遮罩，等於把客戶要的效果又還回去。
     改法：給 nav 自己一層很短的上緣漸層，讓 hero 想放多淡都不牽動導覽列。
     捲動後 .solid 會接手背景，這層就淡出。 */
  .nav::before {
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background:linear-gradient(to bottom, rgba(20,16,13,.62) 0%, rgba(20,16,13,.28) 62%, rgba(20,16,13,0) 100%);
    transition:opacity .4s ease;
  }
  .nav.solid::before { opacity:0; }
  .nav .logo { font-family:"Cormorant Garamond",serif; font-size:26px; font-weight:600; letter-spacing:.34em; color:var(--bone); }
  .nav .logo span { color:var(--gold-bright); }
  .nav ul { display:flex; gap:40px; list-style:none; font-size:13.5px; font-weight:400; letter-spacing:.12em; }
  .nav ul a { position:relative; padding:6px 0; color:var(--bone); opacity:.92; transition:opacity .25s; }
  .nav ul a:hover { opacity:1; }
  .nav ul a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold-bright); transition:width .3s ease; }
  .nav ul a:hover::after { width:100%; }
  /* 購物袋：導覽列只放圖示與件數，文字標題交給 aria-label--
     頂層已經 7 個項目，1200 以下就會擠爆，不能再多付 60px 的字寬。 */
  .nav .bag { position:relative; display:inline-flex; align-items:center; color:var(--muted); padding:4px 2px; }
  .nav .bag:hover { color:var(--gold-bright); }
  .bag-icon { display:block; transition:transform .25s cubic-bezier(.16,1,.3,1); }
  .nav .bag:hover .bag-icon { transform:translateY(-1px); }
  /* 件數是狀態不是裝飾，用金色圓點壓在袋口右上；0 件時不輸出這個元素 */
  .bag-count {
    position:absolute; top:-2px; right:-8px; min-width:16px; height:16px; padding:0 4px;
    display:inline-flex; align-items:center; justify-content:center;
    background:var(--gold); color:#14100d; border-radius:999px;
    font-family:"Cormorant Garamond",serif; font-size:11px; font-weight:600; line-height:1;
  }
  /* 手機選單裡空間夠，圖示旁帶文字 */
  .bag-link { display:inline-flex; align-items:center; gap:9px; position:relative; }
  .bag-link .bag-text { font-size:13px; letter-spacing:.14em; }
  .bag-link .bag-count { position:static; margin-left:2px; }
  .nav-toggle { display:none; }

  /* ── 手機選單 ── */
  .menu {
    position:fixed; inset:0; z-index:50; display:none;
    flex-direction:column; justify-content:center; padding:0 8vw;
    background:rgba(20,16,13,.97); backdrop-filter:blur(14px);
    opacity:0; visibility:hidden; transition:opacity .45s ease, visibility .45s;
  }
  .menu.open { opacity:1; visibility:visible; }
  .menu ul { list-style:none; }
  .menu li { border-bottom:1px solid var(--hairline); }
  .menu li:first-child { border-top:1px solid var(--hairline); }
  .menu a {
    display:block; padding:24px 2px; color:var(--bone);
    font-family:"Noto Serif TC","Cormorant Garamond",serif;
    font-size:23px; letter-spacing:.16em;
    opacity:0; transform:translateY(16px);
    transition:opacity .5s ease, transform .5s ease;
  }
  .menu.open a { opacity:1; transform:none; }
  .menu.open li:nth-child(1) a { transition-delay:.10s; }
  .menu.open li:nth-child(2) a { transition-delay:.16s; }
  .menu.open li:nth-child(3) a { transition-delay:.22s; }
  .menu.open li:nth-child(4) a { transition-delay:.28s; }
  .menu.open li:nth-child(5) a { transition-delay:.34s; }
  .menu .menu-foot {
    margin-top:44px; display:flex; align-items:center; justify-content:space-between;
    font-size:13px; letter-spacing:.14em; color:var(--muted);
    opacity:0; transform:translateY(16px);
    transition:opacity .5s ease .40s, transform .5s ease .40s;
  }
  .menu.open .menu-foot { opacity:1; transform:none; }
  .menu .menu-foot .bag-link {
    display:inline; padding:0; font-family:inherit; font-size:13px; letter-spacing:.14em;
    color: #fff; opacity:1; transform:none; transition:none; white-space:nowrap;
  }

  /* ── Hero ── */
  .hero { position:relative; min-height:100dvh; display:flex; align-items:flex-end; overflow:hidden; }
  .hero .media { position:absolute; inset:0; }
  .hero .media img { animation:heroDrift 18s ease-out forwards; transform-origin:60% 40%; }
  @keyframes heroDrift { from { transform:scale(1.08); } to { transform:scale(1); } }
  .hero::after { content:""; position:absolute; inset:0;
    background:linear-gradient(to top, rgba(20,16,13,.70) 0%, rgba(20,16,13,.45) 32%, rgba(20,16,13,.16) 70%, rgba(20,16,13,.08) 100%); }
  .hero .copy { position:relative; z-index:2; padding:0 6vw 12vh; max-width:940px; }
  .eyebrow { font-family:"Cormorant Garamond",serif; font-size:13px; letter-spacing:.42em; text-transform:uppercase; color: #fff; margin-bottom:22px; }
  .hero h1 { font-family:"Noto Serif TC",serif; font-weight:600; font-size:clamp(29px,3.6vw,50px); line-height:1.38; letter-spacing:.05em; }
  .hero p { margin-top:22px; max-width:34em; font-size:15.5px; color:var(--bone); }
  .btn {
    display:inline-block; margin-top:36px; padding:15px 44px;
    background:var(--gold); color:#14100d; font-size:14px; font-weight:500; letter-spacing:.24em;
    transition:background .3s ease, transform .15s ease;
  }
  .btn:hover { background:var(--gold-bright); }
  .btn:active { transform:translateY(1px); }

  /* ── 理念 ── */









  /* ── 品牌館 ── */
  .hall { display:grid; grid-template-columns:11fr 9fr; min-height:88vh; }
  .hall.flip { grid-template-columns:9fr 11fr; }
  .hall .media { overflow:hidden; }
  .hall .media img { transition:transform 1.2s cubic-bezier(.16,1,.3,1); }
  .hall:hover .media img { transform:scale(1.03); }
  .hall .copy { display:flex; flex-direction:column; justify-content:center; padding:110px 8vw; }
  .hall .brandname { font-family:"Cormorant Garamond",serif; font-size:clamp(38px,3.6vw,56px); font-weight:500; letter-spacing:.2em; margin-bottom:8px; }
  .hall .brandlogo { width:clamp(180px,17vw,240px); height:auto; margin-bottom:14px; background:transparent; }
  .hall .brandname-zh { font-size:14px; letter-spacing:.3em; color:var(--muted); margin-bottom:44px; }
  .hall blockquote {
    font-family:"Noto Serif TC",serif; font-weight:500;
    font-size:clamp(20px,1.8vw,26px); line-height:1.95; letter-spacing:.06em;
    border-left:2px solid var(--gold); padding-left:28px; margin-bottom:34px;
  }
  .hall .desc { font-size:14.5px; color:var(--muted); max-width:30em; margin-bottom:44px; }
  .textlink { font-size:13.5px; letter-spacing:.26em; color: #fff; display:inline-flex; align-items:center; gap:14px; }
  .textlink .line { display:inline-block; width:44px; height:1px; background:var(--gold-bright); transition:width .3s ease; }
  .textlink:hover .line { width:70px; }

  /* ── 球員帶 ── */
  .players { position:relative; min-height:78vh; display:flex; align-items:center; overflow:hidden; }
  .players .media { position:absolute; inset:0; }
  .players::after { content:""; position:absolute; inset:0; background:linear-gradient(to right, rgba(20,16,13,.9) 8%, rgba(20,16,13,.2) 70%); }
  .players .copy { position:relative; z-index:2; padding:0 6vw; max-width:640px; }
  .players h2 { font-family:"Noto Serif TC",serif; font-weight:600; font-size:clamp(28px,3vw,44px); line-height:1.5; letter-spacing:.08em; margin-bottom:24px; }
  .players p { font-size:15px; color:var(--bone); max-width:30em; }

  /* ── 精選商品 ── */
  .shop { padding:150px 0 140px; }
  .shop .head { max-width:640px; margin-bottom:80px; }
  .shop h2, .journal h2 { font-family:"Noto Serif TC",serif; font-weight:600; font-size:clamp(26px,2.6vw,38px); letter-spacing:.1em; }
  .shop .head p { margin-top:16px; font-size:14.5px; color:var(--muted); }
  .prod-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:36px; }
  /* 商品／文章縮圖：客戶素材拍攝背景不一（草皮、白牆、水泥），
     統一套用降飽和＋壓暗＋暖色疊層，讓全站色溫一致。原始檔未修改。 */
  .prod .media, .journal .row .media { position:relative; }
  .prod .media::after, .journal .row .media::after {
    content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(180deg, rgba(38,28,19,.34), rgba(20,16,13,.52));
    mix-blend-mode:multiply;
  }
  .prod .media { aspect-ratio:4/5; overflow:hidden; margin-bottom:22px; }
  .prod .media img, .journal .row .media img { filter:saturate(.62) brightness(.88) contrast(1.06); }
  .prod .media img { transition:transform 1s cubic-bezier(.16,1,.3,1); }
  .prod:hover .media img { transform:scale(1.04); }
  .prod h3 { font-family:"Noto Serif TC",serif; font-weight:500; font-size:16px; letter-spacing:.08em; line-height:1.6; }
  .prod .brand { font-family:"Cormorant Garamond",serif; font-size:12.5px; letter-spacing:.28em; color: #fff; margin-bottom:8px; }
  .prod .price { margin-top:10px; font-size:12.5px; color:var(--muted); letter-spacing:.06em; }
  .shop .more { margin-top:80px; text-align:center; }

  /* ── Journal ── */
  .journal { background:var(--ink-soft); padding:140px 0; }
  .journal .rows { margin-top:70px; }
  .journal .row {
    display:grid; grid-template-columns:1fr 220px; gap:60px; align-items:center;
    padding:44px 0; border-top:1px solid var(--hairline);
  }
  .journal .row:last-child { border-bottom:1px solid var(--hairline); }
  .journal .row .media { aspect-ratio:16/10; overflow:hidden; }
  .journal .row .media img { transition:transform 1s cubic-bezier(.16,1,.3,1); }
  .journal .row:hover .media img { transform:scale(1.05); }
  .journal .row h3 { font-family:"Noto Serif TC",serif; font-weight:500; font-size:clamp(19px,1.7vw,24px); letter-spacing:.06em; line-height:1.7; transition:color .3s; }
  .journal .row:hover h3 { color:var(--gold-bright); }
  .journal .row .meta { margin-top:10px; font-size:12.5px; color:var(--muted); letter-spacing:.1em; }

  /* ── 訂閱/合作 ── */
  .contact { background:var(--espresso); padding:140px 0; text-align:center; }
  .contact h2 { font-family:"Noto Serif TC",serif; font-weight:600; font-size:clamp(24px,2.4vw,34px); letter-spacing:.12em; }
  .contact .sub { margin-top:16px; font-size:14.5px; color:var(--muted); }
  .sub-form { display:flex; max-width:520px; margin:48px auto 0; border:1px solid var(--hairline); }
  .sub-form input {
    flex:1; background:transparent; border:none; outline:none;
    padding:16px 22px; font-size:14px; color:var(--bone); font-family:inherit; letter-spacing:.04em;
  }
  .sub-form input::placeholder { color:#9d8f79; }
  .sub-form input:focus { box-shadow:inset 0 -2px 0 var(--gold); }
  .sub-form button {
    background:var(--gold); color:#14100d; border:none; cursor:pointer;
    padding:16px 36px; font-size:13.5px; font-weight:500; letter-spacing:.2em; font-family:inherit;
    transition:background .3s;
  }
  .sub-form button:hover { background:var(--gold-bright); }
  .contact .coop { margin-top:44px; }

  /* ── Footer ── */

  /* ── Reveal 動效 ── */
  .reveal { opacity:0; transform:translateY(28px); transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity:1; transform:none; }
  @media (prefers-reduced-motion: reduce) {
    .hero .media img { animation:none; }
    .reveal { opacity:1; transform:none; transition:none; }
    .menu, .menu a, .menu .menu-foot, .nav-toggle i { transition:none; }
    .hall .media img, .prod .media img, .journal .row .media img { transition:none; }
    html { scroll-behavior:auto; }
  }

  /* ── Mobile ── */
  @media (max-width: 960px) {
    .nav { height:64px; z-index:60; }
    .nav ul { display:none; }
    .nav .bag { display:inline-flex; }  /* 改成圖示之後只佔 23px，手機不必再藏起來--
     電商的購物車隨時看得見比較重要，原本藏起來是為了省文字寬度 */
    .nav-toggle {
      display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:6px;
      width:34px; height:34px; padding:0; background:none; border:0; cursor:pointer;
      -webkit-tap-highlight-color:transparent;
    }
    .nav-toggle i { display:block; width:24px; height:1px; background:var(--bone); transition:transform .35s ease, opacity .25s ease, width .35s ease; }
    .nav-toggle i:nth-child(2) { width:16px; }
    .nav-toggle[aria-expanded="true"] i:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity:0; }
    .nav-toggle[aria-expanded="true"] i:nth-child(3) { width:24px; transform:translateY(-7px) rotate(-45deg); }
    .menu { display:flex; }
    .menu[hidden] { display:none; }
    body.menu-open { overflow:hidden; }
    body.menu-open .nav, body.menu-open .nav.solid { background:transparent; backdrop-filter:none; border-bottom-color:transparent; }
    .hero .copy { padding-bottom:14vh; }




    .hall, .hall.flip { grid-template-columns:1fr; min-height:0; }
    .hall .media { aspect-ratio:4/3; order:-1; }
    .hall .copy { padding:70px 8vw 90px; }
    .prod-grid { grid-template-columns:repeat(2,1fr); gap:24px; }
    .shop, .journal { padding:100px 0 90px; }
    .journal .row { grid-template-columns:1fr; gap:20px; }
    .journal .row .media { order:-1; }
    .contact { padding:100px 0; }
    .sub-form { flex-direction:column; border:none; gap:14px; }
    .sub-form input { border:1px solid var(--hairline); }
  }
/* ══════════════ WordPress 專屬補強（demo 原稿沒有的部分）══════════════ */

/* 後台工具列不要蓋住固定導覽列 */
.admin-bar .nav { top:32px; }
.admin-bar .menu { top:32px; }
@media screen and (max-width:782px) {
  .admin-bar .nav { top:46px; }
  .admin-bar .menu { top:46px; }
}

/* 無障礙：跳至內容 */
.screen-reader-text {
  border:0; clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden;
  padding:0; position:absolute; width:1px; word-wrap:normal !important;
}
.skip-link:focus {
  clip-path:none; height:auto; width:auto; z-index:100;
  left:16px; top:16px; padding:14px 24px;
  background:var(--gold); color:var(--ink); font-size:14px; letter-spacing:.1em;
}

/* WP 編輯器內容區塊（頁面／文章內文） */
.entry {
  max-width:760px; margin:0 auto; padding:150px 6vw 120px;
}
.entry h1, .entry h2, .entry h3 {
  font-family:"Noto Serif TC",serif; font-weight:600; letter-spacing:.08em; line-height:1.6;
  margin:2em 0 .8em;
}
.entry h1 { font-size:clamp(28px,3vw,42px); }
.entry h2 { font-size:clamp(22px,2.2vw,30px); }
.entry h3 { font-size:19px; }
.entry p, .entry li { font-size:15.5px; line-height:2; color:var(--bone); }
.entry p { margin-bottom:1.6em; }
.entry ul, .entry ol { margin:0 0 1.6em 1.4em; }
.entry li { margin-bottom:.6em; }
.entry a { color: #fff; border-bottom:1px solid var(--hairline); }
.entry a:hover { border-bottom-color:var(--gold-bright); }
.entry img { margin:2.4em 0; }
.entry blockquote {
  border-left:2px solid var(--gold); padding-left:28px; margin:2.4em 0;
  font-family:"Noto Serif TC",serif; font-size:19px; line-height:1.95;
}
.entry .meta { font-size:12.5px; color:var(--muted); letter-spacing:.1em; margin-bottom:2.4em; }

/* 頁首（非首頁的頁面標題帶） */
.page-hero {
  padding:190px 6vw 90px; border-bottom:1px solid var(--hairline);
  background:var(--espresso);
}
.page-hero h1 {
  font-family:"Noto Serif TC",serif; font-weight:600;
  font-size:clamp(28px,3.2vw,44px); letter-spacing:.1em; line-height:1.5;
  max-width:1320px; margin:0 auto;
}
.page-hero .eyebrow { max-width:1320px; margin:0 auto 18px; }

/* 文章列表 */
.post-list { padding:120px 0 140px; }
.post-list .row {
  display:grid; grid-template-columns:1fr 220px; gap:60px; align-items:center;
  padding:44px 0; border-top:1px solid var(--hairline);
}
.post-list .row:last-child { border-bottom:1px solid var(--hairline); }
.post-list .row .media { aspect-ratio:16/10; overflow:hidden; }
.post-list .row h2 {
  font-family:"Noto Serif TC",serif; font-weight:500;
  font-size:clamp(19px,1.7vw,24px); letter-spacing:.06em; line-height:1.7;
}
.post-list .row:hover h2 { color:var(--gold-bright); }
.post-list .row .meta { margin-top:10px; font-size:12.5px; color:var(--muted); letter-spacing:.1em; }
@media (max-width:960px) {
  .post-list .row { grid-template-columns:1fr; gap:20px; }
  .post-list .row .media { order:-1; }
  .entry { padding:130px 8vw 90px; }
  .page-hero { padding:150px 8vw 70px; }
}

/* 分頁導覽 */
.pagination { margin-top:80px; text-align:center; font-size:13.5px; letter-spacing:.16em; }
.pagination .page-numbers { padding:10px 16px; color:var(--muted); }
.pagination .page-numbers.current { color:var(--gold-bright); border-bottom:1px solid var(--gold-bright); }
.pagination a.page-numbers:hover { color:var(--bone); }

/* ══════════════ 品牌介紹頁（single-brand）══════════════ */
.brand-hero { min-height:82vh; }
.brand-hero .brandname {
  font-family:"Cormorant Garamond",serif; font-size:clamp(38px,4vw,64px);
  font-weight:500; letter-spacing:.2em; margin-bottom:8px;
}
.brand-hero .brandlogo { width:clamp(200px,20vw,280px); height:auto; margin-bottom:16px; background:transparent; }
.brand-hero blockquote {
  font-family:"Noto Serif TC",serif; font-weight:500;
  font-size:clamp(19px,1.8vw,25px); line-height:1.95; letter-spacing:.06em;
  border-left:2px solid var(--gold); padding-left:28px; margin-top:28px; max-width:26em;
}
.brand-intro { padding:20px 0 0; }
.brand-intro .entry { padding-top:120px; padding-bottom:0; }

/* 社長／工匠的話 */
.voice { padding:130px 0; }
.voice.alt { background:var(--ink-soft); }
.voice h2 {
  font-family:"Noto Serif TC",serif; font-weight:600;
  font-size:clamp(26px,2.6vw,38px); letter-spacing:.1em; margin-bottom:56px;
}
.voice .video {
  max-width:960px; aspect-ratio:16/9; margin:0 0 48px;
  border:1px solid var(--hairline); background:var(--espresso);
}
.voice .video iframe, .voice .video video { width:100%; height:100%; display:block; border:0; }
.voice .voice-text { max-width:34em; }
.voice .voice-text p {
  font-size:15.5px; line-height:2.05; color:var(--bone); margin-bottom:1.5em;
}

/* ══════════════ 合作球員 ══════════════ */
.players-list { padding:120px 0 140px; }
.player {
  display:grid; grid-template-columns:1fr 1.15fr; gap:60px; align-items:center;
  padding:64px 0; border-top:1px solid var(--hairline);
}
.player:last-of-type { border-bottom:1px solid var(--hairline); }
.player .brand {
  font-family:"Cormorant Garamond",serif; font-size:12.5px;
  letter-spacing:.28em; color: #fff; margin-bottom:10px;
}
.player h2 {
  font-family:"Noto Serif TC",serif; font-weight:600;
  font-size:clamp(22px,2.2vw,32px); letter-spacing:.08em; line-height:1.6;
}
.player .meta { margin-top:8px; font-size:13px; color:var(--muted); letter-spacing:.1em; }
.player .desc { margin-top:20px; font-size:14.5px; color:var(--muted); line-height:1.95; }
.player .video { aspect-ratio:16/9; border:1px solid var(--hairline); background:var(--espresso); }
.player .video iframe { width:100%; height:100%; display:block; border:0; }
.player .media { aspect-ratio:4/3; overflow:hidden; }
.empty-note { padding:60px 0 0; color:var(--muted); font-size:14.5px; }

@media (max-width:960px) {
  .voice { padding:90px 0; }
  .voice h2 { margin-bottom:36px; }
  .voice .video { margin-bottom:32px; }
  .player { grid-template-columns:1fr; gap:28px; padding:44px 0; }
  .player .video, .player .media { order:-1; }
  .brand-intro .entry { padding-top:90px; }
}

/* ══════════════ 桌機下拉子選單 ══════════════
   客戶選單結構本身有階層（SUNIX 下有核心價值／製作流程，各品牌下有社長的話等），
   全部攤平在頂層會在 1280 寬度換行破版，故頂層精簡＋子項收進下拉。 */
.nav ul li { position:relative; }
.nav ul .sub-menu {
  position:absolute; top:100%; left:-22px; z-index:60;
  display:block; min-width:210px; padding:14px 0;
  background:rgba(20,16,13,.97); backdrop-filter:blur(12px);
  border:1px solid var(--hairline); border-top:none;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .28s ease, transform .28s ease, visibility .28s;
  gap:0; /* 覆寫父層 ul 的 flex gap */
}
.nav ul .sub-menu { flex-direction:column; }
.nav ul li:hover > .sub-menu,
.nav ul li:focus-within > .sub-menu { opacity:1; visibility:visible; transform:none; }
.nav ul .sub-menu li { width:100%; }
.nav ul .sub-menu a {
  display:block; padding:9px 24px; font-size:13px; letter-spacing:.1em;
  color:var(--bone); opacity:.9; white-space:nowrap;
}
.nav ul .sub-menu a:hover { opacity:1; color:var(--gold-bright); }
.nav ul .sub-menu a::after { display:none; } /* 子項不要底線動效 */
/* 有子選單的頂層項目：加一個細微指示 */
.nav ul li.menu-item-has-children > a::before {
  content:""; position:absolute; right:-11px; top:50%;
  width:4px; height:4px; margin-top:-4px;
  border-right:1px solid currentColor; border-bottom:1px solid currentColor;
  transform:rotate(45deg); opacity:.5;
}
.nav ul li.menu-item-has-children { margin-right:11px; }

/* 手機選單：子項縮排顯示（手機用 depth=1，此規則為保險） */
@media (max-width:960px) {
  .menu .sub-menu { list-style:none; padding-left:18px; }
  .menu .sub-menu a { font-size:17px; padding:14px 2px; opacity:.9; }
}

/* ══════════════ 導覽列斷點（1200px）══════════════
   demo 原稿只有 5 個選單項目，漢堡選單斷點設在 960 就夠；
   客戶 v2 結構擴充為 7 個頂層項目後，961–1279 這個區間會擠到換行破版（實測 1024 高度 77px、1280 高度 128px）。
   故「僅導覽列」的切換點提高到 1200，其餘版面規則（品牌館、商品格線等）維持原本的 960 不動。 */
@media (max-width: 1200px) {
  .nav { height:64px; z-index:60; }
  .nav > ul { display:none; }
  .nav .bag { display:inline-flex; }  /* 改成圖示之後只佔 23px，手機不必再藏起來--
     電商的購物車隨時看得見比較重要，原本藏起來是為了省文字寬度 */
  .nav-toggle {
    display:flex; flex-direction:column; justify-content:center; align-items:flex-end; gap:6px;
    width:34px; height:34px; padding:0; background:none; border:0; cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-toggle i { display:block; width:24px; height:1px; background:var(--bone); transition:transform .35s ease, opacity .25s ease, width .35s ease; }
  .nav-toggle i:nth-child(2) { width:16px; }
  .nav-toggle[aria-expanded="true"] i:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity:0; }
  .nav-toggle[aria-expanded="true"] i:nth-child(3) { width:24px; transform:translateY(-7px) rotate(-45deg); }
  .menu { display:flex; }
  .menu[hidden] { display:none; }
  body.menu-open { overflow:hidden; }
  body.menu-open .nav, body.menu-open .nav.solid { background:transparent; backdrop-filter:none; border-bottom-color:transparent; }
}

/* ══════════════════════════════════════════════════
   SUNIX 代理商品牌頁（page-about.php）
   視覺依決策 6：深色到底，用 ink / espresso / ink-soft
   三個層次加大留白做節奏，不引入白底。
   ══════════════════════════════════════════════════ */

.about-hero { min-height: 88vh; }
.about-hero h1 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(27px, 3.4vw, 46px); line-height: 1.45; letter-spacing: .05em;
}
.about-hero .copy p:last-of-type { margin-top: 22px; max-width: 34em; font-size: 15.5px; color: var(--bone); }

/* 區塊共用標題 */
.section-title {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(25px, 2.7vw, 40px); line-height: 1.5; letter-spacing: .09em;
  margin-bottom: 18px;
}

/* 核心價值：比首頁的 pillar 更大更空 */





/* ── 創辦人：客戶照片未到，刻意走純文字置中排版 ── */









/* ── 選品哲學四問：左右交錯 ── */



.qa.flip .media { order: 2; }









/* ── 工藝標準 ── */








/* ── 兩個產地 ── */









/* ── 收尾 ── */
.about-outro { background: var(--ink-soft); }
.about-outro .outro-links {
  margin-top: 44px; display: flex; gap: 60px; justify-content: center; flex-wrap: wrap;
}

/* ── 手機 ── */
@media (max-width: 960px) {
  .about-hero { min-height: 78vh; }





  .qa, .qa.flip { grid-template-columns: 1fr; }
  .qa .media, .qa.flip .media { order: -1; aspect-ratio: 3/2; }







  .about-outro .outro-links { gap: 28px; flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════
   Collection 商品總覽（page-collection.php）
   卡片骨架借鑑參考站，但欄位改為品牌敘事、交期優先、價格弱化。
   ══════════════════════════════════════════════════ */

.collection-hero .page-lead {
  max-width: 40em; margin: 20px auto 0; font-size: 14.5px;
  line-height: 2; color: var(--muted);
}
.page-hero .page-lead, .page-hero h1 { max-width: 1320px; margin-left: auto; margin-right: auto; }

/* ── 三層分級入口 ── */
.tiers { padding: 110px 0 40px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.tier {
  padding: 8px 44px; border-left: 1px solid var(--hairline);
  display: block; transition: opacity .3s ease;
}
.tier:first-child { border-left: none; padding-left: 0; }
.tier:hover { opacity: .78; }
.tier-label {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 21px; letter-spacing: .12em; margin-bottom: 8px;
}
.tier-sub { font-size: 12.5px; letter-spacing: .2em; color: var(--muted); margin-bottom: 20px; }
.tier-time {
  font-family: "Cormorant Garamond", serif; font-size: clamp(26px, 2.4vw, 34px);
  color: #fff; letter-spacing: .06em; margin-bottom: 18px;
}
.tier-desc { font-size: 13.5px; line-height: 1.95; color: var(--muted); }

/* ── 分級群組 ── */
.collection-group { padding: 90px 0; }
.collection-group:nth-of-type(even) { background: var(--ink-soft); }
.group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 54px;
  border-bottom: 1px solid var(--hairline); padding-bottom: 20px;
}
.group-head h2 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .1em;
}
.group-head .sep { color: var(--gold); margin: 0 10px; }
.group-head .sub { font-size: 15px; color: var(--muted); letter-spacing: .12em; }
.group-time {
  font-family: "Cormorant Garamond", serif; font-size: 16px;
  letter-spacing: .16em; color: #fff;
}

/* ── 商品卡片 ── */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.pcard { display: flex; flex-direction: column; }
.pcard-media {
  position: relative; display: block; aspect-ratio: 4/5;
  overflow: hidden; margin-bottom: 22px; background: var(--espresso);
}
.pcard-media img { transition: transform 1s cubic-bezier(.16,1,.3,1); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,13,0) 45%, rgba(20,16,13,.82) 100%);
}
/* 交期標籤：接單客製化的第一決策要素，壓在圖片右上角 */
.lead-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 7px 14px; font-size: 11.5px; letter-spacing: .12em;
  color: #fff; border: 1px solid var(--gold);
  background: rgba(20,16,13,.62); backdrop-filter: blur(6px);
}
.pcard-name {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: 16px; letter-spacing: .06em; line-height: 1.5;
  color: var(--bone); max-width: calc(100% - 40px);
}
.pcard-desc { font-size: 13.5px; line-height: 1.95; color: var(--muted); margin-bottom: 20px; }

.pcard-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px;
  padding: 18px 0; border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline); margin-bottom: 18px;
}
.spec .k { display: block; font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-bottom: 4px; }
.spec .v { display: block; font-size: 13px; color: var(--bone); line-height: 1.5; }

/* 價格刻意弱化：精品不靠標價搶眼 */
.pcard-price { font-size: 13px; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; }
.pcard-price .woocommerce-Price-amount { color: var(--muted); }

.pcard-cta { display: flex; gap: 12px; margin-top: auto; }
.btn-gold, .btn-ghost {
  display: inline-block; padding: 12px 22px; font-size: 12.5px;
  letter-spacing: .16em; text-align: center; transition: all .3s ease; flex: 1;
}
.btn-gold { border: 1px solid var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { border: 1px solid rgba(179,145,90,.45); color: var(--muted); }
.btn-ghost:hover { border-color: var(--muted); color: var(--bone); }

@media (max-width: 1100px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 960px) {
  .tiers { padding: 70px 0 20px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier { border-left: none; border-top: 1px solid var(--hairline); padding: 32px 0; }
  .tier:first-child { border-top: none; padding-top: 0; }
  .collection-group { padding: 60px 0; }
  .group-head { margin-bottom: 34px; }
  /* 精品要大圖：手機一排一件，不擠成兩欄 */
  .pcard-grid { grid-template-columns: 1fr; gap: 50px; }
  .pcard-cta { flex-direction: column; }
}

/* ══════════════════════════════════════════════════
   商品內頁（woocommerce/single-product.php）＋ 訂製洽詢表單
   ══════════════════════════════════════════════════ */

.product-detail { padding-top: 72px; }
/* 右欄原本是 1fr 搭配 6vw 內距，實測 1440 下資訊欄 488px 卻被內距吃掉 173px，
   文字只剩 315px--標題每行排不到 9 個字、內文 21.8 字，讀起來一直在換行。
   中文舒適閱讀約 28-34 字，所以格線與內距一起放寬（實測後為 31 字）。 */
.pd-grid { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 78vh; }
.pd-media { overflow: hidden; background: var(--espresso); }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-info {
  padding: 90px clamp(34px, 3.6vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.pd-info h1 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; letter-spacing: .08em;
  margin: 14px 0 22px;
}
.pd-desc { font-size: 14.5px; line-height: 2.05; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.pd-price {
  font-family: "Cormorant Garamond", serif; font-size: 24px;
  color: var(--bone); letter-spacing: .06em; margin-bottom: 34px;
}
.pd-price .woocommerce-Price-amount { color: var(--bone); }

/* 交期區塊：獨立且明顯 */
.pd-leadtime {
  border: 1px solid var(--hairline); padding: 24px 26px; margin-bottom: 30px;
}
.lt-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; }
.lt-row .k { font-size: 12.5px; letter-spacing: .14em; color: var(--muted); }
.lt-row .v { font-size: 15px; color: var(--bone); letter-spacing: .04em; }
.lt-row .v.gold { color: #fff; font-family: "Cormorant Garamond", serif; font-size: 20px; }
.lt-note {
  margin-top: 14px; padding-top: 14px; border-top: 1px dotted var(--hairline);
  font-size: 12px; line-height: 1.85; color: var(--muted);
}

/* 交期的「為什麼」--沒有這段，4 個月就只是一個讓人卻步的數字 */
.lt-why {
  margin-top: 12px; font-size: 12.5px; line-height: 1.95; color: var(--bone);
  border-left: 1px solid var(--gold-bright); padding-left: 14px;
}

.pd-cta { margin-bottom: 30px; }
.btn-gold.lg, .btn-ghost.lg { padding: 16px 40px; font-size: 13.5px; letter-spacing: .2em; flex: none; }
.cta-note { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 30em; }

/* 信任訊號：緊貼 CTA，因為焦慮的高點就在按下去之前 */
.pd-trust { list-style: none; margin: 20px 0 0; padding: 0; }
.pd-trust li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 12.5px; line-height: 1.7; color: var(--muted); letter-spacing: .02em;
}
.pd-trust li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 5px; border-left: 1px solid var(--gold-bright);
  border-bottom: 1px solid var(--gold-bright); transform: rotate(-45deg);
}

.pd-specs details { border-top: 1px solid var(--hairline); }
.pd-specs details:last-child { border-bottom: 1px solid var(--hairline); }
.pd-specs summary {
  padding: 16px 0; cursor: pointer; font-size: 13.5px; letter-spacing: .1em;
  color: var(--bone); list-style: none; position: relative;
}
.pd-specs summary::-webkit-details-marker { display: none; }
.pd-specs summary::after {
  content: "+"; position: absolute; right: 2px; top: 15px; color: var(--gold-bright); font-size: 16px;
}
.pd-specs details[open] summary::after { content: "−"; }
.pd-specs .detail-body { padding: 0 0 18px; }
.pd-specs .detail-body p { font-size: 13.5px; line-height: 1.95; color: var(--muted); margin-bottom: 8px; }
.pd-specs .detail-body strong { color: var(--bone); font-weight: 500; }

.pd-longdesc { padding: 100px 0 0; }

/* ── 訂製洽詢表單 ── */
.inquiry { background: var(--espresso); padding: 130px 0; }
.inquiry-lead { max-width: 34em; font-size: 14.5px; line-height: 2; color: var(--muted); margin-bottom: 54px; }
.inquiry-form { max-width: 860px; }
.f-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 34px; margin-bottom: 26px; }
.f { display: block; }
.f.full { display: block; margin-bottom: 30px; }
.f > span {
  display: block; font-size: 12px; letter-spacing: .16em;
  color: var(--muted); margin-bottom: 9px;
}
.f input, .f select, .f textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--hairline); padding: 11px 2px;
  font-family: inherit; font-size: 14.5px; color: var(--bone);
  letter-spacing: .03em; outline: none; transition: border-color .3s ease;
}
.f textarea { border: 1px solid var(--hairline); padding: 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--gold); }
.f select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.f select option { background: var(--ink); color: var(--bone); }
.f input::placeholder, .f textarea::placeholder { color: #9d8f79; }

/* 量測指引：預設收合，不打斷會填的人；點開是我們比競品懂的地方 */
.measure-guide { border: 1px solid var(--hairline); margin-bottom: 30px; }
.measure-guide summary {
  padding: 15px 20px; cursor: pointer; list-style: none;
  font-size: 12.5px; letter-spacing: .12em; color: #fff; position: relative;
}
.measure-guide summary::-webkit-details-marker { display: none; }
.measure-guide summary::after {
  content: "+"; position: absolute; right: 20px; top: 14px; font-size: 15px;
}
.measure-guide[open] summary::after { content: "−"; }
.measure-body { padding: 4px 20px 22px; border-top: 1px dotted var(--hairline); }
.measure-item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; }
.measure-item .mi-k {
  letter-spacing: .1em; color: var(--bone);
  font-family: "Cormorant Garamond", serif; font-size: 19px;
}
.measure-item p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.measure-note {
  margin: 8px 0 0; padding-top: 14px; border-top: 1px dotted var(--hairline);
  font-size: 12.5px; line-height: 1.9; color: var(--muted);
}

.inquiry-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.inquiry-actions .btn-gold, .inquiry-actions .btn-ghost { cursor: pointer; background: transparent; }
.inquiry-note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.85; }

@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media { aspect-ratio: 4/5; }
  /* 手機版是單欄，外層 <main> 已經給了 8vw 的頁面留白，
     這裡再加 8vw 等於左右各縮 30px--實測內文每行只剩 17.3 字。
     水平內距歸零，文字剛好跟上方的商品圖切齊。 */
  .pd-info { padding: 52px 0 76px; }
  .inquiry { padding: 90px 0; }
  .f-grid { grid-template-columns: 1fr; gap: 22px; }
  .inquiry-actions { flex-direction: column; }
  .inquiry-actions .btn-gold, .inquiry-actions .btn-ghost { text-align: center; }
}

/* ── 球員內頁 ── */
.player-hero { min-height: 84vh; }
.player-hero h1 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px); letter-spacing: .08em; line-height: 1.45;
}
.player-hero .player-team {
  margin-top: 12px; font-size: 13.5px; letter-spacing: .22em; color: #fff;
}
.player-hero .copy p:last-of-type { margin-top: 20px; max-width: 32em; font-size: 15px; color: var(--bone); }
.player-story { padding: 30px 0 0; }
.player-story .entry { padding-top: 110px; padding-bottom: 0; }

/* 球員列表升級 */
.player h2 a { transition: color .3s ease; }
.player:hover h2 a { color: var(--gold-bright); }
.player .player-more { margin-top: 22px; }
.player .media { display: block; }
.player .media img { filter: saturate(.7) brightness(.9); transition: transform 1s cubic-bezier(.16,1,.3,1); }
.player:hover .media img { transform: scale(1.03); }

/* ══════════════════════════════════════════════════
   購物流程換膚（購物車／結帳／會員，合計一版型）
   重點：不讓 WooCommerce 預設的藍色按鈕與系統感表格破壞精品調性。
   文案配合接單客製化——明示製作期與後續流程。
   ══════════════════════════════════════════════════ */

.woocommerce-page main,
.woocommerce main { padding: 150px 6vw 120px; max-width: 1320px; margin: 0 auto; }
.woocommerce-page h1, .woocommerce h1 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .1em; margin-bottom: 40px;
}
.woocommerce-page h2, .woocommerce h2, .woocommerce h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 19px; letter-spacing: .09em; margin: 34px 0 18px; color: var(--bone);
}

/* 表格 */
.woocommerce table.shop_table {
  border: 1px solid var(--hairline); border-radius: 0; background: transparent;
  border-collapse: collapse; color: var(--bone);
}
.woocommerce table.shop_table th {
  font-size: 12px; letter-spacing: .16em; color: var(--muted);
  font-weight: 500; border-bottom: 1px solid var(--hairline); padding: 16px 14px;
}
.woocommerce table.shop_table td {
  border-top: 1px solid var(--hairline); padding: 18px 14px; font-size: 14px;
}
.woocommerce table.shop_table tbody tr:hover { background: rgba(179,145,90,.04); }
.woocommerce-cart table.cart img { width: 78px; }
.woocommerce table.shop_table .product-name a { color: var(--bone); }
.woocommerce table.shop_table .product-name a:hover { color: var(--gold-bright); }
.woocommerce .cart_totals table.shop_table { width: 100%; }

/* 按鈕：全部改金框，蓋掉 Woo 預設 */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order {
  background: transparent; color: #fff;
  border: 1px solid var(--gold); border-radius: 0;
  padding: 14px 32px; font-size: 13px; letter-spacing: .18em;
  font-family: inherit; font-weight: 400; text-shadow: none; line-height: 1.4;
  transition: background .3s ease, color .3s ease;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #place_order:hover { background: var(--gold); color: var(--ink); }
.woocommerce a.button.wc-backward { border-color: var(--hairline); color: var(--muted); }

/* 表單欄位 */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
  font-size: 12.5px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  background: transparent; border: 1px solid var(--hairline); border-radius: 0;
  color: var(--bone); padding: 12px 14px; font-family: inherit; font-size: 14px;
  height: auto; line-height: 1.6;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--gold); outline: none; }
.select2-dropdown, .select2-container--default .select2-results__option {
  background: var(--ink-soft); color: var(--bone); border-color: var(--hairline);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--espresso); color: #fff;
}

/* 區塊容器 */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce .cart_totals, .woocommerce-account .woocommerce-MyAccount-content {
  background: var(--ink-soft); padding: 30px 32px; border: 1px solid var(--hairline);
}
.woocommerce-checkout #order_review_heading { margin-top: 40px; }

/* 提示訊息 */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--ink-soft); border-top: 2px solid var(--gold);
  color: var(--bone); border-radius: 0;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-bright); }

/* 付款方式 */
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--hairline); padding: 0 0 18px;
}
.woocommerce-checkout #payment div.payment_box {
  background: var(--espresso); color: var(--muted); font-size: 13px;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--espresso); }

/* 接單客製化提示：讓客人知道付款後會發生什麼 */
.sunix-made-to-order-note {
  border: 1px solid var(--gold); padding: 20px 24px; margin: 0 0 34px;
  font-size: 13.5px; line-height: 1.95; color: var(--bone);
}
.sunix-made-to-order-note strong { color: #fff; font-weight: 500; }

/* 會員頁導覽 */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--hairline);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 14px 4px; font-size: 13.5px; letter-spacing: .08em; color: var(--muted);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--gold-bright); }

@media (max-width: 960px) {
  .woocommerce-page main, .woocommerce main { padding: 120px 8vw 90px; }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce .cart_totals { padding: 22px 20px; }
}

/* 補：WooCommerce 殘留的白底輸入框與預設外框（換膚未覆蓋到的部分） */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce .quantity input.qty,
.woocommerce #coupon_code,
.woocommerce table.cart td.actions .input-text {
  background: transparent !important; color: var(--bone) !important;
  border: 1px solid var(--hairline) !important; border-radius: 0 !important;
  padding: 10px 12px; font-family: inherit;
}
.woocommerce .quantity input.qty { width: 66px; text-align: center; }
.woocommerce input::placeholder { color: #9d8f79; }

/* 訊息框：拿掉預設藍色外框與圓角 */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-message *:focus, .woocommerce-info *:focus {
  outline: none !important; box-shadow: none !important; border-radius: 0 !important;
}
.woocommerce-message { border: 1px solid var(--hairline); border-top: 2px solid var(--gold); }

/* 移除商品的紅色刪除鈕，改金色 */
.woocommerce a.remove {
  color: var(--muted) !important; font-weight: 400;
  border-radius: 0; width: 22px; height: 22px; line-height: 20px;
}
.woocommerce a.remove:hover { background: transparent !important; color: #fff !important; }

/* 購物流程頁的頁首帶：拿掉空的背景框，改細線分隔 */
.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero,
.woocommerce-account .page-hero {
  background: transparent; padding: 150px 6vw 40px;
  border-bottom: 1px solid var(--hairline);
}

/* ── 聯繫我們 ── */
.contact-main { padding: 110px 0 140px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 90px; align-items: start; }
.contact-info h2 {
  font-family: "Cormorant Garamond", serif; font-size: 30px;
  letter-spacing: .22em; margin-bottom: 20px;
}
.ci-desc { font-size: 14.5px; line-height: 2; color: var(--muted); margin-bottom: 44px; max-width: 26em; }
.ci-list { border-top: 1px solid var(--hairline); margin-bottom: 44px; }
.ci-row { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.ci-row .k { width: 88px; flex-shrink: 0; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.ci-row .v { font-size: 14px; color: var(--bone); letter-spacing: .03em; }
.ci-quick { border: 1px solid var(--hairline); padding: 26px 28px; }
.ci-quick .qh {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 17px; letter-spacing: .08em; margin-bottom: 10px;
}
.ci-quick .qd { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-bottom: 20px; }
.ci-quick .qn { font-size: 12.5px; color: #fff; letter-spacing: .08em; }
.contact-form-wrap .inquiry-form { max-width: none; }

@media (max-width: 960px) {
  .contact-main { padding: 70px 0 90px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ── Experience ── */
.exp-kinds { padding: 110px 0 60px; }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.exp-kind { padding: 10px 34px; border-left: 1px solid var(--hairline); }
.exp-kind:first-child { border-left: none; padding-left: 0; }
.exp-en {
  font-family: "Cormorant Garamond", serif; font-size: 12px;
  letter-spacing: .3em; color: #fff; margin-bottom: 14px; text-transform: uppercase;
}
.exp-kind h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 20px; letter-spacing: .12em; margin-bottom: 16px;
}
.exp-desc { font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.exp-upcoming { padding: 70px 0 130px; }
.exp-upcoming .rows { margin-top: 10px; }
.exp-upcoming .row {
  display: grid; grid-template-columns: 1fr 220px; gap: 60px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--hairline);
}
.exp-upcoming .row:last-child { border-bottom: 1px solid var(--hairline); }
.exp-upcoming .row .media { aspect-ratio: 16/10; overflow: hidden; }
.exp-upcoming .row h3 {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(18px, 1.6vw, 23px); letter-spacing: .06em; line-height: 1.7;
}
.exp-upcoming .row:hover h3 { color: var(--gold-bright); }
.exp-upcoming .row .meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }
.exp-empty { padding: 60px 0; border-top: 1px solid var(--hairline); }
.exp-empty p {
  font-family: "Noto Serif TC", serif; font-size: 20px;
  letter-spacing: .08em; margin-bottom: 12px;
}
.exp-empty .sub { font-family: inherit; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

@media (max-width: 960px) {
  .exp-kinds { padding: 70px 0 30px; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-kind { border-left: none; border-top: 1px solid var(--hairline); padding: 30px 0; }
  .exp-kind:first-child { border-top: none; padding-top: 0; }
  .exp-upcoming { padding: 40px 0 90px; }
  .exp-upcoming .row { grid-template-columns: 1fr; gap: 18px; }
  .exp-upcoming .row .media { order: -1; }
}

/* ══════════════════════════════════════════════════════════════
   設計升級：字級對比、不對稱格線、重疊破格、節奏變化
   依據編輯設計原則——
   ① 字級對比做層次（大標與內文差距拉到 4–5 倍，而非 2.5 倍）
   ② 不對稱格線取代等分欄位
   ③ 重疊與破格製造深度
   ④ 留白是構圖決策，間距需有節奏而非一律相同
   ══════════════════════════════════════════════════════════════ */

/* ── ① 真正的字級對比 ── */
.about-hero h1 { font-size: clamp(27px, 3.4vw, 46px); line-height: 1.4; letter-spacing: .04em; }
.about-hero .copy { max-width: 1100px; }
.about-hero .copy p:last-of-type { font-size: clamp(14px, 1.05vw, 16px); max-width: 30em; }

.section-title { font-size: clamp(25px, 2.7vw, 40px); line-height: 1.45; letter-spacing: .07em; }
.manifesto-end h2 { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.6; letter-spacing: .08em; }
.collection-hero h1, .page-hero h1 { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.45; letter-spacing: .07em; }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; }
.brand-hero .brandname, .player-hero h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.35; }

/* 核心價值：從小卡片變成宣言級別 */


/* ── ② 哲學四問：不對稱格線（7:5 / 5:7）＋ 超大編號破格 ── */

.qa.flip { grid-template-columns: 5fr 7fr; }


/* 編號放大成背景層，跟標題重疊 */





/* ── ③ 工藝標準：錯落而非齊平（打破四宮格的呆板） ── */


/* 偶數項下推製造錯落。
   註1：CSS calc() 沒有取餘數運算子，不能用 var(--i) % 2。
   註2：不能用 transform——.reveal 動效已佔用 transform，兩者會打架。 */




/* ── ④ 產地：把數字放到最大，讓交期成為視覺主角 ── */






/* ── ⑤ 節奏：間距不再一律相同 ── */
      /* 主要宣言區：最大呼吸 */
               /* 次要 */



.about-outro { padding: 120px 0; }

/* ── ⑥ hero 破格：文字區左緣對齊內容欄，不再置中 ── */
.about-hero .copy, .player-hero .copy, .brand-hero .copy { padding-left: 6vw; padding-right: 6vw; }

/* ── ⑦ Collection：首件放大，打破等分格線 ── */
.pcard-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 44px; }
.collection-group:first-of-type .pcard-grid { grid-template-columns: 1.35fr 1fr 1fr; }
.collection-group:first-of-type .pcard:first-child .pcard-media { aspect-ratio: 3/4; }
.collection-group:first-of-type .pcard:first-child .pcard-name { font-size: 19px; }

/* ── ⑧ 章節小標統一收斂，讓大標更突出 ── */
.eyebrow { font-size: 11.5px; letter-spacing: .38em; }

@media (max-width: 960px) {
  .qa, .qa.flip { grid-template-columns: 1fr; }









  .collection-group:first-of-type .pcard-grid { grid-template-columns: 1fr; }
  .pcard-grid { gap: 50px; }
}

/* ── 升級後的修正：斷行與擠壓 ── */

/* Hero：容器加寬，避免大字被擠到尾字單獨成行 */
.about-hero .copy { max-width: 1280px; }
.about-hero h1 { text-wrap: balance; }
.section-title, .manifesto-end h2, .page-hero h1 { text-wrap: balance; }

/* 核心價值：三欄在大字級下太窄，收斂 padding 與字級，並讓每句話有完整呼吸 */







/* 工藝標準：把錯落做得更明確，並拉開左右欄距 */



/* 哲學編號：避免與圖片邊界打架，往內收 */
.qa.flip .qa-bignum { left: auto; right: 5vw; text-align: right; }

@media (max-width: 960px) {




  .qa.flip .qa-bignum { right: auto; left: 8vw; text-align: left; }
}

/* ══════════════════════════════════════════════════════════════
   散點式排版（依 awwwards 得獎站 Mount Street Printers 的手法）
   實測該站：29 個文字元素散佈在 20 個不同左緣位置、字級僅 14–20px、
   頁面 10404px 高卻只有 16 張圖——靠「位置」與「留白」製造層次，
   而不是靠字級大小。這裡把同樣的邏輯套到工藝標準與產地區。
   ══════════════════════════════════════════════════════════════ */

/* ── 工藝標準：從四宮格改為散點 ── */


/* 四個項目各自佔不同欄位與縱向位置，形成散點 */









/* 區塊標題不置中，往左靠並留出大片空白 */



/* ── 產地：兩塊錯開而非並排對齊 ── */







/* ── 哲學區文案：往內縮並讓右側留白，避免滿版塞滿 ── */




/* ══════════════════════════════════════════════════════════════
   散點排版套用到其餘頁面
   同一原則：元素不再全部塞進置中容器，各自佔不同欄位與縱向位置。
   ══════════════════════════════════════════════════════════════ */

/* ── Collection：三層分級入口改散點 ── */
.tiers .tier-grid { grid-template-columns: repeat(12, 1fr); }
.tiers .tier { border-left: none; padding: 0; }
.tiers .tier:nth-child(1) { grid-column: 1 / span 3; }
.tiers .tier:nth-child(2) { grid-column: 5 / span 3; margin-top: 84px; }
.tiers .tier:nth-child(3) { grid-column: 9 / span 4; margin-top: 34px; }
.tiers .tier { border-top: 1px solid var(--hairline); padding-top: 24px; }
.tiers .tier-time { font-size: clamp(26px, 2.6vw, 36px); }
.tiers { padding: 130px 0 40px; }

/* ── Collection：商品卡片錯落，打破整齊格線 ── */
.pcard-grid { align-items: start; }
.collection-group .pcard:nth-child(2) { margin-top: 64px; }
.collection-group .pcard:nth-child(3) { margin-top: 26px; }
.collection-group .pcard:nth-child(5) { margin-top: 48px; }
/* 群組標題往左靠、不與內容等寬 */
.group-head { max-width: 720px; border-bottom: none; padding-bottom: 0; margin-bottom: 68px; }
.group-head h2 { border-top: 1px solid var(--hairline); padding-top: 18px; width: 100%; }
.collection-group { padding: 110px 0; }

/* ── 品牌館：社長／工匠的話改左右錯開，不再置中堆疊 ── */
.voice .wrap {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 40px; align-items: start;
}
.voice .eyebrow { grid-column: 1 / span 3; }
.voice h2 { grid-column: 1 / span 4; margin-bottom: 0; }
.voice .video { grid-column: 6 / span 7; grid-row: 1 / span 3; margin-bottom: 0; }
.voice .voice-text { grid-column: 1 / span 4; margin-top: 34px; max-width: none; }
.voice.alt .eyebrow { grid-column: 9 / span 4; }
.voice.alt h2 { grid-column: 8 / span 5; }
.voice.alt .video { grid-column: 1 / span 6; }
.voice.alt .voice-text { grid-column: 8 / span 5; }
.voice { padding: 150px 0; }

/* ── 球員列表：加大錯落與留白 ── */
.players-list .player:nth-child(even) { margin-top: 56px; }
.players-list .player { border-top: 1px solid var(--hairline); padding: 54px 0 70px; }
.player .player-head { max-width: 30em; }

/* ── 首頁：精選商品與 Journal 也帶入錯落 ── */
.shop .prod-grid { align-items: start; }
.shop .prod:nth-child(2) { margin-top: 52px; }
.shop .prod:nth-child(4) { margin-top: 32px; }
.shop .head { max-width: 640px; }
.journal .row:nth-child(even) { padding-left: 8%; }

@media (max-width: 960px) {
  .tiers .tier-grid { grid-template-columns: 1fr; }
  .tiers .tier:nth-child(1), .tiers .tier:nth-child(2), .tiers .tier:nth-child(3) {
    grid-column: 1; margin-top: 30px;
  }
  .tiers .tier:nth-child(1) { margin-top: 0; }
  .collection-group .pcard:nth-child(2),
  .collection-group .pcard:nth-child(3),
  .collection-group .pcard:nth-child(5) { margin-top: 0; }
  .collection-group { padding: 60px 0; }
  .voice .wrap { grid-template-columns: 1fr; }
  .voice .eyebrow, .voice h2, .voice .video, .voice .voice-text,
  .voice.alt .eyebrow, .voice.alt h2, .voice.alt .video, .voice.alt .voice-text {
    grid-column: 1; grid-row: auto;
  }
  .voice .video { margin: 24px 0 28px; }
  .voice { padding: 90px 0; }
  .players-list .player:nth-child(even) { margin-top: 0; }
  .shop .prod:nth-child(2), .shop .prod:nth-child(4) { margin-top: 0; }
  .journal .row:nth-child(even) { padding-left: 0; }
}

/* ── 分級群組只有一件商品時：改橫式大卡，避免右側開天窗 ──
   （Glitter 飾品交期短皆屬入門級，導致標準／頂級組各只有一件） */
.pcard-grid .pcard:only-child {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px;
  align-items: center; margin-top: 0;
}
.pcard-grid .pcard:only-child .pcard-media {
  aspect-ratio: 4/3; margin-bottom: 0; grid-row: 1 / span 2;
}
.pcard-grid .pcard:only-child .pcard-body { padding: 10px 0; }
.pcard-grid .pcard:only-child .pcard-name { font-size: 21px; }
.pcard-grid .pcard:only-child .pcard-desc { font-size: 14.5px; max-width: 26em; }
.pcard-grid .pcard:only-child .pcard-specs { max-width: 30em; }
.pcard-grid .pcard:only-child .pcard-cta { max-width: 26em; }

@media (max-width: 960px) {
  .pcard-grid .pcard:only-child { grid-template-columns: 1fr; gap: 0; }
  .pcard-grid .pcard:only-child .pcard-media { grid-row: auto; margin-bottom: 22px; aspect-ratio: 4/5; }
}

/* ══════════════════════════════════════════════════════════════
   手機版最終修正
   ⚠ 這一段必須留在檔案最後：先前的散點規則寫在原本的 media query
   之後，會把手機版的單欄設定覆蓋掉（實測商品卡在 390px 變成三欄、
   每張只剩 120px 寬）。CSS 同特異性時後定義者勝，故重設放最後。
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .pcard-grid,
  .collection-group .pcard-grid { grid-template-columns: 1fr !important; gap: 50px; }
  .collection-group:first-of-type .pcard-grid { grid-template-columns: 1fr !important; }
  .collection-group .pcard:nth-child(2),
  .collection-group .pcard:nth-child(3),
  .collection-group .pcard:nth-child(5) { margin-top: 0; }

  .tiers .tier-grid { grid-template-columns: 1fr !important; }


  .voice .wrap { grid-template-columns: 1fr !important; }

  .shop .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .shop .prod:nth-child(2), .shop .prod:nth-child(4) { margin-top: 0; }
  .players-list .player:nth-child(even) { margin-top: 0; }
  .journal .row:nth-child(even) { padding-left: 0; }
}

/* ── 哲學後兩問：文字對照版型（打破連續 image+text split） ── */








/* ══════════════════════════════════════════════════════════════
   工藝標準區重做
   問題：先前把四條純文字標準做成散點，留白沒有承接物，整區空洞。
   修正：四條是有秩序的清單 -> 緊湊排列；留白集中到右側，由影像承接。
   ══════════════════════════════════════════════════════════════ */





/* 四條標準：編號與內容同列，行距緊湊，彼此以細線相隔 */







/* 右側影像：滿版到區塊邊緣，承接左側留白 */






/* 覆寫先前散點版的 nth-child 位移（特異性需相等才蓋得掉） */


/* 產地＋交期標籤（產地為小字上標），月產量另立標籤標示稀缺性 */
.lead-badge em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .2em; color: #fff; margin-bottom: 3px; }
.limit-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 6px 12px; font-size: 10.5px; letter-spacing: .14em;
  color: var(--bone); background: rgba(20,16,13,.62);
  border: 1px solid var(--hairline); backdrop-filter: blur(6px);
}

/* 商品規格列表 */
.spec-list .spec-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px dotted var(--hairline);
}
.spec-list .spec-row:last-child { border-bottom: none; }
.spec-list .spec-row .k { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.spec-list .spec-row .v { font-size: 13.5px; color: var(--bone); line-height: 1.7; }

/* ═══════════ 首頁改版（2026-07-27）：主推台製線 ═══════════ */

/* ── S2 主推線 ──
   全站最重要的區塊，緊接 Hero。價格與交期用大字直接寫出來，
   不做成需要點進去才看得到的資訊--這兩件事就是買家的第一個問題。 */
.theline { background: var(--espresso); padding: 140px 0 130px; }
.theline .tl-head { max-width: 46em; }
.theline h2 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(26px, 2.9vw, 42px); line-height: 1.5; letter-spacing: .08em;
}
.tl-lead { margin-top: 26px; font-size: 15px; line-height: 2.05; color: var(--muted); max-width: 34em; }

.tl-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 84px; border-top: 1px solid var(--hairline);
}
.tl-fact {
  padding: 40px 44px 36px; border-left: 1px solid var(--hairline);
  display: flex; flex-direction: column;
}
.tl-fact:first-child { border-left: none; padding-left: 0; }
.tl-fact .f-k { font-size: 12px; letter-spacing: .24em; color: var(--muted); margin-bottom: 18px; }
.tl-fact .f-v {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: .04em;
  color: #fff;
}
.tl-fact .f-n { margin-top: 16px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }

.tl-cta { margin-top: 70px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ── S3 訂製流程 ──
   四欄橫排在中文長句下每欄太窄，用 2×2 讓每一步有完整的閱讀寬度。 */
.process { padding: 140px 0 130px; }
.process .section-title { margin-bottom: 74px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.step {
  padding: 46px 56px 50px; border-top: 1px solid var(--hairline);
  position: relative;
}
.step:nth-child(odd) { padding-left: 0; }
.step:nth-child(even) { border-left: 1px solid var(--hairline); }
.step .s-num {
  display: block; font-family: "Cormorant Garamond", serif;
  font-size: 15px; letter-spacing: .3em; color: #fff; margin-bottom: 20px;
}
.step h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 21px; letter-spacing: .1em; margin-bottom: 16px;
}
.step p { font-size: 14px; line-height: 2.05; color: var(--muted); max-width: 27em; }

/* ── S4 為什麼是 Katana ── */
.whykatana { display: grid; grid-template-columns: 10fr 10fr; min-height: 84vh; }
.whykatana .media { overflow: hidden; }
.whykatana .media img { transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.whykatana:hover .media img { transform: scale(1.03); }
.whykatana .copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 7vw; background: var(--ink-soft);
}
.whykatana h2 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(25px, 2.7vw, 38px); line-height: 1.55; letter-spacing: .08em;
  margin-bottom: 30px;
}
.whykatana p { font-size: 14.5px; line-height: 2.05; color: var(--muted); max-width: 31em; margin-bottom: 22px; }
.whykatana .textlink { margin-top: 22px; }

/* ── S5 兩館並置 ──
   原版兩個品牌各給一段滿版左右分割，造成連續三段同版型，
   且 Glitter 不是主推線，不該與 Katana 分到同等篇幅。 */
.halls { background: var(--ink-soft); padding: 140px 0 130px; }
.halls .section-title { margin-bottom: 70px; }
.hall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.hall-card { display: block; }
.hc-media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.hc-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(38,28,19,.28), rgba(20,16,13,.5));
  mix-blend-mode: multiply;
}
.hc-media img {
  filter: saturate(.62) brightness(.9) contrast(1.05);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
}
.hall-card:hover .hc-media img { transform: scale(1.04); }
.hc-body { padding: 30px 2px 0; }
.hc-body h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .2em;
  transition: color .3s ease;
}
.hall-card:hover .hc-body h3 { color: var(--gold-bright); }
.hc-zh { margin-top: 8px; font-size: 13px; letter-spacing: .26em; color: var(--muted); }
.hc-quote { margin-top: 20px; font-size: 14px; line-height: 2; color: var(--muted); max-width: 26em; }
.hc-more {
  display: inline-block; margin-top: 26px;
  font-size: 12.5px; letter-spacing: .24em; color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .whykatana .media img, .hc-media img { transition: none; }
}

@media (max-width: 960px) {
  .theline { padding: 96px 0 90px; }
  .tl-facts { grid-template-columns: 1fr; margin-top: 56px; }
  .tl-fact { border-left: none; border-top: 1px solid var(--hairline); padding: 30px 0 28px; }
  .tl-fact:first-child { border-top: none; padding-top: 4px; }
  .tl-cta { margin-top: 48px; }
  .tl-cta .btn-gold.lg, .tl-cta .btn-ghost.lg { flex: 1 1 100%; text-align: center; }

  .process { padding: 96px 0 90px; }
  .process .section-title { margin-bottom: 46px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(even) {
    padding: 34px 0 32px; border-left: none;
  }

  .whykatana { grid-template-columns: 1fr; min-height: 0; }
  .whykatana .media { aspect-ratio: 4/3; order: -1; }
  .whykatana .copy { padding: 70px 8vw 84px; }

  .halls { padding: 96px 0 90px; }
  .halls .section-title { margin-bottom: 44px; }
  .hall-grid { grid-template-columns: 1fr; gap: 54px; }
}

/* ═══════════ Collection 改版（2026-07-27）═══════════ */

/* ── 守備位置指引 ──
   客人點進 Collection 時多半還沒決定幾吋、什麼擋型。
   先給一張能掃完的對照，再讓他看商品，比直接丟商品陣列有用得多。 */
.guide { padding: 110px 0 20px; }
.guide .section-title { margin-bottom: 46px; }
.guide-list { border-top: 1px solid var(--hairline); }
.guide-row {
  display: grid; grid-template-columns: 96px 148px 130px 1fr;
  gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
}
.guide-row .g-pos {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 17px; letter-spacing: .1em; color: var(--bone);
}
.guide-row .g-size {
  font-family: "Cormorant Garamond", serif; font-size: 20px;
  letter-spacing: .06em; color: #fff;
}
.guide-row .g-web { font-size: 13.5px; letter-spacing: .08em; color: var(--bone); }
.guide-row .g-note { font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.guide-foot { margin-top: 30px; font-size: 13px; line-height: 1.95; color: var(--muted); max-width: 42em; }

/* ── 分級區塊 ──
   原版 group-head 是單行 flex，加入說明段落後會擠在同一行，改為垂直堆疊。 */
.collection-group .group-head {
  display: block; max-width: 46em;
  border-bottom: none; padding-bottom: 0; margin-bottom: 60px;
}
.collection-group .group-head h2 {
  border-top: 1px solid var(--hairline); padding-top: 20px; width: 100%;
  margin-bottom: 12px;
}
.collection-group .group-time { display: block; margin-bottom: 16px; }
.collection-group .group-desc { font-size: 14px; line-height: 2; color: var(--muted); }

/* 主推線：不加大字級，靠背景層次與金色標記把它抬起來，
   避免整頁變成兩種字級在打架。 */
.collection-group.main-line { background: var(--ink-soft); padding-top: 96px; padding-bottom: 96px; }
.collection-group.main-line .group-head h2 { border-top-color: var(--gold); }
.group-flag {
  display: inline-block; margin-bottom: 6px;
  font-size: 11.5px; letter-spacing: .3em; color: #fff;
}

/* ── 收尾詢問 ── */
.collection-ask { background: var(--espresso); padding: 120px 0; text-align: center; }
.collection-ask h2 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(23px, 2.3vw, 32px); letter-spacing: .1em; margin-bottom: 18px;
}
.collection-ask p { font-size: 14.5px; line-height: 2; color: var(--muted); max-width: 34em; margin: 0 auto; }
.ask-cta { margin-top: 40px; }

@media (max-width: 960px) {
  .guide { padding: 78px 0 10px; }
  .guide .section-title { margin-bottom: 32px; }
  .guide-row {
    grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 20px 0;
  }
  .guide-row .g-pos { grid-column: 1; }
  .guide-row .g-size { grid-column: 2; text-align: right; }
  .guide-row .g-web { grid-column: 1 / -1; }
  .guide-row .g-note { grid-column: 1 / -1; }
  .collection-group.main-line { padding-top: 68px; padding-bottom: 68px; }
  .collection-group .group-head { margin-bottom: 44px; }
  .collection-ask { padding: 82px 0; }
}

/* 飾品區塊：沒有製作分級，也不需要手套那種錯落敘事，並排即可。
   錯落用的 align-items:start 會讓卡片高度各自為政，這裡改回 stretch，
   下單鍵才落得到同一條線上。 */
.collection-group.accessories .pcard-grid { align-items: stretch; }
.collection-group.accessories .pcard:nth-child(2),
.collection-group.accessories .pcard:nth-child(3),
.collection-group.accessories .pcard:nth-child(5) { margin-top: 0; }

/* 主推線的標記字太小，撐不起「這是主打」的份量 */
.group-flag { font-size: 12.5px; letter-spacing: .32em; margin-bottom: 10px; }

/* 同列卡片的文案長度不一時，下單鍵會一張高一張低。
   把內文區撐開、CTA 推到底，讓同列的按鈕落在同一條線上。
   （:only-child 是 grid 大卡版型，不套用。） */
.pcard-grid .pcard:not(:only-child) .pcard-body {
  display: flex; flex-direction: column; flex: 1;
}
.pcard-grid .pcard:not(:only-child) .pcard-cta { margin-top: auto; padding-top: 20px; }

/* LINE 按鈕：圖示與文字同一基線，圖示不隨字距被推開 */
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-line .line-icon { flex: none; display: block; }
/* 字距是加在字的右側，會讓文字看起來偏左；補一點左邊距讓視覺置中 */
.btn-line > span { padding-left: .1em; }

/* ── 品牌宣言（首頁收尾）──
   這個區塊原本只定義了標題字級，沒有任何間距，四個元素直接疊在一起。
   宣言要的是節奏：每個元素之間留出足夠的停頓，讀者才會慢下來讀。 */
.manifesto-end { padding: 170px 0 160px; text-align: center; }
.manifesto-end .eyebrow { margin-bottom: 34px; }
.manifesto-end h2 { margin: 0 auto; max-width: 20em; }

.brand-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  margin: 78px auto 0; padding: 38px 66px;
  border: 1px solid var(--hairline);
}
.bc-logo {
  font-family: "Cormorant Garamond", serif; font-size: 38px; font-weight: 600;
  letter-spacing: .34em; text-indent: .34em; color: var(--bone); line-height: 1;
}
.bc-logo span { color: var(--gold-bright); }
.bc-tag {
  font-family: "Cormorant Garamond", serif; font-size: 12px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}

.manifesto-text { max-width: 40em; margin: 78px auto 0; text-align: left; }
.manifesto-text p { font-size: 15px; line-height: 2.15; color: var(--muted); }
.manifesto-text p + p { margin-top: 28px; }

@media (max-width: 960px) {
  .manifesto-end { padding: 104px 0 96px; }
  .manifesto-end .eyebrow { margin-bottom: 24px; }
  .brand-card { margin-top: 54px; padding: 30px 40px; }
  .bc-logo { font-size: 30px; }
  .manifesto-text { margin-top: 54px; }
}

/* ── 社長／工匠的話：影片或圖片 ──
   原本只支援影片，欄位空著時右半邊整個開天窗。
   voice-media 接手原本 .video 的格線位置，影片與圖片共用同一個框。 */
.voice .voice-media {
  grid-column: 6 / span 7; grid-row: 1 / span 3; margin-bottom: 0;
  border: 1px solid var(--hairline); background: var(--espresso); overflow: hidden;
}
.voice .voice-media.is-video { aspect-ratio: 16/9; }
.voice .voice-media.is-image { aspect-ratio: 4/3; }
.voice .voice-media iframe, .voice .voice-media video { width: 100%; height: 100%; display: block; border: 0; }
/* 佔位圖的色溫與全站不一致，統一壓暗降飽和，跟商品縮圖同一套處理 */
.voice .voice-media.is-image img { filter: saturate(.6) brightness(.86) contrast(1.06); }
.voice .voice-media.is-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(38,28,19,.3), rgba(20,16,13,.5));
  mix-blend-mode: multiply;
}
.voice .voice-media.is-image { position: relative; }

@media (max-width: 960px) {
  .voice .voice-media { grid-column: 1 / -1; grid-row: auto; margin-bottom: 30px; }
  .voice .voice-media.is-image { aspect-ratio: 3/2; }
}

/* 工匠的話是鏡像版（圖左字右），voice-media 要跟著換邊--
   漏了這條會讓圖與文字都擠在右半邊，左邊整片開天窗。 */
.voice.alt .voice-media { grid-column: 1 / span 6; }

@media (max-width: 960px) {
  .voice .voice-media, .voice.alt .voice-media { grid-column: 1; grid-row: auto; }
}

/* ── 內頁標題區的背景圖 ──
   純色底的 page-hero 跟首頁滿版主視覺落差太大，進到內頁像換了一個網站。
   加背景圖的同時要保住標題可讀性：漸層由下往上壓黑，文字永遠落在暗的那一側。 */
.page-hero.has-media {
  position: relative; overflow: hidden;
  padding-top: 220px; padding-bottom: 110px;
  border-bottom: none;
}
.page-hero .hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.58) brightness(.8) contrast(1.05);
}
.page-hero.has-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20,16,13,.96) 0%, rgba(20,16,13,.72) 46%, rgba(20,16,13,.5) 100%);
}
.page-hero.has-media > *:not(.hero-media) { position: relative; z-index: 2; }

@media (max-width: 960px) {
  .page-hero.has-media { padding-top: 150px; padding-bottom: 74px; }
}

/* ── 商品分類頁 ── */
.archive-products { padding-top: 96px; }
.archive-meta {
  margin-bottom: 44px; font-size: 12.5px; letter-spacing: .2em; color: var(--muted);
}
/* 分類頁的商品數量不固定，維持與 Collection 一致的錯落即可，
   但單一商品時不要套 :only-child 的大卡版型--分類頁是列表不是主打區。 */
.archive-products .pcard-grid .pcard:only-child { display: block; }
.archive-products .pcard-grid .pcard:only-child .pcard-media { aspect-ratio: 4/5; margin-bottom: 22px; }

.woocommerce-pagination { margin-top: 70px; }
.woocommerce-pagination ul {
  display: flex; gap: 10px; list-style: none; justify-content: center; padding: 0;
}
.woocommerce-pagination li a, .woocommerce-pagination li span {
  display: block; min-width: 42px; padding: 11px 0; text-align: center;
  border: 1px solid var(--hairline); font-size: 13px; letter-spacing: .1em;
  color: var(--muted); transition: border-color .3s ease, color .3s ease;
}
.woocommerce-pagination li a:hover { border-color: var(--gold); color: var(--bone); }
.woocommerce-pagination li span.current { border-color: var(--gold); color: #fff; }

/* 商品彙整頁改用主題自己的滿版版型，不吃 WooCommerce 頁面那組容器限制
   （`.woocommerce main` 的 max-width:1320px + 6vw padding 是為購物車與
   結帳寫的，套到分類頁會讓 hero 背景圖縮成中間一塊，左右露出黑邊）。
   購物車／結帳／商品單頁不受影響。 */
body.woocommerce.archive main,
body.woocommerce.post-type-archive-product main {
  padding: 0; max-width: none; margin: 0;
}

/* ── Experience：下單前的三件事 ── */
.exp-steps { padding: 120px 0 110px; }
.exp-steps .section-title { margin-bottom: 66px; }
.exp-list { border-top: 1px solid var(--hairline); }
.exp-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 40px;
  padding: 46px 0; border-bottom: 1px solid var(--hairline);
}
.exp-item .ei-num {
  font-family: "Cormorant Garamond", serif; font-size: 30px;
  letter-spacing: .16em; color: #fff; line-height: 1;
}
.exp-item h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 21px; letter-spacing: .1em; margin-bottom: 16px;
}
.exp-item .ei-main { font-size: 15px; line-height: 2.05; color: var(--bone); max-width: 34em; }
.exp-item .ei-note {
  margin-top: 16px; padding-left: 16px; border-left: 1px solid var(--gold);
  font-size: 13px; line-height: 1.95; color: var(--muted); max-width: 34em;
}
.exp-cta { margin-top: 58px; }

/* ── Experience：售後 ── */
.exp-after { background: var(--espresso); padding: 120px 0 116px; }
.exp-after .section-title { margin-bottom: 60px; }
.after-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.after-item { padding: 6px 44px; border-left: 1px solid var(--hairline); }
.after-item:first-child { border-left: none; padding-left: 0; }
.after-item h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 18px; letter-spacing: .08em; margin-bottom: 14px;
}
.after-item p { font-size: 14px; line-height: 2; color: var(--muted); }

@media (max-width: 960px) {
  .exp-steps { padding: 78px 0 70px; }
  .exp-steps .section-title, .exp-after .section-title { margin-bottom: 40px; }
  .exp-item { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .exp-cta { margin-top: 40px; }
  .exp-cta .btn-gold.lg { width: 100%; }
  .exp-after { padding: 78px 0 74px; }
  .after-grid { grid-template-columns: 1fr; gap: 34px; }
  .after-item, .after-item:first-child {
    padding: 30px 0 0; border-left: none; border-top: 1px solid var(--hairline);
  }
  .after-item:first-child { border-top: none; padding-top: 0; }
}

/* ── 疊在圖片上的文字 ──
   對比量測只能算純色背景，疊在照片上的文字實際對比取決於照片那一塊有多亮，
   所以這裡不靠顏色，靠遮罩保底。

   2026-07-28 客戶反應遮罩太暗、照片看不出來，調淡。放多淡不是憑感覺調--
   做法是把文字暫時隱形、截圖、採文字 bounding box 內的實際像素亮度，
   算白字壓上去的真實對比，逐組候選值量到剛好卡在安全邊界：
     小字段落 15.5px 最差 10.1:1／大標 50px 最差 3.4:1（門檻 3.0）
     導覽列 13.5px 最差 4.9:1（門檻 4.5）← 這一項是限制因素，再淡就破線
   量測腳本與方法見 session 記錄；日後要再調，照同樣方式量過再改。 */
.hero::after {
  background: linear-gradient(to top, rgba(20,16,13,.70) 0%, rgba(20,16,13,.45) 32%, rgba(20,16,13,.16) 70%, rgba(20,16,13,.08) 100%);
}
.players::after {
  background: linear-gradient(to right, rgba(20,16,13,.95) 0%, rgba(20,16,13,.88) 34%, rgba(20,16,13,.3) 78%);
}
.page-hero.has-media::after {
  background: linear-gradient(to top, rgba(20,16,13,.72) 0%, rgba(20,16,13,.50) 42%, rgba(20,16,13,.30) 100%);
}
/* 商品卡與品牌卡的圖上文字（品名壓在圖片下緣） */
.pcard-media::after, .hc-media::after {
  background: linear-gradient(180deg, rgba(38,28,19,.22) 0%, rgba(20,16,13,.42) 52%, rgba(20,16,13,.82) 100%);
}

/* 小字改用白字之後的層級校正 ──
   次要文字變亮，原本的眉標（gold-bright）反而比內文暗，讀起來像被推到背景。
   眉標本來就是標籤不是內文，維持金色但補足字重與字距的辨識度即可。 */
.eyebrow { font-weight: 500; }
/* 規格表的鍵：一樣用白，主次靠字級與字距拉開，不靠壓暗--
   壓暗就等於把剛提上來的對比又還回去。 */
.spec-list .spec-row .k, .pcard-specs .spec .k, .lt-row .k, .tl-fact .f-k {
  color: var(--muted); letter-spacing: .2em;
}

/* ══════════════════════════════════════════════════════════════
   品牌故事頁（page-about.php）
   客戶正式文案的 SECTION 01-07，一段一種版型。

   為什麼要另立一組 .story-* 樣式，而不是沿用舊的 .qa／.standards：
   舊版是我方擬稿的「四問＋四標準＋兩產地」，全是條列式短句，版型也是為條列
   設計的。正式文案改成了大段敘事，條列版型套上去會把長段落硬塞進小格子。
   版型跟著文案重做，舊樣式在下一段一併移除，不留兩套。

   全頁排版原則：
   ① 沒有一種版型連續出現兩次--左標右文（02）／並排圖文（03）／滿版影像（04）
      ／置中三欄（05）／散點（06）／封緘（07），讀者每捲一段就換一次呼吸。
   ② 深色到底，不引白底（客戶 7/26 拍板）。
   ③ 長段落一律限制在 34em 以內，中文長行超過這個寬度就會開始跳行。
   ══════════════════════════════════════════════════════════════ */

/* 錨點：導覽列是固定的 72px，不留出這段的話，從選單跳過來會被列蓋住開頭 */
#story, #philosophy, #craftsmanship, #values { scroll-margin-top: 72px; }

/* 全頁共用的內文與強調級距 */
.story-why p, .story-philosophy p, .story-craft p,
.story-role p, .story-closing-text p {
  font-size: 15px; line-height: 2.15; color: var(--muted); letter-spacing: .02em;
}
.story-why p + p, .story-craft-text p + p, .story-closing-text p + p { margin-top: 28px; }

/* 段落之上的引導句：比內文大一級，用襯線體轉場 */
.story-lead {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.95 !important; letter-spacing: .05em;
  color: var(--bone) !important; max-width: 26em;
}

/* 段落之中的轉折句／收束句：不加框、只靠字體與字級 */
.story-turn {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.95 !important; letter-spacing: .06em;
  color: var(--bone) !important; max-width: 24em;
}

/* ── SECTION 01：HERO ──
   兩行標題各自成句，強制斷行；說明文字放寬到 44em，
   否則第一行的 30 個中文字剛好卡在邊界上，會斷出一個孤字。 */
.about-hero .copy p:last-of-type { max-width: 44em; }
.about-hero .btn { letter-spacing: .26em; }

/* ── SECTION 02：WHY SUNIX EXISTS ──
   左標題釘住不動、右敘事往上捲。這一段是全頁最長的文字，
   標題留在視線裡，讀者才不會捲到一半忘記自己在讀哪一段。 */
.story-why { background: var(--ink); padding: 170px 0 160px; }
.story-split { display: grid; grid-template-columns: 5fr 6fr; gap: 0 8%; align-items: start; }
.story-split-head { position: sticky; top: 118px; }
.story-split-head .section-title { max-width: none; margin-bottom: 0; }
.story-why .story-lead { margin-bottom: 34px; }
.story-why .story-bridge {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.95; letter-spacing: .05em;
  color: var(--bone); border-left: 2px solid var(--gold); padding-left: 24px;
}
.story-why .story-turn { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--hairline); }

/* ── SECTION 03：OUR CURATION PHILOSOPHY ── */
.story-philosophy { background: var(--ink-soft); padding: 0 0 120px; }
.story-side { display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; }
.story-side-media { position: relative; min-height: 74vh; overflow: hidden; }
.story-side-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(58,42,26,.55), rgba(20,16,13,.62));
  mix-blend-mode: multiply;
}
.story-side-media img {
  filter: saturate(.42) brightness(.72) contrast(1.06) sepia(.22);
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.story-side:hover .story-side-media img { transform: scale(1.03); }
.story-side-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 13vh 6vw 13vh 5vw;
}
.story-side-copy .section-title {
  font-size: clamp(23px, 2.2vw, 33px); margin-bottom: 30px;
}
.story-side-copy .story-lead { margin-bottom: 26px; }
.story-side-copy p:last-child { max-width: 26em; }

/* 選品的那一道提問：整條橫幅、置中、上下留白最大的一段 */
.story-question {
  background: var(--espresso); padding: 120px 6vw;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.story-question::before {
  content: ""; display: block; width: 48px; height: 1px;
  background: var(--gold); margin: 0 auto 44px;
}
.story-question blockquote {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(21px, 2.3vw, 32px); line-height: 1.9; letter-spacing: .08em;
  color: var(--bone); max-width: 22em; margin: 0 auto;
}
/* 回答刻意不與提問對齊：轉折句靠左、補述往右推，形成一個回身的動作 */
.story-answer {
  padding-top: 104px;
  display: grid; grid-template-columns: repeat(12, 1fr);
}
.story-answer .story-turn { grid-column: 1 / span 5; max-width: none; }
.story-answer p:last-child { grid-column: 7 / span 6; max-width: none; margin-top: 58px; }

/* ── SECTION 04：OUR BELIEF IN CRAFT ──
   全頁唯一的滿版影像段。文字壓在左側，遮罩往右退，
   讓皮革紋理露出來但不干擾閱讀。 */
.story-craft { position: relative; padding: 150px 0; overflow: hidden; }
.story-craft-media { position: absolute; inset: 0; }
.story-craft-media img { filter: saturate(.5) brightness(.62) contrast(1.05); }
.story-craft::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(20,16,13,.96) 0%, rgba(20,16,13,.9) 40%, rgba(20,16,13,.5) 100%);
}
.story-craft-copy { position: relative; z-index: 2; }
.story-craft-copy .section-title { margin-bottom: 46px; }
.story-craft-text { max-width: 34em; }
.story-craft .story-turn { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--hairline); }

/* ── SECTION 05：OUR ROLE ──
   置中標題＋三欄並置。三個段落份量相近，並排比往下堆更能看出「橋樑」的橫向感。 */
.story-role { background: var(--espresso); padding: 160px 0; text-align: center; }
.story-role .section-title { max-width: 16em; margin: 0 auto 30px; }
.story-role .story-lead { margin: 0 auto; max-width: 28em; }
.story-cols {
  margin-top: 72px; text-align: left;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 60px;
}
.story-cols p { border-top: 1px solid var(--hairline); padding-top: 28px; }
.story-role .story-turn.centered {
  margin: 78px auto 0; max-width: 27em; text-align: center;
}

/* ── SECTION 06：SUNIX VALUES ──
   四項散開排列。齊平的四宮格會讀成規格表，錯開之後才像四個獨立的主張。 */
.story-values { background: var(--ink); padding: 170px 0 150px; }
.story-values .section-title { margin-bottom: 90px; }
.story-value-grid { display: grid; grid-template-columns: repeat(12, 1fr); }
.story-value { border-top: 1px solid var(--hairline); padding-top: 26px; }
.story-value:nth-child(1) { grid-column: 1 / span 4; }
.story-value:nth-child(2) { grid-column: 6 / span 4; margin-top: 104px; }
.story-value:nth-child(3) { grid-column: 2 / span 4; margin-top: 84px; }
.story-value:nth-child(4) { grid-column: 8 / span 4; margin-top: 34px; }
.story-value .value-en {
  font-family: "Cormorant Garamond", serif; font-size: 12px;
  letter-spacing: .3em; color: #fff; margin-bottom: 16px;
}
.story-value h3 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: 20px; letter-spacing: .14em; margin-bottom: 14px;
}
.story-value .value-text { font-size: 13.5px; line-height: 2; color: var(--muted); }

/* ── SECTION 07：CLOSING ──
   最後一句話用一個框收起來，像在文件上蓋章。 */
.story-closing { background: var(--ink-soft); padding: 170px 0 160px; text-align: center; }
.story-closing h2 {
  font-family: "Noto Serif TC", serif; font-weight: 600;
  font-size: clamp(24px, 2.8vw, 40px); line-height: 1.6; letter-spacing: .08em;
  max-width: 20em; margin: 0 auto;
}
.story-closing-text { max-width: 38em; margin: 74px auto 0; text-align: left; }
.story-seal {
  max-width: 660px; margin: 96px auto 0; padding: 58px 60px;
  border: 1px solid var(--hairline);
}
.story-seal .bc-logo { display: block; margin-bottom: 38px; }
.story-seal blockquote {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: clamp(19px, 2vw, 27px); line-height: 1.9; letter-spacing: .07em;
  color: var(--bone);
}
.story-seal .story-en {
  margin-top: 32px; font-size: 16px; font-style: italic;
  letter-spacing: .06em; color: #fff;
}
.story-closing .outro-links {
  margin-top: 74px; display: flex; gap: 60px; justify-content: center; flex-wrap: wrap;
}

/* ── 手機 ── */
@media (max-width: 960px) {
  .about-hero .copy .lead-br { display: none; }

  .story-why { padding: 96px 0 90px; }
  .story-split { grid-template-columns: 1fr; gap: 40px; }
  .story-split-head { position: static; }
  .story-split-head .section-title { max-width: none; }
  .story-why .story-turn { margin-top: 42px; padding-top: 34px; }

  .story-philosophy { padding: 0 0 96px; }
  .story-side { grid-template-columns: 1fr; }
  .story-side-media { min-height: 0; aspect-ratio: 3/2; }
  .story-side-copy { padding: 56px 8vw 0; }
  .story-question { padding: 80px 8vw; margin-top: 76px; }
  .story-question::before { margin-bottom: 32px; }
  /* 提問是硬斷兩行，字級不縮就會在第一行尾巴留下「表，」兩個孤字 */
  .story-question blockquote { font-size: 19px; }
  .story-answer { padding-top: 76px; }
  .story-answer { grid-template-columns: 1fr; }
  .story-answer .story-turn, .story-answer p:last-child { grid-column: 1; }
  .story-answer p:last-child { margin-top: 30px; }

  .story-craft { padding: 96px 0; }
  .story-craft::after {
    background: linear-gradient(to bottom, rgba(20,16,13,.9) 0%, rgba(20,16,13,.94) 40%, rgba(20,16,13,.96) 100%);
  }
  .story-craft-copy .section-title { margin-bottom: 34px; }
  .story-craft .story-turn { margin-top: 32px; padding-top: 30px; }

  .story-role { padding: 96px 0; }
  .story-cols { margin-top: 52px; grid-template-columns: 1fr; gap: 34px; }
  .story-role .story-turn.centered { margin-top: 52px; max-width: none; }

  .story-values { padding: 96px 0 100px; }
  .story-values .section-title { margin-bottom: 52px; }
  .story-value-grid { grid-template-columns: 1fr; }
  .story-value:nth-child(1),
  .story-value:nth-child(2),
  .story-value:nth-child(3),
  .story-value:nth-child(4) { grid-column: 1; margin-top: 38px; }
  .story-value:nth-child(1) { margin-top: 0; }

  .story-closing { padding: 96px 0 90px; }
  .story-closing-text { margin-top: 52px; }
  .story-seal { margin-top: 62px; padding: 40px 28px; }
  .story-seal .bc-logo { margin-bottom: 28px; }
  .story-closing .outro-links { margin-top: 54px; flex-direction: column; gap: 28px; align-items: center; }
}

/* ══════════════════════════════════════════════════════════════
   頁尾（footer.php）
   改版前只有一行版權，捲到底就是死路。現在分成兩層：
   上層＝品牌與三欄導引（＋填了才出現的聯絡欄），下層＝版權與法務。
   ══════════════════════════════════════════════════════════════ */

.site-foot {
  padding: 96px 0 40px; border-top: 1px solid var(--hairline);
  background: var(--ink-soft);
}
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0 5%;
  align-items: start; padding-bottom: 76px;
}
/* 客戶填了聯絡資料就多一欄，四欄格線塞五個會掉到第二列 */
.foot-top.has-contact { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 0 4%; }

/* 品牌欄 */
.foot-brand .logo {
  font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600;
  letter-spacing: .34em; text-indent: .34em; color: var(--bone); line-height: 1;
}
.foot-brand .logo span { color: var(--gold-bright); }
.foot-tag {
  margin-top: 20px; max-width: 20em;
  font-size: 13px; line-height: 2.1; color: var(--muted); letter-spacing: .04em;
}
.foot-brand .btn-gold { margin-top: 28px; }
.foot-social {
  margin-top: 26px; list-style: none; display: flex; gap: 24px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.foot-social a { color: var(--muted); border-bottom: 1px solid var(--hairline); padding-bottom: 3px; }
.foot-social a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* 三欄導引 */
.foot-col h2 {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: 13px; letter-spacing: .26em; color: var(--bone);
  margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline);
}
.foot-col ul { list-style: none; }
.foot-col li + li { margin-top: 14px; }
.foot-col a { font-size: 13.5px; letter-spacing: .04em; color: var(--muted); }
.foot-col a:hover { color: var(--gold-bright); }

/* 聯絡欄：標籤與內容上下排，欄寬窄時才不會擠成一行 */
.foot-contact li { display: flex; flex-direction: column; gap: 4px; }
.foot-contact li + li { margin-top: 18px; }
.foot-contact .k {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  opacity: .75;
}
.foot-contact .v, .foot-contact a { font-size: 13.5px; color: var(--muted); letter-spacing: .03em; }

/* 下層：版權與法務 */
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--hairline);
}
.foot-bottom .copy { font-size: 12px; letter-spacing: .06em; color: var(--muted); opacity: .8; }
.foot-legal { list-style: none; display: flex; gap: 28px; }
.foot-legal a { font-size: 12px; letter-spacing: .08em; color: var(--muted); opacity: .8; }
.foot-legal a:hover { color: var(--gold-bright); opacity: 1; }

@media (max-width: 1100px) {
  /* ⚠ 要連 .has-contact 一起寫：它有兩個 class，特異性比單獨的 .foot-top 高，
     只寫 .foot-top 蓋不掉，五欄會硬擠在手機寬度裡造成水平溢出（實測 436 vs 375）。 */
  .foot-top,
  .foot-top.has-contact { grid-template-columns: 1fr 1fr; gap: 56px 5%; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-foot { padding: 68px 0 32px; }
  .foot-top,
  .foot-top.has-contact { grid-template-columns: 1fr; gap: 44px; padding-bottom: 52px; }
  .foot-brand { grid-column: 1; }
  .foot-tag { max-width: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-legal { gap: 20px; flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════════════
   LINE 懸浮按鈕（footer.php，填了 LINE 連結才輸出）

   z-index 45：要壓在導覽列（40）之上，但必須在手機選單（50）之下--
   選單展開時是整片覆蓋，按鈕若浮在上面會擋住選項。
   ══════════════════════════════════════════════════════════════ */

.line-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 45;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px;
  background: rgba(20,16,13,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--hairline); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease, background .25s ease;
}
.line-fab:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(20,16,13,.98); }
.line-fab:active { transform: translateY(0); }
.line-fab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* 標誌維持 LINE 官方綠，不跟著文字走色 */
.line-fab-mark { display: inline-flex; color: #06c755; }
.line-fab-label {
  font-size: 13px; letter-spacing: .14em; color: var(--bone); white-space: nowrap;
}

/* 手機：收成圓形只留標誌，長按時仍有 aria-label 可讀。
   bottom 加上安全區，避免被 iPhone 的home 指示條蓋住。 */
@media (max-width: 640px) {
  .line-fab {
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 14px; gap: 0;
  }
  .line-fab-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .line-fab, .line-fab:hover { transition: none; transform: none; }
}
