/* ============================================================
   萬能科技大學 時尚造型設計暨表演藝術系 — 系所官方網站
   FSPA Department Website — 依 2027 提案視覺系統
   紙白 / 墨黑 / POP PINK / LUMINOUS BLUE / ACID（僅限行動呼籲）
   方角・無陰影・2px 黑框・留白過半・動效只有切與掃
   ============================================================ */

/* 紀律：紙白＋墨黑＋黑白攝影為主體；唯一強調色為 2027 年度色
   Luminous Blue（≤10% 版面）。S/S 27 其餘關鍵色只出現在首頁趨勢條
   （宣言，不是 UI）；活動色 ACID／粉藍撞色只出現在公演頁 campaign 專區。
   年度改版：換 --blue 為新年度色、更新首頁趨勢條五色。 */
:root {
  --paper: #F2EDE4;
  --ink: #14120E;
  --blue: #2A46C0;    /* Luminous Blue 125-28-38 — 2027 年度色，唯一強調 */
  --pink: #F35B9E;    /* Pop Pink — 僅公演頁 campaign */
  --acid: #D8F034;    /* 僅公演頁 campaign */
  --ink-60: rgba(20, 18, 14, .6);
  --ink-72: rgba(20, 18, 14, .72);
  --hairline: rgba(20, 18, 14, .18);
  --paper-60: rgba(242, 237, 228, .75);

  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', sans-serif;
  --font-latin: 'Archivo', sans-serif;

  --ease-curtain: cubic-bezier(.86, 0, .07, 1);
  --t-hover: 140ms;
  --t-panel: 240ms;
  --t-reveal: 480ms;
  --t-curtain: 720ms;

  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }

::selection { background: var(--blue); color: var(--paper); }

/* ---------- 文字階層 ---------- */

h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 900; line-height: 1.35; }

.kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--blue);
}
.kicker .en { font-family: var(--font-latin); letter-spacing: .18em; }

.latin {
  font-family: var(--font-latin);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  letter-spacing: .06em;
}

.muted { color: var(--ink-60); }

/* ---------- 版面 ---------- */

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section { padding: clamp(64px, 10vw, 128px) 0; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 5vw, 48px); margin-top: 18px; }
.section-head .lede { font-size: clamp(16px, 2vw, 19px); color: var(--ink-72); max-width: 38em; margin-top: 14px; }

/* ---------- 導覽列 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav .wrap { width: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: block; text-decoration: none; flex: none; }
.brand img { display: block; height: 34px; width: auto; filter: brightness(0); }

.nav-links { display: none; margin-left: auto; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-hover) linear, color var(--t-hover) linear;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--blue); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--ink); }

.btn-ticket {
  background: var(--blue);
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 10px 20px;
  transition: background var(--t-hover) linear;
}
.btn-ticket:hover { background: var(--ink); color: var(--paper); }

.nav .btn-ticket { margin-left: auto; }

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font: inherit;
  font-weight: 900;
  font-size: 24px;
  cursor: pointer;
  padding: 6px 2px 6px 14px;
  color: var(--ink);
}

/* 手機全屏選單：墨黑幕、curtain wipe */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--t-curtain) var(--ease-curtain), visibility 0s var(--t-curtain);
}
.menu.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--t-curtain) var(--ease-curtain);
}
.menu-logo {
  position: absolute;
  top: 36px;
  left: var(--gutter);
  height: 26px;
  width: auto;
}
.menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--paper);
  font-weight: 900;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
}
.menu nav { display: flex; flex-direction: column; margin-top: 24px; }
.menu nav a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 237, 228, .18);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.menu nav a .en { font-family: var(--font-latin); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: rgba(242, 237, 228, .5); }
.menu nav a:hover { color: rgba(242, 237, 228, .55); }
.menu .btn-ticket { margin-top: auto; text-align: center; padding: 16px; font-size: 17px; }

.btn-ticket { white-space: nowrap; }
.nav-ticket-m { padding: 8px 14px; font-size: 14px; }

/* 導覽列社群快連結 */
.nav-social { display: flex; align-items: center; gap: 14px; margin-left: 4px; padding-left: 18px; border-left: 1px solid var(--hairline); }
.nav-social a {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-60);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: color var(--t-hover) linear, border-color var(--t-hover) linear;
}
.nav-social a:hover { color: var(--ink); border-bottom-color: var(--blue); }

.menu-social { display: flex; gap: 26px; margin: 28px 0 18px; }
.menu-social a {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  color: rgba(242, 237, 228, .65);
  text-decoration: none;
}
.menu-social a:hover { color: var(--paper); }

@media (max-width: 899px) {
  .brand img { height: 28px; }
  .nav .wrap { gap: 14px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn-ticket { margin-left: 0; }
  .nav-toggle, .nav-ticket-m { display: none; }
}

/* ---------- 攝影：原色 ----------
   照片以原本的色彩呈現，不加濾鏡、不罩染——作品自己說話。
   缺圖時 JS 移除 img，留下墨黑色塊——版面依然成立。 */

.duo, .duo.p, .duo.b, .duo.g, .duo.c { position: relative; overflow: hidden; background: var(--ink); }
.duo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 首頁 Hero ---------- */

.cover {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cover-layout {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(40px, 6vh, 72px);
  padding-bottom: 88px;
}
.cover-content { display: flex; flex-direction: column; justify-content: center; }
.cover-eyebrow {
  margin: 0 0 clamp(16px, 2.4vh, 28px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--ink-60);
}
.cover-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(56px, 10.5vw, 140px);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--ink);
}
.cover-title .x {
  font-family: var(--font-latin);
  font-style: normal;
  font-weight: 900;
  color: var(--blue);
  margin-left: .04em;
}
.cover-tag {
  margin: clamp(16px, 2.6vh, 30px) 0 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: .08em;
  color: var(--ink);
}
/* 人像輪播：奶油棚拍背景 multiply 融進紙白，硬切換場（lookbook flip） */
.cover-figure { margin: 0; position: relative; text-align: center; }
.cover-stack { position: relative; display: inline-block; max-width: 100%; }
.cover-stack img {
  width: auto;
  max-width: 100%;
  max-height: 58vh;
  mix-blend-mode: multiply;
  display: block;
}
.cover-stack img + img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.cover-stack img:not(.on) { visibility: hidden; }
.cover-counter { letter-spacing: .08em; color: var(--ink); font-weight: 700; }
.cover-figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-60);
  text-align: right;
}
.cover-figure figcaption .latin { font-variation-settings: normal; letter-spacing: .12em; }

@media (min-width: 900px) {
  .cover-layout { flex-direction: row; align-items: stretch; gap: clamp(24px, 4vw, 72px); padding-bottom: 96px; }
  .cover-content { flex: 1.25; }
  .cover-figure { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }
  .cover-figure img { max-height: calc(100svh - var(--nav-h) - 180px); }
}
/* 進場：一行一行由下往上切出 */
.cover-line { display: block; overflow: hidden; }
.cover-line > span { display: block; transform: translateY(112%); animation: line-up .8s var(--ease-curtain) .12s forwards; }
.cover-d2 > span { animation-delay: .26s; }
.cover-d3 > span { animation-delay: .42s; }
@keyframes line-up { to { transform: translateY(0); } }
.cover-d4 { opacity: 0; animation: fade-in .6s linear .75s forwards; }
.cover-d2b { opacity: 0; animation: fade-in .9s var(--ease-curtain) .35s forwards; }
@keyframes fade-in { to { opacity: 1; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.cover-textlink {
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.cover-textlink:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* 跑馬燈：貼底墨黑帶、一直走 */
.marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  background: var(--ink);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marq 28s linear infinite;
}
.marquee-track span {
  display: inline-block;
  padding: 14px 0 14px 56px;
  font-family: var(--font-latin);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .18em;
  color: rgba(242, 237, 228, .85);
}
.marquee-track i { font-style: normal; color: var(--blue); padding-right: 0; }
@keyframes marq { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .cover-line > span, .cover-d4, .cover-d2b, .marquee-track { animation: none; }
  .cover-line > span { transform: none; }
  .cover-d4, .cover-d2b { opacity: 1; }
}

/* 趨勢簽名線：S/S 27 五色，細到只是一條線 */
.trendstrip { display: flex; height: 10px; }
.trendstrip span { flex: 1; }
.trendstrip-caption {
  margin: 10px 0 0;
  padding-bottom: 18px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-60);
  text-align: right;
}
.trendstrip-caption .latin { font-variation-settings: normal; letter-spacing: .1em; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .08em;
  padding: 14px 28px;
  transition: background var(--t-hover) linear, color var(--t-hover) linear;
}
.btn-acid { background: var(--acid); color: var(--ink); }
.btn-acid:hover { background: var(--ink); color: var(--acid); }
.btn-accent { background: var(--blue); color: var(--paper); }
.btn-accent:hover { background: var(--ink); color: var(--paper); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); padding: 12px 26px; }
.btn-line:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }

@media (min-width: 900px) {
  .hero-photo { min-height: 74vh; }
}

/* ---------- 入口三格 ---------- */

.entrances { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hairline); }
.entrance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px var(--gutter);
  text-decoration: none;
  color: var(--ink);
  min-height: 170px;
  transition: none;
}
.entrance .label { font-family: var(--font-latin); font-weight: 700; font-size: 13px; letter-spacing: .16em; }
.entrance .title { font-family: var(--font-serif); font-weight: 900; font-size: 26px; margin-top: 2px; }
.entrance .desc { font-size: 15px; opacity: .75; }
.entrance .arrow { margin-top: auto; font-family: var(--font-latin); font-weight: 900; font-size: 22px; }
.entrance.on-ink { background: var(--ink); color: var(--paper); }
.entrance.on-ink .label { color: rgba(242, 237, 228, .55); }
.entrance.on-pink { background: var(--pink); color: var(--ink); }
.entrance.on-paper { background: var(--paper); border-top: 1px solid var(--hairline); }
.entrance.on-paper .label { color: var(--blue); }
.entrance:hover .arrow { color: inherit; transform: translateX(8px); }
.entrance .arrow { transition: transform var(--t-hover) linear; }

@media (min-width: 900px) {
  .entrances { grid-template-columns: 1.35fr 1fr 1fr; }
  .entrance { padding: 36px 32px; min-height: 210px; }
  .entrance.on-paper { border-top: none; border-left: 1px solid var(--hairline); }
}

/* ---------- 兩組對頁（About） ---------- */

.division { display: flex; flex-direction: column; }
.division-photo { position: relative; min-height: 320px; }
.division-photo .corner-tag {
  position: absolute;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-latin);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1em;
  padding: 8px 16px;
  z-index: 2;
}
.division-photo .caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: var(--paper);
  z-index: 2;
}
.division-photo .caption h3 { font-size: clamp(28px, 4vw, 40px); text-shadow: 0 2px 24px rgba(20, 18, 14, .45); }
.division-photo .caption p { margin: 8px 0 0; font-weight: 700; font-size: 16px; text-shadow: 0 2px 16px rgba(20, 18, 14, .5); }

.division-body { display: flex; flex-direction: column; gap: 32px; padding: 36px 0 0; }
.division-block { border-top: 4px solid var(--ink); padding-top: 18px; }
.division-block h4 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: .06em; }
.division-block p { margin: 10px 0 0; font-size: 16px; line-height: 1.85; color: var(--ink-72); }
.division-block p b { color: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { border: 2px solid var(--ink); font-weight: 700; font-size: 14px; padding: 5px 14px; }

.division-cta {
  margin-top: 4px;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .06em;
  padding: 14px 22px;
}
.division-cta { background: var(--ink); color: var(--paper); }
.division-cta:hover { background: var(--blue); color: var(--paper); }

@media (min-width: 900px) {
  .division { flex-direction: row; gap: 56px; align-items: stretch; }
  .division.blue { flex-direction: row-reverse; }
  .division-photo { width: 44%; flex: none; min-height: 520px; }
  .division-photo .corner-tag { left: 0; }
  .division.blue .division-photo .corner-tag { left: auto; right: 0; }
  .division-body { flex: 1; padding-top: 8px; }
}

/* ---------- 作品集 ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 6px 16px;
  border: 1px solid var(--ink);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--t-hover) linear, color var(--t-hover) linear;
}
.filters button:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  margin-top: 40px;
}
.work { display: block; text-decoration: none; color: var(--ink); }
.work .duo { aspect-ratio: 4 / 5; }
.work.hidden { display: none; }
.work figcaption { margin-top: 14px; }
.work figcaption .t { font-family: var(--font-serif); font-weight: 900; font-size: clamp(19px, 2.2vw, 24px); }
.work figcaption .m { font-size: 14px; color: var(--ink-60); }
.work figcaption .m .latin { font-variation-settings: normal; font-weight: 700; letter-spacing: .04em; }
.work.wide .duo { aspect-ratio: 16 / 10; }

@media (min-width: 900px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 72px) 32px; }
  .work.wide { grid-column: 1 / -1; }
  .work.wide .duo { aspect-ratio: 16 / 8; }
  .work.wide figcaption .t { font-size: clamp(24px, 2.6vw, 32px); }
}

/* ---------- 公演 ---------- */

.showcase-hero { background: var(--ink); color: var(--paper); }
.showcase-hero .kicker { color: var(--acid); }
.showcase-hero h1 { font-size: clamp(34px, 6vw, 72px); margin-top: 18px; }
.showcase-hero h1 .x { font-family: var(--font-latin); }
.showcase-hero .meta { margin-top: 22px; font-size: clamp(15px, 2vw, 19px); letter-spacing: .06em; color: var(--paper-60); }
.showcase-hero .meta b { color: var(--paper); }

.program { display: flex; flex-direction: column; gap: 10px; }
.program-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 16px 20px;
}
.program-row .time { font-family: var(--font-latin); font-weight: 900; font-size: 20px; min-width: 128px; }
.program-row .name { font-weight: 900; font-size: 17px; }
.program-row .note { font-size: 14px; opacity: .75; }
.program-row.on-blue { background: var(--blue); color: var(--paper); }
.program-row.on-pink { background: var(--pink); color: var(--ink); }
.program-row.on-ink { background: var(--ink); color: var(--paper); }
.program-row.on-ink .name em { font-style: normal; color: var(--pink); }
.program-row.on-acid { background: var(--acid); color: var(--ink); }
.program-row.plain { border-top: 1px solid var(--hairline); padding-top: 12px; padding-bottom: 12px; }

.day-label { font-family: var(--font-latin); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: 30px; }
.day-label small { font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: .08em; margin-left: 10px; }

.steps { display: grid; grid-template-columns: 1fr; gap: 10px; counter-reset: step; }
.step { border: 2px solid var(--ink); padding: 22px; }
.step .n { font-family: var(--font-latin); font-weight: 900; font-size: 28px; }
.step h4 { margin: 6px 0 0; font-size: 18px; font-weight: 900; }
.step p { margin: 8px 0 0; font-size: 14px; color: var(--ink-72); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 消息清單 ---------- */

.news-list { border-top: 1px solid var(--ink); }
.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
}
.news-item time { font-family: var(--font-latin); font-weight: 700; font-size: 15px; letter-spacing: .04em; min-width: 110px; color: var(--ink-60); }
.news-item .cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 10px;
  border: 1px solid var(--ink);
}
.news-item .cat.pink, .news-item .cat.blue, .news-item .cat.green {
  background: none;
  border-color: var(--ink);
  color: var(--ink);
}
.news-item .t { font-weight: 700; font-size: 17px; flex: 1 1 100%; }
.news-item:hover .t { color: var(--blue); }
@media (min-width: 700px) { .news-item .t { flex: 1; } }

/* ---------- 聯絡 ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-block h3 { font-size: 22px; }
.contact-block dl { margin: 16px 0 0; }
.contact-block dt { font-weight: 900; font-size: 14px; letter-spacing: .08em; margin-top: 14px; }
.contact-block dd { margin: 4px 0 0; font-size: 16px; color: var(--ink-72); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.map-frame { border: 2px solid var(--ink); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- 師資名單 ---------- */

.faculty-cols { display: grid; grid-template-columns: 1fr; gap: 48px; margin: 8px 0 64px; }
.faculty-cols h3 { font-size: 18px; letter-spacing: .08em; color: var(--paper); margin-bottom: 6px; }
.faculty-list { list-style: none; margin: 0; padding: 0; }
.faculty-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(242, 237, 228, .18);
}
.faculty-list b { font-family: var(--font-serif); font-weight: 900; font-size: 19px; color: var(--paper); }
.faculty-list span { font-size: 13px; letter-spacing: .06em; color: rgba(242, 237, 228, .55); }
.faculty-list em { font-style: normal; font-size: 14px; color: rgba(242, 237, 228, .75); flex: 1 1 100%; }
@media (min-width: 900px) {
  .faculty-cols { grid-template-columns: 1fr 1fr; gap: 64px; }
  .faculty-list em { flex: 1 1 100%; }
}

/* ---------- 頁尾 ---------- */

.footer { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 80px) 0 40px; }
.footer a { color: var(--paper); }
.footer a:hover { color: rgba(242, 237, 228, .6); }
.footer-brand img { display: block; width: min(340px, 76vw); height: auto; }
.footer-brand .en { font-family: var(--font-latin); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: rgba(242, 237, 228, .55); margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(242, 237, 228, .18); }
.footer-col h5 { margin: 0 0 12px; font-family: var(--font-latin); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: rgba(242, 237, 228, .5); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; font-size: 15px; }
.footer-col p { margin: 0; font-size: 14px; color: rgba(242, 237, 228, .65); line-height: 1.9; }
.footer-legal { margin-top: 44px; font-size: 12px; letter-spacing: .06em; color: rgba(242, 237, 228, .4); }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ---------- 進場動效：由下往上的切入 ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-curtain), transform var(--t-reveal) var(--ease-curtain); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 焦點與減速 ---------- */

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
