/* ═══════════════════════════════════════════════════════════════════════════
   KA PAEPAE 'IKE OLA — BRAND SYSTEM
   File: LKP/css/lkp-brand.css

   Font direction:
   - Pirata One = Old English / calligraphy display
   - Cormorant Garamond = elegant scholarly support
   - DM Sans = clean UI/body readability

   Images:
   - LKP/assets/images/LKP-1.png = nav / large brand mark
   - LKP/assets/images/LKP-2.png = favicon / Google / app icon / OG image
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --lkp-font-display: "Pirata One", "Cormorant Garamond", Georgia, serif;
  --lkp-font-elegant: "Cormorant Garamond", Georgia, serif;
  --lkp-font-ui: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --lkp-brand-gold: #f4df9e;
  --lkp-brand-gold-2: #d4ae5a;
  --lkp-brand-gold-deep: #8f6934;
  --lkp-brand-cyan: #54c6ee;
  --lkp-brand-violet: #8fa0ff;
  --lkp-brand-deep: #070b14;
  --lkp-brand-glass: rgba(5, 10, 24, 0.72);
}

/* ────────────────────────────────────────────────────────────────────────
   GLOBAL FONT SYSTEM
──────────────────────────────────────────────────────────────────────── */

body,
button,
input,
textarea,
select {
  font-family: var(--lkp-font-ui);
}

/* Main Old English / calligraphy display elements */
.lkp-nav__brand-title,
.lkp-hero__title,
.lkp-section-title,
.lkp-culture-card__title,
.lkp-bridge-side__name,
.lkp-footer__logo,
.lkp-footer__col h4,
.lkp-soon-card__name,
.lkp-page-title,
.lkp-modal__title,
.lkp-lessons-title,
.lkp-profile-title,
.lkp-profile-card__title,
.lkp-lesson-panel__title,
.lkp-section-header h1,
.lkp-section-header h2,
.lkp-section-header h3 {
  font-family: var(--lkp-font-display);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1.06;
}

/* Elegant scholarly support text */
.lkp-nav__brand-sub,
.lkp-hero__eyebrow,
.lkp-eyebrow,
.lkp-section-desc,
.lkp-culture-card__tagline,
.lkp-hero__sub,
.lkp-footer__desc,
.lkp-bridge-side__sub,
.lkp-bridge-side__desc,
.lkp-culture-card__intro {
  font-family: var(--lkp-font-elegant);
}

/* Preserve clean readability for utility UI */
.lkp-nav__link,
.lkp-nav__cta,
.lkp-nav__profile-btn,
.lkp-btn,
.lkp-concept-tag,
.lkp-culture-card__badge,
.lkp-culture-pill,
.lkp-eco-card__arrow,
.lkp-footer__bottom,
.lkp-compass-hint__text {
  font-family: var(--lkp-font-ui);
}

/* ────────────────────────────────────────────────────────────────────────
   NAV BRAND
──────────────────────────────────────────────────────────────────────── */

.lkp-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  text-decoration: none;
}

.lkp-nav__brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 10px rgba(212, 174, 90, 0.38))
    drop-shadow(0 0 18px rgba(84, 198, 238, 0.14));
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.lkp-nav__brand:hover .lkp-nav__brand-logo {
  transform: translateY(-1px) scale(1.025);
  filter:
    drop-shadow(0 0 14px rgba(244, 223, 158, 0.48))
    drop-shadow(0 0 24px rgba(84, 198, 238, 0.18));
}

.lkp-nav__brand-glyph-fallback {
  width: 58px;
  height: 58px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 174, 90, 0.28);
  background:
    radial-gradient(circle at center, rgba(212, 174, 90, 0.15), rgba(255, 255, 255, 0.02)),
    rgba(3, 8, 22, 0.72);
  color: var(--lkp-brand-gold);
  font-family: var(--lkp-font-display);
  font-size: 1.35rem;
  box-shadow:
    0 0 14px rgba(212, 174, 90, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.035);
}

.lkp-nav__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lkp-nav__brand-title {
  color: var(--lkp-brand-gold);
  font-family: var(--lkp-font-display);
  font-size: clamp(1.18rem, 1.9vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 0.98;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(212, 174, 90, 0.28),
    0 0 18px rgba(212, 174, 90, 0.16),
    0 0 28px rgba(84, 198, 238, 0.055);
}

.lkp-nav__brand-sub {
  color: rgba(235, 241, 255, 0.80);
  font-family: var(--lkp-font-elegant);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  margin-top: 0.18rem;
  white-space: nowrap;
}

/* Hide old glyph if old HTML/CSS still tries to render it */
.lkp-nav__brand-glyph {
  display: none !important;
}

/* ────────────────────────────────────────────────────────────────────────
   TITLE POLISH
──────────────────────────────────────────────────────────────────────── */

.lkp-hero__title {
  color: var(--lkp-brand-gold);
  font-family: var(--lkp-font-display);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.94;
  text-shadow:
    0 0 10px rgba(212, 174, 90, 0.24),
    0 0 26px rgba(212, 174, 90, 0.12),
    0 0 44px rgba(84, 198, 238, 0.065);
}

.lkp-hero__title em {
  color: var(--lkp-brand-cyan);
  font-style: normal;
  text-shadow:
    0 0 10px rgba(84, 198, 238, 0.32),
    0 0 24px rgba(84, 198, 238, 0.16),
    0 0 34px rgba(240, 201, 106, 0.06);
}

.lkp-section-title,
.lkp-culture-card__title {
  color: var(--lkp-brand-gold);
  font-family: var(--lkp-font-display);
  font-weight: 400;
  letter-spacing: 0.045em;
  text-shadow:
    0 0 8px rgba(212, 174, 90, 0.20),
    0 0 18px rgba(84, 198, 238, 0.055);
}

.lkp-section-title em {
  color: var(--lkp-brand-cyan);
  font-style: normal;
}

.lkp-bridge-side__name {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--lkp-brand-gold);
}

.lkp-footer__logo,
.lkp-footer__col h4 {
  color: var(--lkp-brand-gold);
}

.lkp-eyebrow,
.lkp-hero__eyebrow {
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* Keep long reading sections elegant and readable */
.lkp-section-desc,
.lkp-culture-card__intro,
.lkp-bridge-side__desc,
.lkp-footer__desc {
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ────────────────────────────────────────────────────────────────────────
   PROFILE NAV BUTTON SUPPORT
──────────────────────────────────────────────────────────────────────── */

.lkp-nav__profile-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(84, 198, 238, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 198, 238, 0.18), transparent 62%),
    rgba(84, 198, 238, 0.08);
  color: var(--lkp-brand-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(84, 198, 238, 0.12),
    inset 0 0 14px rgba(255, 255, 255, 0.035);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.lkp-nav__profile-btn i {
  font-size: 13px;
}

.lkp-nav__profile-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 201, 106, 0.38);
  color: var(--lkp-brand-gold);
  box-shadow:
    0 0 22px rgba(240, 201, 106, 0.16),
    inset 0 0 16px rgba(240, 201, 106, 0.06);
}

.lkp-nav__link--profile {
  color: var(--lkp-brand-cyan);
}

/* ────────────────────────────────────────────────────────────────────────
   FOOTER LOGO
──────────────────────────────────────────────────────────────────────── */

.lkp-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--lkp-brand-gold);
  text-decoration: none;
}

.lkp-footer__logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 8px rgba(212, 174, 90, 0.28))
    drop-shadow(0 0 14px rgba(84, 198, 238, 0.10));
}

/* ────────────────────────────────────────────────────────────────────────
   GOOGLE / ICON IMAGE UTILITY CLASSES
──────────────────────────────────────────────────────────────────────── */

.lkp-brand-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 10px rgba(212, 174, 90, 0.34))
    drop-shadow(0 0 18px rgba(84, 198, 238, 0.12));
}

.lkp-brand-icon--large {
  width: 96px;
  height: 96px;
}

.lkp-brand-mark-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 174, 90, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(212, 174, 90, 0.11), transparent 44%),
    rgba(4, 10, 26, 0.72);
}

/* ────────────────────────────────────────────────────────────────────────
   MOBILE EXPERIENCE FONT ALIGNMENT

   lkp-mobile.js replaces the page body on mobile, so these selectors help
   keep the same brand feel if lkp-brand.css remains loaded.
──────────────────────────────────────────────────────────────────────── */

.lkp-m-home__title,
.lkp-m-section-head h2,
.lkp-m-galaxy-card h3,
.lkp-m-sheet h3,
.lkp-m-profile-card h3,
.lkp-m-compass-caption span {
  font-family: var(--lkp-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0.045em;
}

.lkp-m-home__sub,
.lkp-m-section-head p,
.lkp-m-galaxy-card__intro,
.lkp-m-sheet__body,
.lkp-m-profile-card p {
  font-family: var(--lkp-font-elegant) !important;
}

.lkp-m-nav__label,
.lkp-m-pill,
.lkp-m-quick-btn,
.lkp-m-enter-lessons,
.lkp-m-profile-btn,
.lkp-m-sheet__cta {
  font-family: var(--lkp-font-ui) !important;
}

/* ────────────────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .lkp-nav__brand-title {
    font-size: 1.18rem;
  }

  .lkp-nav__brand-sub {
    font-size: 0.78rem;
  }

  .lkp-nav__brand-logo,
  .lkp-nav__brand-glyph-fallback {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 820px) {
  .lkp-nav__profile-btn span {
    display: none;
  }

  .lkp-nav__profile-btn {
    width: 38px;
    height: 38px;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .lkp-nav__brand {
    gap: 0.7rem;
    max-width: calc(100% - 60px);
  }

  .lkp-nav__brand-logo,
  .lkp-nav__brand-glyph-fallback {
    width: 46px;
    height: 46px;
  }

  .lkp-nav__brand-title {
    max-width: 190px;
    overflow: hidden;
    font-size: 1.02rem;
    line-height: 1.02;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lkp-nav__brand-sub {
    max-width: 190px;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lkp-hero__title,
  .lkp-section-title,
  .lkp-culture-card__title {
    letter-spacing: 0.04em;
  }
}

@media (max-width: 390px) {
  .lkp-nav__brand-logo,
  .lkp-nav__brand-glyph-fallback {
    width: 40px;
    height: 40px;
  }

  .lkp-nav__brand-title {
    max-width: 150px;
    font-size: 0.92rem;
  }

  .lkp-nav__brand-sub {
    max-width: 150px;
    font-size: 0.66rem;
  }
}