@charset "utf-8";
/* =============================================================
   ReSarah — Desktop A07「關於 ReSarah」切版
   來源：Figma Untitled → Desktop - A07（node 784:745，1440 × 8641）

   規則（與 a01 / a02 / custom-made-shoes / rent-wedding-shoes / product 同一套）：
   1. 版位一律用 flex，全檔沒有任何 display:grid
   2. 只有「一個」斷點：1024px
        ≥ 1024 → 桌機版（內容欄 1200px 置中，1024~1440 之間用 clamp 等比縮）
        < 1024 → 手機版（全部單欄）
   3. 圖片一律寫在 HTML 的 <img src="img/…">，CSS 不放任何 background-image，
      而且 <img> 不寫 width / height 屬性 —— 版位高度全部由 aspect-ratio 撐
   4. 本檔自成一份，不依賴其他頁的 CSS
   ============================================================= */

/* =============================================================
   Design Tokens
   ============================================================= */
:root {
  /* Color */
  --c-text:        #212121;
  --c-text-invert: #ffffff;
  --c-surface:     #efe7dc;   /* Surface Default 米 */
  --c-brand2:      #ead8d8;   /* Brand Secondary 粉 */
  --c-pink:        #eda3c6;   /* Icon Default／主要 CTA */
  --c-gold:        #caa561;   /* Text Secondary／Nav CTA */
  --c-line:        #d9d9d9;
  --c-rule:        rgba(33,33,33,.35);
  --c-ph:          #ded8ce;

  /* Typography */
  --ff-display: 'Didot', 'Bodoni 72', 'Prata', 'Playfair Display', 'Times New Roman', serif;
  --ff-base:    'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;

  /* 1024→1440 之間等比縮，1440 時等於 Figma 原值 */
  --fs-display: clamp(62px, 6.25vw, 90px);  --lh-display: 1.111; /* H1-desk Didot 90/100 */
  --fs-titleb:  clamp(30px, 2.78vw, 40px);  --lh-titleb: 1.3;    /* Title-big 40/52 */
  --fs-body:    16px;  --lh-body:    28px;
  --fs-bodyb:   16px;  --lh-bodyb:   24px;
  --fs-caption: 14px;  --lh-caption: 22px;
  --fs-small:   12px;  --lh-small:   18px;

  /* Layout */
  --canvas:     1440px;
  --container:  1200px;
  --story-row:  1122px;   /* 故事列的內容寬 */
  --stage:      1214px;   /* 04 Before/Now/After 拼貼帶 */
  --header-pad: clamp(24px, 4.51vw, 65px);
  --hero-h:     900px;
}

/* =============================================================
   Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

.container {
  width: 100%; max-width: calc(var(--container) + 40px);
  margin-inline: auto; padding-inline: 20px;
}

/* =============================================================
   圖片版位
   ============================================================= */
.media { position: relative; overflow: hidden; background: var(--c-ph); }
.media--fill { position: absolute; inset: 0; }
.media > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   共用元件
   ============================================================= */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__main { font-family: var(--ff-display); font-size: clamp(42px, 4.44vw, 64px); letter-spacing: .01em; white-space: nowrap; }
.brand__sub  { font-family: var(--ff-display); font-size: clamp(10px, .9vw, 13px); letter-spacing: .18em; margin-top: 12px; text-align: center; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 4px 20px;
  border-radius: 999px;
  font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 600;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.btn:hover  { opacity: .85; }
.btn:active { transform: translateY(1px); }
.btn--pink    { background: var(--c-pink); color: var(--c-text); }
.btn--outline { border: 1px solid var(--c-pink); color: var(--c-text); }
.btn--gold    { background: var(--c-gold); color: var(--c-text); border-radius: 4px; font-weight: 400; }

/* 區塊標籤：圓圈 + 線 + 文字（Figma 的 image 2，97 × 40） */
.sec-label { display: flex; align-items: center; min-height: 54px; font-size: var(--fs-body); line-height: var(--lh-body); }
.sec-label::before {
  content: ''; width: 28px; height: 28px; flex: none;
  border: 1px solid currentColor; border-radius: 50%; opacity: .55;
}
.sec-label span { position: relative; padding-left: 76px; }
.sec-label span::before {
  content: ''; position: absolute; left: 12px; top: 50%;
  width: 52px; height: 1px; background: currentColor; opacity: .45;
}

.display { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); }

/* 置中的細直線（Figma Line 17 / Line 18，102 高） */
.rule-v { width: 1px; height: 102px; margin-inline: auto; background: var(--c-rule); }

/* =============================================================
   HEADER
   ============================================================= */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 100; color: var(--c-text-invert); }
.header__inner {
  max-width: var(--canvas); margin-inline: auto;
  padding: 56px var(--header-pad) 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.header__inner .brand { margin-top: 12px; }
/*.nav-toggle { display: none; }*/
.nav { display: flex; align-items: center; gap: clamp(14px, 2.64vw, 38px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2.64vw, 38px); }
/*.nav__list a { display: inline-block; font-size: clamp(13px, 1.11vw, 16px); line-height: var(--lh-body); white-space: nowrap; transition: opacity .25s ease; }*/
.nav__list a:hover { opacity: .6; }
.nav__en { font-family: var(--ff-display); font-size: clamp(15px, 1.25vw, 18px); }
.nav .btn--gold { padding-inline: clamp(10px, 1.4vw, 20px); }

/* =============================================================
   01 HERO（Figma 0–900）
   主標 x601 / 其餘文案 x840
   ============================================================= */
.hero { position: relative; height: var(--hero-h); background: #6b5f54; }
.hero__slider,
.hero__slider .slick-list,
.hero__slider .slick-track,
.hero__slide { height: var(--hero-h); }
.hero__slide { position: relative; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.04) 32%, rgba(0,0,0,.24) 100%);
}
.hero__inner { position: relative; height: 100%; padding-top: 416px; }
.hero__copy { 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); margin-left: 40.08%; }
.hero__lead  { margin: 12px 0 0 60%; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.hero__desc  { margin: 11px 0 0 60%; max-width: 398px; }
.hero__cta   { margin: 6px 0 0 60%; }

/* slick dots：Figma 60 × 3px 短線，y=854 靠右 */
.hero .slick-dots {
  position: absolute; bottom: 43px; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--canvas)); padding-inline: var(--header-pad);
  display: flex !important; justify-content: flex-end; gap: 6px; z-index: 5;
}
.hero .slick-dots li { width: 60px; height: 3px; }
.hero .slick-dots li button {
  display: block; width: 60px; height: 3px; padding: 0;
  text-indent: -9999px; background: var(--c-line);
  transition: background .25s ease;
}
.hero .slick-dots li.slick-active button,
.hero .slick-dots li button:hover { background: var(--c-gold); }

/* =============================================================
   02 品牌故事（Figma 900–6727）
   一列 = 標題欄 230 + 方圖 619 + （間距 20 + 文字欄 253）= 1122
   標題 y+256、編號 y+375、右欄文字 y+246 —— 都用「列寬的百分比」當 margin-top，
   所以 1024–1440 之間會跟著方圖一起等比縮。
   ============================================================= */
.story { padding: 23px 0 69px; }

.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: flex-start; }

/* 標題欄只佔 230，但文字實寬約 450 → 依 Figma 壓在方圖上 */
.story__col--title { flex: 230 1 0; min-width: 0; position: relative; z-index: 2; margin-top: 22.82%; }
.story__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; white-space: nowrap; }
.story__no { margin-top: 15px; 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; margin-top: 21.93%; }
.story__col--text > * + * { margin-top: 12px; }
.story__quote { font-weight: 600; }
.story__list { margin-top: 12px; }
.story__list li { position: relative; padding-left: 16px; }
.story__list li::before { content: '・'; position: absolute; left: -2px; }

.rule-v + .story__claim { margin-top: 34px; }
.story__claim { text-align: center; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.story__rows + .rule-v { margin-top: 58px; }
.story__late + .rule-v { margin-top: 66px; }
.rule-v + .story__marks { margin-top: 34px; }
.story__marks { text-align: center; letter-spacing: .12em; }

/* ---------- 04 不只是婚禮（Before / Now / After） ---------- */
.about04 { 
    margin: 120px 0 0;
    padding: 120px 0;
    background-color: var(--c-surface);
}
.about04__head {
  width: 100%; max-width: calc(var(--stage) + 40px);
  margin-inline: auto; padding-inline: 20px;
  display: flex; align-items: flex-start;
}
.about04__display { flex: 0 0 36.98%; min-width: 0; margin-top: 5px; white-space: nowrap; z-index: 6;}
.about04__side { flex: 1 1 auto; min-width: 0; }
.about04__desc { margin-top: 8px; max-width: 439px; }

.about04__stage {
  position: relative;
  width: calc(100% - 40px); max-width: var(--stage);
  margin: -148px auto 0;
  aspect-ratio: 1214 / 742;
}
.tcard { position: absolute; --indent: clamp(85px, 8.54vw, 123px); }
.tcard__top { position: relative; }
.tcard__fig { width: 100%; }
.tcard__word {
  position: absolute; left: 3.8%; top: 100%;
  transform: translateY(-49%);
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-display); line-height: var(--lh-display);
}
.tcard__text { margin: 51px 0 0 var(--indent); }

.tcard--before { left: 0;      top: 22.64%; width: 43.66%; z-index: 1; }
.tcard--now    { left: 39.95%; top: 0;      width: 24.05%; z-index: 3; --indent: clamp(65px, 6.46vw, 93px); }
.tcard--after  { left: 67.05%; top: 14.56%; width: 32.95%; z-index: 2; }
.tcard--before .tcard__fig { aspect-ratio: 530 / 436; }
.tcard--now    .tcard__fig { aspect-ratio: 292 / 374; }
.tcard--after  .tcard__fig { aspect-ratio: 1 / 1; }

/* ---------- 05–07 的底色帶（Figma 4300–5290，高 990） ---------- */
.tintband { height: 990px; margin: 35px 0 -990px;  }
.story__rows--late { margin-top: 139px; }

/* =============================================================
   03 AS ALWAYS（Figma 6727–7060）
   ============================================================= */
.always { padding: 0 0 112px; }
.always__inner { text-align: center; }
.always__lead { margin-top: -2px; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.always__desc { margin: 15px auto 0; max-width: 425px; }

/* =============================================================
   04 MORE ABOUT RESARAH（Figma 7060–7922）
   ============================================================= */
.more { padding:90px 0 60px;background-color: var(--c-surface); }
.more__head { display: flex; align-items: flex-start; }
.more__display { flex: 0 0 42.92%; min-width: 0; white-space: nowrap; }
.more__lead { flex: 1 1 auto; min-width: 0; margin-top: 86px; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }

.more__list { width: 75.8%; margin: 37px 0 0 24.1%; display: flex; gap: 20px; }
.morecard { flex: 1 1 0; min-width: 0; }
.morecard__fig { width: 100%; aspect-ratio: 290 / 435; }
.morecard__title { margin-top: 10px; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; }
.morecard__desc { margin-top: 6px; font-size: var(--fs-caption); line-height: var(--lh-caption); }
.morecard__more { display: inline-block; margin-top: 24px; font-size: var(--fs-caption); line-height: 21px; transition: opacity .25s ease; }
.morecard__more:hover { opacity: .6; }

/* =============================================================
   05 WELCOME HOME（Figma 7922–8383，底色帶）
   ============================================================= */
.welcome { background: #FFF; padding: 70px 0 93px; }
.welcome__inner { text-align: center; }
.welcome__lead { margin-top: -2px; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.welcome__desc { margin: 15px auto 0; max-width: 425px; }
.welcome__btns { margin-top: 15px; display: flex; justify-content: center; gap: 18px; }

/* =============================================================
   FOOTER（Figma 8383–8641）
   ============================================================= */
.site-footer { background: var(--c-text); color: var(--c-text-invert); }
.footer__inner {
  max-width: 1158px; margin-inline: auto;
  padding: 75px 20px 40px;
  display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 28px 0;
  min-height: 258px;
}
.footer__brand { flex: 0 1 152px; min-width: 0; display: flex; flex-direction: column; line-height: 1; }
.footer__brand .brand__main { font-size: 28px; }
.footer__brand .brand__sub  { font-size: 8px; margin-top: 7px; letter-spacing: .14em; text-align: left; }
.footer__col { flex: 0 1 219px; min-width: 0; padding-right: 24px; }
.footer__col--social { flex-basis: 165px; }
.footer__col--last   { flex: 1 1 104px; min-width: 0; padding-right: 0; }
.footer__list { font-size: var(--fs-caption); line-height: var(--lh-caption); }
.footer__list li { position: relative; padding-left: 14px; }
.footer__list li::before { content: '・'; position: absolute; left: -2px; color: rgba(255,255,255,.75); }
.footer__list a { transition: opacity .25s ease; }
.footer__list a:hover { opacity: .65; }
.footer__list--plain li::before { content: none; }
.footer__list--hours { margin-top: 22px; }
.footer__social { display: flex; gap: 48px; margin-top: 60px; }
.footer__social svg { width: 28px; height: 28px; }

/* =============================================================
   ★ 唯一的斷點：1024px
   ============================================================= */
@media (max-width: 1023.98px) {
  :root {
    --header-pad: 20px;
    --fs-display: 40px;  --lh-display: 1.2;
    --fs-titleb:  24px;  --lh-titleb: 1.5;
  }

  /* ---------- Header → 漢堡選單 ---------- */
  .header__inner { padding-top: 18px; align-items: center; }
  .header__inner .brand { margin-top: 0; }
  .brand__main { font-size: 32px; }
  .brand__sub  { font-size: 10px; margin-top: 5px; }
/*

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px;
  }
  .nav-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
*/

  .nav {
    position: absolute; inset: 100% 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    color: var(--c-text);
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
/*  .nav__list a { padding: 12px 0; border-bottom: 1px solid rgba(33,33,33,.08); }*/
  .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 { min-height: 560px; padding: 148px 0 90px; }
  .hero__title { margin-left: 0; }
  .hero__lead  { margin: 20px 0 0; }
  .hero__desc  { margin: 12px 0 0; max-width: none; }
  .hero__cta   { margin: 20px 0 0; }
  .hero .slick-dots { bottom: 26px; justify-content: flex-start; padding-inline: 20px; }
  .hero .slick-dots li, .hero .slick-dots li button { width: 36px; }

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

  .story__rows + .rule-v { margin-top: 36px; }
  .story__late + .rule-v { margin-top: 36px; }
  .rule-v { height: 64px; }

  .about04 { margin-top: 48px; }
  .about04__head { flex-direction: column; }
  .about04__display,
  .about04__side { flex: 0 0 auto; width: 100%; }
  .about04__display { white-space: normal; margin-top: 0; }
  .about04__side { margin-top: 16px; }
  .about04__desc { max-width: none; }
  .about04__stage {
    position: static; width: 100%; max-width: none; margin: 32px 0 0;
    aspect-ratio: auto;
    display: flex; flex-direction: column; gap: 36px;
    padding-inline: 20px;
  }
  .tcard { position: static; width: 100%; --indent: 60px !important; }
  .tcard--before .tcard__fig,
  .tcard--now .tcard__fig,
  .tcard--after .tcard__fig { aspect-ratio: 4 / 3; }
  .tcard__word { left: 0; }
  .tcard__text { margin-top: 40px; }

  /* 手機版不用「負 margin 色帶」，改成把底色掛在包裝層上 */
  .tintband { display: none; }
  .story__late { background: var(--c-brand2); padding: 32px 0; margin-top: 40px; }
  .story__rows--late { margin-top: 0; }

  /* ---------- 03 As always ---------- */
  .always { padding-bottom: 48px; }
  .always__inner { text-align: left; }
  .always__desc { margin-left: 0; max-width: none; }

  /* ---------- 04 More about ---------- */
  .more { padding-bottom: 40px; }
  .more__head { flex-direction: column; }
  .more__display,
  .more__lead { flex: 0 0 auto; width: 100%; margin-top: 0; }
  .more__display { white-space: normal; }
  .more__lead { margin-top: 16px; }
  .more__list { width: 100%; margin: 28px 0 0; flex-direction: column; gap: 32px; }
  .morecard { flex: 0 0 auto; width: 100%; }
  .morecard__fig { max-height: 480px; }

  /* ---------- 05 Welcome home ---------- */
  .welcome { padding: 48px 0 48px; }
  .welcome__inner { text-align: left; }
  .welcome__desc { margin-left: 0; max-width: none; }
  .welcome__btns { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }

  /* ---------- Footer ---------- */
  .footer__inner { flex-direction: column; gap: 26px; padding: 48px 20px 40px; min-height: 0; }
  .footer__inner > * { flex: 0 0 auto; width: auto; }
  .footer__col { padding-right: 0; }
  .footer__social { margin-top: 24px; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
.ribon__en {
    font-size:clamp(2.5rem, 10vw, 86px);    font-family: var(--ff-display);font-weight: 400;
    color: #CAA561;
    line-height: 1;
    margin-left: -50px;
    white-space: nowrap;
}

/* 手機：英文小標（The Story / Time / Feel at Home…）桌機刻意 margin-left:-50px 凸出到左邊留白，
   手機沒有留白會把字頭切掉 → 歸零。
   ※ 一定要放在 .ribon__en 原始規則之後，放在前面的 @media 裡會被蓋掉 */
@media (max-width: 1023.98px) {
  .ribon__en { margin-left: 0; margin-bottom: 8px; }
}
