/* ============================================================
   BCJ Main CSS
   共通レイアウト / ヘッダー / フッター / コンポーネント
   ============================================================ */

/* ============================================================
   FILM GRAIN
   ============================================================ */
.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 2.6s steps(8) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-3%, -2%); }
  20% { transform: translate(2%, 3%); }
  30% { transform: translate(-1%, 2%); }
  40% { transform: translate(3%, -3%); }
  50% { transform: translate(-3%, 1%); }
  60% { transform: translate(1%, -3%); }
  70% { transform: translate(-2%, 2%); }
  80% { transform: translate(2%, -1%); }
  90% { transform: translate(-3%, 3%); }
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise   { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   WP ADMIN BAR 対応
   ログイン時、body に admin-bar クラスが付与され、html に margin-top が入る。
   fixed 配置の要素は自前で top をずらす必要がある。
   ============================================================ */
.admin-bar .site-header {
  top: 32px;
}

.admin-bar .scroll-progress {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .admin-bar .scroll-progress {
    top: 46px;
  }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-base) var(--ease-out),
              backdrop-filter var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              padding var(--t-base) var(--ease-out);
  border-bottom: 1px solid transparent;
  background: transparent;
}

.site-header.is-glass {
  /* --bg #181a20 をベースに半透明＋ブラー（明るくなった bg と整合） */
  background: rgba(24, 26, 32, .82);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom-color: rgba(255, 255, 255, .14);
  padding: 14px 40px;
  box-shadow: 0 6px 32px -10px rgba(0, 0, 0, .6),
              0 1px 0 0 rgba(31, 78, 240, .12) inset;
}

.site-header .logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--fg);
  text-decoration: none;
  mix-blend-mode: normal !important;
}

/* mock 準拠：span.logo-img を背景画像として描画 */
.logo-img {
  display: block;
  background: var(--logo-blue) no-repeat left center / contain;
  mix-blend-mode: normal;
}
.site-header .logo .logo-img {
  width: 132px;
  height: 26px;
}
.footer-brand-mark .logo-img {
  width: 168px;
  height: 33px;
}
/* WP カスタムロゴ（img）が表示される場合 */
.site-header .custom-logo-link img,
.site-header .logo img {
  height: 26px;
  width: auto;
  display: block;
}
.footer-brand-mark .custom-logo-link img,
.footer-brand-mark img {
  height: 33px;
  width: auto;
  display: block;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu-list,
.nav-menu > ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--fg);
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width var(--t-base) var(--ease-out);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  color: #000;
  background: #fff;
  padding: 12px 22px;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  /* hover で arrow を transform で右にずらすため */
  position: relative;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue);
  color: #fff;
}

/* nav-cta の矢印は transform でアニメ（要素幅は変わらない） */
.nav-cta > span {
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-cta:hover > span {
  transform: translateX(3px);
}

.nav-ghost {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--fg);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: all var(--t-base) var(--ease-out);
}

.nav-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* 認証状態による表示切替 */
[data-auth="user"] .nav-show-guest { display: none; }
[data-auth="guest"] .nav-show-user { display: none; }

/* モバイルメニュートグル */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  position: relative;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease-out);
  z-index: 160;
}
.nav-toggle:hover { border-color: var(--blue); }

.nav-toggle span {
  position: absolute;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: transform var(--t-base) var(--ease-out),
              top var(--t-base) var(--ease-out),
              opacity var(--t-base) var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 22px; }

/* 開いた状態の × 化 */
body.is-nav-open .nav-toggle span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}
body.is-nav-open .nav-toggle span:nth-child(2) {
  top: 18px;
  transform: rotate(-45deg);
}
body.is-nav-open .nav-toggle { border-color: var(--blue); }

@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  .nav-toggle { display: block; }
  .nav-cta { padding: 10px 16px; font-size: 10px; }
  .nav-ghost { display: none; }

  /* メニューを画面右からスライドイン式のオーバーレイに */
  .site-header .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 360px;
    /* 明示的に viewport いっぱい（iOS Safari 対応で dvh 優先、ない環境向け vh フォールバック）*/
    height: 100vh;
    height: 100dvh;
    background: rgba(24, 26, 32, .98);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-left: 1px solid rgba(255, 255, 255, .12);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .7);
    padding:
      calc(var(--header-h) + 24px)
      32px
      calc(40px + env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    z-index: 140;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  .admin-bar .site-header .nav-menu { padding-top: calc(var(--header-h) + 56px); }

  body.is-nav-open .site-header .nav-menu {
    transform: translateX(0);
  }

  .site-header .nav-menu-list,
  .site-header .nav-menu > ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .site-header .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .site-header .nav-menu a {
    display: block;
    padding: 18px 4px;
    font-size: 13px;
    letter-spacing: .2em;
    width: 100%;
  }
  .site-header .nav-menu a::after {
    display: none;
  }

  /* オーバーレイ背景（メニュー外の暗幕）*/
  .nav-backdrop {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease-out);
    z-index: 130;
  }
  body.is-nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

}

/* ============================================================
   SCROLL LOCK（モバイルナビ開閉時）
   全ブラウザ共通でスクロール位置を維持しつつロック
   ============================================================ */
html:has(body.is-scroll-locked) { overflow: hidden; }
body.is-scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  /* JS で top: -scrollY を動的セット */
}

/* ============================================================
   CONTAINER / LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

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

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 20px;
  }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.heading-display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.05;
}

.heading-jp {
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.5;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--blue);
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: .03em;
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-heading::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue);
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.cta {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  padding: 18px 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
}

.cta-primary {
  background: var(--blue);
  color: #fff;
}

.cta-primary:hover {
  background: var(--blue-2);
  gap: 16px;
}

.cta-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, .25);
}

.cta-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ============================================================
   CHIPS / TAGS
   ============================================================ */
.chip {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 12px;
  color: var(--gray-200);
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px;
  transition: all var(--t-fast) var(--ease-out);
  display: inline-block;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip.active,
.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}

.trade-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.trade-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-glow);
}

/* ============================================================
   CORNER BRACKETS
   ============================================================ */
.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 4;
}

.corner.tl { top: 0; left: 0; border-top: 1px solid var(--blue); border-left: 1px solid var(--blue); }
.corner.tr { top: 0; right: 0; border-top: 1px solid var(--blue); border-right: 1px solid var(--blue); }
.corner.bl { bottom: 0; left: 0; border-bottom: 1px solid var(--blue); border-left: 1px solid var(--blue); }
.corner.br { bottom: 0; right: 0; border-bottom: 1px solid var(--blue); border-right: 1px solid var(--blue); }

/* ============================================================
   CTA BLOCK (記事内 / インライン)
   ============================================================ */
.bcj-cta-block {
  position: relative;
  background: var(--bg-2);
  padding: var(--space-12) var(--space-8);
  margin: var(--space-16) 0;
  border: 1px solid var(--line);
  overflow: hidden;
}

.bcj-cta-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  box-shadow: 0 0 24px var(--blue-glow);
}

.bcj-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.bcj-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--blue);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.bcj-cta-heading {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--fg);
}

.bcj-cta-subheading {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-200);
  margin-bottom: 24px;
}

.bcj-cta-button {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--t-base) var(--ease-out);
}

.bcj-cta-button:hover {
  background: var(--blue-2);
  gap: 16px;
}

.bcj-cta-arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}

.bcj-cta-button:hover .bcj-cta-arrow {
  transform: translateX(4px);
}

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.article-card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--gray-900);
  overflow: hidden;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}

.article-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--fg-dim);
}

.article-card-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
}

.article-card-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-200);
}

.article-card-large {
  /* PICK UP 用、ヒーロー大カード */
}

.article-card-large .article-card-thumb {
  aspect-ratio: 16 / 9;
}

.article-card-large .article-card-title {
  font-size: clamp(20px, 2.5vw, 28px);
}

/* ============================================================
   VIDEO CARD
   ============================================================ */
.video-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out);
}

.video-card:hover {
  border-color: var(--blue);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gray-900);
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease-out);
}

.video-card:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-body {
  padding: var(--space-4) var(--space-5);
}

.video-card-title {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}

/* ============================================================
   CTA BLOCK（全テンプレ共通）
   タイトルサイズは front-page / single / page で各CSSでオーバーライド
   ============================================================ */
.cta-block {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid #2b2e36;
  text-align: center;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(31,78,240,.12), transparent 55%);
  pointer-events: none;
}
.cta-block-eyebrow {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--blue);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.cta-block-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.35;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.cta-block-title .accent { color: var(--blue); }
.cta-block-jp {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: .06em;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.cta-block-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-block-primary,
.cta-block-secondary {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  padding: 18px 34px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all .3s var(--ease-out);
  border: 0;
}
.cta-block-primary {
  background: var(--blue);
  color: #fff !important;
}
.cta-block-primary:hover {
  background: #fff;
  color: #000 !important;
}
.cta-block-primary::after { content: "\2192"; }
.cta-block-secondary {
  color: #fff !important;
  border: 1px solid #3a3d44;
  background: transparent;
}
.cta-block-secondary:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

@media (max-width: 980px) {
  .cta-block { padding: 70px 0; }
}

/* ============================================================
   FOOTER (mock 完全準拠)
   ============================================================ */
.site-footer {
  position: relative;
  background: #13151a;
  border-top: 1px solid #2b2e36;
  padding: 120px 0 40px;
}

/* ---- Footer CTA (front page のみ) ---- */
.footer-cta {
  max-width: 1440px;
  margin: 0 auto 100px;
  padding: 0 40px;
  text-align: center;
}
.footer-cta-eyebrow {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--blue);
  margin-bottom: 24px;
}
.footer-cta-title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(48px, 7vw, 108px);
  line-height: .92;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-cta-title .accent { color: var(--blue); }
.footer-cta-jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #cfcfcf;
  letter-spacing: .04em;
  margin-bottom: 48px;
}
.footer-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-cta-primary,
.footer-cta-secondary {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  padding: 20px 36px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all .3s var(--ease-out);
}
.footer-cta-primary {
  background: var(--blue);
  color: #fff;
}
.footer-cta-primary:hover {
  background: #fff;
  color: #000;
}
.footer-cta-primary::after { content: "\2192"; }
.footer-cta-secondary {
  color: #fff;
  border: 1px solid #3a3d44;
  background: transparent;
}
.footer-cta-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---- Footer Main ---- */
.footer-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 40px 0;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  border-top: 1px solid #2b2e36;
}
.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-brand-mark::before {
  content: "";
  width: 6px;
  height: 36px;
  background: var(--blue);
}
.footer-brand-mark .name {
  font-family: "Archivo Black", sans-serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: .02em;
}
.footer-brand-mark img {
  height: 28px;
  width: auto;
}
.footer-tagline {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.9;
  color: #888;
  max-width: 340px;
  margin-bottom: 24px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #3a3d44;
  display: grid;
  place-items: center;
  color: #cfcfcf;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 10px;
  transition: all .2s;
}
.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.footer-col h5 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--blue);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 10px;
  list-style: none;
}
.footer-col a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #bdbdbd;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--blue); }

/* ---- Footer Bottom ---- */
.footer-bottom {
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid #2b2e36;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: .06em;
}
.footer-bottom .legal {
  display: flex;
  gap: 24px;
}
.footer-bottom .legal a {
  color: var(--fg-dim);
  text-decoration: none;
}
.footer-bottom .legal a:hover { color: #fff; }

@media (max-width: 980px) {
  .site-footer {
    padding: 80px 0 30px;
  }
  .footer-cta {
    padding: 0 20px;
    margin-bottom: 60px;
  }
  .footer-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-main {
    padding: 40px 20px 0;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    padding: 20px 20px 0;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ============================================================
   YOUTUBE EMBED
   ============================================================ */
.bcj-youtube-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: var(--space-8) 0;
}

.bcj-youtube-thumb {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.bcj-youtube-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcj-youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease-out);
}

.bcj-youtube-thumb:hover .bcj-youtube-play {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ============================================================
   PAGE TRANSITION (curtain)
   ============================================================ */
body.is-loaded .curtain {
  transform: translateY(-100%);
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 1.2s var(--ease);
}

.curtain-mark {
  position: relative;
  width: 60px;
  height: 60px;
}

/* ============================================================
   404 / ERROR
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 200px);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 24px;
}

.error-message {
  font-size: 18px;
  color: var(--gray-200);
  margin-bottom: 40px;
}
