  :root {
    --ink: #0b1726; --ink-2: #1a2f4a;
    --navy: #1e3a5f; --navy-soft: #2d4a6e;
    --sky: #6b8caf; --sky-pale: #c8d6e5;
    --paper: #eef2f6; --paper-2: #f7f9fc;
    --gold: #d4a574; --gold-deep: #b88a52;
    --warm: #f0e5d3;
    --line: rgba(30,58,95,0.12);
    --shadow-1: 0 1px 2px rgba(11,23,38,0.04), 0 8px 24px rgba(11,23,38,0.06);
    --shadow-2: 0 20px 60px rgba(11,23,38,0.12), 0 4px 12px rgba(11,23,38,0.06);
    --serif: "Cormorant Garamond", "Noto Serif TC", serif;
    --sans: "Noto Sans TC", "Helvetica Neue", "Helvetica", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); color: var(--ink); background: var(--paper-2); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* NAV */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.4s ease;
    background: rgba(247,249,252,0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
  .nav-mark { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; }
  .nav-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .nav-name { display: flex; flex-direction: column; line-height: 1.15; }
  .nav-name b { font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; }
  .nav-name span { font-family: var(--serif); font-style: italic; font-size: 11.5px; opacity: 0.75; letter-spacing: 0.02em; }
  .nav-links { display: flex; gap: 4px; align-items: center; }
  .nav-links a {
    padding: 9px 16px; font-size: 13.5px; font-weight: 500; color: var(--ink);
    border-radius: 999px; transition: background 0.2s, color 0.4s;
  }
  .nav-links a:hover { background: rgba(30,58,95,0.06); }
  .nav-links a.is-active { background: rgba(30,58,95,0.08); color: var(--gold-deep); }
  .nav-cta { padding: 9px 18px !important; background: var(--navy); color: white !important; border-radius: 999px; font-weight: 600 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .nav-cta:hover { background: var(--gold) !important; color: white !important; }

  /* PAGE HERO */
  .page-hero {
    position: relative;
    padding: 180px 48px 100px;
    color: white;
    overflow: hidden;
    background:
      radial-gradient(1200px 520px at 75% -10%, rgba(212,165,116,0.22), transparent 60%),
      radial-gradient(900px 460px at 5% 110%, rgba(107,140,175,0.18), transparent 60%),
      linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--navy) 100%);
    isolation: isolate;
  }
  .page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: var(--ministry-hero-bg);
    background-size: cover; background-position: center;
    opacity: 0.18; mix-blend-mode: screen;
  }
  .page-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask: radial-gradient(ellipse at 80% 30%, rgba(0,0,0,0.5), transparent 65%);
  }
  .page-hero-inner {
    max-width: 1400px; margin: 0 auto;
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
    align-items: end;
  }
  .crumb {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 22px;
  }
  .crumb a { opacity: 0.7; transition: opacity 0.2s; }
  .crumb a:hover { opacity: 1; }
  .crumb .sep { opacity: 0.4; }
  .page-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 22px;
  }
  .page-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
  .page-title {
    font-size: clamp(48px, 6.4vw, 92px);
    font-weight: 700; line-height: 1.04; letter-spacing: -0.02em;
    margin-bottom: 28px;
  }
  .page-title .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
  .page-title .br { display: block; }
  .page-lede { font-size: 17px; line-height: 1.75; opacity: 0.78; max-width: 540px; }

  .hero-stats { display: flex; flex-direction: column; gap: 22px; border-left: 1px solid rgba(212,165,116,0.3); padding-left: 36px; }
  .hero-stat .v { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; color: var(--gold); }
  .hero-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }
  .hero-stat + .hero-stat { padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); }

  /* TOOLBAR / FILTER */
  .toolbar-wrap { background: white; border-bottom: 1px solid var(--line); }
  .toolbar {
    max-width: 1400px; margin: 0 auto;
    padding: 24px 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
  }
  .tool-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .tool-label {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--navy); opacity: 0.55;
    display: flex; align-items: center; gap: 10px;
  }
  .tool-label::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
  .year-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .year-list button {
    padding: 7px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    border: 1px solid var(--line);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .year-list button .ct {
    font-family: var(--mono); font-size: 10px; opacity: 0.55; letter-spacing: 0.06em;
  }
  .year-list button:hover { border-color: rgba(212,165,116,0.55); color: var(--ink); }
  .year-list button.is-active { background: var(--ink); color: white; border-color: var(--ink); }
  .year-list button.is-active .ct { color: var(--gold); opacity: 0.9; }

  .month-range {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-2);
  }
  .month-range label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; opacity: 0.55; }
  .month-range input {
    border: none; background: transparent; outline: none;
    font-family: var(--mono); font-size: 12px; color: var(--ink);
    padding: 4px 0;
  }
  .month-range input::-webkit-calendar-picker-indicator { opacity: 0.45; cursor: pointer; }
  .month-range .sep { opacity: 0.3; }

  .tool-right { display: flex; align-items: center; gap: 16px; }
  .tool-count {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    color: var(--navy); opacity: 0.65; text-transform: uppercase;
  }
  .tool-count b { color: var(--ink); opacity: 1; font-weight: 600; }
  .tool-reset {
    padding: 7px 14px; border-radius: 999px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ink);
    border: 1px solid var(--line);
    transition: background 0.2s, color 0.2s;
  }
  .tool-reset:hover { background: var(--ink); color: white; border-color: var(--ink); }

  /* POSTS */
  .posts-section { padding: 130px 48px 130px; }
  .posts-container { max-width: 1400px; margin: 0 auto; }
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
  }
  .post {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    box-shadow: var(--shadow-1);
    cursor: pointer;
    text-decoration: none; color: inherit;
  }
  .post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: rgba(212,165,116,0.4);
  }
  .post-thumb {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  }
  .post-thumb .ph {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 70% 30%, rgba(212,165,116,0.45), transparent 65%),
      linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  }
  .post-thumb .grain {
    position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  }
  .post-thumb .mono {
    position: absolute; bottom: 16px; left: 18px; right: 18px;
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(255,255,255,0.85);
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .post-thumb .mono .num { color: var(--gold); }
  .post-thumb .glyph {
    position: absolute; top: 18px; left: 18px;
    font-family: var(--serif); font-style: italic;
    font-size: 28px; color: var(--gold); opacity: 0.85;
    line-height: 1;
  }
  .post-tag {
    position: absolute; top: 16px; right: 16px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
    color: white;
  }
  .post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
  .post-date {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    color: var(--gold-deep); text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
  }
  .post-date::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .post h3 {
    font-size: 18px; font-weight: 600; line-height: 1.4;
    letter-spacing: -0.005em; margin-bottom: 10px;
    color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .post p {
    font-size: 13.5px; line-height: 1.7;
    color: rgba(11,23,38,0.65);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 16px;
  }
  .post-foot {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
  }
  .post-foot .read {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    color: var(--navy); text-transform: uppercase;
    transition: color 0.2s, gap 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .post:hover .post-foot .read { color: var(--gold-deep); gap: 12px; }
  .post-foot .read svg { width: 12px; height: 12px; }
  .post-foot .src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; opacity: 0.45; text-transform: uppercase; }

  /* empty state */
  .empty {
    grid-column: 1 / -1;
    padding: 130px 32px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: white;
  }
  .empty .ico { font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--gold); line-height: 1; margin-bottom: 16px; }
  .empty h4 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
  .empty p { font-size: 14px; opacity: 0.65; }

  /* PAGINATION */
  .pagination {
    margin-top: 64px;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap;
  }
  .pagination button {
    min-width: 44px; height: 44px; padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: white;
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
    color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  }
  .pagination button:hover:not(:disabled) {
    border-color: rgba(212,165,116,0.55); color: var(--gold-deep); transform: translateY(-2px);
  }
  .pagination button:disabled { opacity: 0.3; cursor: default; }
  .pagination button.is-active {
    background: var(--ink); color: white; border-color: var(--ink);
  }
  .pagination button.is-active::before { content: ""; }
  .pagination .ellipsis { padding: 0 8px; opacity: 0.4; font-family: var(--mono); }
  .pagination svg { width: 14px; height: 14px; }

  /* FOOTER (sync NCBC) */
  footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 100px 48px 36px; margin-top: 60px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr; gap: 64px; max-width: 1400px; margin: 0 auto 80px; }
  .footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
  .footer-brand h3 { font-size: 20px; font-weight: 700; color: white; line-height: 1.3; }
  .footer-brand .en { font-family: var(--serif); font-style: italic; opacity: 0.65; font-size: 14.5px; }
  .footer-brand p { font-size: 13.5px; line-height: 1.85; opacity: 0.7; }
  .footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
  .footer-addr-list { display: flex; flex-direction: column; gap: 18px; }
  .footer-addr { padding-left: 14px; border-left: 1px solid rgba(212,165,116,0.4); }
  .footer-addr .lang { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
  .footer-addr .where { font-size: 13.5px; line-height: 1.55; opacity: 0.85; color: white; font-weight: 500; }
  .footer-meet { margin-top: 14px; padding: 14px 16px; background: rgba(212,165,116,0.1); border: 1px solid rgba(212,165,116,0.25); border-radius: 10px; display: flex; align-items: center; gap: 12px; }
  .footer-meet + .footer-meet { margin-top: 8px; }
  .footer-meet svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
  .footer-meet .t { font-size: 13px; line-height: 1.4; }
  .footer-meet .t b { color: white; font-weight: 600; }
  .footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
  .footer-contact { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-contact:last-child { border-bottom: none; }
  .footer-contact .name { font-size: 13.5px; color: white; font-weight: 500; }
  .footer-contact .name span { display: block; font-size: 11.5px; opacity: 0.6; font-weight: 400; margin-top: 2px; }
  .footer-contact .tel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--gold); white-space: nowrap; }
  .footer-office { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; line-height: 1.7; opacity: 0.7; }
  .footer-office b { color: white; font-weight: 600; opacity: 1; }
  .footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; text-transform: uppercase; }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal.d1 { transition-delay: 0.06s; }
  .reveal.d2 { transition-delay: 0.12s; }
  .reveal.d3 { transition-delay: 0.18s; }

  /* MOBILE NAV TOGGLE */
  .nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: rgba(30,58,95,0.04); border: 1px solid rgba(30,58,95,0.18); border-radius: 999px; cursor: pointer; }
  .nav-toggle span { width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s, background 0.4s; }
  .nav-toggle.is-open { background: var(--ink); border-color: var(--ink); }
  .nav-toggle.is-open span { background: white; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; z-index: 99; background: linear-gradient(160deg, #0f2440 0%, #0b1c33 100%); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s linear 0.35s; display: flex; flex-direction: column; padding: 96px 28px 40px; overflow-y: auto; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
  .mobile-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 10%, rgba(212,165,116,0.18) 0%, transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(107,140,175,0.18) 0%, transparent 55%); pointer-events: none; }
  .mobile-menu-inner { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
  .mobile-menu a { font-size: 22px; font-weight: 500; color: white; padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; transition: color 0.2s, padding-left 0.2s; }
  .mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); padding-left: 12px; }
  .mobile-menu a::after { content: "→"; font-size: 18px; opacity: 0.45; }
  .mobile-menu a.is-active { color: var(--gold); }
  .mobile-menu a.mm-cta { margin-top: 28px; background: var(--gold); color: white; border: none; border-radius: 999px; padding: 18px 28px; justify-content: center; font-weight: 600; font-size: 16px; }
  .mobile-menu a.mm-cta:hover { padding-left: 28px; }
  .mobile-menu a.mm-cta::after { content: ""; }
  body.menu-open { overflow: hidden; }

  /* RESPONSIVE */
  @media (max-width: 1100px) {
    .nav { padding: 14px 24px; }
    .page-hero { padding: 150px 24px 80px; }
    .page-hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-stats { flex-direction: row; border-left: none; border-top: 1px solid rgba(212,165,116,0.3); padding-left: 0; padding-top: 30px; gap: 32px; flex-wrap: wrap; }
    .hero-stat + .hero-stat { padding-top: 0; border-top: none; }
    .toolbar { padding: 22px 24px; gap: 18px; }
    .posts-section { padding: 60px 24px 80px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    footer { padding: 70px 24px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand { max-width: none; }
  }
  @media (max-width: 720px) {
    .nav { padding: 12px 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-name span { display: none; }
    .nav-name b { font-size: 13px; }
    .nav-mark { width: 38px; height: 38px; }
    .page-hero { padding: 120px 24px 60px; }
    .page-title { font-size: clamp(34px, 10vw, 50px); }
    .page-lede { font-size: 15px; }
    .hero-stat .v { font-size: 38px; }
    .toolbar { padding: 18px 24px; flex-direction: column; align-items: stretch; gap: 14px; }
    .tool-left { gap: 14px; }
    .tool-right { justify-content: space-between; }
    .posts-section { padding: 44px 24px 70px; }
    .posts-grid { grid-template-columns: 1fr; gap: 18px; }
    .pagination { gap: 4px; }
    .pagination button { min-width: 40px; height: 40px; padding: 0 10px; font-size: 12px; }
  }
