/* ============================================================
   やたてぃ学園はじめラ部 應援網站 — 共用樣式
   三個頁面（index / posts / staff）都讀這個檔。
   ★ 改全站配色：只要改下面 :root 的變數即可。
   ============================================================ */

:root {
  --c-ink:        #23262b;  /* 主深灰 */
  --c-steel:      #585f6a;  /* 次要灰（說明文字） */
  --c-silver:     #c9ced6;  /* 銀灰（邊框、分隔線） */
  --c-paper:      #f4f5f7;  /* 淺灰底（頁面背景） */
  --c-white:      #ffffff;
  --c-bolt:       #ffd028;  /* 閃電黃（強調色） */
  --c-bolt-deep:  #e6a800;  /* 深黃（hover、連結） */

  --c-lilac:      #ece6f9;  /* 首頁 hero 的淺紫底色 */
  --c-grape:      #5b3fa0;  /* 深紫（淺紫底上的文字強調色） */

  --font-display: "RocknRoll One", "Zen Kaku Gothic New", sans-serif;
  --font-body:    "Zen Kaku Gothic New", "Noto Sans TC", sans-serif;

  --max-w: 1080px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--c-paper); color: var(--c-ink); line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.section-title::before {
  content: ""; width: 10px; height: 1.3em;
  background: var(--c-bolt); transform: skewX(-15deg);
}
.section-title .en { font-size: 0.55em; color: var(--c-steel); letter-spacing: 0.2em; }

/* ===== 導覽列（由 common.js 產生） ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(35, 38, 43, 0.95);
  backdrop-filter: blur(6px);
  color: var(--c-white);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 12px;
}
.nav-logo { font-family: var(--font-display); text-decoration: none; font-size: 1rem; white-space: nowrap; }
.nav-logo .bolt { color: var(--c-bolt); }
.nav-right { display: flex; align-items: center; gap: 18px; }
nav ul { display: flex; gap: 16px; list-style: none; }
nav a {
  text-decoration: none; font-size: 0.86rem;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: border-color 0.2s; white-space: nowrap;
}
nav a:hover, nav a:focus-visible, nav a.active { border-bottom-color: var(--c-bolt); }
.lang-select {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid var(--c-silver); color: var(--c-white);
  border-radius: 999px; padding: 5px 32px 5px 14px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.85rem; line-height: 1.4;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  /* 自訂下拉箭頭（銀灰色） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23c9ced6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color 0.2s;
}
.lang-select:hover, .lang-select:focus-visible { border-color: var(--c-bolt); outline: none; }
/* 展開的選項列表（瀏覽器原生渲染，用深色文字確保可讀） */
.lang-select option { color: #1b1d21; background: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--c-white); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero（僅首頁用）：淺紫底 + 閃電符號 ===== */
.hero {
  /* 淺紫底色，加上平鋪的閃電符號花紋（深紫、低透明度） */
  background-color: var(--c-lilac);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M42 8 L22 40 L34 40 L30 64 L50 30 L38 30 Z' fill='%238a73c9' fill-opacity='0.16'/%3E%3C/svg%3E");
  background-size: 72px 72px;
  color: var(--c-ink);                 /* 淺底 → 文字改深色 */
  text-align: center;
  padding: 84px 20px 96px;
  position: relative; overflow: hidden;
}
.hero-kicker { color: var(--c-grape); letter-spacing: 0.35em; font-size: 0.9rem; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.3;
  color: var(--c-ink);
  text-shadow: 3px 3px 0 rgba(255, 208, 40, 0.55);   /* 黃色殘影，在淺底上更鮮明 */
}
.hero-date {
  display: inline-block; margin-top: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  background: var(--c-bolt); color: var(--c-ink);
  padding: 8px 28px; transform: skewX(-8deg);
  box-shadow: 0 4px 14px rgba(91, 63, 160, 0.25);
}
.countdown { margin-top: 26px; }
.countdown-label { font-size: 0.9rem; color: var(--c-grape); letter-spacing: 0.15em; }
.countdown-nums { display: flex; gap: 14px; justify-content: center; margin-top: 10px; font-family: var(--font-display); }
.countdown-nums .unit { text-align: center; }
.countdown-nums .num { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--c-grape); font-variant-numeric: tabular-nums; min-width: 2ch; display: inline-block; }
.countdown-nums .lbl { font-size: 0.75rem; color: var(--c-steel); }
.countdown-hbd { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--c-grape); margin-top: 10px; }
.hero-tags { margin-top: 26px; font-size: 0.95rem; color: var(--c-steel); }
.hero-tags a { color: var(--c-grape); text-decoration: none; font-weight: 700; }
.hero-tags a:hover { text-decoration: underline; }
/* 角落裝飾用大閃電，改成深紫低透明度 */
.hero-bolt-bg { position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: 0.1; pointer-events: none; }

/* 加入行事曆按鈕 */
.hero-cal { margin-top: 20px; }
.cal-btn {
  display: inline-block; text-decoration: none;
  font-size: 0.85rem; font-weight: 700; color: var(--c-grape);
  border: 1px solid var(--c-grape); border-radius: 999px; padding: 5px 16px;
  transition: background 0.2s, color 0.2s;
}
.cal-btn:hover { background: var(--c-grape); color: var(--c-white); }
.project-cal { margin-top: 12px; }
/* 企劃卡內的按鈕用較中性的灰，跟卡片風格一致 */
.project-cal .cal-btn { color: var(--c-steel); border-color: var(--c-silver); font-weight: 500; }
.project-cal .cal-btn:hover { background: var(--c-bolt); border-color: var(--c-bolt); color: var(--c-ink); }

/* ===== 倒數頁 ===== */
#cd-main-section {
  background-color: var(--c-lilac);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M42 8 L22 40 L34 40 L30 64 L50 30 L38 30 Z' fill='%238a73c9' fill-opacity='0.16'/%3E%3C/svg%3E");
  background-size: 72px 72px;
}
.countdown-wrap { text-align: center; }
.cd-main-card { display: inline-block; }
.cd-main-label { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--c-ink); }
.cd-main-card .hero-date { margin-top: 14px; }
.cd-main-card .cal-btn { margin-top: 18px; }

/* 便利貼牆 */
.cd-stickies { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.cd-sticky {
  width: 200px; padding: 20px 18px 16px; border-radius: 4px;
  box-shadow: 0 8px 18px rgba(35, 38, 43, 0.18);
  position: relative; text-align: center;
}
/* 上方一條「膠帶」 */
.cd-sticky::before {
  content: ""; position: absolute; top: -10px; left: 50%;
  width: 64px; height: 20px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255, 255, 255, 0.55);
}
.cd-sticky-label { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-ink); }
.cd-sticky-date { font-size: 0.82rem; color: var(--c-steel); margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.cd-sticky-days { font-family: var(--font-display); font-size: 1.25rem; color: var(--c-grape); margin-bottom: 12px; }
.cal-mini { font-size: 0.75rem !important; padding: 3px 12px !important; }

/* 進行中入口按鈕 */
.ongoing-cta-btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-display); font-size: 1.1rem;
  background: var(--c-bolt); color: var(--c-ink);
  padding: 12px 36px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(91, 63, 160, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ongoing-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 63, 160, 0.3); }

/* ===== 公告 ===== */
.news-list { list-style: none; border-top: 1px solid var(--c-silver); }
.news-list li { display: flex; gap: 24px; align-items: baseline; padding: 18px 6px; border-bottom: 1px solid var(--c-silver); }
.news-date { font-size: 0.88rem; color: var(--c-steel); flex: 0 0 7em; font-variant-numeric: tabular-nums; }
.news-list a { text-decoration: none; }
.news-list a:hover { color: var(--c-bolt-deep); }

/* ===== 企劃卡片 ===== */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.project-card {
  background: var(--c-white);
  border: 1px solid var(--c-silver);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(35, 38, 43, 0.12); }
.project-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.project-cat {
  align-self: flex-start; font-size: 0.78rem; font-weight: 700;
  padding: 2px 12px; border-radius: 999px; margin-bottom: 10px;
  color: var(--c-ink); background: var(--c-silver);
}
.project-name { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.project-period { font-size: 0.88rem; color: var(--c-steel); margin-bottom: 12px; }
.project-desc { font-size: 0.94rem; flex: 1; white-space: pre-line; }
.project-hashtags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.project-hashtags a { font-size: 0.8rem; color: var(--c-bolt-deep); text-decoration: none; }
.project-hashtags a:hover { text-decoration: underline; }
.project-links { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.project-links a {
  font-size: 0.85rem; text-decoration: none;
  border: 1px solid var(--c-silver); border-radius: 999px; padding: 4px 14px;
  transition: background 0.2s, border-color 0.2s;
}
.project-links a:hover { background: var(--c-bolt); border-color: var(--c-bolt); }
.badge-ongoing {
  position: absolute; top: 12px; left: 12px;
  background: var(--c-bolt); color: var(--c-ink);
  font-family: var(--font-display); font-size: 0.8rem;
  padding: 3px 14px; transform: skewX(-8deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25); z-index: 2;
}
.project-card.is-past { background: #ededf0; }
.project-card.is-past:hover { transform: none; box-shadow: none; }
.badge-past {
  position: absolute; top: 12px; left: 12px;
  background: var(--c-steel); color: var(--c-white);
  font-family: var(--font-display); font-size: 0.8rem;
  padding: 3px 14px; transform: skewX(-8deg); z-index: 2;
}
.empty-hint { color: var(--c-steel); font-size: 0.95rem; }

/* 主頁「看過去的企劃 →」連結 */
.see-past { text-align: right; margin-top: 20px; }
.see-past a {
  font-size: 0.88rem; color: var(--c-steel); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.see-past a:hover { color: var(--c-bolt-deep); border-bottom-color: var(--c-bolt); }

/* 單張封面圖 */
.project-photo { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ===== 圖片輪播（卡片中的循環播放圖） ===== */
.carousel {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: #1b1d21; overflow: hidden; cursor: zoom-in;
}
.carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.8s ease;
}
.carousel img.active { opacity: 1; }
/* 右下角放大提示 */
.carousel .zoom-hint {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(0,0,0,0.5); color: #fff;
  font-size: 0.75rem; padding: 2px 8px; border-radius: 6px;
  pointer-events: none;
}
/* 底部小圓點指示目前第幾張 */
.carousel .dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.carousel .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.carousel .dots span.on { background: var(--c-bolt); }

/* ===== 可展開文字（預設只顯示幾行） ===== */
.clampable { font-size: 0.94rem; flex: 1; }
.clampable .clamp-text {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;            /* 預設顯示 3 行，想改行數改這裡 */
  overflow: hidden; white-space: pre-line;
}
.clampable.expanded .clamp-text { -webkit-line-clamp: unset; }
.clamp-toggle {
  margin-top: 6px; background: none; border: 0; cursor: pointer;
  color: var(--c-bolt-deep); font-family: var(--font-body); font-size: 0.85rem; padding: 0;
}
.clamp-toggle:hover { text-decoration: underline; }

/* ===== 燈箱（點圖放大檢視，由 common.js 產生） ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.lightbox .close {
  position: absolute; top: 18px; right: 24px;
  color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; background: none; border: 0;
}

/* ===== 活動貼文卡片 ===== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

/* 番長的回信：與貼文同網格，卡片加金色左框與標記，凸顯特別 */
.reply-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.reply-card { border-left: 5px solid var(--c-bolt); position: relative; }
.reply-card .author { color: var(--c-bolt-deep); font-weight: 700; }
.post-card {
  background: var(--c-white); border: 1px solid var(--c-silver);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.post-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.82rem; color: var(--c-steel); margin-bottom: 8px; display: flex; gap: 10px; }
.post-meta .author { color: var(--c-bolt-deep); }
.post-footer { margin-top: 16px; display: flex; justify-content: flex-end; }
.post-original {
  font-size: 0.85rem; text-decoration: none; font-weight: 700;
  border: 1px solid var(--c-silver); border-radius: 999px; padding: 5px 16px;
  transition: background 0.2s, border-color 0.2s;
}
.post-original:hover { background: var(--c-bolt); border-color: var(--c-bolt); }

/* ===== 人員名單 ===== */
.staff-block { margin-bottom: 52px; }
.staff-block h3 {
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.staff-block h3::before { content: "⚡"; color: var(--c-bolt); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px; }
.staff-card {
  text-decoration: none; color: inherit; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform 0.2s;
}
.staff-card:hover { transform: translateY(-4px); }
.staff-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--c-white); box-shadow: 0 4px 14px rgba(35,38,43,0.18);
  background: var(--c-silver);
}
.staff-card:hover .staff-avatar { border-color: var(--c-bolt); }
.staff-name { font-size: 0.92rem; font-weight: 700; }
.staff-handle { font-size: 0.78rem; color: var(--c-steel); }

/* ===== 活動年表（時間軸） ===== */
.tl-year { margin-bottom: 44px; }
.tl-year-label {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--c-ink);
  display: inline-block; padding: 2px 18px; margin-bottom: 20px;
  border-bottom: 4px solid var(--c-bolt);
}
.tl-entries {
  position: relative; padding-left: 28px;
  border-left: 3px solid var(--c-silver);   /* 時間軸的縱線 */
}
.tl-entry {
  position: relative; display: flex; gap: 16px; align-items: center;
  padding: 14px 0;
}
/* 縱線上的圓點 */
.tl-entry::before {
  content: ""; position: absolute; left: -37px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-bolt); border: 3px solid var(--c-paper);
}
.tl-thumb {
  width: 84px; height: 56px; object-fit: cover; border-radius: 8px;
  flex: 0 0 auto; cursor: zoom-in; border: 1px solid var(--c-silver);
}
.tl-info { display: flex; flex-direction: column; gap: 3px; }
.tl-cat {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  padding: 1px 10px; border-radius: 999px; color: var(--c-ink);
}
.tl-name { font-weight: 700; font-size: 0.98rem; }
.tl-period { font-size: 0.82rem; color: var(--c-steel); font-variant-numeric: tabular-nums; }

/* ===== 關於我們頁 ===== */
.about-container { max-width: 760px; }   /* 文章型內容窄一點比較好讀 */
.about-lead {
  font-size: 1.15rem; line-height: 1.9;
  color: var(--c-ink); font-weight: 500;
  padding-left: 16px; border-left: 5px solid var(--c-bolt);
  margin-bottom: 40px;
}
.about-section { margin-bottom: 36px; }
.about-section h2 {
  font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.about-section h2::before { content: "⚡"; color: var(--c-bolt); }
.about-section p { font-size: 0.98rem; white-space: pre-line; }
.about-section p + p { margin-top: 1em; }
.about-links { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.about-links a {
  font-size: 0.9rem; text-decoration: none; font-weight: 700;
  border: 1px solid var(--c-silver); border-radius: 999px; padding: 6px 18px;
  transition: background 0.2s, border-color 0.2s;
}
.about-links a:hover { background: var(--c-bolt); border-color: var(--c-bolt); }

/* ===== 資料載入失敗提示 ===== */
.load-error {
  max-width: 640px; margin: 60px auto; padding: 28px 32px;
  background: #fff3f3; border: 1px solid #e8a0a0; border-radius: var(--radius); font-size: 0.95rem;
}

/* ===== 頁尾（由 common.js 產生） ===== */
footer { background: var(--c-ink); color: var(--c-silver); padding: 56px 0 32px; font-size: 0.9rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 2fr 1fr 1fr; margin-bottom: 40px; }
footer h3 { color: var(--c-white); font-family: var(--font-display); font-size: 1rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li + li { margin-top: 8px; }
footer a { color: var(--c-silver); text-decoration: none; }
footer a:hover { color: var(--c-bolt); }
.copyright { border-top: 1px solid #3a3e45; padding-top: 22px; text-align: center; font-size: 0.8rem; color: #8b919b; }

/* 頁尾底部三欄：左訪客數、中版權、右隱私權 */
.footer-bottom {
  border-top: 1px solid #3a3e45; margin-top: 8px; padding-top: 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.footer-bottom .copyright { border-top: 0; padding-top: 0; margin: 0; }   /* 中欄沿用版權樣式但不重複上框線 */
.footer-visitors { font-size: 0.78rem; color: #8b919b; justify-self: start; }
.footer-visitors .v-count { color: var(--c-bolt); font-variant-numeric: tabular-nums; font-weight: 700; }
.footer-privacy { justify-self: end; font-size: 0.78rem; }
.footer-privacy a { color: #8b919b; text-decoration: none; }
.footer-privacy a:hover { color: var(--c-bolt); text-decoration: underline; }
@media (max-width: 600px) {
  /* 手機：改成上下堆疊，版權置中 */
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .footer-visitors, .footer-privacy { justify-self: center; }
}
.footer-contact { text-align: center; font-size: 0.76rem; color: #8b919b; margin-top: 12px; }
.footer-contact a { color: #8b919b; text-decoration: none; }
.footer-contact a:hover { color: var(--c-bolt); text-decoration: underline; }

/* 頁面標題區（posts / staff 頁用的簡單頂部） */
.page-head {
  background: linear-gradient(160deg, #2b2f36 0%, #1b1d21 100%);
  color: var(--c-white); text-align: center; padding: 60px 20px;
}
.page-head h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: var(--c-silver); margin-top: 10px; font-size: 0.95rem; }

/* ===== 響應式 ===== */
@media (max-width: 1024px) {
  nav ul {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--c-ink); padding: 8px 0;
  }
  nav ul.open { display: flex; }
  nav li { text-align: center; }
  nav a { display: block; padding: 14px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-card, nav a, .staff-card { transition: none; }
  .carousel img { transition: none; }
}
