/* ============================================================
   三井作造  ／  設計師業務流程  ｜ 簡報模式
   Tablet 投放電視最佳化｜深炭黑 + 香檳金 + 暖米
   ============================================================ */

:root {
  --bg-deep:        #08080a;
  --bg:             #0d0d0f;
  --bg-elevated:    #141414;
  --bg-card:        #1a1916;

  --gold:           #c9a878;
  --gold-bright:    #e0c08c;
  --gold-soft:      #b89968;
  --gold-dark:      #8b7340;
  --gold-line:      rgba(201, 168, 120, 0.22);
  --gold-line-2:    rgba(201, 168, 120, 0.50);

  --text:           #ebe4d6;
  --text-bright:    #f5efe1;
  --text-muted:     #a8a294;
  --text-dim:       #6e6a60;

  --line:           rgba(255, 255, 255, 0.08);

  --serif:    "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --sans:     "Noto Sans TC", "PingFang TC", "Helvetica Neue", sans-serif;
  --display:  "Cormorant Garamond", "Noto Serif TC", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slide-dur: 0.55s;

  --pad-x: clamp(40px, 6vw, 120px);
  --pad-y: clamp(32px, 6vh, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== Brand logo ===== */
.brand-logo {
  display: inline-block;
  width: clamp(140px, 14vw, 200px);
  aspect-ratio: 800 / 302;
  background-color: var(--text-bright);
  -webkit-mask: url("images/logo.png") no-repeat center / contain;
          mask: url("images/logo.png") no-repeat center / contain;
  vertical-align: middle;
}
.brand-logo--gold   { background-color: var(--gold); }
.brand-logo--bright { background-color: var(--text-bright); }
.brand-logo--muted  { background-color: var(--text-muted); }
.brand-logo--sm     { width: clamp(90px, 10vw, 120px); }
.brand-logo--lg     { width: clamp(240px, 28vw, 360px); }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* ===== Icon base ===== */
.ic {
  width: 22px; height: 22px;
  flex: 0 0 auto;
  color: var(--gold);
  display: inline-block;
  vertical-align: middle;
  transition: color .3s var(--ease), transform .5s var(--ease);
}
.ic--lg { width: 38px; height: 38px; }
.ic--xl { width: 64px; height: 64px; }

/* ===== Deck container ===== */
.deck {
  position: fixed; inset: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(60px, var(--pad-y)) var(--pad-x) max(80px, var(--pad-y));
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--slide-dur) var(--ease),
              transform var(--slide-dur) var(--ease),
              visibility 0s linear var(--slide-dur);
  transform: translateX(40px);
  background: var(--bg);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity var(--slide-dur) var(--ease),
              transform var(--slide-dur) var(--ease),
              visibility 0s;
  z-index: 2;
}
.slide.is-prev {
  transform: translateX(-40px);
}

.slide__inner {
  width: 100%;
  max-width: 1500px;
  position: relative;
  z-index: 1;
}

/* subtle gold ambient */
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 20% -8%, rgba(201,168,120,0.07), transparent 60%),
    radial-gradient(800px 500px at 110% 110%, rgba(201,168,120,0.05), transparent 60%);
  pointer-events: none;
}

/* marble background for cover/closing */
.slide__bg-marble {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 50% 38%, rgba(201,168,120,0.18), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #0e0d10 55%, #08080a 100%);
}
.slide__bg-marble::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 49.5%, rgba(201,168,120,0.05) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(201,168,120,0.05) 50%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.slide__bg-marble::after {
  content: "三 井 作 造";
  position: absolute;
  bottom: -40px; right: -10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(160px, 24vw, 360px);
  line-height: 0.8;
  color: rgba(201,168,120,0.05);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

/* ===== Cover ===== */
.cover {
  text-align: center;
  position: relative;
}
.cover__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 56px;
}
.cover__brand-cn {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.36em;
  color: var(--text-bright);
}
.cover__brand-en {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.4em;
  color: var(--gold);
}
.cover__divider {
  width: 80px; height: 1px;
  margin: 0 auto 56px;
  background: var(--gold);
}
.cover__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(60px, 9vw, 130px);
  line-height: 1.2;
  letter-spacing: 0.14em;
  margin-bottom: 56px;
}
.cover__title span { display: block; }
.cover__title .gold {
  color: var(--gold);
  font-weight: 400;
  margin-top: 14px;
}
.cover__sub {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 2.2;
  color: var(--text);
  letter-spacing: 0.18em;
  margin-bottom: 56px;
  font-weight: 300;
}
.cover__sub em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
  margin: 0 4px;
}
.cover__meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.28em;
  color: var(--text-dim);
}
.cover__meta em { color: var(--gold); font-style: normal; }

/* ===== Common slide elements ===== */
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.25;
  letter-spacing: 0.18em;
  color: var(--text-bright);
  margin-bottom: 28px;
}
.big-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 90px);
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: var(--text-bright);
  margin-bottom: 40px;
}

.slide__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.slide__lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 2;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  max-width: 860px;
  margin: 0 auto;
}

/* ===== Intro slide ===== */
.intro {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.intro__icon {
  display: inline-grid;
  place-items: center;
  width: 96px; height: 96px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  margin-bottom: 36px;
  background: rgba(201,168,120,0.05);
}
.intro__icon .ic { width: 44px; height: 44px; }

.intro__lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 2.2;
  color: var(--text);
  letter-spacing: 0.14em;
  margin-bottom: 56px;
  font-weight: 300;
}
.intro__pillars {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--gold-line-2);
  background: rgba(201,168,120,0.04);
  padding: 0;
  overflow: hidden;
}
.ipill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.3em;
  color: var(--gold);
  border-right: 1px solid var(--gold-line);
}
.ipill:last-child { border-right: 0; }
.ipill .ic { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .ipill { flex: 1 1 50%; border-right: 0; border-bottom: 1px solid var(--gold-line); padding: 18px 16px; font-size: 17px; }
  .ipill:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ===== 核心價值 ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}
.value-card {
  background: var(--bg);
  padding: clamp(40px, 5vh, 64px) clamp(20px, 2vw, 36px);
  text-align: center;
  transition: background .5s var(--ease);
  position: relative;
}
.value-card:hover { background: var(--bg-elevated); }
.value-card__num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
}
.value-card__icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.04);
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.value-card:hover .value-card__icon {
  background: rgba(201,168,120,0.10);
  transform: translateY(-2px);
}
.value-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 50px);
  letter-spacing: 0.18em;
  color: var(--text-bright);
  margin-bottom: 22px;
}
.value-card h3::after {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
}
.value-card p {
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 2;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ===== 流程 11 階段 ===== */
.flowmap {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 0;
  position: relative;
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(201,168,120,0.05), transparent);
}
.flowmap::before {
  content: "";
  position: absolute;
  top: calc(50% + 14px); left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  opacity: 0.4;
  pointer-events: none;
}
.flowmap li {
  position: relative;
  padding: clamp(28px, 4vh, 44px) clamp(6px, 1vw, 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--gold-line);
  transition: background .3s var(--ease);
}
.flowmap li:hover { background: rgba(201,168,120,0.05); }
.flowmap li:last-child { border-right: 0; }
.flowmap li .ic {
  width: 30px; height: 30px;
  margin-bottom: 4px;
}
.flowmap__num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: 0.3em;
  color: var(--gold);
}
.flowmap__name {
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 17px);
  letter-spacing: 0.16em;
  color: var(--text-bright);
  text-align: center;
  white-space: nowrap;
}

/* ===== Stage detail slide ===== */
.stage-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(40px, 6vh, 64px);
  flex-wrap: wrap;
}
.stage-head__icon {
  display: grid; place-items: center;
  width: clamp(80px, 7vw, 110px);
  height: clamp(80px, 7vw, 110px);
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(201,168,120,0.10), rgba(201,168,120,0.02));
  flex: 0 0 auto;
}
.stage-head__icon .ic {
  width: clamp(40px, 4vw, 56px);
  height: clamp(40px, 4vw, 56px);
}
.stage-head__num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 6.5vw, 100px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.stage-head__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: 0.2em;
  color: var(--text-bright);
  line-height: 1.1;
}
.stage-head__tag {
  font-family: var(--serif);
  font-size: clamp(13px, 1.15vw, 17px);
  letter-spacing: 0.4em;
  color: var(--gold);
  padding: 9px 22px;
  border: 1px solid var(--gold-line-2);
  border-radius: 100px;
  background: rgba(201,168,120,0.04);
}

.stage-body {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.stage-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 2;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: clamp(36px, 4.5vh, 56px);
  padding-bottom: clamp(24px, 3.5vh, 36px);
  border-bottom: 1px solid var(--gold-line);
}

.stage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  text-align: left;
}
.stage-cols h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: clamp(16px, 2.5vh, 24px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-line);
  position: relative;
}
.stage-cols h4 .ic { width: 22px; height: 22px; }
.stage-cols h4::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold);
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 14px);
}
.ticks li {
  position: relative;
  padding-left: 28px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.95;
  color: var(--text);
  letter-spacing: 0.06em;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 16px; height: 1px;
  background: var(--gold);
}

/* tick list with inline icons */
.ticks--big {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  gap: clamp(14px, 2vh, 22px);
}
.ticks--big li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 0;
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.85;
}
.ticks--big li::before { display: none; }
.ticks--big li .ic {
  width: 28px; height: 28px;
  padding: 9px;
  box-sizing: content-box;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.05);
  color: var(--gold);
}

/* ===== Payment plan ===== */
.payment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  max-width: 1400px;
  margin: 0 auto clamp(28px, 4vh, 40px);
  position: relative;
}
.payment li {
  background: var(--bg);
  padding: clamp(32px, 4.5vh, 52px) clamp(18px, 2vw, 28px);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: background .4s var(--ease);
}
.payment li:hover { background: var(--bg-elevated); }
.payment__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.04);
  margin-bottom: 6px;
}
.payment__icon .ic { width: 28px; height: 28px; }
.payment li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -16px;
  transform: translateY(-50%) rotate(45deg);
  width: 18px; height: 18px;
  background: var(--bg);
  border-right: 1px solid var(--gold-line-2);
  border-top: 1px solid var(--gold-line-2);
  z-index: 3;
}
.payment__pct {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(60px, 7vw, 110px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.payment__pct small {
  font-size: 0.4em;
  margin-left: 6px;
  letter-spacing: 0.2em;
}
.payment li h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.32em;
  color: var(--text-bright);
}
.payment li p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.payment__note {
  font-family: var(--serif);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ===== Terms (timeline / pricing / payment) ===== */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
}
.term {
  background: var(--bg);
  padding: clamp(32px, 5vh, 52px) clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 24px);
  transition: background .4s var(--ease);
}
.term:hover { background: var(--bg-elevated); }
.term__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.05);
}
.term__icon .ic { width: 30px; height: 30px; }
.term h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0.32em;
  color: var(--gold);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
}
.term__big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  text-align: center;
  padding: clamp(14px, 2.5vh, 24px) 0;
}
.term__big em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5em;
}
.term ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.term ul li {
  position: relative;
  padding-left: 22px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--text);
}
.term ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 12px; height: 1px;
  background: var(--gold);
}

/* ===== Credentials slide ===== */
.certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.cert {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 28px);
}
.cert__frame {
  display: block;
  position: relative;
  background: #fff;
  padding: 12px;
  border: 1px solid var(--gold-line-2);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 6px 12px rgba(0,0,0,0.35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cert__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    0 8px 16px rgba(0,0,0,0.4);
}
.cert__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  object-position: top center;
}
.cert figcaption { text-align: left; }
.cert figcaption h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--text-bright);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-line);
}
.cert figcaption h3 .ic { width: 22px; height: 22px; }
.cert figcaption ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cert figcaption ul li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.cert figcaption ul li span { color: var(--text-muted); }
.cert figcaption ul li em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

/* ===== Closing ===== */
.closing {
  text-align: center;
  position: relative;
}
.closing__icon {
  display: inline-grid;
  place-items: center;
  width: 80px; height: 80px;
  margin-bottom: 28px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.05);
}
.closing__icon .ic { width: 36px; height: 36px; }

.closing__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--text-bright);
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.closing__title .gold { color: var(--gold); font-weight: 400; }

.closing__pillars {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 56px;
  padding: 22px 36px;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.closing__pillars span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.closing__pillars .ic { width: 22px; height: 22px; }
.closing__pillars i {
  font-style: normal;
  opacity: 0.5;
  color: var(--gold);
}
.closing__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   控制 UI
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(8,8,10,0.65), transparent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.topbar__cn {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--text);
}
.topbar__en {
  font-family: var(--display);
  font-style: italic;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--gold);
}
.topbar__right {
  display: flex;
  gap: 8px;
}
.iconbtn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.iconbtn:hover {
  color: var(--gold);
  background: rgba(201,168,120,0.08);
}

/* prev / next */
.ctrl {
  position: fixed;
  top: 50%;
  width: 56px; height: 56px;
  transform: translateY(-50%);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 40;
  color: var(--text-muted);
  background: rgba(20,20,20,0.4);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity .35s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  opacity: 0.55;
}
.ctrl:hover {
  opacity: 1;
  color: var(--gold);
  background: rgba(201,168,120,0.10);
}
.ctrl--prev { left: 24px; }
.ctrl--next { right: 24px; }
.ctrl[disabled] { opacity: 0.15; cursor: default; }

/* ===== bottom bar ===== */
.botbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 14px 28px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  z-index: 50;
  background: linear-gradient(to top, rgba(8,8,10,0.85), transparent);
}
.botbar__count {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.botbar__count i { font-style: normal; opacity: 0.5; margin: 0 6px; }
.botbar__title {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.botbar__progress {
  width: 200px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.botbar__progress > div {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .55s var(--ease);
}

/* ===== Menu overlay ===== */
.menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(420px, 92vw);
  background: rgba(10,10,12,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--gold-line);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.menu.is-open { transform: translateX(0); }
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gold-line);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.36em;
  color: var(--gold);
}
.menu__list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.menu__list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.menu__list li:hover { background: rgba(201,168,120,0.06); color: var(--gold); }
.menu__list li.is-current {
  background: rgba(201,168,120,0.10);
  color: var(--gold);
}
.menu__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  flex: 0 0 auto;
  min-width: 28px;
}
.menu__name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.menu__list li.is-current .menu__name { color: var(--gold); }

/* ===== Hint ===== */
.hint {
  position: fixed;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.92);
  border: 1px solid var(--gold-line);
  padding: 22px 28px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 8px;
  align-items: center;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
  font-family: var(--serif);
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 320px;
}
.hint.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease), visibility 0s;
}
.hint__row { display: contents; }
.hint__key {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  text-align: right;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.hint__close {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line-2);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.36em;
  transition: background .25s var(--ease);
}
.hint__close:hover { background: rgba(201,168,120,0.1); }

/* ============================================================
   Responsive — 平板 / TV / 手機
   ============================================================ */

@media (max-width: 1280px) {
  .slide { padding: 70px clamp(32px, 5vw, 80px) 88px; }
  .stage-cols { gap: 40px; }
}

@media (max-width: 880px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .flowmap { grid-template-columns: repeat(4, 1fr); }
  .flowmap::before { display: none; }
  .flowmap li { border-bottom: 1px solid var(--gold-line); padding: 22px 8px; }
  .payment { grid-template-columns: repeat(2, 1fr); }
  .payment li:not(:last-child)::after { display: none; }
  .terms-grid { grid-template-columns: 1fr; }
  .stage-cols { grid-template-columns: 1fr; gap: 32px; }
  .certs { grid-template-columns: 1fr; }
  .cert__frame img { max-height: 38vh; }
  .stage-head { gap: 14px; }
  .stage-head__icon { width: 64px; height: 64px; }
  .stage-head__icon .ic { width: 32px; height: 32px; }
  .ctrl { width: 44px; height: 44px; }
  .ctrl--prev { left: 12px; }
  .ctrl--next { right: 12px; }
  .botbar__progress { display: none; }
  .botbar { grid-template-columns: auto 1fr; }
  .ticks--big li { gap: 12px; font-size: 17px; }
  .ticks--big li .ic { padding: 7px; width: 22px; height: 22px; }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .flowmap { grid-template-columns: repeat(2, 1fr); }
  .payment { grid-template-columns: 1fr; }
  .ipill { flex: 1 1 100%; border-bottom: 1px solid var(--gold-line); }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .menu, .hint, .botbar__progress > div {
    transition-duration: 0.001ms !important;
  }
}

::selection { background: var(--gold); color: #08080a; }

/* ============================================================
   New slides: worries / promises / cta
   ============================================================ */

/* ===== Worries (Pain vs Promise) ===== */
.worries {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 880px) { .worries { grid-template-columns: 1fr; gap: 18px; } }

.worry-col {
  background: var(--bg);
  border: 1px solid var(--gold-line);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 28px);
}
.worry-col--pain { background: linear-gradient(180deg, rgba(200, 90, 80, 0.05), transparent 80%); }
.worry-col--promise { background: linear-gradient(180deg, rgba(201, 168, 120, 0.08), transparent 80%); border-color: var(--gold-line-2); }
.worry-col__head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--gold-line); }
.worry-col__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.05);
  flex: 0 0 auto;
}
.worry-col--pain .worry-col__icon { color: #c98570; border-color: rgba(201, 133, 112, 0.4); background: rgba(201,133,112,0.05); }
.worry-col--pain .worry-col__icon .ic { color: #c98570; }
.worry-col__head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.32em;
  color: var(--text-bright);
}
.worry-col--promise .worry-col__head h3 { color: var(--gold-bright); }
.worry-list {
  display: flex; flex-direction: column;
  gap: clamp(10px, 1.4vh, 14px);
}
.worry-list li {
  position: relative;
  padding-left: 34px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.95;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.worry-list li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(201, 133, 112, 0.35);
  color: #c98570;
  font-family: var(--display);
  font-size: 12px;
  display: grid; place-items: center;
  background: rgba(201, 133, 112, 0.05);
  line-height: 1;
}
.worry-list--good li { color: var(--text); }
.worry-list--good li::before {
  content: "✓";
  border-color: var(--gold-line-2);
  color: var(--gold);
  background: rgba(201, 168, 120, 0.06);
  font-size: 13px;
}
.worries__vs {
  display: grid; place-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 0.18em;
  color: var(--gold);
  position: relative;
  min-width: 50px;
}
.worries__vs::before, .worries__vs::after {
  content: ""; position: absolute; left: 50%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-line-2), transparent);
}
.worries__vs::before { top: 0; bottom: 60%; }
.worries__vs::after  { top: 60%; bottom: 0; }
@media (max-width: 880px) {
  .worries__vs { padding: 14px 0; }
  .worries__vs::before, .worries__vs::after { display: none; }
}

/* ===== Promises ===== */
.promises {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-line);
  border: 1px solid var(--gold-line);
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }

.promise {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  gap: clamp(20px, 2vw, 28px);
  align-items: flex-start;
}
.promise__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border: 1px solid var(--gold-line-2);
  border-radius: 50%;
  background: rgba(201,168,120,0.05);
  flex: 0 0 auto;
}
.promise__num {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 12px;
}
.promise__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: 0.28em;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.promise__body p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.95;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ===== CTA slide ===== */
.slide--cta { padding: 0; }
.slide--cta .slide__inner { padding: var(--pad-y) var(--pad-x); }
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(800px 400px at 50% 30%, rgba(201,168,120,0.18), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #0e0d10 100%);
}
.cta__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 49.5%, rgba(201,168,120,0.04) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(201,168,120,0.04) 50%, transparent 50.5%);
  background-size: 80px 80px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.cta {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--text-bright);
  margin-bottom: 28px;
}
.cta__title .gold { color: var(--gold); font-weight: 400; }
.cta__sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 2;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: clamp(40px, 5vh, 56px);
}
.cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(40px, 5vh, 56px);
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border: 1px solid var(--gold-line-2);
  border-radius: 100px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.32em;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.cta__btn:hover {
  background: rgba(201, 168, 120, 0.12);
  color: var(--gold-bright);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.cta__btn .ic { width: 22px; height: 22px; }
.cta__btn--primary {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}
.cta__btn--primary .ic { color: var(--bg-deep); }
.cta__btn--primary:hover {
  background: var(--gold-bright);
  color: var(--bg-deep);
  border-color: var(--gold-bright);
}
.cta__btn--primary:hover .ic { color: var(--bg-deep); }
.cta__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 28px 32px;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.cta__info-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: 0.18em;
  color: var(--text);
}
.cta__info-row .ic { color: var(--gold); width: 22px; height: 22px; }

.cta__tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  margin-top: 24px;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.4em;
  color: var(--gold);
}
.cta__tagline i { font-style: normal; opacity: 0.5; color: var(--gold); }

/* ===== Mode switch button ===== */
.modeswitch {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line-2);
  border-radius: 100px;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.modeswitch:hover {
  background: rgba(201, 168, 120, 0.12);
  color: var(--gold-bright);
  border-color: var(--gold);
}
.modeswitch span { padding-left: 4px; }
@media (max-width: 600px) {
  .modeswitch { font-size: 11px; padding: 6px 12px; gap: 6px; }
}
