:root {
    --bg: #F6F4EF;
    --surface: #EFECE3;
    --ink: #1D1B16;
    --ink-2: #6E675C;
    --hair: #DAD5C8;
    --hair-soft: #E5E1D6;
    --lacquer: #7E2226;
    --lacquer-deep: #66191D;
    --on-lacquer: #F9F5EC;
    --brass: #98793F;
    --panel: #16150F;
    --panel-ink: #EDE8DB;
    --panel-2: #9A9280;
    --panel-hair: #353227;
    --panel-lacquer: #A03B37;
    --shadow: 0 24px 60px -30px rgba(29, 27, 22, .28);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #141310;
      --surface: #1B1915;
      --ink: #EAE5D8;
      --ink-2: #97907F;
      --hair: #2E2B23;
      --hair-soft: #26241D;
      --lacquer: #8C2C2C;
      --lacquer-deep: #742325;
      --on-lacquer: #F6EFE3;
      --brass: #B29057;
      --panel: #0E0D09;
      --panel-ink: #EDE8DB;
      --panel-2: #9A9280;
      --panel-hair: #322F25;
      --panel-lacquer: #A03B37;
      --shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
    }
  }
  :root[data-theme="dark"] {
    --bg: #141310;
    --surface: #1B1915;
    --ink: #EAE5D8;
    --ink-2: #97907F;
    --hair: #2E2B23;
    --hair-soft: #26241D;
    --lacquer: #8C2C2C;
    --lacquer-deep: #742325;
    --on-lacquer: #F6EFE3;
    --brass: #B29057;
    --panel: #0E0D09;
    --panel-ink: #EDE8DB;
    --panel-2: #9A9280;
    --panel-hair: #322F25;
    --panel-lacquer: #A03B37;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--lacquer); color: var(--on-lacquer); }

  h1, h2, h3, .serif {
    font-family: Marcellus, "Times New Roman", Georgia, serif;
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
    letter-spacing: .005em;
  }
  a { color: inherit; text-decoration: none; }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
  }

  /* ---------- CJK language modes ---------- */
  :root[lang="zh-CN"] body {
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  }
  :root[lang="zh-HK"] body {
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  }
  :root[lang="zh-CN"] :is(h1, h2, h3, .brand, .quote blockquote) {
    font-family: "Noto Serif SC", "Songti SC", serif;
  }
  :root[lang="zh-HK"] :is(h1, h2, h3, .brand, .quote blockquote) {
    font-family: "Noto Serif TC", "Songti TC", serif;
  }
  :root[lang^="zh"] :is(h1, h2, h3) { font-weight: 600; letter-spacing: .03em; }
  :root[lang^="zh"] :is(h1, h2) { line-height: 1.3; }
  :root[lang^="zh"] .hero h1 { font-size: clamp(38px, 5.6vw, 72px); }
  :root[lang^="zh"] .quote blockquote { line-height: 1.75; font-weight: 600; }
  :root[lang^="zh"] .module-label .num { font-family: inherit; font-weight: 700; letter-spacing: .3em; }
  :root[lang^="zh"] :is(.btn, .nav-cta) { letter-spacing: .26em; text-indent: .26em; }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
  }

  /* ---------- structural label system ---------- */
  .eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hair);
  }
  .seal {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--lacquer);
    color: var(--on-lacquer);
    font-family: "Noto Serif TC", serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  }
  .index {
    font-variant-numeric: tabular-nums;
    letter-spacing: .12em;
  }

  /* ---------- header ---------- */
  header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair);
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 64px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Marcellus, serif;
    font-size: 17px;
    letter-spacing: .06em;
    white-space: nowrap;
  }
  .brand .seal { width: 28px; height: 28px; font-size: 14px; }
  .nav-links {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .nav-links a { transition: color .3s ease; }
  .nav-links a:hover { color: var(--ink); }
  .lang {
    display: flex;
    align-items: center;
    border: 1px solid var(--hair);
  }
  .lang button {
    appearance: none;
    background: none;
    border: none;
    border-left: 1px solid var(--hair);
    font: 600 12px/1 "Hanken Grotesk", "Noto Sans SC", "Noto Sans TC", sans-serif;
    letter-spacing: .06em;
    color: var(--ink-2);
    padding: 9px 12px;
    cursor: pointer;
    transition: color .3s ease, background .3s ease;
  }
  .lang button:first-child { border-left: none; }
  .lang button:hover { color: var(--ink); }
  .lang button.active {
    background: var(--lacquer);
    color: var(--on-lacquer);
  }
  .nav-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 9px 18px;
    border: 1px solid var(--ink);
    white-space: nowrap;
    transition: background .35s ease, color .35s ease, border-color .35s ease;
  }
  .nav-cta:hover { background: var(--lacquer); border-color: var(--lacquer); color: var(--on-lacquer); }
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .lang { margin-left: auto; }
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    padding: 168px 0 0;
    overflow: hidden;
  }
  .gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
  }
  .gridlines i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--hair-soft);
  }
  .gridlines i:nth-child(1) { left: 25%; }
  .gridlines i:nth-child(2) { left: 50%; }
  .gridlines i:nth-child(3) { left: 75%; }

  .hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
  }
  .hero h1 {
    font-size: clamp(42px, 6.4vw, 82px);
    margin: 26px 0 30px;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--lacquer);
  }
  .hero .lede {
    max-width: 58ch;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--ink-2);
    margin-bottom: 44px;
  }
  .cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 88px; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 16px 30px;
    border: 1px solid var(--ink);
    transition: background .4s cubic-bezier(.22,1,.36,1), color .4s, border-color .4s, transform .4s cubic-bezier(.22,1,.36,1);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-solid { background: var(--lacquer); border-color: var(--lacquer); color: var(--on-lacquer); }
  .btn-solid:hover { background: var(--lacquer-deep); border-color: var(--lacquer-deep); }
  .btn-ghost:hover { background: var(--ink); color: var(--bg); }

  .inscription {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    padding-top: 10px;
  }
  .inscription .vertical {
    writing-mode: vertical-rl;
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    font-size: clamp(26px, 2.6vw, 34px);
    letter-spacing: .42em;
    color: var(--ink);
  }
  .inscription .vertical small {
    display: block;
    writing-mode: vertical-rl;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-top: 18px;
  }
  .inscription .seal { width: 44px; height: 44px; font-size: 22px; align-self: flex-end; }
  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .inscription { justify-content: flex-start; }
    .inscription .vertical { writing-mode: horizontal-tb; letter-spacing: .3em; }
    .inscription .vertical small { writing-mode: horizontal-tb; margin: 6px 0 0; }
    .inscription .seal { align-self: center; }
  }

  /* ---------- stats band ---------- */
  .stats {
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    background: var(--surface);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .stat {
    padding: 34px 28px 30px;
    border-left: 1px solid var(--hair);
  }
  .stat:first-child { border-left: none; }
  .stat b {
    display: block;
    font-family: Marcellus, serif;
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 44px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 10px;
  }
  .stat b sup { font-size: .5em; color: var(--lacquer); }
  .stat span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  @media (max-width: 720px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--hair); }
  }

  /* ---------- generic section ---------- */
  section { padding: clamp(84px, 10vw, 132px) 0; }
  .sec-head { margin-bottom: clamp(44px, 6vw, 72px); }
  .sec-head h2 {
    font-size: clamp(30px, 3.8vw, 50px);
    max-width: 24ch;
    margin-top: 24px;
  }
  .sec-head .sub {
    max-width: 62ch;
    color: var(--ink-2);
    margin-top: 18px;
  }

  /* ---------- vision pillars ---------- */
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hair);
  }
  .pillar {
    padding: 38px 30px 42px 0;
    border-bottom: 1px solid var(--hair);
    margin-right: 30px;
  }
  .pillar .seal { margin-bottom: 22px; }
  .pillar h3 { font-size: 22px; margin-bottom: 12px; }
  .pillar p { font-size: 15.5px; color: var(--ink-2); }
  @media (max-width: 860px) {
    .pillars { grid-template-columns: 1fr; }
    .pillar { margin-right: 0; padding-right: 0; }
  }

  /* ---------- principles (why) ---------- */
  .principles {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
  }
  .principles .sticky { position: sticky; top: 110px; }
  .principles .sticky h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 24px; }
  .principles .sticky p { color: var(--ink-2); margin-top: 18px; max-width: 44ch; }
  .p-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 34px 0;
    border-top: 1px solid var(--hair);
  }
  .p-row:last-child { border-bottom: 1px solid var(--hair); }
  .p-row .glyph {
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1;
    color: var(--brass);
    padding-top: 4px;
  }
  .p-row h3 { font-size: 21px; margin-bottom: 8px; }
  .p-row p { font-size: 15.5px; color: var(--ink-2); max-width: 56ch; }
  @media (max-width: 860px) {
    .principles { grid-template-columns: 1fr; }
    .principles .sticky { position: static; }
  }

  /* ---------- curriculum (dark boardroom band) ---------- */
  .boardroom {
    background: var(--panel);
    color: var(--panel-ink);
  }
  .boardroom .eyebrow { color: var(--panel-2); }
  .boardroom .eyebrow::after { background: var(--panel-hair); }
  .boardroom .seal { background: var(--panel-lacquer); }
  .boardroom .sec-head .sub { color: var(--panel-2); }
  .modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 72px);
  }
  .module-label {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--panel-lacquer);
    margin-bottom: 6px;
  }
  .module-label .num {
    font-family: Marcellus, serif;
    font-size: 15px;
    letter-spacing: .2em;
    color: var(--panel-lacquer);
    white-space: nowrap;
  }
  .module-label h3 { font-size: 21px; }
  .module-label p { font-size: 13px; color: var(--panel-2); }
  .course {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--panel-hair);
    transition: padding-left .5s cubic-bezier(.22,1,.36,1);
  }
  .course:hover { padding-left: 10px; }
  .course .index {
    font-family: Marcellus, serif;
    font-size: 15px;
    color: var(--panel-2);
  }
  .course .name { font-size: 16.5px; font-weight: 500; }
  .course .tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brass);
  }
  .boardroom .cta-row { margin: 64px 0 0; }
  .boardroom .btn { border-color: var(--panel-ink); color: var(--panel-ink); }
  .boardroom .btn-solid { background: var(--panel-lacquer); border-color: var(--panel-lacquer); color: var(--on-lacquer); }
  .boardroom .btn-solid:hover { background: #8A322E; border-color: #8A322E; }
  .boardroom .btn-ghost:hover { background: var(--panel-ink); color: var(--panel); }
  @media (max-width: 860px) { .modules { grid-template-columns: 1fr; } }

  /* ---------- faculty ---------- */
  .faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hair);
    border: 1px solid var(--hair);
  }
  .fac {
    background: var(--bg);
    padding: 34px 26px 38px;
    display: flex;
    flex-direction: column;
    transition: background .5s ease;
  }
  .fac:hover { background: var(--surface); }
  .fac .glyph {
    font-family: "Noto Serif TC", serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 1;
    color: var(--hair);
    margin-bottom: 44px;
    transition: color .5s ease;
  }
  .fac:hover .glyph { color: var(--lacquer); }
  .fac .role {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 10px;
  }
  .fac h3 { font-size: 20px; margin-bottom: 12px; }
  .fac p { font-size: 14.5px; color: var(--ink-2); }
  @media (max-width: 960px) { .faculty-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .faculty-grid { grid-template-columns: 1fr; } }

  /* ---------- testimony ---------- */
  .quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 88px);
  }
  .quote { position: relative; padding-top: 54px; }
  .quote::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    left: -6px;
    font-family: Marcellus, serif;
    font-size: 96px;
    line-height: 1;
    color: var(--lacquer);
    opacity: .9;
  }
  .quote blockquote {
    font-family: Marcellus, serif;
    font-size: clamp(19px, 1.9vw, 24px);
    line-height: 1.5;
    max-width: 44ch;
  }
  .quote cite {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .quote cite::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--brass);
    vertical-align: middle;
    margin-right: 12px;
  }
  @media (max-width: 780px) { .quotes { grid-template-columns: 1fr; } }

  /* ---------- invitation ---------- */
  .invitation {
    border-top: 1px solid var(--hair);
    text-align: center;
  }
  .invitation .seal { margin: 0 auto 30px; width: 48px; height: 48px; font-size: 24px; }
  .invitation .kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 22px;
  }
  .invitation h2 {
    font-size: clamp(32px, 4.6vw, 60px);
    max-width: 20ch;
    margin: 0 auto 26px;
  }
  .invitation p {
    max-width: 56ch;
    margin: 0 auto 46px;
    color: var(--ink-2);
  }
  .invitation .cta-row { justify-content: center; margin-bottom: 0; }

  /* ---------- footer ---------- */
  footer {
    border-top: 1px solid var(--hair);
    padding: 40px 0 48px;
  }
  .foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 32px;
    font-size: 13px;
    color: var(--ink-2);
  }
  .foot .brand { font-size: 15px; color: var(--ink); }
  .foot nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
  .foot nav a:hover { color: var(--ink); }
  .foot .legal { flex-basis: 100%; padding-top: 18px; border-top: 1px solid var(--hair-soft); font-size: 12.5px; }

  /* ---------- reveal motion ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--d, 0s);
  }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .course, .fac { transition: none; }
  }


  /* ---------- Category Directory + Video Stage (Home) ---------- */
  .cat-stage {
    display: grid;
    grid-template-columns: minmax(300px, 0.94fr) minmax(0, 1.18fr);
    gap: clamp(24px, 3.6vw, 48px);
    margin-top: 36px;
    align-items: start;
  }
  .cat-directory {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--panel-hair);
  }
  .cat-dir-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 14px 16px 18px;
    border-bottom: 1px solid var(--panel-hair);
    color: var(--panel-2);
    transition: background-color .22s ease, color .22s ease, padding-left .22s ease;
  }
  .cat-dir-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--panel-lacquer);
    transform: scaleY(0);
    transition: transform .22s ease;
  }
  .cat-dir-item:hover,
  .cat-dir-item.is-active {
    background: rgba(255, 250, 240, .04);
    color: var(--panel-ink);
    padding-left: 22px;
  }
  .cat-dir-item.is-active::before {
    transform: scaleY(1);
  }
  .cat-dir-index {
    font-family: Marcellus, Georgia, serif;
    font-size: 13px;
    letter-spacing: .12em;
    color: var(--panel-2);
    flex-shrink: 0;
    transition: color .22s ease;
  }
  .cat-dir-item.is-active .cat-dir-index,
  .cat-dir-item:hover .cat-dir-index {
    color: var(--panel-lacquer);
  }
  .cat-dir-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
  }
  .cat-dir-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .cat-dir-tag {
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--brass);
    padding: 2px 7px;
    border: 1px solid rgba(178, 144, 87, .35);
    background: rgba(152, 121, 63, .12);
  }
  .cat-dir-count {
    font-size: 12px;
    color: var(--panel-2);
    white-space: nowrap;
  }
  .cat-dir-arrow {
    font-size: 14px;
    color: var(--brass);
    opacity: .35;
    transition: transform .22s ease, opacity .22s ease;
  }
  .cat-dir-item.is-active .cat-dir-arrow,
  .cat-dir-item:hover .cat-dir-arrow {
    opacity: 1;
    transform: translateX(4px);
  }

  .cat-preview-stage {
    position: sticky;
    top: 96px;
  }
  .cat-stage-panel {
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 250, 240, .038) 0%, rgba(255, 250, 240, .015) 100%);
    border: 1px solid var(--panel-hair);
    color: var(--panel-ink);
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
  }
  .cat-stage-panel.is-active {
    display: flex;
    animation: catStageFade .26s ease;
  }
  @keyframes catStageFade {
    from { opacity: .45; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .cat-stage-panel:hover {
    border-color: var(--brass);
    box-shadow: 0 28px 60px -30px rgba(0, 0, 0, .75);
  }
  .cat-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 78% 22%, rgba(178, 144, 87, .22), transparent 52%),
                linear-gradient(135deg, #1E1B14 0%, #11100C 100%);
    border-bottom: 1px solid var(--panel-hair);
  }
  .cat-video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
  }
  .cat-stage-panel:hover .cat-video-frame img {
    transform: scale(1.04);
  }
  .cat-video-fallback {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, rgba(178, 144, 87, .07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(178, 144, 87, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 28px;
  }
  .cat-watermark {
    font-family: Marcellus, Georgia, serif;
    font-size: clamp(72px, 8vw, 110px);
    line-height: 1;
    color: rgba(178, 144, 87, .12);
    letter-spacing: .04em;
    user-select: none;
  }
  .cat-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 13, 9, .36) 0%, rgba(14, 13, 9, .18) 42%, rgba(14, 13, 9, .86) 100%);
  }
  .cat-video-top {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
  }
  .cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--panel-ink);
    background: rgba(14, 13, 9, .68);
    border: 1px solid rgba(237, 232, 219, .18);
    backdrop-filter: blur(6px);
  }
  .cat-pill-brass {
    color: #F3E5C8;
    border-color: rgba(178, 144, 87, .55);
    background: rgba(152, 121, 63, .22);
  }
  .cat-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -56%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(126, 34, 38, .88);
    border: 1px solid rgba(249, 245, 236, .35);
    color: var(--on-lacquer);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
    z-index: 2;
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
  }
  .cat-play-btn svg {
    margin-left: 2px;
  }
  .cat-stage-panel:hover .cat-play-btn {
    transform: translate(-50%, -56%) scale(1.08);
    background: var(--panel-lacquer);
    border-color: rgba(243, 229, 200, .75);
  }
  .cat-video-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .cat-video-kicker {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brass);
  }
  .cat-video-kicker em {
    font-style: normal;
    color: var(--panel-2);
    margin-left: 4px;
  }
  .cat-video-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--panel-ink);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cat-stage-meta {
    display: flex;
    flex-direction: column;
    padding: 20px 22px 18px;
    gap: 10px;
  }
  .cat-card-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .cat-card-index {
    font-family: Marcellus, Georgia, serif;
    font-size: 14px;
    color: var(--panel-lacquer);
    letter-spacing: .12em;
    flex-shrink: 0;
  }
  .cat-card-head h3 {
    font-size: clamp(19px, 1.8vw, 22px);
    color: var(--panel-ink);
    line-height: 1.3;
  }
  .cat-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--panel-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cat-card-foot {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--panel-hair);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--brass);
  }
  .cat-arrow {
    transition: transform .25s ease;
  }
  .cat-stage-panel:hover .cat-arrow {
    transform: translateX(5px);
  }
  .cat-empty {
    margin-top: 32px;
    color: var(--panel-2);
    font-size: 15px;
  }
  @media (max-width: 900px) {
    .cat-stage {
      grid-template-columns: 1fr;
    }
    .cat-preview-stage {
      position: static;
    }
    .cat-dir-tag {
      display: none;
    }
  }
