@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600;700&display=swap');

/* =========================================================
   STILL GLIMMER Website V3.0
   Typography Pass / Homepage freeze
   ========================================================= */

:root{
  --deep:#10281e;
  --green:#193d2d;
  --moss:#47664b;
  --cream:#f7f0df;
  --paper:#fffaf0;
  --sand:#eadbc3;
  --gold:#b99b67;
  --ink:#223f32;
  --muted:#706f66;
  --line:rgba(34,63,50,.16);
  --white-line:rgba(255,255,255,.18);
  --shadow:0 28px 80px rgba(20,45,32,.15);

  --h1:clamp(3.4rem,7vw,5.4rem);
  --h2:clamp(2.55rem,5.6vw,4.1rem);
  --h3:clamp(2.05rem,4vw,3.05rem);
  --body:1.42rem;
  --body-sm:1.16rem;
  --small:.92rem;

  --space-xs:.65rem;
  --space-s:1rem;
  --space-m:1.55rem;
  --space-l:2.6rem;
  --space-xl:4.6rem;
  --space-xxl:7rem;

  --radius-l:34px;
  --radius-m:26px;
  --button-h:58px;
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  word-break:keep-all;
  overflow-wrap:normal;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body{
  margin:0;
  color:var(--ink);
  background:var(--cream);
  font-family:'Noto Serif TC','Microsoft JhengHei',serif;
  line-height:1.86;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,a,small{
  text-wrap:pretty;
  line-break:strict;
}
br{line-height:inherit}

/* Header */
.site-header{
  position:absolute;
  z-index:50;
  top:0;
  left:0;
  right:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding:24px 6vw;
  color:#fff;
  background:linear-gradient(180deg,rgba(5,22,15,.68),rgba(5,22,15,0));
}
.brand{
  display:block;
  white-space:nowrap;
  text-shadow:0 2px 16px rgba(0,0,0,.38);
}
.brand span{
  display:block;
  font-size:1.48rem;
  line-height:1.12;
  letter-spacing:.18em;
  font-weight:600;
}
.brand small{
  display:block;
  margin-top:.15rem;
  font-size:.92rem;
  line-height:1.65;
  letter-spacing:.22em;
  opacity:.92;
}
.main-nav{
  display:flex;
  gap:32px;
  align-items:center;
  font-size:.96rem;
  letter-spacing:.08em;
}
.main-nav a:last-child{
  border:1px solid rgba(255,255,255,.52);
  border-radius:999px;
  padding:8px 18px;
}
.menu-toggle{display:none}

/* Hero */
.hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  color:#fff;
  background:var(--deep);
}
.hero-image{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,22,15,.78),rgba(5,22,15,.12) 47%,rgba(5,22,15,.70)),
    url('./assets/traveler-hero.png');
  background-size:cover;
  background-position:center center;
  transform:scale(1.02);
}
.hero-copy{
  position:relative;
  z-index:5;
  min-height:100vh;
  width:min(720px,88vw);
  padding:29vh 0 0 8vw;
}
.kicker{
  margin:0 0 var(--space-m);
  color:rgba(255,255,255,.72);
  letter-spacing:.34em;
  font-size:var(--small);
}
.hero h1{
  margin:0;
  font-size:var(--h1);
  line-height:1.08;
  font-weight:500;
  letter-spacing:.06em;
}
.hero-line{
  margin:var(--space-m) 0 var(--space-l);
  font-size:clamp(1.55rem,3vw,2.18rem);
  line-height:1.48;
  letter-spacing:.06em;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

/* Components */
.button,
.card a,
.journal-link,
.link-row a{
  min-height:var(--button-h);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 26px;
  font-size:1.08rem;
  letter-spacing:.04em;
}
.button.primary{
  background:rgba(255,250,240,.92);
  color:var(--green);
}
.button.ghost{
  color:#fff;
  border:1px solid rgba(255,255,255,.52);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(7px);
}
.section-pad{
  padding:var(--space-xxl) 7vw;
}
.section-inner{
  max-width:1100px;
  margin-inline:auto;
}
.section-inner.narrow{
  max-width:880px;
}
.eyebrow{
  margin:0 0 var(--space-m);
  color:var(--gold);
  font-size:var(--small);
  letter-spacing:.32em;
  font-weight:700;
}
.section-title{
  margin:0 0 var(--space-l);
  font-size:var(--h2);
  line-height:1.32;
  font-weight:500;
  letter-spacing:.015em;
}
.intro{
  background:var(--paper);
  text-align:center;
}
.intro p{
  max-width:830px;
  margin:1.15rem auto 0;
  color:var(--muted);
  font-size:var(--body);
}

/* Cards */
.collections{
  background:linear-gradient(180deg,#eadbc3,#f6efdc);
}
.section-head{
  margin-bottom:2.9rem;
}
.cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
}
.card{
  position:relative;
  overflow:hidden;
  min-height:390px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:44px clamp(28px,4vw,54px);
  border-radius:var(--radius-l);
  background:rgba(255,250,240,.78);
  border:1px solid rgba(255,255,255,.55);
  box-shadow:var(--shadow);
}
.card:before{
  content:"";
  position:absolute;
  inset:auto -15% -35% auto;
  width:270px;
  height:270px;
  border-radius:50%;
  opacity:.22;
  background:radial-gradient(circle,var(--moss),transparent 68%);
}
.card-index{
  margin:0 0 1.65rem;
  color:var(--gold);
  letter-spacing:.25em;
}
.card h3{
  margin:0;
  font-size:var(--h3);
  line-height:1.2;
  font-weight:600;
  letter-spacing:.02em;
}
.card.pocket h3{
  white-space:nowrap;
  letter-spacing:.005em;
}
.subtitle{
  margin:.2rem 0 1.6rem;
  color:var(--muted);
  letter-spacing:.14em;
  font-size:.9rem;
  text-transform:uppercase;
}
.card-text{
  margin:0 0 2rem;
  color:var(--muted);
  font-size:1.28rem;
  line-height:1.78;
}
.card-text strong{
  color:var(--ink);
  font-weight:600;
}
.card a{
  margin-top:auto;
  background:var(--green);
  color:#fff;
  padding-inline:24px;
}
.card.morning{background:linear-gradient(145deg,rgba(255,250,240,.90),rgba(236,214,176,.72))}
.card.moon{background:linear-gradient(145deg,rgba(255,250,240,.92),rgba(209,216,216,.76))}
.card.gift{background:linear-gradient(145deg,rgba(255,250,240,.94),rgba(232,210,173,.78))}
.card.pocket{background:linear-gradient(145deg,rgba(255,250,240,.90),rgba(214,226,206,.76))}

/* Journal */
.journal{
  background:var(--green);
  color:#fff;
}
.journal-card{
  border:1px solid var(--white-line);
  border-radius:38px;
  padding:58px clamp(28px,6vw,78px);
  background:rgba(255,255,255,.06);
  box-shadow:0 30px 90px rgba(0,0,0,.16);
}
.journal .eyebrow{color:#d6bc83}
.journal-lead{
  margin:0 0 2.35rem;
  color:rgba(255,255,255,.76);
  font-size:1.48rem;
}
.journal-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.journal-entry{
  min-height:330px;
  padding:30px;
  border-radius:var(--radius-m);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}
.entry-date{
  margin:0 0 .8rem;
  color:#d6bc83;
  letter-spacing:.18em;
}
.journal-entry h3{
  margin:0 0 .9rem;
  font-size:1.74rem;
  line-height:1.35;
  font-weight:600;
}
.journal-entry p:last-child{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:1.13rem;
  line-height:1.78;
}
.journal-link{
  margin-top:1.75rem;
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
}

/* Closing */
.closing{
  text-align:center;
  background:var(--paper);
}
.closing .section-title{
  margin-bottom:1rem;
}
.closing-text{
  font-size:1.46rem;
  color:var(--muted);
  margin:0;
}
.link-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
  margin-top:2.65rem;
}
.link-row a{
  border:1px solid var(--line);
  background:rgba(255,255,255,.55);
}

/* Footer */
footer{
  padding:42px 7vw;
  text-align:center;
  background:var(--deep);
  color:#fff;
}
footer p{
  margin:0 0 .45rem;
  letter-spacing:.12em;
}
footer small{
  display:block;
  color:rgba(255,255,255,.68);
}
footer em{
  display:block;
  margin-top:1rem;
  font-style:normal;
  font-size:.75rem;
  letter-spacing:.12em;
  opacity:.45;
}

/* Motion */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .85s ease,transform .85s ease;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* Tablet */
@media(max-width:980px){
  .journal-list{
    grid-template-columns:1fr;
  }
  .journal-entry{
    min-height:auto;
  }
}

/* Mobile */
@media(max-width:820px){
  :root{
    --h1:clamp(2.9rem,14vw,4rem);
    --h2:clamp(2.2rem,9vw,3rem);
    --h3:clamp(1.95rem,7.8vw,2.65rem);
    --body:1.18rem;
    --body-sm:1.04rem;
    --space-xxl:5.2rem;
    --button-h:58px;
  }

  .site-header{
    padding:20px 6.2vw 0;
    align-items:flex-start;
  }

  .brand{
    max-width:74vw;
  }

  .brand span{
    font-size:clamp(1.55rem,7.4vw,2.05rem);
    letter-spacing:.155em;
  }

  .brand small{
    margin-top:.12rem;
    font-size:clamp(.95rem,4.2vw,1.18rem);
    letter-spacing:.18em;
  }

  .menu-toggle{
    display:flex;
    position:absolute;
    right:6vw;
    top:18px;
    width:58px;
    height:58px;
    flex:0 0 58px;
    z-index:80;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid rgba(255,255,255,.50);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    padding:0;
  }

  .menu-toggle span{
    width:25px;
    height:2px;
    background:#fff;
    display:block;
  }

  .main-nav{
    position:absolute;
    top:92px;
    right:5vw;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    width:230px;
    padding:12px;
    border-radius:20px;
    background:rgba(14,45,31,.95);
    box-shadow:0 22px 60px rgba(0,0,0,.22);
    text-align:left;
  }

  .main-nav.open{display:flex}

  .main-nav a{
    padding:13px 14px;
    border-bottom:1px solid rgba(255,255,255,.10);
  }

  .main-nav a:last-child{
    border:0;
    border-radius:0;
    padding:13px 14px;
  }

  .hero{
    min-height:100svh;
  }

  .hero-image{
    height:57svh;
    bottom:auto;
    background:
      linear-gradient(180deg,rgba(5,22,15,.12),rgba(5,22,15,.16) 43%,rgba(5,22,15,.88) 86%,rgba(5,22,15,.98)),
      url('./assets/traveler-mobile-clean.jpg');
    background-size:cover;
    background-position:center 34%;
    transform:none;
  }

  .hero-copy{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    min-height:43svh;
    padding:18px 7vw 42px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    background:linear-gradient(180deg,rgba(16,40,30,0),rgba(16,40,30,.96) 18%,rgba(16,40,30,1));
  }

  .hero .kicker{
    display:none;
  }

  .hero h1{
    line-height:1.05;
    letter-spacing:.04em;
    margin-top:0;
  }

  .hero-line{
    margin-top:.75rem;
    margin-bottom:1.75rem;
    font-size:clamp(1.5rem,6.7vw,2.05rem);
    line-height:1.46;
  }

  .hero-actions{
    gap:16px;
  }

  .button,
  .card a,
  .journal-link,
  .link-row a{
    width:100%;
    font-size:1.22rem;
    padding-inline:24px;
  }

  .section-pad{
    padding:5.15rem 5vw;
  }

  .section-inner{
    max-width:100%;
  }

  .intro p,
  .journal-lead,
  .closing-text{
    font-size:var(--body);
  }

  .section-title{
    max-width:11em;
    margin-inline:auto;
    line-height:1.28;
  }

  .section-head .section-title{
    margin-inline:0;
    max-width:10em;
    text-align:left;
  }

  .cards{
    grid-template-columns:1fr;
    gap:22px;
  }

  .card{
    min-height:auto;
    padding:38px 28px;
    border-radius:28px;
  }

  .card h3{
    line-height:1.22;
  }

  .card.pocket h3{
    font-size:clamp(1.75rem,7.1vw,2.3rem);
    white-space:nowrap;
  }

  .card-text{
    font-size:1.15rem;
    line-height:1.78;
  }

  .journal-card{
    padding:42px 26px;
    border-radius:30px;
  }

  .journal-entry{
    min-height:auto;
    padding:28px 22px;
  }

  .journal-entry h3{
    max-width:10em;
  }
}

@media(max-width:390px){
  .brand span{
    font-size:1.45rem;
    letter-spacing:.145em;
  }

  .brand small{
    font-size:.93rem;
  }

  .menu-toggle{
    width:54px;
    height:54px;
  }

  .card.pocket h3{
    font-size:1.65rem;
  }
}


/* ===== V3.1 Mobile Row Hide / Safe Width Fix =====
   手機版：直接隱藏 Hero 中間那排殘留小字，不再裁切圖片、不再改版面。
*/
html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body > *{
  max-width:100%;
}

@media(max-width:820px){
  .site-header,
  .hero,
  .intro,
  .collections,
  .journal,
  .closing,
  footer{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .hero{
    background:var(--deep);
  }

  .hero-image{
    width:100%;
    max-width:100%;
  }

  /* 用深綠霧面遮掉「歡迎回來」上方那排殘影小字 */
  .hero-image::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:39%;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(
      180deg,
      rgba(16,40,30,0) 0%,
      rgba(16,40,30,.88) 36%,
      rgba(16,40,30,1) 72%,
      rgba(16,40,30,1) 100%
    );
  }

  .hero-copy{
    z-index:2;
  }

  .section-inner,
  .cards,
  .card,
  .journal-card,
  .journal-list,
  .journal-entry{
    max-width:100%;
  }
}


/* ===== V3.2 Click Fix =====
   修正手機版遮罩 / 裝飾層蓋住連結的問題。
   不改視覺、不改版面，只修點擊層級。
*/
.hero-image,
.hero-image::after,
.card::before{
  pointer-events:none;
}

.site-header{
  pointer-events:auto;
}

.menu-toggle,
.main-nav,
.main-nav a,
.hero-copy,
.hero-actions,
.button,
.card,
.card a,
.journal-link,
.link-row,
.link-row a{
  position:relative;
  z-index:30;
  pointer-events:auto;
}

.card::before{
  z-index:0;
}

.card > *{
  position:relative;
  z-index:2;
}

@media(max-width:820px){
  .site-header{
    z-index:200;
  }

  .menu-toggle{
    z-index:220;
    pointer-events:auto;
  }

  .main-nav{
    z-index:210;
  }

  .hero-copy{
    z-index:40;
  }

  .hero-image::after{
    z-index:1;
  }
}


/* =========================================================
   V4.0 Mobile Rescue
   目標：救回手機版，不動桌機版。
   - 修水平爆版
   - 手機字級重整
   - Hero 回到穩定位置
   - 卡片 / Journal / Footer 不再超出螢幕
   ========================================================= */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

img,
video,
canvas,
svg{
  max-width:100%;
}

@media(max-width:820px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body{
    font-size:16px;
  }

  /* ---------- Header / Hero ---------- */

  .site-header{
    width:100%;
    max-width:100%;
    padding:18px 6vw 0;
    z-index:200;
  }

  .brand{
    max-width:66vw;
    white-space:nowrap;
  }

  .brand span{
    font-size:clamp(22px,6.8vw,30px);
    line-height:1.15;
    letter-spacing:.15em;
    white-space:nowrap;
  }

  .brand small{
    margin-top:2px;
    font-size:clamp(14px,4vw,18px);
    line-height:1.55;
    letter-spacing:.15em;
    white-space:nowrap;
  }

  .menu-toggle{
    display:flex;
    position:absolute;
    right:6vw;
    top:17px;
    width:56px;
    height:56px;
    z-index:220;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid rgba(255,255,255,.48);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    pointer-events:auto;
  }

  .menu-toggle span{
    display:block;
    width:25px;
    height:2px;
    background:#fff;
  }

  .main-nav{
    position:absolute;
    top:86px;
    right:5vw;
    display:none;
    flex-direction:column;
    align-items:stretch;
    width:230px;
    max-width:82vw;
    padding:12px;
    border-radius:20px;
    background:rgba(14,45,31,.96);
    box-shadow:0 22px 60px rgba(0,0,0,.22);
    z-index:210;
  }

  .main-nav.open{
    display:flex;
  }

  .main-nav a{
    padding:13px 14px;
    border-bottom:1px solid rgba(255,255,255,.1);
    font-size:16px;
  }

  .main-nav a:last-child{
    border:0;
    border-radius:0;
    padding:13px 14px;
  }

  .hero{
    position:relative;
    width:100%;
    min-height:100svh;
    max-width:100%;
    overflow:hidden;
    background:#10281e;
  }

  .hero-image{
    position:absolute;
    inset:0 auto auto 0;
    width:100%;
    height:54svh;
    max-width:100%;
    transform:none;
    background:
      linear-gradient(180deg,rgba(5,22,15,.12),rgba(5,22,15,.18) 48%,rgba(5,22,15,.93) 88%,rgba(5,22,15,1)),
      url('./assets/traveler-mobile-clean.jpg');
    background-size:cover;
    background-position:center 36%;
    pointer-events:none;
  }

  .hero-image::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:42%;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(
      180deg,
      rgba(16,40,30,0) 0%,
      rgba(16,40,30,.9) 38%,
      rgba(16,40,30,1) 78%,
      rgba(16,40,30,1) 100%
    );
  }

  .hero-copy{
    position:absolute !important;
    left:0;
    right:0;
    bottom:0;
    top:auto;
    width:100%;
    min-height:46svh;
    padding:34px 7vw 44px;
    z-index:40;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    background:linear-gradient(180deg,rgba(16,40,30,0),rgba(16,40,30,.98) 14%,rgba(16,40,30,1) 100%);
    pointer-events:auto;
  }

  .hero .kicker{
    display:none;
  }

  .hero h1{
    margin:0 0 10px;
    font-size:clamp(48px,14vw,64px);
    line-height:1.08;
    letter-spacing:.04em;
  }

  .hero-line{
    margin:0 0 28px;
    font-size:clamp(26px,7vw,34px);
    line-height:1.42;
    letter-spacing:.035em;
  }

  .hero-actions{
    display:flex;
    flex-direction:column;
    gap:16px;
  }

  .button{
    width:100%;
    min-height:58px;
    padding:0 24px;
    font-size:clamp(19px,5.2vw,24px);
    pointer-events:auto;
  }

  /* ---------- Global mobile sections ---------- */

  .section-pad,
  .intro,
  .collections,
  .journal,
  .closing{
    width:100%;
    max-width:100%;
    overflow:hidden;
    padding:76px 5vw;
  }

  .section-inner,
  .section-inner.narrow,
  .section-head,
  .cards,
  .journal-card,
  .journal-list,
  .journal-entry,
  .card{
    width:100%;
    max-width:100%;
  }

  .eyebrow{
    font-size:13px;
    letter-spacing:.28em;
    line-height:1.35;
    margin-bottom:20px;
  }

  .section-title,
  .intro h2,
  .section-head h2,
  .journal h2,
  .closing h2{
    width:100%;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    font-size:clamp(34px,8.8vw,46px);
    line-height:1.28;
    letter-spacing:.01em;
    text-wrap:balance;
    word-break:keep-all;
    overflow-wrap:normal;
  }

  .intro{
    text-align:center;
  }

  .intro p{
    max-width:30ch;
    font-size:clamp(18px,4.6vw,21px);
    line-height:1.95;
    margin-left:auto;
    margin-right:auto;
  }

  /* ---------- Collections ---------- */

  .collections{
    padding-top:78px;
    background:linear-gradient(180deg,#eadbc3,#f6efdc);
  }

  .section-head{
    margin-bottom:34px;
  }

  .section-head .section-title{
    max-width:11em;
    margin-left:0;
    text-align:left;
    font-size:clamp(36px,9.2vw,48px);
  }

  .cards{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
  }

  .card{
    min-height:auto;
    padding:34px 28px 32px;
    border-radius:28px;
    overflow:hidden;
  }

  .card-index{
    margin-bottom:28px;
    font-size:18px;
  }

  .card h3{
    font-size:clamp(32px,8vw,42px);
    line-height:1.22;
    letter-spacing:.01em;
    word-break:keep-all;
  }

  .card.pocket h3{
    white-space:nowrap;
    font-size:clamp(29px,7.4vw,38px);
  }

  .subtitle{
    font-size:15px;
    line-height:1.35;
    margin:6px 0 28px;
  }

  .card-text{
    font-size:clamp(18px,4.6vw,21px);
    line-height:1.85;
    margin-bottom:32px;
  }

  .card a{
    width:100%;
    min-height:56px;
    padding:0 22px;
    font-size:clamp(18px,4.8vw,22px);
    z-index:5;
    pointer-events:auto;
  }

  /* ---------- Journal ---------- */

  .journal{
    padding:76px 5vw;
  }

  .journal-card{
    padding:38px 26px;
    border-radius:30px;
    overflow:hidden;
  }

  .journal .section-title,
  .journal h2{
    font-size:clamp(38px,10vw,52px);
    line-height:1.22;
  }

  .journal-lead{
    font-size:clamp(19px,5vw,23px);
    line-height:1.8;
    margin-bottom:32px;
  }

  .journal-list{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
  }

  .journal-entry{
    min-height:auto;
    padding:28px 22px;
    border-radius:26px;
  }

  .entry-date{
    font-size:17px;
    line-height:1.3;
    margin-bottom:18px;
  }

  .journal-entry h3{
    max-width:100%;
    font-size:clamp(30px,7.8vw,40px);
    line-height:1.35;
    margin-bottom:18px;
  }

  .journal-entry p:last-child{
    font-size:clamp(18px,4.8vw,21px);
    line-height:1.9;
  }

  .journal-link{
    width:100%;
    min-height:56px;
    font-size:clamp(18px,4.8vw,22px);
    z-index:5;
    pointer-events:auto;
  }

  /* ---------- Closing / Footer ---------- */

  .closing{
    padding:76px 5vw;
  }

  .closing .section-title{
    font-size:clamp(34px,8.8vw,46px);
    line-height:1.32;
    max-width:10em;
  }

  .closing-text{
    font-size:clamp(18px,4.8vw,22px);
    line-height:1.85;
  }

  .link-row{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    margin-top:34px;
  }

  .link-row a{
    width:100%;
    min-height:56px;
    padding:0 22px;
    font-size:clamp(18px,4.8vw,22px);
    pointer-events:auto;
  }

  footer{
    width:100%;
    max-width:100%;
    padding:42px 7vw;
    overflow:hidden;
  }

  footer p{
    font-size:clamp(20px,5.4vw,26px);
    line-height:1.45;
    letter-spacing:.1em;
  }

  footer small{
    font-size:clamp(15px,4vw,18px);
    line-height:1.8;
  }

  footer em{
    font-size:13px;
    line-height:1.8;
    max-width:28ch;
    margin-left:auto;
    margin-right:auto;
  }
}

@media(max-width:390px){
  .brand span{
    font-size:22px;
    letter-spacing:.14em;
  }

  .brand small{
    font-size:14px;
  }

  .hero h1{
    font-size:46px;
  }

  .hero-line{
    font-size:25px;
  }

  .section-title,
  .intro h2,
  .section-head h2,
  .journal h2,
  .closing h2{
    font-size:34px;
  }
}


/* =========================================================
   V5 Final Mobile Fix
   只修最後三件事：
   1. 右上角選單可點
   2. 遮罩不再擋住任何連結
   3. 手機版卡片 / Footer 按鈕微對齊
   ========================================================= */

/* 所有裝飾層不吃點擊 */
.hero-image,
.hero-image::before,
.hero-image::after,
.card::before{
  pointer-events:none !important;
}

/* 真正需要點擊的元素永遠在最上層 */
.site-header{
  position:absolute;
  z-index:9999 !important;
  pointer-events:none;
}

.brand,
.menu-toggle,
.main-nav,
.main-nav a{
  pointer-events:auto !important;
}

.menu-toggle{
  z-index:10000 !important;
  cursor:pointer;
}

.main-nav{
  z-index:9998 !important;
}

.hero-copy,
.hero-actions,
.button,
.card,
.card a,
.journal-link,
.link-row,
.link-row a{
  position:relative;
  z-index:20;
  pointer-events:auto !important;
}

.card::before{
  z-index:0;
}

.card > *{
  position:relative;
  z-index:2;
}

/* 手機版最後收尾 */
@media(max-width:820px){
  .site-header{
    pointer-events:none;
  }

  .brand,
  .menu-toggle,
  .main-nav,
  .main-nav a{
    pointer-events:auto !important;
  }

  .menu-toggle{
    right:6vw;
    top:17px;
    width:56px;
    height:56px;
  }

  .main-nav{
    top:86px;
    right:5vw;
  }

  /* 卡片與按鈕置中、寬度更穩 */
  .cards{
    width:100%;
    margin-inline:auto;
  }

  .card{
    width:100%;
    margin-inline:auto;
  }

  .card a,
  .button,
  .journal-link,
  .link-row a{
    width:100%;
    max-width:100%;
    text-align:center;
  }

  .link-row{
    width:100%;
    margin-inline:auto;
  }

  /* Footer 文字不再看起來偏移 */
  footer{
    text-align:center;
  }

  footer p,
  footer small,
  footer em{
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}


/* =========================================================
   V6 Final: Menu + Mobile Centering Fix
   修兩件事：
   1. 右上角圓圈選單一定可點
   2. 手機版不再往右偏、不再水平爆版
   ========================================================= */

/* 全站保險：避免任何元素撐出手機畫面 */
html,
body{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
}

*{
  box-sizing:border-box;
}

/* 裝飾層永遠不吃點擊 */
.hero-image,
.hero-image::before,
.hero-image::after,
.card::before{
  pointer-events:none !important;
}

/* 手機版重設中文斷行：不要用 keep-all 撐爆畫面 */
@media(max-width:820px){

  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  body{
    position:relative;
  }

  body *{
    max-width:100%;
  }

  h1,h2,h3,p,a,small{
    word-break:normal !important;
    overflow-wrap:normal !important;
    line-break:auto !important;
  }

  /* Header 不再整片蓋住頁面；只讓 Logo / Menu 可點 */
  .site-header{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:100% !important;
    padding:18px 6vw 0 !important;
    z-index:5000 !important;
    pointer-events:none !important;
  }

  .brand{
    position:relative !important;
    z-index:5002 !important;
    pointer-events:auto !important;
    max-width:66vw !important;
  }

  .menu-toggle{
    display:flex !important;
    position:fixed !important;
    top:17px !important;
    right:6vw !important;
    width:56px !important;
    height:56px !important;
    z-index:99999 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent;
  }

  .main-nav{
    position:fixed !important;
    top:84px !important;
    right:5vw !important;
    width:min(230px,82vw) !important;
    z-index:99998 !important;
    pointer-events:auto !important;
  }

  .main-nav a{
    pointer-events:auto !important;
  }

  /* Hero：維持漂亮，但不讓它製造水平偏移 */
  .hero{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .hero-image{
    width:100% !important;
    max-width:100% !important;
    left:0 !important;
    right:0 !important;
  }

  .hero-copy{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:7vw !important;
    padding-right:7vw !important;
    z-index:40 !important;
    pointer-events:auto !important;
  }

  .hero h1{
    max-width:100% !important;
    font-size:clamp(46px,13vw,62px) !important;
    line-height:1.08 !important;
    white-space:normal !important;
  }

  .hero-line{
    max-width:100% !important;
    font-size:clamp(24px,6.5vw,32px) !important;
    line-height:1.45 !important;
    white-space:normal !important;
  }

  /* 所有區塊回到手機畫面正中央 */
  .section-pad,
  .intro,
  .collections,
  .journal,
  .closing,
  footer{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    overflow:hidden !important;
  }

  .section-inner,
  .section-inner.narrow,
  .section-head,
  .cards,
  .journal-card,
  .journal-list,
  .journal-entry,
  .card,
  .link-row{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* 大標題不要再衝出右邊 */
  .section-title,
  .intro h2,
  .section-head h2,
  .journal h2,
  .closing h2{
    width:100% !important;
    max-width:100% !important;
    font-size:clamp(32px,8vw,42px) !important;
    line-height:1.32 !important;
    letter-spacing:.005em !important;
    white-space:normal !important;
    text-wrap:balance;
  }

  .intro .section-title,
  .intro h2{
    max-width:11em !important;
    text-align:center !important;
  }

  .section-head .section-title,
  .section-head h2{
    max-width:10.5em !important;
    text-align:left !important;
  }

  .closing .section-title,
  .closing h2{
    max-width:10em !important;
    text-align:center !important;
  }

  .intro p,
  .closing-text{
    max-width:29ch !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* 卡片內距與按鈕保持對齊 */
  .card{
    padding-left:28px !important;
    padding-right:28px !important;
  }

  .card h3{
    white-space:normal !important;
    font-size:clamp(30px,7.5vw,40px) !important;
  }

  .card.pocket h3{
    white-space:nowrap !important;
    font-size:clamp(28px,7vw,36px) !important;
  }

  .button,
  .card a,
  .journal-link,
  .link-row a{
    width:100% !important;
    max-width:100% !important;
    min-height:56px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
    position:relative !important;
    z-index:50 !important;
    pointer-events:auto !important;
  }

  /* Journal 手機版不要太巨大、不要衝出卡片 */
  .journal .section-title,
  .journal h2{
    font-size:clamp(36px,9vw,46px) !important;
  }

  .journal-entry h3{
    font-size:clamp(28px,7vw,38px) !important;
    max-width:100% !important;
  }

  .journal-entry p:last-child{
    font-size:clamp(17px,4.5vw,20px) !important;
  }

  /* Footer 置中、避免看起來偏右 */
  footer{
    text-align:center !important;
  }

  footer p,
  footer small,
  footer em{
    width:100% !important;
    max-width:28ch !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }
}

@media(max-width:390px){
  .menu-toggle{
    width:54px !important;
    height:54px !important;
  }

  .brand span{
    font-size:22px !important;
  }

  .brand small{
    font-size:14px !important;
  }

  .hero h1{
    font-size:45px !important;
  }

  .section-title,
  .intro h2,
  .section-head h2,
  .journal h2,
  .closing h2{
    font-size:32px !important;
  }
}
