/* 關於我們頁（about.html）：上方介紹 + 下方圖片無限輪播；藍底與白色花圈線沿用 page.css 的 .page-blue */
.page-about .hero--page {
  padding-bottom: clamp(40px, 5vw, 70px);
}
.page-about .hero--page::after {
  display: none;
} /* 上方不放花圈線，改放在輪播下方 */
.ab-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(70px, 9vw, 120px);
}
.ab-left {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.ab-h1 {
  margin: 0;
  white-space: pre-line;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-wrap: balance;
}
.ab-right {
  display: grid;
  gap: 18px;
  padding-top: clamp(0px, 1.4vw, 18px);
}
.ab-lead {
  margin: 0;
  font-family:  "Noto Sans TC";
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.85;
  letter-spacing: 0.03em;
}
.ab-sub {
  margin: 0;
  font-family: var(--font-round);
  font-weight: 500;
  font-size: clamp(1rem, 1.3vw, 16px);
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.78);
}

/* ---------- 黃色大標區塊（左：四個斜切圓角色塊；右：靠右對齊的大標與說明） ---------- */
.ab-feature {
  --feat-bg: #fcf07a;
  --feat-1: #b39b38;
  --feat-2: #75600f;
  position: relative;
  overflow: hidden;
  background: var(--feat-bg);
  min-height: clamp(360px, 43.5vw, 760px);
  display: grid;
  align-items: center;
}
.ab-feat-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ab-feat-in {
  position: relative;
  z-index: 1;
  width: min(58%, 980px);
  justify-self: end;
  padding: clamp(40px, 6vw, 90px) 5% clamp(40px, 6vw, 90px) 0;
  display: grid;
  gap: clamp(20px, 3vw, 44px);
  text-align: right;
  font-family: "Zen Maru Gothic", "Noto Sans TC", system-ui, sans-serif;
}
.ab-feat-h {
  margin: 0;
  display: grid;
  font-weight: 800;
  font-size: clamp(40px, 6.3vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.ab-feat-1 {
  color: var(--feat-1);
}
.ab-feat-2 {
  color: var(--feat-2);
}
.ab-feat-p {
  margin: 0 0 0 auto;
  max-width: 27.5em;
  font-weight: 300;
  font-size: clamp(1rem, 1.55vw, 28px);
  line-height: 1.65;
  color: var(--feat-1);
}
@media (max-width: 760px) {
  .ab-feature {
    align-items: end;
    min-height: clamp(420px, 110vw, 560px);
  }
  .ab-feat-shapes {
    opacity: 0.28;
  }
  .ab-feat-in {
    width: 100%;
    padding: 60px 6% 44px;
  }
  .ab-feat-h {
    font-size: clamp(38px, 11vw, 64px);
  }
}

/* ---------- 毛玻璃區塊 + 可拖移貼紙 ---------- */
.ab-glass {
  --glass-bg: none;
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 50vw, 780px);
  display: grid;
  place-items: center;
  margin-top: clamp(30px, 5vw, 70px);
  isolation: isolate;
}
.ab-glass-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #71d8f1 var(--glass-bg) center/cover no-repeat;
}
.ab-glass.has-img .ab-glass-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.32);
}
.ab-glass-panel {
  position: relative;
  z-index: 1;
  width: min(68%, 1000px);
  padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 80px);
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: clamp(14px, 1.6vw, 24px);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.ab-glass-h {
  margin: 0 0 clamp(14px, 2vw, 26px);
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f7f3e4;
  text-wrap: balance;
  letter-spacing: 7px;
}
.ab-glass-p {
  margin: 0 auto;
  max-width: 30em;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 22px);
  line-height: 1.8;
  color: rgba(247, 243, 228, 0.95);
}
.ab-stickers {
  position: absolute;
  inset: 0;
  z-index: 2;
  font-size: clamp(8px, 1.2vw, 16px);
}
.stk {
  position: absolute;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
  transform: rotate(var(--r, 0deg));
  transition:
    transform 0.18s,
    filter 0.18s;
  filter: drop-shadow(0 0.5em 0.6em rgba(0, 0, 0, 0.35));
}
.stk:hover,
.stk:focus-visible {
  transform: rotate(var(--r, 0deg)) scale(1.06);
}
.stk:focus-visible {
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 0.35em #fff)
    drop-shadow(0 0.5em 0.6em rgba(0, 0, 0, 0.35));
}
.stk.is-drag {
  cursor: grabbing;
  transition: none;
  transform: rotate(var(--r, 0deg)) scale(1.1);
  filter: drop-shadow(0 1.1em 1.1em rgba(0, 0, 0, 0.4));
}
.stk svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stk-verified,
.stk-paw,
.stk-heart,
.stk-star {
  width: 11em;
  height: 11em;
}
.stk-verified {
  width: 9.5em;
  height: 9.5em;
}
.stk-star {
  width: 12.5em;
  height: 12.5em;
}
.stk-in {
  display: block;
}
.stk-round {
  display: grid;
  place-items: center;
  width: 9.5em;
  height: 9.5em;
  border-radius: 50%;
  background: #f58db9;
  border: 0.8em solid #f7f3e4;
  box-sizing: border-box;
  text-align: center;
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 800;
  font-size: 1.9em;
  line-height: 1.15;
  color: #b0195b;
}
.stk-round .stk-in {
  font-size: 0.95em;
}
.stk-label {
  padding: 0.55em 1.3em;
  background: #a8ccf0;
  border: 0.5em solid #f7f3e4;
  border-radius: 0.7em;
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 800;
  font-size: 2.4em;
  color: #1b2f66;
  white-space: nowrap;
}
.stk-label .stk-in {
  font-size: 0.62em;
}
.stk-oval {
  padding: 0.9em 1.7em;
  background: #ffef7a;
  border: 0.5em solid #f7f3e4;
  border-radius: 50%;
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 800;
  color: #6b5b05;
  font-size: 2.3em;
  white-space: nowrap;
}
.stk-oval .stk-in {
  font-size: 0.62em;
}
.stk-text {
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 800;
  font-size: 3em;
  line-height: 0.98;
  color: #f58db9;
  -webkit-text-stroke: 0.28em #f7f3e4;
  paint-order: stroke fill;
  text-shadow: none;
}
.stk-text .stk-in {
  font-size: 0.8em;
}
.stk-logo {
  width: 15em;
}
.stk-image img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.stk-logo img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0.18em 0 0 #fff) drop-shadow(-0.18em 0 0 #fff)
    drop-shadow(0 0.18em 0 #fff) drop-shadow(0 -0.18em 0 #fff);
}

@media (max-width: 760px) {
  .ab-glass {
    min-height: clamp(560px, 150vw, 720px);
  }
  .ab-glass-panel {
    width: 84%;
    padding-block: clamp(70px, 22vw, 110px);
  }
  .ab-stickers {
    font-size: clamp(6px, 1.9vw, 10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stk {
    transition: none;
  }
}

/* 黃色區塊：補充說明 + LINE 按鈕（靠右對齊） */
.ab-feat-x {
  margin: 0 0 0 auto;
  max-width: 30em;
  font-weight: 400;
  font-size: clamp(1rem, 1.15vw, 19px);
  line-height: 1.8;
  color: var(--feat-1);
}
.ab-feat-btn {
  --ink: var(--feat-2);
  --paper: var(--feat-bg);
  --brand: #111;
  justify-self: end;
  font-family: "Zen Maru Gothic", "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 21px);
  padding: 20px 32px 18px;
  color: var(--feat-bg);
}
.ab-feat-btn:hover {
  color: var(--feat-bg);
}
.ab-glass-p {
  max-width: 34em;
}
.page-about main::after {
  display: none;
}

/* 沒有背景照片時：延續頁面藍底，面板改成白色半透明＋深色字 */
.ab-glass:not(.has-img) .ab-glass-panel {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(20, 80, 110, 0.16);
  color: #111;
}
.ab-glass:not(.has-img) .ab-glass-h {
  color: #111;
}
.ab-glass:not(.has-img) .ab-glass-p {
  color: rgba(17, 17, 17, 0.85);
}

/* WOW.js：動畫元素在被捲到之前先隱藏（WOW 播放時會自己改成 visible）；WOW 沒載入成功時 has-wow 會被移除，內容照常顯示 */
.has-wow .wow {
  visibility: hidden;
}
/* 貼紙本身有 rotate，用只改透明度的 fadeIn，避免動畫期間角度跑掉 */
.stk.animate__animated {
  animation-duration: 0.6s;
}
