/* ════════════════════════════════════════════════════════════
   home-landing.css — 首頁 /（序章 + B&O 開場序列）
   依賴：tokens.css（先載）/ chrome.css（masthead·footer）/ site-menu.css
   合規：禁裸 hex、圓角走 --r-*、無光暈 text-shadow（npm run check:spec）
   ════════════════════════════════════════════════════════════ */

/* ── 頁面殼 ── */
.home-landing-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
}

.hl-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) var(--margin) 0;
  --hl-rhythm: clamp(22px, 3.6vh, 40px);   /* 瑞士等距：LOGO↔標語↔CTA 單一模組 */
}

/* ── 片頭卡：LOGO band ＋ HERO 同組置中（瑞士等距）；最新／索引接卡下方 ── */
.hl-titlecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hl-rhythm);
  padding: clamp(24px, 7vh, 80px) 0 clamp(40px, 8vh, 88px);
  border-bottom: 1px solid var(--seam);
}

/* ── HERO（置中；段距走卡片 gap，元素本身不帶 margin） ── */
.hl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hl-rhythm);
}

.hl-hero__eyebrow {
  font-family: var(--mono);
  font-size: var(--t--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0;
}

.hl-hero__thesis {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}

.hl-hero__lede {
  max-width: 46ch;
  font-size: var(--k-1);
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* ── CTA（置中） ── */
.hl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.hl-cta__go,
.hl-cta__alt {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--u-0);
  border-radius: var(--r-xs);
  transition: transform var(--dur-xs) var(--ease-kq),
              background var(--dur-xs) var(--ease-kq),
              border-color var(--dur-xs) var(--ease-kq);
}

.hl-cta__go {
  padding: 13px 26px;
  background: var(--signal);
  color: var(--on-signal);
}

.hl-cta__alt {
  padding: 12px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--seam);
}

.hl-cta__go:hover { transform: translateY(-2px); }
.hl-cta__alt:hover { border-color: var(--ink-3); background: var(--paper-2); }

/* ── 區段標頭（最新／索引共用；對齊 HERO 的 eyebrow→大標→說明三層） ── */
.hl-shead {
  margin-bottom: clamp(24px, 4vh, 36px);
}

.hl-shead__kicker {
  display: block;
  font-family: var(--mono);
  font-size: var(--t--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
}

.hl-shead__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

/* 大標＝與 HERO 信念「穿過的人，最有資格說」同尺寸 */
.hl-shead__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
}

.hl-shead__more {
  font-family: var(--mono);
  font-size: var(--t--1);
  letter-spacing: .08em;
  color: var(--teal-ink);
  text-decoration: none;
  white-space: nowrap;
}

.hl-shead__more:hover { color: var(--signal); }

.hl-shead__note {
  max-width: 46ch;
  font-size: var(--u-0);
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 16px;
}

/* ── 最新紀錄 ── */
.hl-latest {
  padding: clamp(36px, 7vh, 72px) 0;
  border-bottom: 1px solid var(--seam);
}

.hl-latest__list {
  display: grid;
  gap: 2px;
}

.hl-rec {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--seam);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left var(--dur-xs) var(--ease-kq);
}

.hl-rec:hover { padding-left: 8px; }

.hl-rec__shoe {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--k-1);
  line-height: 1.3;
}

.hl-rec__meta {
  font-family: var(--mono);
  font-size: var(--t--1);
  color: var(--ink-3);
  white-space: nowrap;
}

.hl-rec__quote {
  grid-column: 1 / -1;
  font-size: var(--u-0);
  line-height: 1.6;
  color: var(--ink-2);
}

.hl-rec__who { color: var(--teal-ink); }

/* ── 索引 01–05 ── */
.hl-index-wrap {
  padding: clamp(36px, 7vh, 72px) 0;
}

.hl-index {
  display: grid;
  gap: 0;
}

/* 條目＝索引表單右頁語彙：kicker 在上、標題靠左對齊區段大標、頁碼靠右 */
.hl-entry {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--ink);
  transition: padding-left var(--dur-xs) var(--ease-kq);
}

.hl-entry:hover { padding-left: 8px; }

.hl-entry__kicker {
  display: block;
  font-family: var(--mono);
  font-size: var(--t--2);
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.hl-entry__lead {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.hl-entry__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--k-2);
  line-height: 1.2;
  white-space: nowrap;
}

.hl-entry__dots {
  flex: 1;
  border-bottom: 1px dotted var(--ink-3);
  transform: translateY(-6px);
  min-width: 18px;
}

.hl-entry__no {
  font-family: var(--mono);
  font-size: var(--k-1);
  line-height: 1;
  color: var(--signal);
}

.hl-entry:hover .hl-entry__title { color: var(--signal); }
.hl-entry:hover .hl-entry__kicker { color: var(--teal-ink); }

/* footer 由 chrome-footer.css 提供樣式；此處只給間距 */
#kq-footer { margin-top: clamp(24px, 5vh, 48px); }

/* ════════════════════════════════════════════════════════════
   開場 head band（LOGO 收束；非全螢幕，取代舊 .hl-intro-overlay）
   ════════════════════════════════════════════════════════════ */
.hl-headband {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;                      /* 段距交給 .hl-titlecard 的等距 gap */
  overflow: hidden;                /* 巨件收束時的大筆畫溢出裁切在帶內 */
}

.hl-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* stage：終態緊裱 LOGO（viewBox 537 291 126 126，填幀 95%），播放期鏡頭寬景→緊裱推近；巨件/記簏溢出裁切在帶內。方框 75% 尺寸 */
.hl-stage { position: relative; width: min(150px, 34.5vw); aspect-ratio: 1 / 1; margin: 0 auto; pointer-events: none; }
.hl-kq { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-glyph .hl-st { fill: none; stroke: var(--teal-ink); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.hl-jilu { opacity: 0; }
.hl-ginner { fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hl-solid { opacity: 0; }

/* 靜態終態（seen / reduced / 無 gsap）：實心 LOGO 靜置 */
.hl-headband.is-still .hl-jilu   { opacity: 0; }
.hl-headband.is-still .hl-ginner { opacity: 0; }
.hl-headband.is-still .hl-solid  { opacity: 1; }

/* 重播鈕：視窗右下角常駐浮標（片頭卡置中後不再 scope 進小 band） */
.hl-replay {
  position: fixed;
  right: clamp(8px, 2vw, 16px);
  bottom: clamp(8px, 2vh, 14px);
  z-index: 20;
  font-family: var(--mono);
  font-size: var(--t--1);
  letter-spacing: .08em;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--seam);
  border-radius: var(--r-xs);
  padding: 6px 12px;
  cursor: pointer;
  transition: color var(--dur-xs) var(--ease-kq),
              border-color var(--dur-xs) var(--ease-kq);
}
.hl-replay:hover { color: var(--ink); border-color: var(--ink-3); }
.is-hidden { display: none !important; }

/* 首訪開場播放中：頁身先隱，作為 LOGO 收束的收尾一起顯影（JS 於收尾解除並淡入） */
.intro-playing [data-reveal],
.intro-playing .hl-rec { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hl-jilu   { opacity: 0; }
  .hl-ginner { opacity: 0; }
  .hl-solid  { opacity: 1; }
}

/* ── 窄屏 ── */
@media (max-width: 600px) {
  .hl-hero__thesis,
  .hl-shead__title { font-size: clamp(28px, 9vw, 40px); }
  .hl-entry__title { font-size: var(--k-1); }
  .hl-rec__meta { display: none; }
}
