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

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; }
body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  color: #2D3436;
  background: #FFFAF5;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
main > section { flex: 0 0 auto; }
main > section.page-center {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
main > section.page-center > .container { width: 100%; }
footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,250,245,.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  transition: background .4s ease, box-shadow .4s ease;
}
.navbar.scrolled {
  background: rgba(255,250,245,.98);
  box-shadow: 0 4px 20px rgba(242,153,74,.12), 0 2px 8px rgba(0,0,0,.06);
}
.navbar .brand {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.15rem; font-weight: 700; color: #B5640C;
  white-space: nowrap;
  transition: transform .3s ease;
}
.navbar .brand:hover {
  transform: scale(1.03);
}
.navbar .brand .logo-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  transition: transform .4s ease;
}
.navbar .brand:hover .logo-icon {
  transform: rotate(12deg) scale(1.1);
}
.navbar .brand .logo-icon img {
  width: 100%; height: 100%; object-fit: contain;
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: #2D3436;
  padding: .6rem .5rem; min-height: 44px; display: inline-flex; align-items: center;
  position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #F2994A, #F2C94C);
  transition: width .35s cubic-bezier(0.22,1,0.36,1), left .35s cubic-bezier(0.22,1,0.36,1);
  border-radius: 1px;
}
.nav-links a:hover, .nav-links a:focus { color: #B5640C; }
.nav-links a:hover::after, .nav-links a:focus::after { width: 100%; left: 0; }
.nav-links a.active { color: #B5640C; }
.nav-links a.active::after { width: 100%; left: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 26px; height: 3px; background: #2D3436; border-radius: 2px; transition: .3s; }

/* Mobile nav */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; right: 0; width: 220px; height: calc(100vh - 64px);
    background: #FFFAF5; flex-direction: column; padding: 2rem 1.5rem; gap: 1.2rem;
    box-shadow: -4px 0 12px rgba(0,0,0,.1);
    transform: translateX(100%); transition: transform .3s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
}

/* ===== Section helpers ===== */
section { padding: 5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: .6rem; color: #2D3436;
}
.section-subtitle {
  text-align: center; font-size: 1rem; color: #3d4550; margin-bottom: 3rem;
}
.bg-alt { background: #F7F7F7; }

/* ===== Hero ===== */
.hero {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 64px;
  background: #FFFAF5;
}
.hero .container {
  max-width: 900px; padding: 2rem;
}
.hero img {
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(242,153,74,.12), 0 4px 16px rgba(0,0,0,.04);
  transition: transform .6s cubic-bezier(0.22,1,0.36,1), box-shadow .6s ease;
  opacity: 0;
  animation: heroFadeIn 1s cubic-bezier(0.22,1,0.36,1) .2s forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero img:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 48px rgba(242,153,74,.18), 0 6px 20px rgba(0,0,0,.06);
}
.hero h1 { font-size: 2.6rem; margin-bottom: 1rem; line-height: 1.3; }
.hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; opacity: .95; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: .3s; border: none; min-height: 44px;
}
.btn-white { background: #fff; color: #B5640C; }
.btn-white:hover { background: #2D3436; color: #fff; }
.btn-primary { background: #F2994A; color: #fff; }
.btn-primary:hover { background: #e07e2a; }
.btn-outline {
  background: transparent; color: #B5640C; border: 2px solid #F2994A;
}
.btn-outline:hover { background: #F2994A; color: #fff; }

/* ===== About ===== */
#about {
  position: relative;
  overflow: hidden;
  background: #FFFAF5;
}

/* Sunshine decorative ray — subtle SVG behind content */
.about-sunshine-deco {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 420px;
  height: 420px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
}

/* Section heading */
.about-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.about-heading h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2D3436;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.about-heading-line {
  width: 48px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, #F2994A, #F2C94C);
  border-radius: 2px;
}

/* Two-column layout */
.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

/* Image side */
.about-image-wrap {
  flex: 0 0 44%;
  max-width: 44%;
  position: relative;
}
.about-image-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(242, 153, 74, 0.12), 0 2px 12px rgba(0,0,0,0.04);
}
.about-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}
/* Orange accent bar along left edge of image */
.about-image-frame::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: linear-gradient(180deg, #F2994A, #F2C94C);
  border-radius: 0 2px 2px 0;
  z-index: 2;
}
/* Subtle warm glow behind image */
.about-image-wrap::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -8px;
  bottom: -8px;
  border-radius: 18px;
  border: 2px dashed rgba(242, 153, 74, 0.18);
  pointer-events: none;
  z-index: -1;
}

/* Text side */
.about-text {
  flex: 1;
  padding-top: 0.5rem;
}
.about-text p {
  font-family: "Noto Serif TC", serif;
  font-size: 0.98rem;
  color: #3d3d3d;
  line-height: 2.15;
  margin-bottom: 1.6rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}
/* Thin gradient rule between paragraphs */
.about-text-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #F2994A 0%, #F2C94C 100%);
  border: none;
  border-radius: 1px;
  margin: 0 0 1.6rem 0;
}

/* .about-fade / .about-fade-delay / .fade-in — kept as semantic hooks, no longer hidden */
.about-fade,
.about-fade-delay { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 767px) {
  .about-layout {
    flex-direction: column;
    gap: 2.2rem;
  }
  .about-image-wrap {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .about-heading h2 {
    font-size: 1.6rem;
  }
  .about-sunshine-deco {
    width: 260px;
    height: 260px;
    top: -40px;
    right: -60px;
  }
  .about-text p {
    font-size: 0.92rem;
    line-height: 2;
  }
}

/* ===== Support ===== */
#support .section-title,
.support-section .section-title {
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08em;
}
.support-content { max-width: 700px; margin: 0 auto; }
.support-banner {
  width: 100%; border-radius: 16px; margin-bottom: 2.5rem;
  box-shadow: 0 12px 40px rgba(242,153,74,.12), 0 2px 12px rgba(0,0,0,.04);
}
.support-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, #F2994A, #F2C94C);
  margin: 0 auto 2rem; border-radius: 2px;
}
.support-quote {
  font-size: 1rem; color: #3d3d3d; line-height: 2.2; text-align: center;
  padding: 2rem 2.5rem; margin-bottom: 1rem;
  position: relative;
}
.support-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.3rem;
  left: 0.5rem;
  font-family: "Noto Serif TC", serif;
  font-size: 5rem;
  color: rgba(242,153,74,.12);
  line-height: 1;
  pointer-events: none;
}
.support-quote::after {
  content: '\201D';
  position: absolute;
  bottom: -1.5rem;
  right: 0.5rem;
  font-family: "Noto Serif TC", serif;
  font-size: 5rem;
  color: rgba(242,153,74,.12);
  line-height: 1;
  pointer-events: none;
}
.support-signature { text-align: center; font-size: .95rem; color: #595959; margin-bottom: 2.5rem; }
.support-donate {
  background: #fff; border-radius: 16px; padding: 2rem 2.5rem; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); max-width: 400px; margin: 0 auto;
  transition: transform .35s cubic-bezier(0.22,1,0.36,1), box-shadow .35s ease;
}
.support-donate:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(242,153,74,.15), 0 4px 16px rgba(0,0,0,.06);
}
.support-donate h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2rem; margin-bottom: 1rem; color: #B5640C;
}
.support-donate .donate-info {
  margin: 0;
  font-size: .95rem;
  color: #2D3436;
  line-height: 1.9;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .35rem 1rem;
  text-align: left;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.support-donate .donate-info dt {
  font-weight: 600;
  color: #B5640C;
  white-space: nowrap;
}
.support-donate .donate-info dd {
  margin: 0;
  color: #2D3436;
  font-family: "Noto Sans TC", sans-serif;
}

/* ===== Contact ===== */
#contact .section-title,
.contact-section .section-title {
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08em;
}
.contact-layout { display: flex; align-items: center; justify-content: center; gap: 3rem; max-width: 800px; margin: 0 auto; }
.contact-layout .contact-image { flex-shrink: 0; }
.contact-layout .contact-image img {
  width: 200px; height: 200px; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(242,153,74,.15));
}
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-details .contact-item-title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.05rem; margin-bottom: .4rem; color: #B5640C;
  font-weight: 700;
  position: relative; padding-bottom: .4rem;
}
.contact-details .contact-item-title::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #F2994A, #F2C94C);
  border-radius: 1px;
}
.contact-details > div { padding-left: 4.5rem; position: relative; min-height: 56px; }
.contact-details > div > .ci-icon {
  position: absolute; left: 0; top: -4px;
  width: 56px; height: 56px;
}
.contact-details > div > .ci-icon img {
  width: 100%; height: 100%; object-fit: contain;
}
.contact-details p { font-size: .95rem; color: #2D3436; line-height: 1.8; }
.contact-details a { color: #B5640C; text-decoration: underline; }
.contact-details a:hover { color: #8a4b12; }
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .95rem;
  line-height: 2;
  color: #2D3436;
}
.contact-links li { margin-bottom: .2rem; }

/* ===== Footer ===== */
footer {
  background: url('../images/footer-bg.png') center/cover no-repeat;
  color: #2D3436; text-align: center; padding: 2rem 1.5rem;
  position: relative;
  border-top: 3px solid #F2994A;
}
footer p { font-size: .85rem; opacity: .75; margin-bottom: .8rem; color: #2D3436; }
.social-links { display: flex; justify-content: center; gap: 1rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(242,153,74,.15);
  display: flex; align-items: center; justify-content: center;
  color: #2D3436; font-size: 1rem; transition: background .3s, color .3s;
}
.social-links a:hover { background: #F2994A; color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  html { font-size: 100%; }
  .hero .container { max-width: 100%; padding: 1rem; }
  .hero img { border-radius: 8px; }
  .hero h1 { font-size: 1.8rem; }
  .contact-layout { flex-direction: column; text-align: center; }
  .contact-details { align-items: center; }
  .contact-details > div { text-align: left; }
  .contact-details .contact-item-title::after { left: 50%; transform: translateX(-50%); }
  .support-quote::before { left: -0.2rem; font-size: 3.5rem; }
  .support-quote::after { right: -0.2rem; font-size: 3.5rem; }
  .support-quote { padding: 1.5rem 1rem; }
  section { padding: 3.5rem 1.2rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* .fade-in — kept as semantic hook, always visible */
.fade-in,
.fade-in-d1,
.fade-in-d2,
.fade-in-d3 { opacity: 1; transform: none; }

/* ===== Accessibility ===== */
:focus-visible { outline: 3px solid #2D3436; outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #B5640C; color: #fff; padding: 10px 18px; z-index: 9999;
  font-weight: 700;
  transition: top .3s;
}
.skip-link:focus {
  top: 0;
  clip: auto;
  width: auto;
  height: auto;
  white-space: nowrap;
  outline: 3px solid #2D3436;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Homepage summary cards ===== */
.home-cards {
  padding: 4rem 1.5rem;
  background: #FFFAF5;
}
.home-cards .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.home-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .35s cubic-bezier(0.22,1,0.36,1), box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(242,153,74,.14), 0 4px 16px rgba(0,0,0,.06);
}
.home-card h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #F2994A, #F2C94C) 1;
}
.home-card p {
  font-size: .95rem;
  color: #2D3436;
  line-height: 1.9;
  flex: 1;
  margin-bottom: 1.5rem;
}
.home-card .home-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}
.home-card .btn {
  align-self: flex-start;
}
.home-card-cta {
  background: linear-gradient(135deg, #F2994A 0%, #F2C94C 100%);
  color: #2D3436;
}
.home-card-cta h2 {
  color: #2D3436;
  border-image: rgba(45,52,54,.45) 1;
}
.home-card-cta p {
  color: #2D3436;
}
.home-card-cta .btn-outline {
  color: #2D3436;
  border-color: #2D3436;
  background: rgba(255,255,255,.85);
}
.home-card-cta .btn-outline:hover {
  background: #2D3436;
  color: #fff;
  border-color: #2D3436;
}
@media (max-width: 767px) {
  .home-cards .container {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-cards .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-card-cta {
    grid-column: 1 / -1;
  }
}

/* ===== Works list page ===== */
.works-section {
  padding: 5rem 1.5rem;
}
.works-section .section-title {
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.08em;
}
.works-featured-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(242,153,74,.10), 0 2px 12px rgba(0,0,0,.05);
  display: flex;
  gap: 0;
  max-width: 860px;
  margin: 0 auto 3rem;
  transition: transform .35s cubic-bezier(0.22,1,0.36,1), box-shadow .35s ease;
}
.works-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(242,153,74,.18), 0 4px 20px rgba(0,0,0,.08);
}
.works-featured-card .card-img {
  flex: 0 0 42%;
  max-width: 42%;
}
.works-featured-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.works-featured-card .card-body {
  flex: 1;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.works-featured-card .card-body h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: .6rem;
}
.works-featured-card .card-body .work-tag {
  display: inline-block;
  background: rgba(242,153,74,.15);
  color: #8a4b12;
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.works-featured-card .card-body p {
  font-size: .95rem;
  color: #2D3436;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  flex: 1;
}
.works-coming-soon {
  text-align: center;
  font-size: 1rem;
  color: #595959;
  padding: 1rem 0 2rem;
}
@media (max-width: 767px) {
  .works-featured-card {
    flex-direction: column;
  }
  .works-featured-card .card-img {
    flex: none;
    max-width: 100%;
    height: 220px;
  }
}

/* ===== Work detail page ===== */
.work-detail {
  padding: 5rem 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: .9rem;
  color: #595959;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #B5640C;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb a:hover { color: #8a4b12; }
.breadcrumb span[aria-hidden="true"] { color: #8a8a8a; }
.breadcrumb [aria-current="page"] { color: #2D3436; font-weight: 600; }
.work-detail h1 {
  font-family: "Noto Serif TC", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: .5rem;
  letter-spacing: 0.04em;
}
.work-detail .work-subtitle {
  font-size: 1.1rem;
  color: #595959;
  margin-bottom: 2rem;
}
.work-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.work-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(242,153,74,.10), 0 2px 8px rgba(0,0,0,.05);
}
.work-images .main-img { height: 320px; }
.work-images .sub-img { height: 320px; }
@media (max-width: 767px) {
  .work-images {
    grid-template-columns: 1fr;
  }
  .work-images .main-img,
  .work-images .sub-img { height: 220px; }
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-concept {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 2.5rem;
  font-family: "Noto Serif TC", serif;
  font-size: 0.97rem;
  line-height: 2.2;
  color: #3d3d3d;
  position: relative;
}
.work-concept::before {
  content: '\201C';
  position: absolute;
  top: -0.3rem;
  left: 0.8rem;
  font-size: 5rem;
  color: rgba(242,153,74,.1);
  font-family: "Noto Serif TC", serif;
  line-height: 1;
  pointer-events: none;
}
.work-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.work-meta-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.work-meta-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #B5640C;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #F2994A, #F2C94C) 1;
}
.work-meta-card ol {
  list-style: decimal;
  padding-left: 1.2rem;
}
.work-meta-card ol li {
  font-size: .92rem;
  color: #2D3436;
  line-height: 1.9;
  margin-bottom: .2rem;
}
@media (max-width: 767px) {
  .work-meta-grid {
    grid-template-columns: 1fr;
  }
  .work-detail h1 { font-size: 1.7rem; }
  .work-concept { padding: 1.5rem 1.2rem; }
}
.work-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #B5640C;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: gap .2s;
}
.work-back-link:hover { gap: .7rem; }

/* ===== About page extras ===== */
.about-page-section {
  position: relative;
  overflow: hidden;
  background: #FFFAF5;
  padding: 5rem 1.5rem;
}
.about-page-section + .about-page-section {
  background: #F7F7F7;
}
/* ===== 組織沿革 Timeline ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  max-width: 640px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, #F2994A 0%, #F2C94C 50%, rgba(242,201,76,.3) 100%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.2rem 0;
}
.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #F2C94C;
  box-shadow: 0 2px 8px rgba(242,153,74,.25);
  transition: transform .3s ease;
}
.timeline-current .timeline-marker {
  width: 48px;
  height: 48px;
}
.timeline-current .timeline-dot {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #F2994A 0%, #F2C94C 100%);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(242,153,74,.25), 0 4px 14px rgba(242,153,74,.35);
  animation: sunPulse 2.4s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(242,153,74,.25), 0 4px 14px rgba(242,153,74,.35); }
  50%      { box-shadow: 0 0 0 6px rgba(242,153,74,.15), 0 4px 18px rgba(242,153,74,.45); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-current .timeline-dot { animation: none; }
}
.timeline-content {
  flex: 1;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
  border-left: 4px solid #F2C94C;
  transition: transform .3s ease, box-shadow .3s ease;
}
.timeline-current .timeline-content {
  border-left-color: #F2994A;
  background: linear-gradient(135deg, #fff 0%, #FFFAF5 100%);
  box-shadow: 0 6px 24px rgba(242,153,74,.12);
}
.timeline-item:hover .timeline-content {
  transform: translateX(4px);
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.1);
}
.timeline-badge {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  padding: .28rem .8rem;
  background: linear-gradient(135deg, #F2994A 0%, #F2C94C 100%);
  color: #fff;
  border-radius: 999px;
  letter-spacing: .05em;
  margin-bottom: .6rem;
  box-shadow: 0 2px 6px rgba(242,153,74,.25);
}
.timeline-badge-alt {
  background: linear-gradient(135deg, #d4a574 0%, #e8c488 100%);
  box-shadow: 0 2px 6px rgba(212,165,116,.25);
}
.timeline-term {
  font-family: "Noto Serif TC", serif;
  font-size: .95rem;
  color: #8a6d3b;
  letter-spacing: .05em;
  margin-bottom: .15rem;
}
.timeline-name {
  font-family: "Noto Serif TC", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2D3436;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .timeline { margin-top: 2rem; }
  .timeline-item { gap: 1rem; padding: 1rem 0; }
  .timeline::before { left: 19px; }
  .timeline-marker { width: 40px; height: 40px; }
  .timeline-name { font-size: 1.35rem; }
  .timeline-content { padding: 1rem 1.2rem; }
}

/* ===== 404 page ===== */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  padding: 2rem;
}
.page-404 .not-found-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: sunPulse 3s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.page-404 h1 {
  font-family: "Noto Serif TC", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: .6rem;
}
.page-404 p {
  font-size: 1.05rem;
  color: #595959;
  margin-bottom: 2rem;
}
