:root {
  --gold: #cbb17a;
  --gold2: #f0d7a2;
  --red: #6c1717;
  --ink: #08090a;
  --text: #f2eee6;
  --muted: #b6afa3;
  --rail: 108px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: #050607
}

body {
  margin: 0;
  background: #050607;
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  overflow-x: hidden
}

.rail {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: var(--rail);
  height: 100vh;
  background: #070809eF;
  border-right: 1px solid #2a2926;
  display: flex;
  flex-direction: column;
  align-items: center
}

.rail-logo {
  height: 118px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #24231f
}

.rail-logo b {
  font: 900 31px Georgia;
  color: var(--gold2);
  letter-spacing: -2px
}

.rail-logo span {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .32em;
  margin-left: .32em
}

.rail nav {
  display: flex;
  flex-direction: column;
  width: 100%
}

.rail nav a {
  height: 76px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #777169;
  border-bottom: 1px solid #181918;
  position: relative
}

.rail nav i {
  font: 12px Georgia;
  color: #5e5a52
}

.rail nav span {
  font-size: 22px;
  letter-spacing: .18em
}

.rail nav a:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: .3s
}

.rail nav a.active,
.rail nav a:hover {
  color: #efe5d0
}

.rail nav a.active:before {
  height: 100%
}

.campaign {
  margin-left: var(--rail)
}

.chapter {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  scroll-snap-align: start
}

.scene {
  position: absolute;
  inset: -5%;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: transform 7s ease;
  filter: brightness(1.16) saturate(1.06)
}

.chapter.in-view .scene {
  transform: scale(1.08)
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050607c8 0%, #05060778 43%, #05060712 70%, #0506074d 100%)
}

.left-dark {
  background: linear-gradient(90deg, #050607cc 0%, #0506078e 43%, #05060724 70%, #05060763 100%)
}

.right-dark {
  background: linear-gradient(270deg, #050607cc 0%, #05060788 43%, #05060722 72%, #05060760 100%)
}

.center-dark {
  background: radial-gradient(circle at 50% 45%, #0506074a 0%, #05060788 58%, #050607c8 100%)
}

.chapter-inner {
  position: relative;
  z-index: 3;
  padding: 120px 7vw;
  width: min(1160px, 90vw)
}

.narrow {
  width: min(930px, 82vw)
}

.right {
  justify-content: flex-end
}

.right .chapter-inner {
  margin-left: auto
}

.center .chapter-inner,
.contact .chapter-inner {
  text-align: center;
  margin: auto
}

.kicker {
  font-size: 24px;
  font: 700 12px Georgia;
  letter-spacing: .38em;
  color: var(--gold2);
  text-transform: uppercase;
  margin: 0 0 22px
}

.hero-inner {
  padding-left: 8vw
}

.hero-rule {
  width: 66px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 24px
}

.hero h1,
.chapter h2 {
  font-family: Georgia, "Noto Serif TC", serif;
  font-weight: 700;
  line-height: 1.02;
  margin: 0
}

.hero h1 {
  font-size: clamp(58px, 8vw, 118px);
  max-width: 950px;
  text-shadow: 0 10px 40px #000
}

.hero h1 strong {
  color: var(--gold2)
}

.chapter h2 {
  font-size: clamp(46px, 6vw, 82px);
  text-shadow: 0 10px 35px #000
}

.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
  color: #fff;
  max-width: 760px
}

.center .lead,
.contact .lead {
  margin-left: auto;
  margin-right: auto
}

.reject-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0
}

.reject-tags span {
  padding: 11px 17px;
  border: 1px solid #7e653b;
  background: #0b0c0dd9;
  color: #e3d6bc;
  font-weight: 800
}

.cta {
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: #191711;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #f0d7a2, #a68245);
  padding: 16px 18px 16px 24px;
  box-shadow: 0 18px 50px #000b
}

.cta b {
  color: #000;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center
}

.chapter-no {
  position: absolute;
  right: 3.5vw;
  bottom: 3.5vh;
  z-index: 4;
  font: 700 clamp(68px, 10vw, 150px) Georgia;
  color: #ffffff0d;
  -webkit-text-stroke: 1px #ffffff12;
  pointer-events: none
}

.question-lines {
  margin-top: 40px;
  max-width: 800px
}

.question-lines p {
  margin: 0;
  border-top: 1px solid #5a5143;
  padding: 18px 0;
  font: 700 clamp(23px, 3vw, 38px) Georgia, "Noto Serif TC", serif;
  display: flex;
  align-items: center;
  gap: 18px
}

.question-lines p:last-child {
  border-bottom: 1px solid #5a5143
}

.question-lines span {
  font: 12px Georgia;
  color: var(--gold)
}

.statement {
  margin-top: 35px;
  border-top: 1px solid #6b5d45;
  max-width: 760px
}

.statement div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #4b4337
}

.statement b {
  color: var(--gold2);
  font-size: 25px
}

.statement span {
  font-size: 25px;
  color: #fff;
  line-height: 1.7
}

.quote {
  font: italic 21px Georgia, "Noto Serif TC", serif;
  color: #ddd1b8;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-top: 28px
}

.pillars {
  margin-top: 40px;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #655b4a;
  border-left: 1px solid #655b4a
}

.pillars div {
  min-height: 155px;
  padding: 28px;
  border-right: 1px solid #655b4a;
  border-bottom: 1px solid #655b4a;
  background: #090a0bb2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.pillars strong {
  font: 700 28px Georgia, "Noto Serif TC", serif;
  color: var(--gold2)
}

.pillars small {
  margin-top: 8px;
  color: #aaa398;
  font-size: 14px
}

.split-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0
}

.half {
  min-height: 100vh;
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 7vw 6vw
}

.half-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #05060718 20%, #050607c8 100%)
}

.half-copy {
  position: relative;
  z-index: 2
}

.half-copy span {
  font: 12px Georgia;
  letter-spacing: .4em;
  color: var(--gold)
}

.half-copy h3 {
  font: 700 clamp(46px, 6vw, 78px) Georgia, "Noto Serif TC", serif;
  margin: 10px 0
}

.half-copy p {
  color: #c8c2b8;
  font-size: 18px;
  line-height: 1.8
}

.split-title {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 22px 32px;
  background: #0b0c0dd8;
  border: 1px solid #8b7954;
  box-shadow: 0 28px 80px #000
}

.split-title span {
  display: block;
  color: #9f947e;
  font-size: 18px;
  letter-spacing: .2em;
  margin-bottom: 8px
}

.split-title strong {
  font-size: 20px;
  white-space: nowrap;
  color: #f0e6d2
}

.wide-center {
  width: min(1100px, 88vw)
}

.line-card {
  width: min(380px, 90vw);
  margin: 38px auto 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #f4f0e8;
  border: 1px solid #846e46;
  background: linear-gradient(180deg, #1c1e1ae0, #0d0f10d8);
  padding: 18px 20px;
  box-shadow: 0 24px 70px #000b;
  transition: .25s
}

.line-card:hover {
  transform: translateY(-3px);
  border-color: #c5a875
}

.line-bubble {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #258f4b;
  font-weight: 900;
  font-size: 13px
}

.line-card>span:nth-child(2) {
  text-align: left
}

.line-card b {
  display: block;
  font-size: 21px
}

.line-card em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: #cabb9f
}

.line-card i {
  font-style: normal;
  font-size: 32px;
  color: var(--gold2)
}

.final-word {
  font: italic 20px Georgia, "Noto Serif TC", serif;
  color: #d9cdb6
}

.mobile-top {
  display: none
}

@media(max-width:920px) {
  :root {
    --rail: 0px
  }

  html {
    scroll-snap-type: none
  }

  .rail {
    display: none
  }

  .campaign {
    margin-left: 0
  }

  .mobile-top {
    position: fixed;
    display: flex;
    z-index: 60;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    align-items: center;
    padding: 0 18px;
    background: #070809ef;
    border-bottom: 1px solid #24231f
  }

  .mobile-top b {
    font: 900 26px Georgia;
    color: var(--gold2)
  }

  .mobile-top span {
    margin-left: 8px;
    font-size: 14px;
    letter-spacing: .2em
  }

  .mobile-top a {
    margin-left: auto;
    color: #16130e;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    background: var(--gold2);
    padding: 9px 13px
  }

  .chapter-inner {
    padding: 105px 24px 72px;
    width: 100%
  }

  .narrow {
    width: 100%
  }

  .statement div {
    grid-template-columns: 1fr;
    gap: 6px
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .split-chapter {
    grid-template-columns: 1fr;
    display: block
  }

  .half {
    min-height: 66vh;
    padding: 70px 24px
  }

  .split-title {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -1px 0;
    padding: 24px;
    border-left: 0;
    border-right: 0
  }

  .split-title strong {
    white-space: normal
  }

  .chapter-no {
    right: 18px
  }

  .scene {
    inset: -2%
  }

  .hero h1 {
    font-size: 58px
  }

  .chapter h2 {
    font-size: 45px
  }
}

@media(max-width:560px) {
  .hero h1 {
    font-size: 48px
  }

  .chapter h2 {
    font-size: 38px
  }

  .lead {
    font-size: 16px
  }

  .question-lines p {
    font-size: 24px;
    align-items: flex-start
  }

  .pillars div {
    min-height: 128px
  }

  .split-title strong {
    font-size: 17px
  }

  .line-card {
    grid-template-columns: auto 1fr
  }

  .line-card i {
    display: none
  }

  .line-bubble {
    width: 48px;
    height: 48px
  }

  .chapter-no {
    font-size: 82px
  }

  .half-copy h3 {
    font-size: 44px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .scene,
  .chapter.in-view .scene {
    transform: none;
    transition: none
  }
}

/* Large titles: prevent arbitrary browser line breaks */
.title-line {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap
}

.hero h1,
.chapter h2,
.half-copy h3,
.split-title strong {
  word-break: keep-all;
  overflow-wrap: normal
}

@media(max-width:920px) {
  .title-line {
    white-space: normal;
    text-wrap: balance;
    word-break: keep-all
  }
}

@media(max-width:560px) {
  .title-line {
    display: inline;
    white-space: normal;
    text-wrap: balance;
    word-break: keep-all
  }
}


/* 文字主內容板塊：統一水平置中 */
.chapter,
.hero,
.right,
.center,
.contact {
  justify-content: center !important;
}

.chapter-inner,
.hero-inner,
.chapter .narrow,
.right .chapter-inner,
.center .chapter-inner,
.contact .chapter-inner,
.wide-center {
  width: min(1180px, 90vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  text-align: center !important;
}

.hero-rule {
  margin-left: auto !important;
  margin-right: auto !important;
}

.lead,
.question-lines,
.statement,
.pillars,
.quote {
  margin-left: auto !important;
  margin-right: auto !important;
}

.reject-tags {
  justify-content: center !important;
}

.question-lines p {
  justify-content: center !important;
  text-align: center !important;
}

.statement div {
  text-align: center !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.pillars {
  width: min(900px, 100%);
}

.pillars div {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.quote {
  border-left: 0 !important;
  border-top: 2px solid var(--gold);
  padding: 18px 0 0 !important;
  max-width: 780px;
}

.half {
  justify-content: center !important;
  text-align: center !important;
}

.half-copy {
  width: min(560px, 92%);
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

.split-title {
  text-align: center !important;
}

.line-card>span:nth-child(2) {
  text-align: center !important;
}

@media(max-width:920px) {

  .chapter-inner,
  .hero-inner,
  .chapter .narrow,
  .right .chapter-inner,
  .center .chapter-inner,
  .contact .chapter-inner,
  .wide-center {
    width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    text-align: center !important;
  }

  .question-lines p {
    justify-content: center !important;
    text-align: center !important;
  }

  .statement div {
    text-align: center !important;
  }

  .half {
    justify-content: center !important;
    text-align: center !important;
  }
}