.site-header {
  --shell-ink: #24201a;
  --shell-muted: #6f675c;
  --shell-line: rgba(72, 55, 34, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shell-line);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 0 12px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--shell-ink);
}

.logo-ko {
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-en {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--shell-muted);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 15px;
  font-weight: 800;
  color: var(--shell-muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--shell-ink);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hamburger {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 2px solid var(--shell-ink);
  border-bottom: 2px solid var(--shell-ink);
}

.hamburger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  border-top: 2px solid var(--shell-ink);
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(200px, calc(100vw - 24px));
  display: grid;
  gap: 4px;
  border: 1px solid var(--shell-line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 16px 36px rgba(54, 39, 20, 0.16);
}

.mobile-menu-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  color: var(--shell-ink);
}

.mobile-menu-panel a:hover {
  background: rgba(47, 81, 65, 0.08);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(72, 55, 34, 0.18);
  background: rgba(246, 241, 232, 0.88);
}

.site-footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--shell-muted);
  font-size: 14px;
}

.footer-brand {
  color: var(--shell-ink);
  font-weight: 900;
  text-decoration: none;
}

.site-footer a {
  color: var(--shell-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--shell-ink);
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0;
    gap: 0;
  }

  .logo-ko {
    font-size: 26px;
  }

  .logo-en {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .site-footer-inner {
    width: min(100% - 32px, 1240px);
    flex-direction: column;
    align-items: flex-start;
  }
}
