/* 植得遠行｜共用 Design System 與全站樣式 */
:root {
  --color-primary: #285b39;
  --color-primary-dark: #153d28;
  --color-secondary: #9baa7c;
  --color-accent: #c9a446;
  --color-background: #fbfaf5;
  --color-surface: #fffef9;
  --color-soft: #eef2e7;
  --color-text: #243229;
  --color-muted: #647068;
  --color-danger: #bf2f2f;
  --container-width: 1180px;
  --section-spacing: clamp(4rem, 8vw, 7.5rem);
  --header-height: 82px;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px rgb(37 65 45 / 0.11);
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --font-sans:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
main {
  overflow-x: clip;
}
body.menu-open {
  overflow: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
:focus-visible {
  outline: 3px solid #e1aa39;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: 1rem;
}
.container {
  width: min(calc(100% - 3rem), var(--container-width));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-spacing);
}
.section--soft {
  background: var(--color-soft);
}
.section--paper {
  background-color: #f4f1e6;
  background-image: radial-gradient(
    rgb(40 91 57 / 0.07) 0.7px,
    transparent 0.7px
  );
  background-size: 8px 8px;
}
.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--color-primary);
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 5.3rem);
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}
p {
  margin-top: 0;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.9;
  color: #3f4a43;
}
.muted {
  color: var(--color-muted);
}
.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.section-heading p {
  margin-inline: auto;
  max-width: 62ch;
}
.hand-note {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}
.btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
}
.btn--outline:hover {
  color: #fff;
}
.tag {
  display: inline-flex;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: #e4ecdc;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  overflow: hidden;
  border: 1px solid rgb(40 91 57 / 0.09);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 10px 30px #25412d12;
}
.card__body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.card p:last-child {
  margin-bottom: 0;
}
.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ratio-43 {
  aspect-ratio: 4/3;
}
.ratio-32 {
  aspect-ratio: 3/2;
}
.ratio-square {
  aspect-ratio: 1;
}
.ratio-portrait {
  aspect-ratio: 3/4;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.split--wide-copy {
  grid-template-columns: 1.05fr 0.95fr;
}
.split__copy {
  max-width: 620px;
}
.split__copy p {
  max-width: 62ch;
}
.leaf-rule {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.leaf-rule:before {
  content: "";
  width: 20px;
  height: 34px;
  border: 2px solid var(--color-primary);
  border-radius: 100% 0;
  transform: rotate(-22deg);
  background: #e5eddf;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 68vw, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #dfe9dc;
}
.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media {
  object-fit: cover;
  z-index: -2;
}
.hero__shade {
  z-index: -1;
  background: linear-gradient(90deg, #fffffaf2, #fffffad1 35%, #fffffa14 72%);
}
.hero__content {
  width: min(100%, 650px);
  padding-block: 5rem;
}
.hero h1 {
  margin-bottom: 0.8rem;
  color: var(--color-primary-dark);
}
.hero .lead {
  max-width: 48ch;
  color: #334139;
}
.hero--dark .hero__shade {
  background: linear-gradient(90deg, #0c2719c4, #0c271926 70%);
}
.hero--dark h1,
.hero--dark .lead,
.hero--dark .eyebrow {
  color: #fff;
}
.hero--short {
  min-height: 520px;
}
.hero--right .hero__content {
  margin-left: auto;
  text-align: left;
}
.hero--right .hero__shade {
  background: linear-gradient(270deg, #fffffaf0, #fffffaa6 42%, #fffffa0a 74%);
}
.cta-band {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-band:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e301ecc, #0e301e33);
  z-index: -1;
}
.cta-band__inner {
  padding-block: 4rem;
}
.cta-band h2 {
  max-width: 850px;
  margin-inline: auto;
}
.cta-band p {
  font-size: 1.15rem;
}
.polaroid {
  padding: 0.65rem 0.65rem 1.25rem;
  background: #fff;
  box-shadow: 0 12px 32px #2c392e21;
  transform: rotate(var(--tilt, -1deg));
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.polaroid figcaption {
  padding: 0.7rem 0.3rem 0;
  font-family: var(--font-serif);
  text-align: center;
}
.empty-state {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px dashed #aab8a1;
  border-radius: var(--radius-lg);
  background: #ffffffa6;
  text-align: center;
}
.empty-state svg {
  width: 64px;
  color: var(--color-secondary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s;
}
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }
  .grid--4,
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: 600px;
  }
  .hero__shade {
    background: linear-gradient(90deg, #fffffaf0, #fffffaa6 58%, #fffffa2e);
  }
}
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 2rem), var(--container-width));
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .split,
  .split--wide-copy {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 4.5rem;
  }
  .hero {
    min-height: 640px;
    align-items: end;
  }
  .hero--short {
    min-height: 570px;
  }
  .hero__content {
    padding-block: 4rem;
  }
  .hero__shade,
  .hero--right .hero__shade {
    background: linear-gradient(0deg, #fffffafa, #fffffab8 55%, #fffffa2e);
  }
  .hero--dark .hero__shade {
    background: linear-gradient(0deg, #0c2719db, #0c271914);
  }
  .split__media {
    order: -1;
  }
  .grid--3 .card:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .cta-band {
    min-height: 430px;
  }
  .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgb(40 91 57 / 0.08);
  background: #fffffcf0;
  backdrop-filter: blur(12px);
}
.site-header__inner {
  width: min(calc(100% - 2.5rem), 1320px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
  text-decoration: none;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.brand span {
  display: grid;
  line-height: 1.12;
}
.brand strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
}
.brand small {
  margin-top: 0.3rem;
  color: var(--color-muted);
  font:
    600 0.62rem Georgia,
    serif;
  letter-spacing: 0.08em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.3vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav
  ul
  a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.65rem;
  height: 2px;
  background: var(--color-primary);
  transition: 0.2s;
}
.site-nav
  ul
  a:hover:after,
.site-nav
  ul
  a[aria-current="page"]:after {
  right: 0;
}
.header-line {
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-toggle
  span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px;
  background: var(--color-primary);
  transform-origin: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
@media (max-width: 1100px) {
  .brand span {
    display: none;
  }
  .site-nav {
    gap: 0.7rem;
  }
  .site-nav ul {
    gap: 0.75rem;
  }
  .site-nav a {
    font-size: 0.82rem;
  }
  .header-line {
    padding: 0.55rem 0.8rem;
  }
}
@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface);
    backdrop-filter: none;
  }
  .site-header__inner {
    position: static;
  }
  .brand span {
    display: grid;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
  }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    width: auto;
    max-height: calc(100dvh - var(--header-height));
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color-surface);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    display: grid;
    width: min(100%, 32rem);
    margin-inline: auto;
    gap: 0;
  }
  .site-nav
    ul
    a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e6e9e4;
    font-size: 1.05rem;
  }
  .site-nav
    ul
    a:after {
    display: none;
  }
  .header-line {
    width: min(100%, 32rem);
    margin-inline: auto;
    margin-top: 0.8rem;
  }
}
.site-footer {
  padding: 4.5rem 0 1.5rem;
  background: #f5f3ea;
  border-top: 1px solid rgb(40 91 57 / 0.08);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand div {
  display: grid;
}
.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
}
.footer-brand span {
  font:
    600 0.72rem Georgia,
    serif;
  color: var(--color-muted);
}
.site-footer ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a:not(.btn) {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-action p {
  font-family: var(--font-serif);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d8ddd4;
  color: var(--color-muted);
}
@media (max-width: 850px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-action {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.3rem;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer ul {
    grid-template-columns: 1fr 1fr;
  }
  .footer-action {
    grid-column: auto;
  }
}

/* index.html 頁面樣式 */
.video-hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--header-height));
  min-height: 650px;
  overflow: hidden;
  background: #102d20;
}
.video-slides,
.video-hero__veil {
  position: absolute;
  inset: 0;
}
.video-slides {
  z-index: -2;
}
.video-slides video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
}
.video-slides
  video.is-active {
  opacity: 1;
}
.video-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, #092115cc, #0921151f 70%),
    linear-gradient(0deg, rgb(9 33 21 / 0.35), transparent 45%);
}
.video-hero__content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}
.video-hero h1 {
  margin: 0.2rem 0 1rem;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 1.16;
}
.video-hero .eyebrow,
.video-hero .lead {
  color: #fff;
}
.video-hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}
.video-controls {
  position: absolute;
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.video-controls button {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #ffffff80;
  cursor: pointer;
}
.video-controls
  button[aria-current="true"] {
  background: #fff;
}
.video-controls .video-pause {
  width: 38px;
  height: 38px;
  margin-left: 0.45rem;
  border-radius: 50%;
  color: #173b29;
}
.intro-photo {
  margin: 0;
  position: relative;
}
.intro-photo img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 50% 50% 24px 24px;
  box-shadow: var(--shadow);
}
.intro-photo figcaption {
  position: absolute;
  right: -1rem;
  bottom: 1rem;
  padding: 1rem 1.3rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.entry-card a {
  display: block;
  height: 100%;
  text-decoration: none;
}
.entry-card .media {
  height: auto;
}
.entry-card span {
  color: var(--color-primary);
  font-weight: 700;
}
.entry-card:hover {
  transform: translateY(-5px);
  transition: 0.2s;
}
.home-line {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    linear-gradient(#133d269e, #133d269e),
    url(../assets/images/photo-425.jpg) center/cover;
  color: #fff;
  text-align: center;
}
.home-line h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}
.home-line .hand-note {
  font-size: 1.25rem;
}
@media (max-width: 700px) {
  .video-hero {
    min-height: 620px;
  }
  .video-controls {
    left: 1rem;
    right: auto;
  }
  .intro-photo figcaption {
    right: 0.5rem;
  }
  .home-line .btn {
    width: auto;
  }
}

/* about.html 頁面樣式 */
.name-photo {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.leaf-decor {
  position: relative;
}
.leaf-decor:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: 64px;
  height: 105px;
  border: 2px solid #7b9877;
  border-radius: 100% 0;
  transform: rotate(25deg);
  opacity: 0.55;
}
.value-card
  .card__body
  > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -44px;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font: 700 1.2rem var(--font-serif);
}
.value-card > .media {
  height: auto;
}
.kindness {
  background: #fff;
}
.kindness-photo {
  position: relative;
}
.kindness-photo img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.kindness-photo .hand-note {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: #ffffffe6;
}
.kindness-grid {
  margin-top: 4rem;
}
.kindness-grid article {
  text-align: center;
}
.kindness-grid img {
  width: 118px;
  height: 118px;
  margin: 0 auto 1.25rem;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.kindness-grid p {
  color: var(--color-muted);
}

/* origin.html 頁面樣式 */
.founder {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.founder figure {
  margin: 0;
  position: relative;
}
.founder
  figure
  img {
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.founder figcaption {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  max-width: 280px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}
blockquote {
  margin: 2rem 0 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-soft);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.why {
  background: #f1eee2;
}
.why .split {
  grid-template-columns: 0.7fr 1.3fr;
}
.belief-grid article {
  text-align: center;
  padding: 1rem;
}
.belief-grid img {
  width: 150px;
  height: 150px;
  margin: auto;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.belief-grid p {
  color: var(--color-muted);
}
.story-pair {
  margin-top: 4rem;
}
.story-pair img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.story-pair
  article:nth-child(2)
  img {
  object-position: center 65%;
}
@media (max-width: 700px) {
  .founder,
  .why .split {
    grid-template-columns: 1fr;
  }
  .founder figcaption {
    left: 0.5rem;
  }
  .why .split__copy {
    order: 0;
  }
}

/* journeys.html 頁面樣式 */
.journey-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.journey-heading > div {
  max-width: 720px;
}
.journey-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.journey-grid .card__body {
  position: relative;
}
.journey-grid .tag {
  position: absolute;
  right: 1.25rem;
  top: -1.2rem;
  background: var(--color-primary);
  color: #fff;
}
.overseas {
  background-color: #f4f1e6;
  background-image: url("../assets/images/photo-431.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.overseas .btn {
  margin-top: 1rem;
}
@media (max-width: 700px) {
  .journey-heading {
    align-items: start;
    flex-direction: column;
  }
  .journey-heading .btn {
    width: auto;
  }
  .overseas {
    background-position: 58% center;
  }
  .overseas .split__copy {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgb(255 254 249 / 0.9);
  }
}

/* footprints.html 頁面樣式 */
.leaf-rule {
  margin-bottom: 3rem;
}
.trip-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.moment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgb(13 25 18 / 0.94);
}
.image-lightbox[hidden] {
  display: none;
}
.image-lightbox__panel {
  position: relative;
  display: grid;
  max-width: min(92vw, 1200px);
  max-height: calc(100dvh - 5rem);
  justify-items: center;
}
.image-lightbox__panel img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  box-shadow: 0 22px 70px rgb(0 0 0 / 0.42);
}
.image-lightbox__panel p {
  margin: 0.8rem 0 0;
  color: #fff;
  text-align: center;
}
.image-lightbox__close {
  position: absolute;
  top: -1.1rem;
  right: -1.1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open {
  overflow: hidden;
}
@media (hover: hover) and (min-width: 701px) {
  .moment-grid .polaroid img {
    cursor: zoom-in;
  }
}
.quote-grid {
  margin-top: 2.5rem;
}
.quote-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e4e9e1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 25px #285b390f;
}
.quote-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 1rem/1.75 var(--font-sans);
}
.quote-card p {
  margin: 0.65rem 0 0;
  color: var(--color-primary);
  font-weight: 700;
}
@media (max-width: 980px) {
  .moment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .moment-grid {
    grid-template-columns: 1fr;
  }
  .quote-card {
    grid-template-columns: 60px 1fr;
  }
  .quote-card img {
    width: 60px;
    height: 60px;
  }
}
/* rewards.html 頁面樣式 */
.hero-list {
  padding-left: 1.2rem;
}
.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  text-align: center;
  position: relative;
}
.steps img {
  width: 130px;
  height: 130px;
  margin: auto;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px auto 0.7rem;
  position: relative;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
.mindful-photo {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.faq-list {
  max-width: 900px;
  margin: auto;
}
.faq-list details {
  padding: 1.2rem 0;
  border-bottom: 1px solid #d9ded5;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--color-muted);
}

/* safety.html 頁面樣式 */
.safety-copy {
  background: #fff;
}
.notice {
  padding: 2rem;
  border-left: 5px solid var(--color-danger);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #faf4ee;
}
.notice h3 {
  color: #7a2727;
}
.notice strong {
  font-size: 1.35rem;
  color: var(--color-danger);
}
.poster-grid article {
  text-align: center;
}
.poster-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.poster-grid h3 {
  margin: 1.4rem 0 0.5rem;
}
.poster-grid p {
  color: var(--color-muted);
}
.principles article {
  text-align: center;
}
.principles
  article
  img {
  width: 118px;
  height: 118px;
  margin: auto;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.principles
  article
  p {
  color: var(--color-muted);
}
.hotline {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.3rem;
  margin-top: 4rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: #eef2e7;
}
.hotline > span {
  font-size: 3rem;
  color: var(--color-primary);
}
.hotline p {
  margin: 0;
}
.hotline a {
  font: 700 3rem/1 var(--font-serif);
  color: var(--color-danger);
  text-decoration: none;
}
.safe-cta {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.safe-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.safe-cta:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffffe0, #ffffff40);
  z-index: -1;
}
.safe-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.safe-cta h2 {
  max-width: 760px;
}
.safe-logo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) {
  .hotline {
    grid-template-columns: auto 1fr;
  }
  .hotline > p {
    grid-column: 1/-1;
  }
  .safe-cta > .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .safe-logo {
    width: 120px;
    height: 120px;
  }
}

/* news.html 頁面樣式 */
.news-section {
  min-height: 700px;
}
.news-tools {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 4rem;
}
.news-tools .tag {
  min-width: 120px;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border: 1px solid #b8c5b4;
  background: #fff;
}
.news-tools .is-active {
  background: var(--color-primary);
  color: #fff;
}
.news-title {
  margin-bottom: 2.5rem;
}
.news-title h2 {
  margin-bottom: 0.2rem;
}

/* 404.html 頁面樣式 */
.not-found {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, #eef3e8, #fbfaf5 65%);
}
.not-found img {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}
.not-found h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.not-found .lead {
  max-width: 600px;
  margin-inline: auto;
}
.not-found
  > div
  > div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 520px) {
  .not-found
    > div
    > div {
    flex-direction: column;
  }
}
