:root {
  --bg           : #f3ebdd;
  --paper        : rgba(255, 255, 255, 0.34);
  --ink          : #121212;
  --ink-soft     : #343434;
  --muted        : #6f6a61;
  --line         : rgba(18, 18, 18, 0.12);
  --accent       : #9e2f2f;
  --accent-2     : #5f666d;
  --shadow       : 0 20px 60px rgba(18, 18, 18, 0.08);
  --max-width    : 1500px;
  --header-h     : 76px;
  --radius       : 24px;
  --transition   : 260ms ease;
  --container-pad: 122px;
  --section-gap  : 96px;
  --title-space  : 34px;
}

* {
  box-sizing: border-box;
  min-width : 0;
}

html {
  scroll-behavior   : smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  position          : relative;
}

body {
  margin     : 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color      : var(--ink);
  background :
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 10% 10%, rgba(158, 47, 47, .05), transparent 22%),
    radial-gradient(circle at 90% 30%, rgba(95, 102, 109, .07), transparent 20%),
    var(--bg);
  overflow-x              : clip;
  word-break              : normal;
  overflow-wrap           : break-word;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width     : 100%;
  max-width : 100%;
  overflow-x: hidden;
}

.site-shell,
main,
section,
.container {
  max-width: 100%;
}

main {
  padding: 0;
}


body::before {
  content       : "";
  position      : fixed;
  inset         : 0;
  pointer-events: none;
  opacity       : .1;
  background-image:
    linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  mix-blend-mode : multiply;
  z-index        : 0;
}

body::after {
  content       : "ARCHIVE / EDUCATION / MOBILIZATION / HISTORY";
  position      : fixed;
  right         : -88px;
  bottom        : 130px;
  font-size     : 12px;
  letter-spacing: .45em;
  color         : rgba(18, 18, 18, .11);
  transform     : rotate(-90deg);
  pointer-events: none;
  z-index       : 0;
}

a {
  color          : inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

p {
  margin    : 0;
  text-align: justify;
}

.site-shell {
  position: relative;
  z-index : 1;
}

.topbar {
  position       : sticky;
  top            : 0;
  z-index        : 1200;
  isolation      : isolate;
  height         : var(--header-h);
  backdrop-filter: blur(14px);
  background     : rgba(243, 235, 221, .82);
  border-bottom  : 1px solid var(--line);
  overflow       : visible;
}

.topbar-inner {
  max-width      : var(--max-width);
  height         : 100%;
  margin         : 0 auto;
  padding        : 0 10px;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  gap            : 20px;
  position       : relative;
  z-index        : 2;
}

.brand {
  display       : flex;
  flex-direction: column;
  gap           : 4px;
  min-width     : 0;
  position      : relative;
  z-index       : 1202;
}






.brand-kicker {
  font-size     : .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color         : #a2a1a0;
  font-weight   : normal;
}

span.brand-kicker2 {
  font-size     : .8rem;
  font-weight   : 300;
  letter-spacing: 0.9px;
  color         : #af2007;
}

.brand-title {
  font-size   : 18px;
  font-weight : 500;
  /* max-width: 46vw; */
  color       : #af2007;
}

/* rwd nav */
.nav-toggle {
  display        : none;
  position       : relative;
  z-index        : 1202;
  width          : 48px;
  height         : 48px;
  padding        : 0;
  border         : 1px solid var(--line);
  border-radius  : 999px;
  background     : rgba(255, 255, 255, .42);
  backdrop-filter: blur(8px);
  cursor         : pointer;
  flex-shrink    : 0;
  font-size      : 0;
  color          : transparent;
}

.nav-toggle::before,
.nav-toggle::after {
  content      : "";
  position     : absolute;
  left         : 50%;
  width        : 20px;
  height       : 2px;
  background   : var(--ink);
  border-radius: 999px;
  transform    : translateX(-50%);
  transition   :
    transform 0.25s ease,
    top 0.25s ease,
    bottom 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* 上線 + 中線 */
.nav-toggle::before {
  top       : 16px;
  box-shadow: 0 7px 0 var(--ink);
}

/* 下線 */
.nav-toggle::after {
  bottom: 16px;
}

/* 展開後變成 X */
.nav-toggle[aria-expanded="true"]::before {
  top       : 50%;
  transform : translate(-50%, -50%) rotate(45deg);
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"]::after {
  top      : 50%;
  bottom   : auto;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline       : 2px solid var(--accent);
  outline-offset: 3px;
}


/* rwd nav */




.nav {
  display        : flex;
  align-items    : center;
  gap            : 2px;
  flex-wrap      : wrap;
  justify-content: flex-end;
}

.nav a {
  font-size    : .9rem;
  line-height  : 1.35;
  padding      : 10px 12px;
  border-radius: 999px;
  color        : var(--ink-soft);
  transition   : background var(--transition), color var(--transition), transform var(--transition);
  min-height   : 40px;
  display      : inline-flex;
  align-items  : center;
}

.nav a:hover,
.nav a.active {
  background: rgba(18, 18, 18, .08);
  color     : var(--ink);
  transform : translateY(-1px);
}

.container {
  max-width: var(--max-width);
  margin   : 0 auto;
  padding  : 0 var(--container-pad);
}

.section {
  padding          : var(--section-gap) 0;
  position         : relative;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-intro {
  padding-top: 72px;
}

.section-header {
  display              : grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap                  : 22px;
  align-items          : start;
  margin-bottom        : var(--title-space);
}

.section-index {
  font-size     : 12px;
  letter-spacing: .32em;
  color         : var(--accent);
  text-transform: uppercase;
  padding-top   : 10px;
}

.institution-label {
  margin        : 0 0 12px;
  font-size     : 14px;
  line-height   : 1.6;
  color         : var(--accent);
  letter-spacing: .12em;
}

.section-title {
  font-family   : "Noto Serif TC", serif;
  font-size     : clamp(32px, 4vw, 60px);
  line-height   : 1.08;
  margin        : 0 0 16px;
  letter-spacing: .02em;
  text-wrap     : balance;
}

.section-lead {
  max-width  : 980px;
  font-size  : 18px;
  line-height: 1.95;
  color      : var(--ink-soft);
}


/* 滿版版頭 */



.hero {
  position   : relative;
  min-height : calc(100vh - var(--header-h));
  display    : grid;
  align-items: center;
  padding    : clamp(36px, 5vw, 54px) 0 42px;
  overflow   : hidden;
  isolation  : isolate;
}

/* 滿版版頭：突破 main 的 padding 與一般容器寬度 */
.hero-video-hero {
  width       : 100vw;
  margin-left : calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 背景影片層 */
.hero-video-wrap {
  position: absolute;
  inset   : 0;
  z-index : 0;
  overflow: hidden;
}

.hero-video {
  width          : 100%;
  height         : 100%;
  object-fit     : cover;
  object-position: 0px center;
  opacity        : 1;
}

/* 疊色遮罩，讓字更好讀 */
.hero-video-mask {
  position: absolute;
  inset   : 0;
  z-index : 1;
  background:
    linear-gradient(180deg,
      rgba(243, 235, 221, 0.18) 0%,
      rgba(243, 235, 221, 0.28) 35%,
      rgba(243, 235, 221, 0.44) 100%);
}

/* 內容層 */
.hero-inner {
  position   : relative;
  z-index    : 2;
  width      : 100%;
padding-top: 45vh;

}

.hero-grid {
  display              : grid;
grid-template-columns: minmax(0, 2fr) minmax(328px, .84fr);
  gap                  : clamp(20px, 3vw, 34px);
  align-items          : end;
      padding-left: 4rem;
}

.hero-copy {
  position: relative;
  padding : 24px 0;
  z-index : 2;
}

/* 滿版版頭 */

.eyebrow {
  display       : inline-flex;
  align-items   : center;
  gap           : 10px;
  margin-bottom : 18px;
  font-size     : 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color         : var(--muted);
  flex-wrap     : wrap;
}

.eyebrow::before {
  content    : "";
  width      : 38px;
  height     : 1px;
  background : var(--accent);
  flex-shrink: 0;
}

.hero-title {
  margin        : 0;
  font-family   : "Noto Serif TC", serif;
  font-size     : clamp(44px, 7vw, 102px);
  line-height   : .94;
  letter-spacing: .02em;
  max-width     : 8.6em;
  text-wrap     : balance;
}

.hero-title span {
  display: block;
}

.hero-title .stroke {
  color              : transparent;
  -webkit-text-stroke: 1px rgba(18, 18, 18, .2);
  margin-left        : .7em;
}

.hero-meta {
  display              : grid;
  grid-template-columns: 1fr auto;
  gap                  : 18px;
  margin-top           : 28px;
  align-items          : end;
}

.hero-description {
  max-width  : 760px;
  font-size  : 17px;
  line-height: 1.95;
  color      : var(--ink-soft);
}

.hero-actions {
  display    : flex;
  flex-wrap  : wrap;
  gap        : 12px;
  align-items: center;
}

.button,
.ghost-button {
  display        : inline-flex;
  align-items    : center;
  justify-content: center;
  gap            : 10px;
  min-height     : 48px;
  min-width      : 150px;
  padding        : 0 18px;
  border-radius  : 999px;
  cursor         : pointer;
  transition     : transform var(--transition), background var(--transition), border-color var(--transition);
}

.button {
  background: var(--ink);
  color     : #fff;
  border    : 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.ghost-button {
  background: transparent;
  color     : var(--ink);
  border    : 1px solid rgb(0 0 0 / 73%)
}

li.co {
  color      : #c43012;
  font-weight: 500;
}



.button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.scroll-note {
  margin-top    : 28px;
  display       : inline-flex;
  align-items   : center;
  gap           : 14px;
  font-size     : 13px;
  color         : var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-note::before {
  content      : "";
  width        : 34px;
  height       : 34px;
  border-radius: 999px;
  border       : 1px solid rgba(18, 18, 18, .14);
  background   : linear-gradient(180deg, rgba(255, 255, 255, .35), transparent);
}

.hero-collage {
  position   : relative;
  min-height : clamp(420px, 56vw, 560px);
  display    : grid;
  place-items: center;
  isolation  : isolate;
}

.collage-card,
.collage-strip,
.collage-badge,
.collage-quote,
.hero-year-stack {
  position       : absolute;
  background     : rgba(255, 255, 255, .38);
  border         : 1px solid rgba(18, 18, 18, .1);
  box-shadow     : var(--shadow);
  backdrop-filter: blur(6px);
}

.collage-card {
  width        : min(100%, 420px);
  max-width    : 84%;
  aspect-ratio : 4 / 5;
  border-radius: var(--radius);
  padding      : 16px;
  overflow     : hidden;
  top          : 36px;
  right        : 8px;
  transform    : rotate(2.5deg);
}

.collage-card::before {
  content      : "";
  position     : absolute;
  inset        : 12px;
  border-radius: calc(var(--radius) - 8px);
  background   : linear-gradient(135deg, rgba(18, 18, 18, .05), transparent 48%), linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(18, 18, 18, .04)), url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1200&q=80') center/cover;
  filter       : grayscale(100%) contrast(1.05) saturate(.2);
  z-index      : -1;
}

.collage-card-header {
  display        : flex;
  justify-content: space-between;
  align-items    : center;
  gap            : 14px;
  font-size      : 12px;
  letter-spacing : .16em;
  text-transform : uppercase;
  color          : var(--muted);
}

.collage-strip {
  left         : 14px;
  top          : 86px;
  width        : clamp(180px, 40%, 220px);
  padding      : 12px 14px;
  border-radius: 16px;
  transform    : rotate(-6deg);
  z-index      : 2;
}

.collage-strip strong {
  display    : block;
  font-size  : 16px;
  margin-top : 8px;
  line-height: 1.45;
}

.collage-badge {
  left          : 26px;
  bottom        : 88px;
  padding       : 12px 18px;
  border-radius : 999px;
  background    : rgba(158, 47, 47, .92);
  color         : #fff;
  font-size     : 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform     : rotate(-4deg);
  max-width     : min(70%, 280px);
  text-align    : center;
}

.collage-quote {
  right        : 40px;
  bottom       : 18px;
  width        : min(260px, 56%);
  border-radius: 18px;
  padding      : 18px;
  font-size    : 15px;
  line-height  : 1.8;
  color        : var(--ink-soft);
  transform    : rotate(-2deg);
  z-index      : 2;
}

.hero-year-stack {
  left           : -10px;
  bottom         : 160px;
  border         : none;
  background     : transparent;
  box-shadow     : none;
  backdrop-filter: none;
  z-index        : 0;
}

.hero-year {
  font-size     : clamp(44px, 8vw, 108px);
  line-height   : .92;
  font-weight   : 900;
  letter-spacing: -.04em;
  color         : rgba(18, 18, 18, .12);
  white-space   : nowrap;
}

.hero-year:nth-child(2) {
  margin-left: 40px;
  color      : rgba(158, 47, 47, .28);
}

.hero-year:nth-child(3) {
  margin-left: 92px;
}

.intro-layout,
.timeline-wrap,
.outreach-grid,
.workshop-grid,
.prose-grid {
  display: grid;
  gap    : 24px;
}

.intro-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.panel,
.text-panel {
  background   : rgba(255, 255, 255, .28);
  border       : 1px solid rgba(18, 18, 18, .08);
  border-radius: var(--radius);
  padding      : 26px;
  box-shadow   : var(--shadow);
  position     : relative;
  overflow     : hidden;
}

.panel::after,
.text-panel::after {
  content       : "";
  position      : absolute;
  inset         : auto -40px -40px auto;
  width         : 160px;
  height        : 160px;
  background    : radial-gradient(circle, rgba(158, 47, 47, .08), transparent 62%);
  pointer-events: none;
}

.panel-kicker {
  font-size     : 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color         : var(--accent);
  margin-bottom : 14px;
}

.panel p,
.text-panel p {
  color      : var(--ink-soft);
  font-size  : 16px;
  line-height: 1.95;
      letter-spacing: 1px;
}

.text-panel {
  display: grid;
  gap    : 14px;
}

.text-panel h3 {
  margin     : 0;
  font-family: "Noto Serif TC", serif;
  font-size  : 28px;
  line-height: 1.25;
}

.quote-block {
  display      : grid;
  gap          : 18px;
  align-content: start;
}

.quote-mark {
  font-size  : 72px;
  font-family: "Noto Serif TC", serif;
  color      : rgba(158, 47, 47, .22);
  line-height: .7;
}

.quote-text {
  font-size  : 24px;
  line-height: 1.55;
  font-family: "Noto Serif TC", serif;
}

.timeline-wrap {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items          : start;
}

.timeline-aside {
  position: sticky;
  top     : calc(var(--header-h) + 24px);
  display : grid;
  gap     : 16px;
}

.timeline-progress {
  position     : relative;
  height       : 240px;
  border-radius: 999px;
  border       : 1px solid rgba(18, 18, 18, .08);
  background   : rgba(255, 255, 255, .24);
  overflow     : hidden;
}

.timeline-progress-fill {
  position     : absolute;
  inset        : auto 0 0 0;
  height       : 20%;
  background   : linear-gradient(180deg, rgba(158, 47, 47, .18), rgba(158, 47, 47, .78));
  border-radius: 999px;
  transition   : height 320ms ease;
}

.timeline-list {
  position    : relative;
  display     : grid;
  gap         : 20px;
  padding-left: 26px;
}

.timeline-list::before {
  content   : "";
  position  : absolute;
  left      : 10px;
  top       : 0;
  bottom    : 0;
  width     : 2px;
  background: linear-gradient(180deg, rgba(18, 18, 18, .08), rgba(158, 47, 47, .35), rgba(18, 18, 18, .08));
}

.timeline-item {
  position     : relative;
  padding      : 22px 22px 22px 28px;
  border-radius: 24px;
  background   : rgba(255, 255, 255, .28);
  border       : 1px solid rgba(18, 18, 18, .08);
  box-shadow   : var(--shadow);
  opacity      : .6;
  transform    : translateY(24px);
  transition   : opacity 360ms ease, transform 360ms ease;
}

.timeline-item.is-visible {
  opacity  : 1;
  transform: translateY(0);
}

.timeline-item::before {
  content      : "";
  position     : absolute;
  left         : -23px;
  top          : 26px;
  width        : 14px;
  height       : 14px;
  border-radius: 999px;
  background   : var(--bg);
  border       : 3px solid var(--accent);
  box-shadow   : 0 0 0 8px rgba(158, 47, 47, .08);
}

.timeline-year {
  font-size     : 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color         : var(--accent);
  margin-bottom : 10px;

}

.timeline-title {
  margin     : 0 0 12px;
  font-size  : 26px;
  line-height: 1.28;
  font-family: "Noto Serif TC", serif;
}

.timeline-body {
  color        : var(--ink-soft);
  font-size    : 15px;
  line-height  : 1.9;
  margin-bottom: 16px;
  text-align   : justify;
}

.timeline-tags {
  display  : flex;
  flex-wrap: wrap;
  gap      : 8px;
}

.tag {
  display       : inline-flex;
  align-items   : center;
  padding       : 8px 12px;
  border-radius : 50px;
  font-size     : 14px;
  color         : var(--ink-soft);
  border        : 1px solid rgba(18, 18, 18, .1);
  background    : rgba(255, 255, 255, .45);
  letter-spacing: 2px;
}

.prose-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exhibition-section:nth-of-type(even) .text-panel:first-child {
  transform: translateY(12px);
}

.outreach-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(158, 47, 47, .03));
}

.outreach-grid {
  /* grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); */
  align-items  : stretch;
  margin-bottom: 24px;
}

.workshop-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.outreach-panel {
  overflow: visible;
}

.lively-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .34));
  border    : 1px solid rgba(158, 47, 47, .12);
}

.event-card-stack {
  display              : inline-grid;
  gap                  : 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width                : 100%;
}

.event-card {
  padding      : 18px;
  border-radius: 20px;
  border       : 1px solid rgba(18, 18, 18, .08);
  box-shadow   : 0 12px 32px rgba(18, 18, 18, .06);
  display      : grid;
  gap          : 10px;
}

.event-badge {
  width         : fit-content;
  padding       : 8px 12px;
  border-radius : 999px;
  background    : rgba(158, 47, 47, .1);
  color         : var(--accent);
  font-size     : 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight   : 700;
}

.workshop-title {
  margin     : 0 0 16px;
  font-family: "Noto Serif TC", serif;
  font-size  : 36px;
  line-height: 1.2;
}


.mb-1 {
  margin-bottom: 1.5rem;
}

.event-card-stack.f1 {
  display              : inline-grid;
  gap                  : 16px;
  grid-template-columns: minmax(0, 1fr);
  width                : 100%;

}

.memory-poem {
  display: grid;
  gap    : 6px;
}

.memory-poem p {
  font-size  : 17px;
  line-height: 1.9;
}

.workshop-subtitle {
  color      : var(--accent);
  font-weight: 700;
}

.activity-list {
  margin      : 0;
  padding-left: 1.35rem;
  color       : var(--ink-soft);
  display     : grid;
  gap         : 8px;
  line-height : 1.8;
}

.footer {
  padding  : 0 0 calc(44px + env(safe-area-inset-bottom, 0px));
  color    : var(--muted);
  font-size: 13px;
}

.footer-inner {
  max-width      : var(--max-width);
  margin         : 0 auto;
  padding        : 18px var(--container-pad) 0;
  display        : flex;
  justify-content: space-between;
  gap            : 18px;
  flex-wrap      : wrap;
  border-top     : 1px solid var(--line);
}

.back-to-top {
  position: fixed;
  right   : 46px;
  bottom  : 24px;
  z-index : 9999;

  width        : 56px;
  height       : 56px;
  border       : none;
  border-radius: 999px;

  display        : flex;
  align-items    : center;
  justify-content: center;

  background    : rgba(18, 18, 18, 0.9);
  color         : #fff;
  font-size     : 14px;
  font-weight   : 700;
  letter-spacing: 0.08em;
  cursor        : pointer;

}



.back-to-top:hover {
  background: rgba(158, 47, 47, 0.95);
}

.back-to-top:focus-visible {
  outline       : 2px solid #fff;
  outline-offset: 3px;
}





.reveal {
  opacity   : 0;
  transform : translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity  : 1;
  transform: translateY(0);
}


a.workshop {
  background    : #fdd9cf;
  border-radius : 30px;
  padding       : .5rem;
  text-align    : center;
  border        : 1px solid #c43012;
  color         : #c43012;
  font-weight   : 500;
  letter-spacing: 2px;
  width         : 100%;
  display       : block;
}

/* rwd表格 */

.rwd-table-wrap {
  width        : 100%;
  overflow-x   : auto;
  border-radius: 15px;
  border       : 1px solid #ebebeb;
}

.rwd-table {
  width          : 100%;
  border-collapse: collapse;
  font-size      : 16px;
}

.rwd-table th,
.rwd-table td {
  border     : 1px solid #d7d7d7;
  padding    : 8px 12px;
  text-align : left;
  white-space: nowrap;
}

.rwd-table th {
  background : #f3f3f3;
  font-weight: 700;
}

/* 手機版 */
@media (max-width: 600px) {
  .rwd-table-wrap {
    overflow-x: visible;
  }

  .rwd-table,
  .rwd-table thead,
  .rwd-table tbody,
  .rwd-table tr,
  .rwd-table th,
  .rwd-table td {
    display: block;
    width  : 100%;
  }

  .rwd-table thead {
    display: none;
  }

  .rwd-table tr {
    margin-bottom: 12px;
    border       : 1px solid #cfcfcf;
    background   : #fff;
    border-radius: 10px;
  }

  .rwd-table td {
    display        : flex;
    justify-content: space-between;
    gap            : 16px;
    border         : 0;
    border-bottom  : 1px solid #ddd;
    white-space    : normal;
  }

  .rwd-table td:last-child {
    border-bottom: 0;
  }

  .rwd-table td::before {
    content    : attr(data-label);
    font-weight: 700;
    flex       : 0 0 80px;
  }
}




.panel.outreach-panel.reveal.outreach-panel--workshop.is-visible::before {

  background-image: url(img/section7.png);
  left            : -158px;
  bottom          : -120px;
  width           : 1120px;
  height          : 780px;
  opacity         : 0.3;

}





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

  *,
  *::before,
  *::after {
    animation : none !important;
    transition: none !important;
  }

  .reveal {
    opacity  : 1;
    transform: none;
  }
}


/* ===== Uploaded page structure support ===== */
.hero-description {
  list-style: none;
  padding   : 0;
  margin    : 0;
  display   : grid;
    gap: 3px;
}

.hero-description li {
  position    : relative;
  padding-left: 18px;
  color       : #000000;
}

.hero-description li::before {
  content      : "";
  position     : absolute;
  left         : 0;
  top          : .9em;
  width        : 8px;
  height       : 8px;
  border-radius: 999px;
  background   : var(--accent);
  transform    : translateY(-50%);
}

.othertittle {
  font-size  : .62em;
  line-height: 1.35;
  color      : var(--ink-soft);
  font-weight: 600;
}

.content-grid {
  display              : grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap                  : 20px;
  align-items          : start;
}

.content-grid-reverse {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.content-grid-reverse>.feature-panel.big {
  order: 2;
}

.content-grid-reverse>.feature-panel.side {
  order: 1;
}

.feature-panel,
.feature-box,
.artifact-card,
.archive-card,
.timeline-card {
  background   : rgba(255, 255, 255, .28);
  border       : 1px solid rgba(18, 18, 18, .08);
  border-radius: var(--radius);
  box-shadow   : var(--shadow);
  position     : relative;
  overflow     : hidden;
}

.feature-panel.big {
  min-height   : 420px;
  padding      : 28px;
  display      : grid;
  align-content: end;
}

.feature-panel.side {
  display   : grid;
  gap       : 18px;
  background: transparent;
  border    : none;
  box-shadow: none;
  overflow  : visible;
}

.feature-box {
  min-height: 180px;
  padding   : 22px;
}

.feature-image {
  position: absolute;
  inset   : 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .12), rgba(18, 18, 18, .5)),
    radial-gradient(circle at 20% 20%, rgba(158, 47, 47, .18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(95, 102, 109, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .14));
  opacity: .96;
}

.image-1 {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .08), rgba(18, 18, 18, .46)),
    radial-gradient(circle at 18% 24%, rgba(158, 47, 47, .22), transparent 30%),
    radial-gradient(circle at 80% 28%, rgba(95, 102, 109, .22), transparent 28%),
    linear-gradient(135deg, #d8c7af, #938575);
}

.image-2 {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .12), rgba(18, 18, 18, .52)),
    radial-gradient(circle at 26% 20%, rgba(158, 47, 47, .24), transparent 30%),
    radial-gradient(circle at 78% 36%, rgba(95, 102, 109, .24), transparent 24%),
    linear-gradient(135deg, #cbbba3, #7d7267);
}

.feature-content {
  position  : relative;
  z-index   : 1;
  display   : grid;
  gap       : 16px;
  max-width : 824px;
  text-align: justify;
}

.guide-title,
.artifact-title,
.archive-title,
.timeline-card .timeline-title {
  text-wrap: balance;
}

.timeline-card-grid,
.exhibit-grid {
  display              : grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap                  : 18px;
}

.timeline-card {
  padding: 22px;
}



.artifact-card {
  padding   : 22px;
  display   : grid;
  gap       : 18px;
  min-height: 360px;
  cursor    : pointer;
  outline   : none;
  transition: transform var(--transition), border-color var(--transition);
}



/* 只作用在這種雙圖卡片 */


.exhibit-grid>.artifact-card--wide {
  grid-column: span 2;
}



.artifact-card--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items          : start;
}

.artifact-card--double>.artifact-meta,
.artifact-card--double>.artifact-title,
.artifact-card--double>.artifact-text {
  grid-column: 1 / -1;
}

.exhibit-grid>.artifact-card--wide {
  grid-column: span 2;
}

.artifact-card--wide .artifact-thumb {
  aspect-ratio: 16 / 10;
}


@media (max-width: 1160px) {
  .exhibit-grid>.artifact-card--wide {
    grid-column: span 1;
  }

  .artifact-card--double {
    grid-template-columns: 1fr;
  }

  .artifact-card--double>.artifact-meta,
  .artifact-card--double>.artifact-title,
  .artifact-card--double>.artifact-text {
    grid-column: auto;
  }
}


/* 雙卡排 */


.artifact-card:hover,
.artifact-card:focus-visible {
  transform   : translateY(-6px);
  border-color: rgba(18, 18, 18, .18);
}

.artifact-thumb {
  aspect-ratio : 4 / 3;
  border-radius: 20px;
  overflow     : hidden;
  position     : relative;
  background   :
    linear-gradient(180deg, rgba(18, 18, 18, .04), rgba(18, 18, 18, .16)),
    radial-gradient(circle at 20% 22%, rgba(158, 47, 47, .14), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(95, 102, 109, .14), transparent 24%),
    linear-gradient(135deg, #ded2c0, #b3a38f);
}

.artifact-thumb::after {
  content       : attr(data-label);
  position      : absolute;
  left          : 14px;
  top           : 14px;
  padding       : 8px 10px;
  border-radius : 999px;
  font-size     : 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background    : rgba(255, 255, 255, .7);
  border        : 1px solid rgba(18, 18, 18, .1);
}

.artifact-meta {
  display        : flex;
  flex-wrap      : wrap;
  gap            : 8px 14px;
  font-size      : 1rem;
  letter-spacing : .16em;
  text-transform : uppercase;
  color          : #ffffff;
  background     : #e322227a;
  border-radius  : 30px;
  padding        : .3rem 2rem;
  justify-content: center;



}

.artifact-text {
  color      : var(--ink-soft);
  font-size  : 15px;
  line-height: 1.85;
  text-align : justify;
}

.archive-layout {
  display              : grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap                  : 18px;
  align-items          : start;
}

.archive-stack {
  display: grid;
  gap    : 18px;
}

.archive-card {
  min-height: 260px;
  padding   : 28px;
}

.archive-card.dark {
  background: linear-gradient(135deg, rgba(18, 18, 18, .96), rgba(58, 58, 58, .92));
  color     : #fff;
  background: linear-gradient(135deg, rgb(229 105 105 / 96%), rgb(118 30 30 / 92%));
  color     : #fff;
  border    : 0;
}

.archive-title-light,
.archive-text-light {
  color: #d36666;
}

.archive-list {
  display: grid;
  gap    : 12px;
}

.archive-item {
  display              : grid;
  grid-template-columns: 180px 1fr;
  gap                  : 16px;
  padding              : 14px;
  border-radius        : 18px;
  background           : rgba(255, 255, 255, .42);
  border               : 1px solid rgba(18, 18, 18, .08);
}

.archive-code {
  font-size     : 2.2rem;
  letter-spacing: 0px;
  color         : var(--accent);
  font-weight   : 200;
}

.archive-item p {
  color      : var(--ink-soft);
  font-size  : 15px;
  line-height: 1.85;
}


/* 卡片縮圖：正常瀏覽時圖片置中 */
.artifact-thumb {
  position       : relative;
  display        : flex;
  align-items    : center;
  justify-content: center;
  overflow       : hidden;
  cursor         : zoom-in;
}

.artifact-thumb img {
  display        : block;
  width          : 100%;
  height         : 100%;
  object-fit     : cover;
  /* 若你想完整顯示圖片可改成 contain */
  object-position: center;
  transition     : transform 0.3s ease;
}



.artifact-thumb2 {
  position       : relative;
  display        : flex;
  align-items    : center;
  justify-content: center;
  overflow       : hidden;

}



.artifact-thumb2 {
  aspect-ratio : 4 / 3;
  border-radius: 20px;
  overflow     : hidden;
  position     : relative;
  background   : linear-gradient(180deg, rgba(18, 18, 18, .04), rgba(18, 18, 18, .16)), radial-gradient(circle at 20% 22%, rgba(158, 47, 47, .14), transparent 28%), radial-gradient(circle at 78% 26%, rgba(95, 102, 109, .14), transparent 24%), linear-gradient(135deg, #ded2c0, #b3a38f);
}








.artifact-thumb:hover img {
  transform: scale(1.03);
}


/* 放大燈箱 */
.image-lightbox {
  position       : fixed;
  inset          : 0;
  z-index        : 9999;
  display        : none;
  align-items    : center;
  justify-content: center;
  padding        : 24px;
  background     : rgba(0, 0, 0, 0.82);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-inner {
  position      : relative;
  max-width     : min(92vw, 1200px);
  max-height    : 92vh;
  display       : flex;
  flex-direction: column;
  align-items   : center;
}

.image-lightbox img {
  display   : block;
  max-width : 100%;
  max-height: calc(92vh - 72px);
  width     : auto;
  height    : auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.image-lightbox-caption {
  margin-top : 12px;
  color      : #fff;
    font-size: 1.2rem;
  line-height: 1.7;
  text-align : center;
}

.image-lightbox-close {
  position     : absolute;
  top          : -10px;
  right        : -10px;
  width        : 42px;
  height       : 42px;
  border       : 0;
  border-radius: 50%;
  background   : rgba(255, 255, 255, 0.95);
  color        : #111;
  font-size    : 26px;
  line-height  : 1;
  cursor       : pointer;
}

.image-lightbox-close:hover {
  transform: scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

img.op {
    width: 100%;
    opacity: 0.3;
}

p.feature-text {
  color         : #fff;
  font-weight   : 300;
  letter-spacing: .5px;
  line-height   : 1.8;
}




.m1 {
  margin-bottom: 20px;
}

/* 插圖偽元素 */

/* =========================
   ilbg：用偽元素把插圖放在左下空白區
   不改原本 content-grid 排版
   手機版隱藏
   ========================= */

.ilbg {
  position : relative;
  isolation: isolate;
}

/* 讓原本內容保持在插圖上層 */
.content-grid.ilbg>.feature-panel,
.ilbg>article,
.content-grid.ilbg>div {
  position: relative;
  z-index : 2;
}

/* 偽元素插圖 */
/* =========================
   共用偽元素基礎設定
   ========================= */

.ilbg {
  position : relative;
  isolation: isolate;
}

.ilbg::after {
  content            : "";
  position           : absolute;
  background-repeat  : no-repeat;
  background-position: left bottom;
  background-size    : contain;
  pointer-events     : none;
  z-index            : 0;

}

/* =========================
   各區塊個別設定
   圖片、位置、尺寸都各自獨立
   ========================= */

.ilbg.ilbg-s1::after {
  background-image: url("img/section1.png");
  left            : -463px;
  bottom          : -33px;
  width           : 1375px;
  height          : 970px;
  opacity         : 0.3;
}

.ilbg.ilbg-s5::after {
  background-image: url(img/section5.png);
  left            : -432px;
  bottom          : -70px;
  width           : 1416px;
  height          : 620px;
  opacity         : 0.4;
}

.ilbg.ilbg-s6::after {
  background-image: url(img/section6.png);
  left            : 546px;
  bottom          : -60px;
  width           : 1280px;
  height          : 900px;
  opacity         : 0.3;
}

.ilbg.ilbg-s7::after {
  background-image: url("img/section9.png");
  left            : -261px;
  bottom          : 30px;
  width           : 870px;
  height          : 780px;
  opacity         : 0.1;
}


.ilbg.ilbg-s9::after {
  background-image: url("img/section7.png");
  left            : 475px;
  bottom          : -50px;
  width           : 1120px;
  height          : 780px;
  opacity         : 0.3;
}

img.fire {
  width : 110%;
  height: auto;
}



/* 不需要插圖的區塊可套這個 */
.ilbg.ilbg-none {
  padding-bottom: 0;
}

.ilbg.ilbg-none::after {
  content: none;
}

/* =========================
   桌機/筆電微調
   ========================= */


@media (max-width:1440px) {
.hero-grid {
    grid-template-columns: minmax(0, 2fr);
}
}



@media (max-width: 1280px) {


  .content-grid.ilbg::after {
    left  : -80px;
    top   : 390px;
    width : 620px;
    height: 560px;
  }



}






@media (max-width: 1024px) {


  .content-grid.ilbg::after {
    left  : -80px;
    top   : 390px;
    width : 620px;
    height: 560px;
  }





}

/* =========================
   手機版：插圖隱藏
   ========================= */

@media (max-width: 900px) {


  .content-grid.ilbg::after {
    content         : none;
    background-image: none;
  }
}

/* 插圖偽元素 */


/* iframe */

.map {
  width        : 100%;
  margin-top   : 24px;
  border-radius: 24px;
  overflow     : hidden;
  background   : #f5f1ea;
  box-shadow   : 0 12px 32px rgba(0, 0, 0, 0.12);
}

.map iframe {
  display: block;
  width  : 100%;
  height : 720px;
  border : 0;
}



@media (max-width: 1024px) {
  .map iframe {
    height: 600px;
  }

.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    }


}

@media (max-width: 768px) {
  .map {
    border-radius: 18px;
  }

  .map iframe {
    height: 480px;
  }
}

@media (max-width: 480px) {
  .map iframe {
    height: 360px;
  }
}


/* iframe */



@media (max-width: 1024px) {




  .hero-video-hero {
    min-height: calc(100svh - var(--header-h));
  }

     .hero-video {
        object-position: 0px center;
    }

  :root {
    --header-h     : 72px;
    --container-pad: 18px;
    --section-gap  : 72px;
    --title-space  : 28px;
  }

  body::after {
    display: none;
  }


  .nav-toggle {
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
  }

  .nav {
    position      : absolute;
    left          : var(--container-pad);
    right         : var(--container-pad);
    top           : calc(100% + 10px);
    padding       : 14px;
    border-radius : 22px;
    background    : rgba(243, 235, 221, .96);
    border        : 1px solid rgba(18, 18, 18, .08);
    box-shadow    : var(--shadow);
    display       : none;
    flex-direction: column;
    align-items   : stretch;
    gap           : 6px;
    max-height    : min(70vh, 520px);
    overflow      : auto;
  }

  .nav.is-open {
    display: flex;
    z-index: 9999;
    ;
  }

  .nav a {
    width          : 100%;
    justify-content: flex-start;
    min-height     : 44px;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-title .stroke {
    margin-left: 0;
  }

  .timeline-aside {
    grid-template-columns: 1fr;
  }

  .timeline-progress {
    height: 120px;
  }


  .back-to-top {
    right    : 50px;
    bottom   : 16px;
    width    : 48px;
    height   : 48px;
    font-size: 12px;
  }


}



@media (max-width: 1160px) {

  .content-grid,
  .archive-layout,
  .timeline-card-grid,
  .exhibit-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel.side {
    order: 2;
  }

  .archive-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {

  .timeline-card-grid,
  .exhibit-grid {
    grid-template-columns: 1fr;
  }
}













@media (max-width: 768px) {

  header.topbar {
    height: 100px;
  }

  .section-header {
    grid-template-columns: minmax(0, 1fr);
  }

.hero-meta {

    grid-template-columns: 1fr;
    }

    .hero-video {
        object-position: -134px center;
    }

.hero-inner {
    padding-top: 48vh;
    padding-left: 2rem;
}

}




@media (max-width: 640px) {





  .archive-card,
  .feature-panel.big,
  .feature-box,
  .timeline-card,
  .artifact-card {
    padding: 18px;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-close {
    top  : -6px;
    right: -6px;
  }

  .image-lightbox-caption {
    font-size: 13px;
  }


  .button,
  .ghost-button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .panel,
  .text-panel {
    padding: 18px;
  }

  .text-panel h3,
  .timeline-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 34px;
  }

  .workshop-title {
    font-size: 28px;
  }

  .memory-poem p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {


  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }


  .hero-description li {
    font-size: .8rem;
  }


  .timeline-wrap {
    grid-template-columns: minmax(0, 1fr);
  }


  .brand-title {
    font-size: 16px;
  }

  .hero-title {
    font-size: clamp(38px, 14vw, 64px);
  }

  .hero-year-stack,
  .collage-quote {
    display: none;
  }

  .timeline-list {
    padding-left: 20px;
  }

  .timeline-list::before {
    left: 7px;
  }

  .timeline-item::before {
    left      : -22px;
    width     : 12px;
    height    : 12px;
    box-shadow: 0 0 0 6px rgba(158, 47, 47, .08);
  }


  .event-card-stack {
    grid-template-columns: minmax(0, 1fr);
  }


  .workshop-grid.mb-1 {
    grid-template-columns: minmax(0, 1fr);
  }



}





@media (max-width: 375px) {



  .hero-description li {
    font-size: .9rem;
  }
}