:root {
  --ink: #111111;
  --muted: #4b4f56;
  --line: #e6e6e6;
  --card: #ffffff;
  --left-offset: 120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
  min-width: 140px;
  margin-left: var(--left-offset);
}

.brand a {
  color: #111111;
  text-decoration: none;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-nav .menu {
  margin: 0;
  margin-right: var(--left-offset);
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: 100%;
  justify-content: flex-end;
}

.site-nav .menu > li {
  position: relative;
}

.site-nav .menu > li > a {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
}

.site-nav .menu > li > a:hover,
.site-nav .menu > li > a:focus {
  color: #0f6b6b;
}

.site-nav .menu-hover {
  position: absolute;
  margin-top: 10px;
  padding: 10px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  display: none;
  left: 50%;
  transform: translateX(-50%);
}

#MENU {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  position: relative;
  z-index: 300;
  pointer-events: auto;
  cursor: pointer;
}

.menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

#SUBMENU {
  list-style: none;
  margin: 0;
  padding: 60px 24px 24px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  width: min(82vw, 320px);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.15);
}

#SUBMENU li {
  padding: 6px 0;
  border-bottom: 1px solid #ececec;
  border-top: none;
  display: block;
  background-image: none;
}

#SUBMENU li:last-child {
  border-bottom: none;
}

#SUBMENU a {
  color: #111111;
  font-weight: 600;
  display: block;
  font-size: 16px;
  text-decoration: none;
  border: none;
  background: none;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  font-weight: 400;
  color: #111111;
  cursor: pointer;
}

.menu-toggle:checked ~ .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle:checked ~ #SUBMENU {
  transform: translateX(0);
}

@media (max-width: 720px) {
  .site-header-inner {
    padding: 14px 6px;
    align-items: center;
  }

  #MENU {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
  }

  .menu-overlay {
    display: block;
  }

  #SUBMENU {
    display: block;
    visibility: visible;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
  }

  .brand {
    margin-left: 16px;
    padding-top: 0;
  }
}
.site-header nav {
  background: transparent !important;
  box-shadow: none !important;
}

.site-header nav .menu {
  background: transparent !important;
}

.site-header nav .menu > li > a {
  color: #111111 !important;
}

header.site-header,
header.site-header * {
  background-color: transparent;
}

header.site-header {
  background-color: #ffffff;
}
