@charset "utf-8";
/* =============================================================
   ReSarah — Desktop A03「訂製婚鞋 Made-To-Order」切版
   來源：Figma Untitled → Desktop - A03（node 778:513，1440 × 3963）

   規則（與 a01.css / a02.css 同一套）：
   1. 版位一律用 flex，全檔沒有任何 display:grid
   2. 只有「一個」斷點：1024px
        ≥ 1024 → 桌機版（內容欄 1200px 置中，1024~1440 之間用 clamp 等比縮）
        < 1024 → 手機版（全部單欄）
   3. 圖片一律寫在 HTML 的 <img src="img/…">，CSS 不放任何 background-image
   4. 本檔自成一份，不依賴 common.css / a01.css / a02.css
   ============================================================= */

/* =============================================================
   Design Tokens（取自 Figma Variables）
   ============================================================= */
:root {
  --canvas:     1440px;
  --container:  1200px;
  --hero-h:     900px;
  --story-row:  1122px;
}

/* =============================================================
   共用元件
   ============================================================= */

/* 內文級距 */
.t-titleb  { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.t-body    { font-size: var(--fs-body);    line-height: var(--lh-body); }
.t-caption { font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* =============================================================
   01 HERO（Figma 0–900）
   ============================================================= */
.hero { position: relative; height: var(--hero-h); background: #b08a76; }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.22) 100%);
}
.hero__inner {
  position: relative; height: 100%;
  max-width: var(--canvas); margin-inline: auto;
  padding: 366px var(--header-pad) 0;   /* Figma 主標 y=366 */
  display: flex;
}
/* 文案框：Figma x 887–1333（寬 446），距畫布右緣 107px = header-pad(65) + 42 */
.hero__copy {
  width: 446px; max-width: 100%;
  margin-left: auto; margin-right: 42px;
  color: var(--c-text-invert);
}
.hero__title { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); }
.hero__title span { padding-left: .1em; }      /* Figma 第二行 "To-Order" 略內縮 */
.hero__lead { margin-top: 10px; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.hero__desc { margin-top: 11px; max-width: 279px; }
.hero__cta  { margin-top: 16px; }

/* =============================================================
   02 STORY 三段故事（Figma 900–3129，底色 #ead8d8）
   每列：標題欄 230 + 方圖 619 + （間距 20 + 文字欄 253）= 1122
   flex-grow 直接寫 Figma 像素寬，比例自動成立
   ============================================================= */
.story { background: var(--c-brand2); padding: 23px 0 clamp(72px, 9.17vw, 132px); }
.story__rows {
  max-width: calc(var(--story-row) + 40px); margin: 31px auto 0; padding-inline: 20px;
  display: flex; flex-direction: column; gap: clamp(44px, 4.58vw, 66px);
}
.story__row { display: flex; align-items: center; gap: 0; }

/* 標題欄只佔 230，但文字實寬約 280 → 依 Figma 讓它壓在方圖上（z-index 蓋過圖） */
.story__col--title { flex: 230 1 0; min-width: 0; position: relative; z-index: 2; }
.story__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; white-space: nowrap; }

.story__media { flex: 619 1 0; aspect-ratio: 1 / 1; }

.story__col--text { flex: 253 1 0; min-width: 0; margin-left: 20px; }
.story__desc { font-size: var(--fs-body); line-height: var(--lh-body); }
.story__col--text .btn { width: 240px; max-width: 100%; margin-top: 20px; }

/* =============================================================
   03 FINALE 結語（Figma 3129–3705，白底）
   Didot 巨標 + CTA + 右側手繪插圖（插圖與巨標重疊 → absolute）
   ============================================================= */
.finale { position: relative; background: #fff; padding: 110px 0 126px; overflow: hidden; }
.finale__inner { position: relative; }
.finale__display { margin-left: 20.8%;position: relative;z-index: 1;}       /* Figma x=370（內容欄左緣 +250） */
.finale__cta { margin-left: 41.6%; margin-top: 17px; }   /* Figma x=619（內容欄左緣 +499） */
.finale__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.finale__desc { max-width: 349px; }
.finale__cta .btn { margin-top: 20px; }
.finale__fig {
  position: absolute; left: 64.7%; top: 68px;   /* Figma x=902 / y=3307 */
  width: clamp(210px, 20.4vw, 294px);
}
.finale__fig img { width: 100%; height: auto; }

/* =============================================================
   ★ 唯一的斷點：1024px
     ≥ 1024 → 上面的桌機版
     < 1024 → 以下的手機版（全部單欄）
   ============================================================= */
@media (max-width: 1023.98px) {

  /* ---------- Header → 漢堡選單 ---------- */

  

  

  

  
  .nav .btn--gold { margin-top: 16px; align-self: flex-start; }

  /* ---------- 01 Hero ---------- */
  .hero,
  .hero__slider,
  .hero__slider .slick-list,
  .hero__slider .slick-track,
  .hero__slide { height: auto; }
  .hero__inner { display: block; max-width: none; min-height: 560px; padding: 148px 20px 90px; }
  .hero__copy { width: 100%; margin: 0; }
  .hero__desc { max-width: none; }

  

  /* ---------- 02 Story ---------- */
  .story { padding: 28px 0 48px; }
  .story__rows { margin-top: 24px; gap: 44px; }
  .story__row { flex-direction: column; align-items: stretch; gap: 20px; }
  .story__col--title,
  .story__media,
  .story__col--text { flex: 0 0 auto; width: 100%; }
  .story__title { white-space: normal; }
  .story__media { max-height: 520px; }
  .story__col--text { margin-left: 0; }
  .story__col--text .btn { width: auto; }

  /* ---------- 03 Finale ---------- */
  .finale { padding: 48px 0 56px; }
  .finale__display,
  .finale__cta { margin-left: 0; }
  .finale__cta { margin-top: 28px; }
  .finale__desc { max-width: none; }
  .finale__fig { position: static; width: 200px; margin: 28px 0 0 auto; }

  

  
}

/* 本頁的金色英文小標壓在照片上 → 改白字（字級、位置在 common.css） */
.ribon__en { color: #fff; }
