/* PC-only Genesis AI Lab identity. Mobile remains owned by the existing styles. */
@media (min-width: 901px) {
  body > header:not(.desktop-global-header) {
    display: none !important;
  }

  .desktop-global-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    width: 100%;
    height: 76px;
    padding: 0 clamp(22px, 5vw, 78px);
    gap: 32px;
    border-bottom: 1px solid #d8dee7;
    background: rgba(245, 247, 250, .97);
    color: #142439;
    font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", Arial, sans-serif;
    backdrop-filter: blur(16px);
  }

  .desktop-global-wordmark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 11px;
    color: #0b1d33;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .08em;
    text-decoration: none;
  }

  .desktop-global-wordmark > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: #0b1d33;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
  }

  .desktop-global-wordmark > b { font-weight: 900; }

  .desktop-global-header > nav {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.65vw, 28px);
    margin-left: auto;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
  }

  .desktop-global-header > nav a {
    position: relative;
    color: #142439;
    text-decoration: none;
  }

  .desktop-global-header > nav a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: #2357d9;
    transition: right .2s;
  }

  .desktop-global-header > nav a:hover::after,
  .desktop-global-header > nav a.active::after { right: 0; }

  .desktop-global-header > nav a.active { color: #2357d9; }

  .desktop-global-cta {
    flex: 0 0 auto;
    padding: 11px 17px;
    background: #0b1d33;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
  }

  .desktop-course-wordmark { display: none !important; }

  .header > .wordmark,
  .portal-header > .wordmark,
  .inquiry-header > .wordmark,
  footer > .wordmark,
  .lab-header > .brand,
  .access-brand,
  .learning-brand,
  .desktop-course-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #0b1d33;
    font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .08em;
    text-decoration: none;
  }

  .header > .wordmark > .mark,
  .portal-header > .wordmark > .mark,
  .inquiry-header > .wordmark > .mark,
  footer > .wordmark > .mark,
  .lab-header > .brand > span:first-child,
  .access-brand > b,
  .learning-brand > b,
  .desktop-course-wordmark > .mark {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #0b1d33;
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
  }

  .header > .wordmark > span:last-child,
  .portal-header > .wordmark > span:last-child,
  .inquiry-header > .wordmark > span:last-child,
  footer > .wordmark > span:last-child,
  .lab-header > .brand > b,
  .access-brand > span,
  .learning-brand > span,
  .desktop-course-wordmark > span:last-child {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .08em;
  }

  .pwa-home-header > .wordmark > span:last-child,
  .access-brand > span,
  .learning-brand > span {
    font-size: 0;
    line-height: 0;
  }

  .pwa-home-header > .wordmark > span:last-child::after,
  .access-brand > span::after,
  .learning-brand > span::after {
    content: "GENESIS\A AI LAB";
    display: block;
    white-space: pre;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .08em;
  }

  footer > .wordmark { color: #fff; }

  .desktop-course-wordmark {
    position: fixed;
    top: 20px;
    left: 24px;
    z-index: 60;
    padding: 8px 12px 8px 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 28px rgba(11, 29, 51, .16);
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 900px) {
  .desktop-global-header { display: none !important; }
  .desktop-course-wordmark { display: none !important; }
}
