/* 首頁專用（2026-11-28，照設計稿）：只在 <body class="home"> 生效，其他三頁不受影響。
   原則：字少而大、深色＋暖金＋米白、標題用細的黑體並拉開字距（不用宋體）、動畫只用在要解釋的地方。 */
.home {
  --ink: #15101c;
  --paper: #f4f1ea;
  --gold: #cda768;
  --gold-deep: #76581f;
  /* 字體：現代黑體。英文與數字用 Jost，中文用思源黑體；標題用細字重、字距拉開 */
  --sans: "Jost", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --display: var(--sans);
  --latin: var(--sans);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}

/* ── 頁首、手機選單 ── */
.home .draftbar { font-family: var(--sans); letter-spacing: .14em; text-indent: 0; }
.home .top__mark { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: .24em; }
.home .top__nav { font-size: 15px; letter-spacing: .08em; }
.home .top__line { border-radius: 2px; padding: 9px 20px; }
html[data-bar="solid"] .home .top { background-color: rgba(21,16,28,.95); }
html[data-bar="solid"][data-tone="light"] .home .top { background-color: rgba(244,241,234,.96); }
.home .mmenu a { font-family: var(--display); font-weight: 300; letter-spacing: .16em; }
.home .mmenu .mmenu__line { font-family: var(--sans); font-weight: 400; letter-spacing: .16em; border-radius: 2px; }

/* ── 主視覺上的字 ── */
.home .cap__eyebrow { font-size: 14px; font-weight: 400; letter-spacing: .3em; margin-bottom: 1.1rem; }
.home .cap__eyebrow::after { display: none; }
.home .cap__title { font-family: var(--display); font-weight: 300; font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1.34; letter-spacing: .14em; }
.home .cap__body { margin-top: 1.1rem; font-size: 1.06rem; line-height: 1.8; }
.home .cap__cta { gap: 14px 22px; align-items: center; }
.home .btn { border-radius: 2px; padding: 16px 38px; font-family: var(--sans); font-weight: 400; font-size: 16px; letter-spacing: .16em; }
.home .btn:not(.btn--solid) { border-color: rgba(244,241,234,.7); }
.home .hint, .home .reel__note { font-family: var(--sans); }

/* ── 區塊共用 ── */
.hm { padding: clamp(72px, 9vw, 128px) clamp(24px, 5.5vw, 80px); }
.hm--paper { background: var(--paper); color: var(--ink); }
.hm--ink { background: var(--ink); color: var(--paper); }
.hm__in { max-width: 1240px; margin: 0 auto; }
.hm__k { margin: 0 0 14px; font-size: 14px; letter-spacing: .3em; color: var(--gold-deep); }
.hm--ink .hm__k { color: var(--gold); }
.hm__h { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.36; letter-spacing: .1em; text-wrap: balance; }
.hm__p { margin: 20px 0 0; max-width: 30em; color: #4a4352; }
.hm--ink .hm__p { color: #d8d2de; }
.hm__note { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: #5c5563; }
.hm--ink .hm__note { color: #b9b2c2; }
.hm__note em { font-style: normal; color: #96382a; }
.hm__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4.5vw, 56px); }

.hbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border-radius: 2px; font-size: 16px; font-weight: 400; letter-spacing: .14em; text-decoration: none; }
.hbtn--line { border: 1px solid currentColor; }
.hbtn--ink { background: var(--ink); color: var(--paper); }
.hm--paper .hbtn--line:hover { background: var(--ink); color: var(--paper); }
.hbtn--ink:hover { background: #2c2238; }

/* ── 近期出發 ── */
.hcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px 32px; }
.hcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.hcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; margin-bottom: 18px; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hcard:hover .hcard__img img { transform: scale(1.05); }
.hcard__img span { position: absolute; left: 12px; bottom: 12px; padding: 2px 10px; background: rgba(21,16,28,.78); color: var(--paper); font-size: 12px; letter-spacing: .1em; }
.hcard__meta { margin: 0 0 6px; font-size: 14px; letter-spacing: .12em; color: var(--gold-deep); }
.hcard h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.45; letter-spacing: .04em; }
.hcard__date { margin: 0 0 18px; font-size: 15px; color: #5c5563; }
.hcard__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(21,16,28,.16); font-size: 15px; color: #5c5563; }
.hcard__foot b { font-family: var(--display); font-weight: 300; font-size: 2rem; line-height: 1.2; color: var(--ink); font-variant-numeric: lining-nums; }
.hcard__foot i { font-style: normal; color: var(--ink); border-bottom: 1px solid var(--ink); white-space: nowrap; }

/* ── 旗艦座椅 ── */
.hseat { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.hseat__txt, .hseat__fig { flex: 1 1 380px; min-width: 0; }
.hseat__sw { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hseat__sw button { flex: 1 1 160px; min-height: 52px; border-radius: 2px; border: 1px solid rgba(244,241,234,.45); background: transparent; color: var(--paper); font: inherit; font-size: 16px; letter-spacing: .06em; cursor: pointer; }
.hseat__sw button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hseat__box { padding: clamp(20px, 2.6vw, 32px); border: 1px solid rgba(244,241,234,.2); border-radius: 2px; }
.hbus__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hbus__cab { fill: rgba(244,241,234,.035); stroke: rgba(244,241,234,.42); stroke-width: 1.3; }
.hbus__glass { fill: none; stroke: rgba(244,241,234,.34); stroke-width: 1.2; stroke-linecap: round; }
.hbus__door { stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; }
.hbus__set { opacity: 0; transition: opacity .35s ease; }
.hbus__set g { transform-box: fill-box; transform-origin: center; transform: scale(.55); transition: transform .65s var(--ease); }
.hbus__set--std .s { fill: #8d8698; } .hbus__set--std .b { fill: #6b6478; }
.hbus__set--flag .s { fill: var(--gold); } .hbus__set--flag .b { fill: #a17c3a; }
[data-mode="std"] .hbus__set--std, [data-mode="flag"] .hbus__set--flag { opacity: 1; transition: opacity .5s ease .18s; }
[data-mode="std"] .hbus__set--std g, [data-mode="flag"] .hbus__set--flag g { transform: none; transition-delay: calc(.18s + var(--c, 0) * 45ms); }
.hbus__ends { margin: 8px 0 0; padding: 0 2%; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .2em; color: #b9b2c2; }
.hseat__cap { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(244,241,234,.16); display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.hseat__num { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 12px; }
.hseat__num b { grid-area: 1 / 1; font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 5vw, 4rem); line-height: 1; font-variant-numeric: lining-nums; }
.hseat__num span { grid-area: 1 / 2; font-size: 14px; letter-spacing: .12em; color: #b9b2c2; }
.hseat__say { flex: 1 1 200px; display: grid; }
.hseat__say p { grid-area: 1 / 1; margin: 0; font-size: 16px; color: #d8d2de; }
.hseat__cap [data-std], .hseat__cap [data-flag] { transition: opacity .45s ease, transform .6s var(--ease); }
.hseat__cap [data-flag] { color: var(--gold); }
[data-mode="std"] .hseat__cap [data-flag], [data-mode="flag"] .hseat__cap [data-std] { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* ── 一天的路線（彎曲的線） ── */
.hday .route { max-width: 1000px; margin-left: auto; margin-right: auto; }
.hday .route__bg path { stroke: rgba(21,16,28,.3); }
/* 圓點換成從上方看的小車，車頭跟著彎路轉 */
.hday .route__dot { width: 0; height: 0; margin: 0; background: none; box-shadow: none; border-radius: 0; }
.hday .route__dot::after { display: none; }
.hday .route .route__bus { position: absolute; left: -13px; top: -24px; width: 26px; height: 48px; overflow: visible; transform: rotate(var(--a, 0deg)); filter: drop-shadow(0 3px 6px rgba(21,16,28,.22)); }
.hday .stops em { font-size: 14px; font-weight: 400; letter-spacing: .3em; }
.hday .stops h3 { font-family: var(--display); font-weight: 400; letter-spacing: .08em; }
.hday .stops p { opacity: 1; color: #4a4352; }

/* ── 認識紫藤花：數字壓在品牌的花上 ── */
.hstats { position: relative; overflow: hidden; padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.hstats__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 78% 58%; }
.hstats::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(21,16,28,.95) 42%, rgba(21,16,28,.5) 72%, rgba(21,16,28,.25) 100%); }
.hstats .hm__in { position: relative; z-index: 1; }
.hstats .hm__h { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
/* 四個數字排成一列：左邊小圖示，右邊數字和說明，整段比原本矮一半 */
.hnums { margin-top: 32px; max-width: 820px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.hnums > div { padding-top: 18px; border-top: 1px solid rgba(244,241,234,.45); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 0; }
.hnums b { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.hnums span { grid-column: 1 / -1; margin-top: 2px; font-size: 15px; color: #d8d2de; }
.hstats .hm__note { margin-top: 24px; }

/* ── 怎麼報名 ── */
.hjoin { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.hjoin__txt { flex: 1 1 380px; min-width: 0; }
.hjoin__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hjoin__btns .hbtn { flex: 1 1 200px; }
/* 右邊：按鈕、服務時間、常見問題的連結（問答本身在 faq.html） */
.hjoin__act { flex: 1 1 380px; min-width: 0; align-self: center; }
.hjoin__act .hjoin__btns { margin-top: 0; }
.hjoin__act .hbtn { flex: 1 1 100%; white-space: nowrap; }
.hjoin__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-size: 15px; letter-spacing: .12em; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.home .faq__q { padding: 22px 48px 22px 0; font-size: 1.06rem; letter-spacing: .02em; }
.home .faq__a p { margin: 0 0 22px; max-width: 36em; font-size: 16px; color: #4a4352; }

/* ── 首頁上的圖示 ── */
.hcard__date { display: flex; align-items: flex-start; gap: 8px; }
.hcard__date .ic { width: 20px; height: 20px; margin-top: 3px; }
.hday .stops li .ic { position: static; width: 52px; height: 52px; margin-bottom: 12px; align-self: flex-end; } /* position 要蓋掉 .route svg 的絕對定位 */
.hday .stops li:nth-child(even) .ic { align-self: flex-start; }
.hnums .ic { width: 32px; height: 32px; color: var(--gold); }
.hbtn .ic { width: 24px; height: 24px; margin-right: 12px; color: currentColor; }
.hbtn--ink .ic { color: var(--gold); }
.hm__note--ic { display: flex; align-items: flex-start; gap: 12px; }
.hm__note--ic .ic { width: 28px; height: 28px; }

/* ── 頁尾：精簡版，樣式在 pages.css 的 .foot--min ── */
.home .contact { padding: 0 clamp(24px, 5.5vw, 80px) 28px; background: #0d0a12; }
.home .contact--foot .foot { max-width: 1240px; margin: 0 auto; padding-top: 28px; border-top: 0; }

@media (max-width: 720px) {
  .home .top__mark { font-size: 17px; letter-spacing: .12em; }
  .home .cap__title { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .home .cap__body { font-size: 1rem; }
  .home .cap__cta .btn { padding: 15px 26px; }
  .hm { padding: 72px 24px 64px; }
  .hm__head--row .hbtn { width: 100%; }
  .hseat__box { padding: 18px 16px 20px; }
  .hday .stops li .ic, .hday .stops li:nth-child(even) .ic { align-self: flex-start; width: 44px; height: 44px; }
  /* 手機：紫藤花是上方一小段畫面，往下融進深色底；數字兩排兩個 */
  .hstats { padding-top: 0; padding-bottom: 56px; }
  .hstats__bg { position: static; display: block; width: calc(100% + 48px); margin: 0 -24px; height: 200px; object-position: 66% 50%; }
  .hstats::after { inset: 0 0 auto 0; height: 200px; background: linear-gradient(180deg, var(--ink) 0%, rgba(21,16,28,0) 26%, rgba(21,16,28,0) 50%, var(--ink) 100%); }
  .hstats .hm__in { margin-top: -28px; }
  .hnums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-top: 26px; }
  .hnums span { font-size: 14px; }
}
