/* Exord brand type — ORIGINAL custom face (not Google Fonts, not Genesis/Hyundai fonts)
   Latin display: ExordDisplay-Wingbeat (@font-face from fonts/ExordDisplay-Wingbeat.woff)
   Wordmark art: exord-wordmark.svg (unique wingbeat letter paths)
   Hangul body: system stack (Malgun Gothic) — PARTIAL, no custom Hangul this pass
*/
@font-face {
  font-family: "Exord Display";
  src: url("fonts/ExordDisplay-Wingbeat.woff") format("woff"),
       url("fonts/ExordDisplay-Wingbeat.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --exord-font-display: "Exord Display", "Malgun Gothic", "Segoe UI", sans-serif;
  --exord-font-body: "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --exord-wordmark-tracking: 0.08em;
  --exord-wordmark-color: rgba(232, 200, 110, 0.96);
  /* CI color tokens (navy / gold / cyan) */
  --exord-navy: #0d2b6e;
  --exord-gold: #e8c86e;
  --exord-cyan: #5fe3e0;
  --exord-void: #071a42;
}

/* Premium splash/hero center — quiet Exord, NO wireframe propeller wings / flicker */
.exord-premium-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  pointer-events: none;
}
.exord-premium-center__emblem {
  width: clamp(120px, 22vw, 200px);
  height: clamp(52px, 10vw, 88px);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(232, 200, 110, 0.22));
  animation: exord-premium-breathe 7s ease-in-out infinite;
}
.exord-premium-center__wordmark {
  height: clamp(28px, 5.5vw, 44px);
  width: auto;
  max-width: min(280px, 56vw);
  object-fit: contain;
}
.exord-premium-center__legal {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.42);
  font-family: var(--exord-font-body);
}
@keyframes exord-premium-breathe {
  0%, 100% { opacity: 0.92; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .exord-premium-center__emblem { animation: none; }
}

/* about.html#brand — Exord under company CI · BI */
.exord-ci-panel {
  margin-top: 28px;
  padding: 28px;
  background: var(--bg, #f5f7fb);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
}
.exord-ci-head h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--exord-navy);
  margin: 0 0 8px;
}
.exord-ci-meaning {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text, #1e293b);
}
.exord-ci-lines {
  margin: 10px 0 6px;
  font-size: 13px;
  color: var(--exord-navy);
  font-weight: 600;
}
.exord-ci-lines span {
  white-space: nowrap;
}
.exord-ci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.exord-ci-card {
  background: var(--white, #fff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.exord-ci-card--usage {
  grid-column: 1 / -1;
}
.exord-ci-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute, #64748b);
}
.exord-ci-emblem {
  width: 148px;
  height: 64px;
  object-fit: contain;
}
.exord-ci-wordmark {
  height: 28px;
  max-width: 160px;
}
.exord-ci-type-sample {
  font-size: 28px;
  margin: 0;
  line-height: 1.1;
}
.exord-ci-swatches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.exord-ci-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.exord-ci-swatch-chip {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.exord-ci-swatch code {
  font-size: 11px;
  color: var(--text-mute, #64748b);
}
@media (max-width: 640px) {
  .exord-ci-card--usage {
    grid-column: auto;
  }
}

/* Text wordmark using original WOFF glyphs (Exord / EXORD) */
.exord-wordmark,
.exord-wordmark-text,
.lt-brand .exord-wordmark,
.mcc-brand-name,
.mcc-title,
.fs-subbrand .exord-mark,
.ai-title.exord-ai-title {
  font-family: var(--exord-font-display);
  font-weight: 700;
  letter-spacing: var(--exord-wordmark-tracking);
  font-synthesis: none;
}

.exord-wordmark,
.lt-brand .exord-wordmark,
.mcc-brand-name {
  background: linear-gradient(115deg, #fff3cf 0%, #e8c872 42%, #c9a227 78%, #a67c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* SVG wordmark image (full custom paths) */
.exord-wordmark-img {
  display: inline-block;
  height: 1.15em;
  width: auto;
  vertical-align: -0.2em;
  object-fit: contain;
}

.exord-wordmark-img--bar {
  height: 22px;
}

.exord-wordmark-img--side {
  height: 18px;
  max-width: 120px;
}

body.lounge-member-shell,
body.wbpc-member-cursor-chat,
#wbpc-member-cursor-chat {
  font-family: var(--exord-font-body);
}

#lounge-topbar .lt-brand {
  gap: 10px;
}

#lounge-topbar .lt-brand .exord-wordmark {
  font-size: 18px;
  line-height: 1;
}

.mcc-brand-name {
  font-size: 16px;
  letter-spacing: 0.1em;
  /* SVG wordmark is primary; text fallback for Exord Display WOFF / a11y */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mcc-title {
  letter-spacing: 0.04em;
  -webkit-text-fill-color: unset;
  background: none;
  color: var(--mcc-accent, var(--exord-wordmark-color));
}

.fs-subbrand {
  font-family: var(--exord-font-display);
  letter-spacing: 0.1em;
}
