.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgb(214 236 255 / 16%);
  background: rgb(12 26 37 / 92%);
  backdrop-filter: blur(18px);
}

.site-header .nav,
.site-header .site-nav {
  width: min(calc(100% - 40px), 1140px);
  min-height: 74px;
  margin-inline: auto;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header .brand-logo,
.site-header .brand img,
.site-header .brand-logo img {
  width: 180px;
  height: auto;
}

.gnb-desktop { display: flex; align-items: center; gap: 25px; color: #a9b9c4; font-size: 14px; font-weight: 700; }
.gnb-link, .gnb-trigger { transition: color 160ms ease; }
.gnb-link:hover, .gnb-link[aria-current="page"], .gnb-dropdown:hover > .gnb-trigger, .gnb-dropdown:focus-within > .gnb-trigger, .gnb-dropdown.is-current > .gnb-trigger { color: #f4f8fa; }
.gnb-divider { width: 1px; height: 18px; background: rgb(214 236 255 / 22%); }

.gnb-dropdown { position: relative; }
.gnb-trigger { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: default; }
.gnb-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.gnb-dropdown:hover .gnb-chevron, .gnb-dropdown:focus-within .gnb-chevron { transform: translateY(2px) rotate(225deg); }
.gnb-submenu { position: absolute; z-index: 100; top: calc(100% + 12px); left: 50%; width: 246px; padding: 8px; border: 1px solid rgb(214 236 255 / 18%); border-radius: 12px; background: #142733; box-shadow: 0 20px 50px rgb(0 0 0 / 28%); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -4px); transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease; }
.gnb-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.gnb-submenu a { display: block; padding: 11px 12px; border-radius: 8px; color: #a9b9c4; white-space: nowrap; }
.gnb-submenu a:hover, .gnb-submenu a[aria-current="page"] { background: rgb(255 255 255 / 7%); color: #f4f8fa; }
.gnb-dropdown:hover > .gnb-submenu,
.gnb-dropdown:focus-within > .gnb-submenu { display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

.gnb-quote { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #23c8e5; border-radius: 9px; background: #23c8e5; color: white; font-weight: 900; }
.gnb-quote:hover { background: #53d8ee; color: white; }

.gnb-mobile { display: none; position: relative; }
.gnb-mobile > summary { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid rgb(214 236 255 / 20%); border-radius: 8px; color: #f4f8fa; font-size: 13px; font-weight: 800; list-style: none; cursor: pointer; }
.gnb-mobile > summary::-webkit-details-marker { display: none; }
.gnb-mobile-menu { position: absolute; top: calc(100% + 10px); right: 0; width: min(310px, calc(100vw - 28px)); padding: 10px; border: 1px solid rgb(214 236 255 / 18%); border-radius: 13px; background: #142733; box-shadow: 0 22px 55px rgb(0 0 0 / 34%); }
.gnb-mobile-menu > a, .gnb-mobile-label { display: block; padding: 11px 12px; border-radius: 8px; color: #f4f8fa; font-size: 14px; font-weight: 800; }
.gnb-mobile-label { padding-bottom: 7px; color: #23c8e5; font-size: 11px; letter-spacing: .1em; }
.gnb-mobile-submenu { display: grid; margin-bottom: 5px; padding: 0 7px 8px 18px; border-bottom: 1px solid rgb(214 236 255 / 12%); }
.gnb-mobile-submenu a { padding: 8px 0; color: #a9b9c4; font-size: 13px; }
.gnb-mobile-menu .gnb-quote { margin-top: 6px; color: white; }

@media (max-width: 760px) {
  .site-header .nav,
  .site-header .site-nav { width: min(calc(100% - 28px), 1140px); min-height: 66px; }
  body:has(main[data-blog-page]) .site-header .nav,
  body:has(main[data-blog-page]) .site-header .site-nav { min-height: 53px; }
  .site-header .brand-logo,
  .site-header .brand img,
  .site-header .brand-logo img { width: 150px; }
  .gnb-desktop { display: none; }
  .gnb-mobile { display: block; }
}
